From 10c8badfd3f3225acc2837f4a091a0954ae7d6cf Mon Sep 17 00:00:00 2001 From: Joel Takvorian Date: Wed, 8 Nov 2023 14:46:02 +0100 Subject: [PATCH] Update for FLP API breaking change (#487) Related to https://github.com/netobserv/flowlogs-pipeline/pull/513 --- go.mod | 29 +- go.sum | 88 +- pkg/metrics/predefined_metrics.go | 2 +- .../github.com/fsnotify/fsnotify/.cirrus.yml | 13 + .../github.com/fsnotify/fsnotify/.gitignore | 1 + .../github.com/fsnotify/fsnotify/CHANGELOG.md | 83 +- vendor/github.com/fsnotify/fsnotify/README.md | 81 +- .../fsnotify/fsnotify/backend_fen.go | 552 +- .../fsnotify/fsnotify/backend_inotify.go | 377 +- .../fsnotify/fsnotify/backend_kqueue.go | 295 +- .../fsnotify/fsnotify/backend_other.go | 205 +- .../fsnotify/fsnotify/backend_windows.go | 247 +- .../github.com/fsnotify/fsnotify/fsnotify.go | 91 +- vendor/github.com/fsnotify/fsnotify/mkdoc.zsh | 125 +- .../github.com/google/go-jsonnet/.gitignore | 34 - .../github.com/google/go-jsonnet/.gitmodules | 3 - .../google/go-jsonnet/.golangci.yml | 28 - .../google/go-jsonnet/.goreleaser.yml | 88 - .../google/go-jsonnet/.pre-commit-hooks.yaml | 15 - .../google/go-jsonnet/.tool-versions | 1 - .../github.com/google/go-jsonnet/.travis.yml | 57 - .../github.com/google/go-jsonnet/BUILD.bazel | 54 - .../github.com/google/go-jsonnet/CONTRIBUTING | 4 - vendor/github.com/google/go-jsonnet/LICENSE | 202 - .../github.com/google/go-jsonnet/MANIFEST.in | 10 - vendor/github.com/google/go-jsonnet/Makefile | 68 - vendor/github.com/google/go-jsonnet/README.md | 236 - vendor/github.com/google/go-jsonnet/WORKSPACE | 17 - .../google/go-jsonnet/ast/BUILD.bazel | 15 - .../github.com/google/go-jsonnet/ast/ast.go | 767 - .../github.com/google/go-jsonnet/ast/clone.go | 301 - .../google/go-jsonnet/ast/fodder.go | 179 - .../google/go-jsonnet/ast/identifier_set.go | 174 - .../google/go-jsonnet/ast/location.go | 220 - .../github.com/google/go-jsonnet/ast/util.go | 46 - .../google/go-jsonnet/astgen/BUILD.bazel | 19 - .../google/go-jsonnet/astgen/stdast.go | 233308 --------------- .../github.com/google/go-jsonnet/benchmark.sh | 18 - .../github.com/google/go-jsonnet/builtins.go | 2193 - vendor/github.com/google/go-jsonnet/doc.go | 27 - .../google/go-jsonnet/error_formatter.go | 145 - .../github.com/google/go-jsonnet/imports.go | 302 - .../go-jsonnet/internal/errors/BUILD.bazel | 9 - .../internal/errors/static_error.go | 72 - .../go-jsonnet/internal/parser/BUILD.bazel | 28 - .../go-jsonnet/internal/parser/context.go | 446 - .../go-jsonnet/internal/parser/lexer.go | 976 - .../internal/parser/literalfield_set.go | 172 - .../go-jsonnet/internal/parser/parser.go | 1410 - .../go-jsonnet/internal/parser/string_util.go | 152 - .../go-jsonnet/internal/program/BUILD.bazel | 27 - .../go-jsonnet/internal/program/desugarer.go | 587 - .../go-jsonnet/internal/program/program.go | 24 - .../internal/program/static_analyzer.go | 166 - .../google/go-jsonnet/interpreter.go | 1381 - .../google/go-jsonnet/runtime_error.go | 64 - vendor/github.com/google/go-jsonnet/setup.py | 74 - vendor/github.com/google/go-jsonnet/tests.sh | 35 - vendor/github.com/google/go-jsonnet/thunks.go | 300 - .../google/go-jsonnet/travisBazel.sh | 15 - .../google/go-jsonnet/travisBuild.sh | 10 - .../google/go-jsonnet/update_cpp_jsonnet.sh | 27 - vendor/github.com/google/go-jsonnet/util.go | 38 - vendor/github.com/google/go-jsonnet/value.go | 785 - vendor/github.com/google/go-jsonnet/vm.go | 539 - vendor/github.com/google/go-jsonnet/yaml.go | 139 - vendor/github.com/google/uuid/.travis.yml | 9 - vendor/github.com/google/uuid/CHANGELOG.md | 10 + vendor/github.com/google/uuid/CONTRIBUTING.md | 16 + vendor/github.com/google/uuid/README.md | 10 +- vendor/github.com/google/uuid/node_js.go | 2 +- vendor/github.com/google/uuid/uuid.go | 10 +- .../github.com/imdario/mergo/CONTRIBUTING.md | 112 + vendor/github.com/imdario/mergo/README.md | 35 +- vendor/github.com/imdario/mergo/SECURITY.md | 14 + vendor/github.com/imdario/mergo/map.go | 6 +- vendor/github.com/imdario/mergo/merge.go | 61 +- vendor/github.com/imdario/mergo/mergo.go | 15 +- .../flowlogs-pipeline/pkg/api/api.go | 6 + .../flowlogs-pipeline/pkg/api/encode_prom.go | 27 +- .../flowlogs-pipeline/pkg/api/enum.go | 1 + .../flowlogs-pipeline/pkg/api/ingest_stdin.go | 21 + .../pkg/api/transform_filter.go | 3 + .../flowlogs-pipeline/pkg/confgen/confgen.go | 249 - .../flowlogs-pipeline/pkg/confgen/config.go | 77 - .../flowlogs-pipeline/pkg/confgen/dedup.go | 75 - .../flowlogs-pipeline/pkg/confgen/doc.go | 119 - .../flowlogs-pipeline/pkg/confgen/encode.go | 54 - .../flowlogs-pipeline/pkg/confgen/extract.go | 65 - .../pkg/confgen/flowlogs2metrics_config.go | 116 - .../grafonnet/alert_condition.libsonnet | 47 - .../grafonnet/alertlist.libsonnet | 43 - .../grafonnet/annotation.libsonnet | 40 - .../grafonnet/bar_gauge_panel.libsonnet | 47 - .../grafonnet/cloudmonitoring.libsonnet | 57 - .../grafonnet/cloudwatch.libsonnet | 51 - .../grafonnet/dashboard.libsonnet | 181 - .../grafonnet/dashlist.libsonnet | 41 - .../grafonnet/elasticsearch.libsonnet | 51 - .../grafonnet/gauge_panel.libsonnet | 211 - .../grafonnet-lib/grafonnet/grafana.libsonnet | 32 - .../grafonnet/graph_panel.libsonnet | 313 - .../grafonnet/graphite.libsonnet | 29 - .../grafonnet/heatmap_panel.libsonnet | 150 - .../grafonnet/influxdb.libsonnet | 104 - .../grafonnet-lib/grafonnet/link.libsonnet | 39 - .../grafonnet/log_panel.libsonnet | 56 - .../grafonnet-lib/grafonnet/loki.libsonnet | 22 - .../grafonnet/pie_chart_panel.libsonnet | 72 - .../grafonnet/pluginlist.libsonnet | 23 - .../grafonnet/prometheus.libsonnet | 38 - .../grafonnet-lib/grafonnet/row.libsonnet | 47 - .../grafonnet/singlestat.libsonnet | 181 - .../grafonnet-lib/grafonnet/sql.libsonnet | 23 - .../grafonnet/stat_panel.libsonnet | 222 - .../grafonnet/table_panel.libsonnet | 91 - .../grafonnet/template.libsonnet | 289 - .../grafonnet-lib/grafonnet/text.libsonnet | 43 - .../grafonnet/timepicker.libsonnet | 40 - .../grafonnet/transformation.libsonnet | 12 - .../pkg/confgen/grafana_jsonnet.go | 423 - .../pkg/confgen/transform.go | 44 - .../pkg/confgen/visualization.go | 73 - .../flowlogs-pipeline/pkg/config/config.go | 1 + .../prometheus/collectors/expvar_collector.go | 2 +- .../collectors/go_collector_latest.go | 9 +- .../client_golang/prometheus/counter.go | 26 +- .../client_golang/prometheus/desc.go | 28 +- .../prometheus/expvar_collector.go | 2 +- .../client_golang/prometheus/gauge.go | 8 +- .../client_golang/prometheus/histogram.go | 118 +- .../prometheus/internal/difflib.go | 2 +- .../client_golang/prometheus/labels.go | 58 +- .../client_golang/prometheus/metric.go | 3 + .../prometheus/promhttp/instrument_server.go | 9 +- .../client_golang/prometheus/registry.go | 6 +- .../client_golang/prometheus/summary.go | 41 +- .../client_golang/prometheus/value.go | 55 +- .../client_golang/prometheus/vec.go | 106 +- .../prometheus/client_model/go/metrics.pb.go | 347 +- .../prometheus/procfs/.golangci.yml | 3 + .../prometheus/procfs/Makefile.common | 8 +- vendor/github.com/prometheus/procfs/README.md | 4 +- vendor/github.com/prometheus/procfs/arp.go | 6 +- .../github.com/prometheus/procfs/buddyinfo.go | 6 +- .../github.com/prometheus/procfs/cpuinfo.go | 17 +- vendor/github.com/prometheus/procfs/crypto.go | 7 +- vendor/github.com/prometheus/procfs/fs.go | 8 +- .../prometheus/procfs/fs_statfs_notype.go | 4 +- .../prometheus/procfs/fs_statfs_type.go | 4 +- .../github.com/prometheus/procfs/fscache.go | 6 +- vendor/github.com/prometheus/procfs/ipvs.go | 7 +- .../github.com/prometheus/procfs/loadavg.go | 4 +- vendor/github.com/prometheus/procfs/mdstat.go | 36 +- .../github.com/prometheus/procfs/meminfo.go | 4 +- .../github.com/prometheus/procfs/mountinfo.go | 10 +- .../prometheus/procfs/mountstats.go | 32 +- .../prometheus/procfs/net_conntrackstat.go | 7 +- .../prometheus/procfs/net_ip_socket.go | 32 +- .../prometheus/procfs/net_protocols.go | 4 +- .../github.com/prometheus/procfs/net_route.go | 143 + .../prometheus/procfs/net_sockstat.go | 9 +- .../prometheus/procfs/net_softnet.go | 4 +- .../github.com/prometheus/procfs/net_unix.go | 16 +- .../prometheus/procfs/net_wireless.go | 28 +- .../github.com/prometheus/procfs/net_xfrm.go | 2 +- vendor/github.com/prometheus/procfs/proc.go | 17 +- .../prometheus/procfs/proc_cgroup.go | 4 +- .../prometheus/procfs/proc_cgroups.go | 8 +- .../prometheus/procfs/proc_fdinfo.go | 2 +- .../prometheus/procfs/proc_interrupts.go | 2 +- .../prometheus/procfs/proc_limits.go | 4 +- .../github.com/prometheus/procfs/proc_maps.go | 8 +- .../prometheus/procfs/proc_netstat.go | 4 +- .../github.com/prometheus/procfs/proc_ns.go | 6 +- .../github.com/prometheus/procfs/proc_psi.go | 6 +- .../prometheus/procfs/proc_smaps.go | 4 +- .../github.com/prometheus/procfs/proc_snmp.go | 4 +- .../github.com/prometheus/procfs/proc_stat.go | 2 +- .../github.com/prometheus/procfs/proc_sys.go | 2 +- vendor/github.com/prometheus/procfs/slab.go | 2 +- .../github.com/prometheus/procfs/softirqs.go | 24 +- vendor/github.com/prometheus/procfs/stat.go | 28 +- vendor/github.com/prometheus/procfs/swaps.go | 8 +- vendor/github.com/prometheus/procfs/thread.go | 8 +- vendor/github.com/prometheus/procfs/vm.go | 2 +- .../github.com/prometheus/procfs/zoneinfo.go | 4 +- vendor/github.com/sirupsen/logrus/README.md | 8 +- vendor/github.com/sirupsen/logrus/writer.go | 34 +- .../clientcredentials/clientcredentials.go | 6 +- .../x/oauth2/internal/client_appengine.go | 1 - vendor/golang.org/x/oauth2/internal/token.go | 70 +- vendor/golang.org/x/oauth2/oauth2.go | 4 + vendor/golang.org/x/oauth2/token.go | 2 +- .../x/tools/internal/typeparams/coretype.go | 8 +- .../x/tools/internal/typeparams/termlist.go | 2 +- .../x/tools/internal/typeparams/typeterm.go | 9 +- .../protobuf/encoding/prototext/encode.go | 14 +- .../protobuf/internal/encoding/text/encode.go | 10 +- .../protobuf/internal/genid/descriptor_gen.go | 48 + .../protobuf/internal/genid/type_gen.go | 6 + .../protobuf/internal/order/order.go | 2 +- .../protobuf/internal/version/version.go | 2 +- .../google.golang.org/protobuf/proto/size.go | 10 +- .../reflect/protoreflect/source_gen.go | 27 + .../types/descriptorpb/descriptor.pb.go | 1011 +- .../protobuf/types/known/anypb/any.pb.go | 70 +- .../types/known/timestamppb/timestamp.pb.go | 2 +- vendor/modules.txt | 45 +- 209 files changed, 3688 insertions(+), 251528 deletions(-) create mode 100644 vendor/github.com/fsnotify/fsnotify/.cirrus.yml delete mode 100644 vendor/github.com/google/go-jsonnet/.gitignore delete mode 100644 vendor/github.com/google/go-jsonnet/.gitmodules delete mode 100644 vendor/github.com/google/go-jsonnet/.golangci.yml delete mode 100644 vendor/github.com/google/go-jsonnet/.goreleaser.yml delete mode 100644 vendor/github.com/google/go-jsonnet/.pre-commit-hooks.yaml delete mode 100644 vendor/github.com/google/go-jsonnet/.tool-versions delete mode 100644 vendor/github.com/google/go-jsonnet/.travis.yml delete mode 100644 vendor/github.com/google/go-jsonnet/BUILD.bazel delete mode 100644 vendor/github.com/google/go-jsonnet/CONTRIBUTING delete mode 100644 vendor/github.com/google/go-jsonnet/LICENSE delete mode 100644 vendor/github.com/google/go-jsonnet/MANIFEST.in delete mode 100644 vendor/github.com/google/go-jsonnet/Makefile delete mode 100644 vendor/github.com/google/go-jsonnet/README.md delete mode 100644 vendor/github.com/google/go-jsonnet/WORKSPACE delete mode 100644 vendor/github.com/google/go-jsonnet/ast/BUILD.bazel delete mode 100644 vendor/github.com/google/go-jsonnet/ast/ast.go delete mode 100644 vendor/github.com/google/go-jsonnet/ast/clone.go delete mode 100644 vendor/github.com/google/go-jsonnet/ast/fodder.go delete mode 100644 vendor/github.com/google/go-jsonnet/ast/identifier_set.go delete mode 100644 vendor/github.com/google/go-jsonnet/ast/location.go delete mode 100644 vendor/github.com/google/go-jsonnet/ast/util.go delete mode 100644 vendor/github.com/google/go-jsonnet/astgen/BUILD.bazel delete mode 100644 vendor/github.com/google/go-jsonnet/astgen/stdast.go delete mode 100644 vendor/github.com/google/go-jsonnet/benchmark.sh delete mode 100644 vendor/github.com/google/go-jsonnet/builtins.go delete mode 100644 vendor/github.com/google/go-jsonnet/doc.go delete mode 100644 vendor/github.com/google/go-jsonnet/error_formatter.go delete mode 100644 vendor/github.com/google/go-jsonnet/imports.go delete mode 100644 vendor/github.com/google/go-jsonnet/internal/errors/BUILD.bazel delete mode 100644 vendor/github.com/google/go-jsonnet/internal/errors/static_error.go delete mode 100644 vendor/github.com/google/go-jsonnet/internal/parser/BUILD.bazel delete mode 100644 vendor/github.com/google/go-jsonnet/internal/parser/context.go delete mode 100644 vendor/github.com/google/go-jsonnet/internal/parser/lexer.go delete mode 100644 vendor/github.com/google/go-jsonnet/internal/parser/literalfield_set.go delete mode 100644 vendor/github.com/google/go-jsonnet/internal/parser/parser.go delete mode 100644 vendor/github.com/google/go-jsonnet/internal/parser/string_util.go delete mode 100644 vendor/github.com/google/go-jsonnet/internal/program/BUILD.bazel delete mode 100644 vendor/github.com/google/go-jsonnet/internal/program/desugarer.go delete mode 100644 vendor/github.com/google/go-jsonnet/internal/program/program.go delete mode 100644 vendor/github.com/google/go-jsonnet/internal/program/static_analyzer.go delete mode 100644 vendor/github.com/google/go-jsonnet/interpreter.go delete mode 100644 vendor/github.com/google/go-jsonnet/runtime_error.go delete mode 100644 vendor/github.com/google/go-jsonnet/setup.py delete mode 100644 vendor/github.com/google/go-jsonnet/tests.sh delete mode 100644 vendor/github.com/google/go-jsonnet/thunks.go delete mode 100644 vendor/github.com/google/go-jsonnet/travisBazel.sh delete mode 100644 vendor/github.com/google/go-jsonnet/travisBuild.sh delete mode 100644 vendor/github.com/google/go-jsonnet/update_cpp_jsonnet.sh delete mode 100644 vendor/github.com/google/go-jsonnet/util.go delete mode 100644 vendor/github.com/google/go-jsonnet/value.go delete mode 100644 vendor/github.com/google/go-jsonnet/vm.go delete mode 100644 vendor/github.com/google/go-jsonnet/yaml.go delete mode 100644 vendor/github.com/google/uuid/.travis.yml create mode 100644 vendor/github.com/google/uuid/CHANGELOG.md create mode 100644 vendor/github.com/imdario/mergo/CONTRIBUTING.md create mode 100644 vendor/github.com/imdario/mergo/SECURITY.md create mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/ingest_stdin.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/confgen.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/config.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/dedup.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/doc.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/encode.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/extract.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/flowlogs2metrics_config.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/alert_condition.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/alertlist.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/annotation.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/bar_gauge_panel.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/cloudmonitoring.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/cloudwatch.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/dashboard.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/dashlist.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/elasticsearch.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/gauge_panel.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/grafana.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/graph_panel.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/graphite.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/heatmap_panel.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/influxdb.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/link.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/log_panel.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/loki.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/pie_chart_panel.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/pluginlist.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/prometheus.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/row.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/singlestat.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/sql.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/stat_panel.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/table_panel.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/template.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/text.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/timepicker.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/transformation.libsonnet delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana_jsonnet.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/transform.go delete mode 100644 vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/visualization.go create mode 100644 vendor/github.com/prometheus/procfs/net_route.go diff --git a/go.mod b/go.mod index ede0d4435..885ab57c2 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/go-logr/logr v1.3.0 github.com/mitchellh/mapstructure v1.5.0 - github.com/netobserv/flowlogs-pipeline v0.1.10 + github.com/netobserv/flowlogs-pipeline v0.1.11-0.20231108130854-fac8a619b238 github.com/onsi/ginkgo/v2 v2.13.0 github.com/onsi/gomega v1.29.0 github.com/openshift/api v0.0.0-20220112145620-704957ce4980 @@ -26,11 +26,11 @@ require ( require ( github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/emicklei/go-restful/v3 v3.11.0 // indirect github.com/evanphx/json-patch v5.6.0+incompatible // indirect github.com/evanphx/json-patch/v5 v5.6.0 // indirect - github.com/fsnotify/fsnotify v1.6.0 // indirect + github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/go-logr/zapr v1.2.4 // indirect github.com/go-openapi/jsonpointer v0.19.6 // indirect github.com/go-openapi/jsonreference v0.20.2 // indirect @@ -41,11 +41,10 @@ require ( github.com/golang/protobuf v1.5.3 // indirect github.com/google/gnostic-models v0.6.8 // indirect github.com/google/go-cmp v0.6.0 // indirect - github.com/google/go-jsonnet v0.19.1 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 // indirect - github.com/google/uuid v1.3.0 // indirect - github.com/imdario/mergo v0.3.12 // indirect + github.com/google/uuid v1.3.1 // indirect + github.com/imdario/mergo v0.3.15 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/jpillora/backoff v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect @@ -56,25 +55,25 @@ require ( github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect github.com/pkg/errors v0.9.1 // indirect - github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/prometheus/client_golang v1.16.0 // indirect - github.com/prometheus/client_model v0.4.0 // indirect - github.com/prometheus/procfs v0.10.1 // indirect - github.com/sirupsen/logrus v1.9.0 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/prometheus/client_golang v1.17.0 // indirect + github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 // indirect + github.com/prometheus/procfs v0.11.1 // indirect + github.com/sirupsen/logrus v1.9.3 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.5.0 // indirect go.uber.org/multierr v1.11.0 // indirect - golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e // indirect + golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect golang.org/x/net v0.17.0 // indirect - golang.org/x/oauth2 v0.8.0 // indirect + golang.org/x/oauth2 v0.12.0 // indirect golang.org/x/sys v0.13.0 // indirect golang.org/x/term v0.13.0 // indirect golang.org/x/text v0.13.0 // indirect golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.12.0 // indirect + golang.org/x/tools v0.13.0 // indirect gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/protobuf v1.30.0 // indirect + google.golang.org/protobuf v1.31.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect k8s.io/component-base v0.28.3 // indirect diff --git a/go.sum b/go.sum index 55ef148ca..f5bc459ba 100644 --- a/go.sum +++ b/go.sum @@ -21,8 +21,9 @@ github.com/dave/jennifer v1.2.0/go.mod h1:fIb+770HOpJ2fmN9EPPKOqm1vMGhB+TwXKMZhr github.com/dave/kerr v0.0.0-20170318121727-bc25dd6abe8e/go.mod h1:qZqlPyPvfsDJt+3wHJ1EvSXDuVjFTK0j2p/ca+gtsb8= github.com/dave/rebecca v0.9.1/go.mod h1:N6XYdMD/OKw3lkF3ywh8Z6wPGuwNFDNtWYEMFWEmXBA= 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= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= 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= @@ -36,16 +37,12 @@ github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCv github.com/evanphx/json-patch v5.6.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= 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/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY= -github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw= +github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= +github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg= github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-kit/kit v0.12.0 h1:e4o3o3IsBfAKQh5Qbbiqyfu97Ku7jrO/JbohvztANh4= -github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU= -github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= @@ -88,7 +85,6 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/google/gnostic-models v0.6.8 h1:yo/ABAfM5IMRsS1VnXjTBvUb61tFIHozhlYvRgGre9I= github.com/google/gnostic-models v0.6.8/go.mod h1:5n7qKqH0f5wFt+aWF8CW6pZLLNOfYuF5OpfBSENuI8U= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= @@ -99,8 +95,6 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-jsonnet v0.19.1 h1:MORxkrG0elylUqh36R4AcSPX0oZQa9hvI3lroN+kDhs= -github.com/google/go-jsonnet v0.19.1/go.mod h1:5JVT33JVCoehdTj5Z2KJq1eIdt3Nb8PCmZ+W5D8U350= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= @@ -109,18 +103,17 @@ github.com/google/pprof v0.0.0-20181127221834-b4f47329b966/go.mod h1:zfwlbNMJ+OI github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 h1:K6RDEckDVWvDI9JAJYCmNdQXq6neHJOYx3V6jnqNEec= github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.3.1 h1:KjJaJ9iWZ3jOFZIf1Lqf4laDRCasjl0BCmnEGxkdLb4= +github.com/google/uuid v1.3.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU= github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA= github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= 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.12 h1:b6R2BslTbIEToALKP7LxUvijTsNI9TAe80pLWN2g/HU= -github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= +github.com/imdario/mergo v0.3.15 h1:M8XP7IuFNsqUx6VPK2P9OSmsYsI/YFaGil0uD21V3dM= +github.com/imdario/mergo v0.3.15/go.mod h1:WBLT9ZmE3lPoWsEzCh9LPo3TiwVN+ZKEjmz+hD27ysY= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= @@ -139,14 +132,11 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= 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/magiconair/properties v1.8.5 h1:b6kJs+EmPFMYGkow9GiUyCyOvIwYetYJ3fSaWak/Gls= 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.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= @@ -165,9 +155,8 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8m github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f h1:KUppIJq7/+SVif2QVs3tOP0zanoHgBEVAwHxUSIzRqU= 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/netobserv/flowlogs-pipeline v0.1.10 h1:y4RQbreYlMClG6s7/rberI70gELwWexJneOE12AaBs0= -github.com/netobserv/flowlogs-pipeline v0.1.10/go.mod h1:Ez/fKBEMJc8uHSHN1u4hu6p1Y9Crdq2741FgvQcH7Hs= -github.com/netobserv/loki-client-go v0.0.0-20220927092034-f37122a54500 h1:RmnoJe/ci5q+QdM7upFdxiU+D8F3L3qTd5wXCwwHefw= +github.com/netobserv/flowlogs-pipeline v0.1.11-0.20231108130854-fac8a619b238 h1:kBz9gPV19sBfgHx9SXEbDZsRHurRKUrBtmlGOAS9YDE= +github.com/netobserv/flowlogs-pipeline v0.1.11-0.20231108130854-fac8a619b238/go.mod h1:gl/lTacCn1Hb8i+ULrTbieXbxXVimRYHJBQrbGz9r0I= github.com/netobserv/prometheus-common v0.44.0-netobserv h1:1DEcYfG8UQcDRjHax+MBJGpwbnsQNB+fiiMh54mW4yU= github.com/netobserv/prometheus-common v0.44.0-netobserv/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= @@ -186,42 +175,34 @@ github.com/onsi/gomega v1.29.0/go.mod h1:9sxs+SwGrKI0+PWe4Fxa9tFQQBG5xSsSbMXOI8P github.com/openshift/api v0.0.0-20220112145620-704957ce4980 h1:3tSAAM6kvTTLI7EevJdrX+QHJqQDndWamsudZ1GUFYE= github.com/openshift/api v0.0.0-20220112145620-704957ce4980/go.mod h1:F/eU6jgr6Q2VhMu1mSpMmygxAELd7+BUxs3NHZ25jV4= github.com/openshift/build-machinery-go v0.0.0-20211213093930-7e33a7eb4ce3/go.mod h1:b1BuldmJlbA/xYtdZvKi+7j5YGB44qJUJDZ9zwiNCfE= -github.com/pelletier/go-toml v1.9.4 h1:tjENF6MfZAg8e4ZmZTeWaWiT2vXtsoO6+iuOjFhECwM= 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/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.68.0 h1:yl9ceUSUBo9woQIO+8eoWpcxZkdZgm89g+rVvu37TUw= github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.68.0/go.mod h1:9Uuu3pEU2jB8PwuqkHvegQ0HV/BlZRJUyfTYAqfdVF8= -github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= -github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= +github.com/prometheus/client_golang v1.17.0 h1:rl2sfwZMtSthVU752MqfjQozy7blglC+1SOtjMAMh+Q= +github.com/prometheus/client_golang v1.17.0/go.mod h1:VeL+gMmOAxkS2IqfCq0ZmHSL+LjWfWDUmp1mBz9JgUY= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= -github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= -github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= -github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= -github.com/prometheus/prometheus v1.8.2-0.20201028100903-3245b3267b24 h1:V/4Cj2GytqdqK7OMEz6c4LNjey3SNyfw3pg5jPKtJvQ= +github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 h1:v7DLqVdK4VrYkVD5diGdl4sxJurKJEMnODWRJlxV9oM= +github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= +github.com/prometheus/procfs v0.11.1 h1:xRC8Iq1yyca5ypa9n1EZnWZkt7dwcoRPQwX/5gwaUuI= +github.com/prometheus/procfs v0.11.1/go.mod h1:eesXgaPo1q7lBpVMoMy0ZOFTth9hBn4W/y0/p/ScXhY= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= -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/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= -github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= +github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= +github.com/sirupsen/logrus v1.9.3/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ= github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= -github.com/spf13/afero v1.6.0 h1:xoax2sJ2DT8S8xA2paPFjDCScCNeWsg75VG0DLRreiY= -github.com/spf13/cast v1.4.1 h1:s0hze+J0196ZfEMTs80N7UlFt0BDuQ7Q+JDnHiMWKdA= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= 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/spf13/viper v1.10.1 h1:nuJZuYpG7gTj/XqiUwg8bA0cp1+M2mC3J4g5luUYBKk= github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= 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.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/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= @@ -230,14 +211,11 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= -github.com/vmware/go-ipfix v0.5.13 h1:LtuJVf38XCghUN+WaI9OwQ1U7yim/pcmxz0PzdCqUnQ= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= @@ -251,8 +229,8 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e h1:+WEEuIdZHnUeJJmEUjyYC2gfUMj69yZXw17EnHg/otA= -golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= @@ -279,8 +257,8 @@ golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= -golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= +golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4= +golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4= 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= @@ -297,8 +275,6 @@ golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -309,8 +285,6 @@ golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= @@ -338,8 +312,8 @@ golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roY golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.6-0.20210820212750-d4cc65f0b2ff/go.mod h1:YD9qOF0M9xpSpdWTBbzEl5e/RnCefISl8E5Noe10jFM= -golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss= -golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= +golang.org/x/tools v0.13.0 h1:Iey4qkscZuv0VvIt8E0neZjtPVQFSc870HQ448QgEmQ= +golang.org/x/tools v0.13.0/go.mod h1:HvlwmtVNQAhOuCjW7xxvovg8wbNq7LwfXh/k7wXUl58= 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= @@ -354,12 +328,9 @@ google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoA google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54 h1:9NWlQfY2ePejTmfwUH1OWwmznFa+0kKcHGPDvcPza9M= -google.golang.org/genproto/googleapis/rpc v0.0.0-20230525234030-28d5490b6b19 h1:0nDDozoAU19Qb2HwhXadU8OcsiO/09cnTqhUtq2MEOM= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.54.0 h1:EhTqbhiYeixwWQtAEZAxmV9MGqcjEU2mFx52xCzNyag= 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= @@ -372,8 +343,8 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng= -google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= +google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8= +google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I= 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/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= @@ -383,13 +354,11 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EV gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/ini.v1 v1.66.6 h1:LATuAqN/shcYAOkv3wl2L4rkaKqkcgTBQjOyYDvcPKI= gopkg.in/src-d/go-billy.v4 v4.3.0/go.mod h1:tm33zBoOwxjYHZIE+OV8bxTWFMJLrconzFMd38aARFk= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= 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.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= @@ -438,7 +407,6 @@ sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4= sigs.k8s.io/structured-merge-diff/v4 v4.3.0 h1:UZbZAZfX0wV2zr7YZorDz6GXROfDFj6LvqCRm4VUVKk= sigs.k8s.io/structured-merge-diff/v4 v4.3.0/go.mod h1:N8hJocpFajUSSeSJ9bOZ77VzejKZaXsTtZo4/u7Io08= -sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc= sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/pkg/metrics/predefined_metrics.go b/pkg/metrics/predefined_metrics.go index 0944d91d1..c5f49e316 100644 --- a/pkg/metrics/predefined_metrics.go +++ b/pkg/metrics/predefined_metrics.go @@ -61,7 +61,7 @@ func init() { ValueKey: valueField, Filters: []flpapi.PromMetricsFilter{ {Key: "Duplicate", Value: "false"}, - {Key: "FlowDirection", Value: mapDirection[dir]}, + {Key: "FlowDirection", Value: mapDirection[dir], Type: "regex"}, }, Labels: labels, }, diff --git a/vendor/github.com/fsnotify/fsnotify/.cirrus.yml b/vendor/github.com/fsnotify/fsnotify/.cirrus.yml new file mode 100644 index 000000000..ffc7b992b --- /dev/null +++ b/vendor/github.com/fsnotify/fsnotify/.cirrus.yml @@ -0,0 +1,13 @@ +freebsd_task: + name: 'FreeBSD' + freebsd_instance: + image_family: freebsd-13-2 + install_script: + - pkg update -f + - pkg install -y go + test_script: + # run tests as user "cirrus" instead of root + - pw useradd cirrus -m + - chown -R cirrus:cirrus . + - FSNOTIFY_BUFFER=4096 sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race ./... + - sudo --preserve-env=FSNOTIFY_BUFFER -u cirrus go test -parallel 1 -race ./... diff --git a/vendor/github.com/fsnotify/fsnotify/.gitignore b/vendor/github.com/fsnotify/fsnotify/.gitignore index 1d89d85ce..391cc076b 100644 --- a/vendor/github.com/fsnotify/fsnotify/.gitignore +++ b/vendor/github.com/fsnotify/fsnotify/.gitignore @@ -4,3 +4,4 @@ # Output of go build ./cmd/fsnotify /fsnotify +/fsnotify.exe diff --git a/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md b/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md index 77f9593bd..e0e575754 100644 --- a/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md +++ b/vendor/github.com/fsnotify/fsnotify/CHANGELOG.md @@ -1,16 +1,87 @@ # Changelog -All notable changes to this project will be documented in this file. +Unreleased +---------- +Nothing yet. -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +1.7.0 - 2023-10-22 +------------------ +This version of fsnotify needs Go 1.17. -## [Unreleased] +### Additions -Nothing yet. +- illumos: add FEN backend to support illumos and Solaris. ([#371]) + +- all: add `NewBufferedWatcher()` to use a buffered channel, which can be useful + in cases where you can't control the kernel buffer and receive a large number + of events in bursts. ([#550], [#572]) + +- all: add `AddWith()`, which is identical to `Add()` but allows passing + options. ([#521]) + +- windows: allow setting the ReadDirectoryChangesW() buffer size with + `fsnotify.WithBufferSize()`; the default of 64K is the highest value that + works on all platforms and is enough for most purposes, but in some cases a + highest buffer is needed. ([#521]) + +### Changes and fixes + +- inotify: remove watcher if a watched path is renamed ([#518]) + + After a rename the reported name wasn't updated, or even an empty string. + Inotify doesn't provide any good facilities to update it, so just remove the + watcher. This is already how it worked on kqueue and FEN. + + On Windows this does work, and remains working. + +- windows: don't listen for file attribute changes ([#520]) + + File attribute changes are sent as `FILE_ACTION_MODIFIED` by the Windows API, + with no way to see if they're a file write or attribute change, so would show + up as a fsnotify.Write event. This is never useful, and could result in many + spurious Write events. + +- windows: return `ErrEventOverflow` if the buffer is full ([#525]) + + Before it would merely return "short read", making it hard to detect this + error. + +- kqueue: make sure events for all files are delivered properly when removing a + watched directory ([#526]) + + Previously they would get sent with `""` (empty string) or `"."` as the path + name. + +- kqueue: don't emit spurious Create events for symbolic links ([#524]) + + The link would get resolved but kqueue would "forget" it already saw the link + itself, resulting on a Create for every Write event for the directory. + +- all: return `ErrClosed` on `Add()` when the watcher is closed ([#516]) + +- other: add `Watcher.Errors` and `Watcher.Events` to the no-op `Watcher` in + `backend_other.go`, making it easier to use on unsupported platforms such as + WASM, AIX, etc. ([#528]) + +- other: use the `backend_other.go` no-op if the `appengine` build tag is set; + Google AppEngine forbids usage of the unsafe package so the inotify backend + won't compile there. -## [1.6.0] - 2022-10-13 +[#371]: https://github.com/fsnotify/fsnotify/pull/371 +[#516]: https://github.com/fsnotify/fsnotify/pull/516 +[#518]: https://github.com/fsnotify/fsnotify/pull/518 +[#520]: https://github.com/fsnotify/fsnotify/pull/520 +[#521]: https://github.com/fsnotify/fsnotify/pull/521 +[#524]: https://github.com/fsnotify/fsnotify/pull/524 +[#525]: https://github.com/fsnotify/fsnotify/pull/525 +[#526]: https://github.com/fsnotify/fsnotify/pull/526 +[#528]: https://github.com/fsnotify/fsnotify/pull/528 +[#537]: https://github.com/fsnotify/fsnotify/pull/537 +[#550]: https://github.com/fsnotify/fsnotify/pull/550 +[#572]: https://github.com/fsnotify/fsnotify/pull/572 +1.6.0 - 2022-10-13 +------------------ This version of fsnotify needs Go 1.16 (this was already the case since 1.5.1, but not documented). It also increases the minimum Linux version to 2.6.32. diff --git a/vendor/github.com/fsnotify/fsnotify/README.md b/vendor/github.com/fsnotify/fsnotify/README.md index d4e6080fe..e480733d1 100644 --- a/vendor/github.com/fsnotify/fsnotify/README.md +++ b/vendor/github.com/fsnotify/fsnotify/README.md @@ -1,29 +1,31 @@ fsnotify is a Go library to provide cross-platform filesystem notifications on -Windows, Linux, macOS, and BSD systems. +Windows, Linux, macOS, BSD, and illumos. -Go 1.16 or newer is required; the full documentation is at +Go 1.17 or newer is required; the full documentation is at https://pkg.go.dev/github.com/fsnotify/fsnotify -**It's best to read the documentation at pkg.go.dev, as it's pinned to the last -released version, whereas this README is for the last development version which -may include additions/changes.** - --- Platform support: -| Adapter | OS | Status | -| --------------------- | ---------------| -------------------------------------------------------------| -| inotify | Linux 2.6.32+ | Supported | -| kqueue | BSD, macOS | Supported | -| ReadDirectoryChangesW | Windows | Supported | -| FSEvents | macOS | [Planned](https://github.com/fsnotify/fsnotify/issues/11) | -| FEN | Solaris 11 | [In Progress](https://github.com/fsnotify/fsnotify/pull/371) | -| fanotify | Linux 5.9+ | [Maybe](https://github.com/fsnotify/fsnotify/issues/114) | -| USN Journals | Windows | [Maybe](https://github.com/fsnotify/fsnotify/issues/53) | -| Polling | *All* | [Maybe](https://github.com/fsnotify/fsnotify/issues/9) | - -Linux and macOS should include Android and iOS, but these are currently untested. +| Backend | OS | Status | +| :-------------------- | :--------- | :------------------------------------------------------------------------ | +| inotify | Linux | Supported | +| kqueue | BSD, macOS | Supported | +| ReadDirectoryChangesW | Windows | Supported | +| FEN | illumos | Supported | +| fanotify | Linux 5.9+ | [Not yet](https://github.com/fsnotify/fsnotify/issues/114) | +| AHAFS | AIX | [aix branch]; experimental due to lack of maintainer and test environment | +| FSEvents | macOS | [Needs support in x/sys/unix][fsevents] | +| USN Journals | Windows | [Needs support in x/sys/windows][usn] | +| Polling | *All* | [Not yet](https://github.com/fsnotify/fsnotify/issues/9) | + +Linux and illumos should include Android and Solaris, but these are currently +untested. + +[fsevents]: https://github.com/fsnotify/fsnotify/issues/11#issuecomment-1279133120 +[usn]: https://github.com/fsnotify/fsnotify/issues/53#issuecomment-1279829847 +[aix branch]: https://github.com/fsnotify/fsnotify/issues/353#issuecomment-1284590129 Usage ----- @@ -83,20 +85,23 @@ run with: % go run ./cmd/fsnotify +Further detailed documentation can be found in godoc: +https://pkg.go.dev/github.com/fsnotify/fsnotify + FAQ --- ### Will a file still be watched when it's moved to another directory? No, not unless you are watching the location it was moved to. -### Are subdirectories watched too? +### Are subdirectories watched? No, you must add watches for any directory you want to watch (a recursive watcher is on the roadmap: [#18]). [#18]: https://github.com/fsnotify/fsnotify/issues/18 ### Do I have to watch the Error and Event channels in a goroutine? -As of now, yes (you can read both channels in the same goroutine using `select`, -you don't need a separate goroutine for both channels; see the example). +Yes. You can read both channels in the same goroutine using `select` (you don't +need a separate goroutine for both channels; see the example). ### Why don't notifications work with NFS, SMB, FUSE, /proc, or /sys? fsnotify requires support from underlying OS to work. The current NFS and SMB @@ -107,6 +112,32 @@ This could be fixed with a polling watcher ([#9]), but it's not yet implemented. [#9]: https://github.com/fsnotify/fsnotify/issues/9 +### Why do I get many Chmod events? +Some programs may generate a lot of attribute changes; for example Spotlight on +macOS, anti-virus programs, backup applications, and some others are known to do +this. As a rule, it's typically best to ignore Chmod events. They're often not +useful, and tend to cause problems. + +Spotlight indexing on macOS can result in multiple events (see [#15]). A +temporary workaround is to add your folder(s) to the *Spotlight Privacy +settings* until we have a native FSEvents implementation (see [#11]). + +[#11]: https://github.com/fsnotify/fsnotify/issues/11 +[#15]: https://github.com/fsnotify/fsnotify/issues/15 + +### Watching a file doesn't work well +Watching individual files (rather than directories) is generally not recommended +as many programs (especially editors) update files atomically: it will write to +a temporary file which is then moved to to destination, overwriting the original +(or some variant thereof). The watcher on the original file is now lost, as that +no longer exists. + +The upshot of this is that a power failure or crash won't leave a half-written +file. + +Watch the parent directory and use `Event.Name` to filter out files you're not +interested in. There is an example of this in `cmd/fsnotify/file.go`. + Platform-specific notes ----------------------- ### Linux @@ -151,11 +182,3 @@ these platforms. The sysctl variables `kern.maxfiles` and `kern.maxfilesperproc` can be used to control the maximum number of open files. - -### macOS -Spotlight indexing on macOS can result in multiple events (see [#15]). A temporary -workaround is to add your folder(s) to the *Spotlight Privacy settings* until we -have a native FSEvents implementation (see [#11]). - -[#11]: https://github.com/fsnotify/fsnotify/issues/11 -[#15]: https://github.com/fsnotify/fsnotify/issues/15 diff --git a/vendor/github.com/fsnotify/fsnotify/backend_fen.go b/vendor/github.com/fsnotify/fsnotify/backend_fen.go index 1a95ad8e7..28497f1dd 100644 --- a/vendor/github.com/fsnotify/fsnotify/backend_fen.go +++ b/vendor/github.com/fsnotify/fsnotify/backend_fen.go @@ -1,10 +1,19 @@ //go:build solaris // +build solaris +// Note: the documentation on the Watcher type and methods is generated from +// mkdoc.zsh + package fsnotify import ( "errors" + "fmt" + "os" + "path/filepath" + "sync" + + "golang.org/x/sys/unix" ) // Watcher watches a set of paths, delivering events on a channel. @@ -17,9 +26,9 @@ import ( // When a file is removed a Remove event won't be emitted until all file // descriptors are closed, and deletes will always emit a Chmod. For example: // -// fp := os.Open("file") -// os.Remove("file") // Triggers Chmod -// fp.Close() // Triggers Remove +// fp := os.Open("file") +// os.Remove("file") // Triggers Chmod +// fp.Close() // Triggers Remove // // This is the event that inotify sends, so not much can be changed about this. // @@ -33,16 +42,16 @@ import ( // // To increase them you can use sysctl or write the value to the /proc file: // -// # Default values on Linux 5.18 -// sysctl fs.inotify.max_user_watches=124983 -// sysctl fs.inotify.max_user_instances=128 +// # Default values on Linux 5.18 +// sysctl fs.inotify.max_user_watches=124983 +// sysctl fs.inotify.max_user_instances=128 // // To make the changes persist on reboot edit /etc/sysctl.conf or // /usr/lib/sysctl.d/50-default.conf (details differ per Linux distro; check // your distro's documentation): // -// fs.inotify.max_user_watches=124983 -// fs.inotify.max_user_instances=128 +// fs.inotify.max_user_watches=124983 +// fs.inotify.max_user_instances=128 // // Reaching the limit will result in a "no space left on device" or "too many open // files" error. @@ -58,14 +67,20 @@ import ( // control the maximum number of open files, as well as /etc/login.conf on BSD // systems. // -// # macOS notes +// # Windows notes +// +// Paths can be added as "C:\path\to\dir", but forward slashes +// ("C:/path/to/dir") will also work. // -// Spotlight indexing on macOS can result in multiple events (see [#15]). A -// temporary workaround is to add your folder(s) to the "Spotlight Privacy -// Settings" until we have a native FSEvents implementation (see [#11]). +// When a watched directory is removed it will always send an event for the +// directory itself, but may not send events for all files in that directory. +// Sometimes it will send events for all times, sometimes it will send no +// events, and often only for some files. // -// [#11]: https://github.com/fsnotify/fsnotify/issues/11 -// [#15]: https://github.com/fsnotify/fsnotify/issues/15 +// The default ReadDirectoryChangesW() buffer size is 64K, which is the largest +// value that is guaranteed to work with SMB filesystems. If you have many +// events in quick succession this may not be enough, and you will have to use +// [WithBufferSize] to increase the value. type Watcher struct { // Events sends the filesystem change events. // @@ -92,44 +107,129 @@ type Watcher struct { // initiated by the user may show up as one or multiple // writes, depending on when the system syncs things to // disk. For example when compiling a large Go program - // you may get hundreds of Write events, so you - // probably want to wait until you've stopped receiving - // them (see the dedup example in cmd/fsnotify). + // you may get hundreds of Write events, and you may + // want to wait until you've stopped receiving them + // (see the dedup example in cmd/fsnotify). + // + // Some systems may send Write event for directories + // when the directory content changes. // // fsnotify.Chmod Attributes were changed. On Linux this is also sent // when a file is removed (or more accurately, when a // link to an inode is removed). On kqueue it's sent - // and on kqueue when a file is truncated. On Windows - // it's never sent. + // when a file is truncated. On Windows it's never + // sent. Events chan Event // Errors sends any errors. + // + // ErrEventOverflow is used to indicate there are too many events: + // + // - inotify: There are too many queued events (fs.inotify.max_queued_events sysctl) + // - windows: The buffer size is too small; WithBufferSize() can be used to increase it. + // - kqueue, fen: Not used. Errors chan error + + mu sync.Mutex + port *unix.EventPort + done chan struct{} // Channel for sending a "quit message" to the reader goroutine + dirs map[string]struct{} // Explicitly watched directories + watches map[string]struct{} // Explicitly watched non-directories } // NewWatcher creates a new Watcher. func NewWatcher() (*Watcher, error) { - return nil, errors.New("FEN based watcher not yet supported for fsnotify\n") + return NewBufferedWatcher(0) } -// Close removes all watches and closes the events channel. +// NewBufferedWatcher creates a new Watcher with a buffered Watcher.Events +// channel. +// +// The main use case for this is situations with a very large number of events +// where the kernel buffer size can't be increased (e.g. due to lack of +// permissions). An unbuffered Watcher will perform better for almost all use +// cases, and whenever possible you will be better off increasing the kernel +// buffers instead of adding a large userspace buffer. +func NewBufferedWatcher(sz uint) (*Watcher, error) { + w := &Watcher{ + Events: make(chan Event, sz), + Errors: make(chan error), + dirs: make(map[string]struct{}), + watches: make(map[string]struct{}), + done: make(chan struct{}), + } + + var err error + w.port, err = unix.NewEventPort() + if err != nil { + return nil, fmt.Errorf("fsnotify.NewWatcher: %w", err) + } + + go w.readEvents() + return w, nil +} + +// sendEvent attempts to send an event to the user, returning true if the event +// was put in the channel successfully and false if the watcher has been closed. +func (w *Watcher) sendEvent(name string, op Op) (sent bool) { + select { + case w.Events <- Event{Name: name, Op: op}: + return true + case <-w.done: + return false + } +} + +// sendError attempts to send an error to the user, returning true if the error +// was put in the channel successfully and false if the watcher has been closed. +func (w *Watcher) sendError(err error) (sent bool) { + select { + case w.Errors <- err: + return true + case <-w.done: + return false + } +} + +func (w *Watcher) isClosed() bool { + select { + case <-w.done: + return true + default: + return false + } +} + +// Close removes all watches and closes the Events channel. func (w *Watcher) Close() error { - return nil + // Take the lock used by associateFile to prevent lingering events from + // being processed after the close + w.mu.Lock() + defer w.mu.Unlock() + if w.isClosed() { + return nil + } + close(w.done) + return w.port.Close() } // Add starts monitoring the path for changes. // -// A path can only be watched once; attempting to watch it more than once will -// return an error. Paths that do not yet exist on the filesystem cannot be -// added. A watch will be automatically removed if the path is deleted. +// A path can only be watched once; watching it more than once is a no-op and will +// not return an error. Paths that do not yet exist on the filesystem cannot be +// watched. // -// A path will remain watched if it gets renamed to somewhere else on the same -// filesystem, but the monitor will get removed if the path gets deleted and -// re-created, or if it's moved to a different filesystem. +// A watch will be automatically removed if the watched path is deleted or +// renamed. The exception is the Windows backend, which doesn't remove the +// watcher on renames. // // Notifications on network filesystems (NFS, SMB, FUSE, etc.) or special // filesystems (/proc, /sys, etc.) generally don't work. // +// Returns [ErrClosed] if [Watcher.Close] was called. +// +// See [Watcher.AddWith] for a version that allows adding options. +// // # Watching directories // // All files in a directory are monitored, including new files that are created @@ -139,15 +239,63 @@ func (w *Watcher) Close() error { // # Watching files // // Watching individual files (rather than directories) is generally not -// recommended as many tools update files atomically. Instead of "just" writing -// to the file a temporary file will be written to first, and if successful the -// temporary file is moved to to destination removing the original, or some -// variant thereof. The watcher on the original file is now lost, as it no -// longer exists. -// -// Instead, watch the parent directory and use Event.Name to filter out files -// you're not interested in. There is an example of this in [cmd/fsnotify/file.go]. -func (w *Watcher) Add(name string) error { +// recommended as many programs (especially editors) update files atomically: it +// will write to a temporary file which is then moved to to destination, +// overwriting the original (or some variant thereof). The watcher on the +// original file is now lost, as that no longer exists. +// +// The upshot of this is that a power failure or crash won't leave a +// half-written file. +// +// Watch the parent directory and use Event.Name to filter out files you're not +// interested in. There is an example of this in cmd/fsnotify/file.go. +func (w *Watcher) Add(name string) error { return w.AddWith(name) } + +// AddWith is like [Watcher.Add], but allows adding options. When using Add() +// the defaults described below are used. +// +// Possible options are: +// +// - [WithBufferSize] sets the buffer size for the Windows backend; no-op on +// other platforms. The default is 64K (65536 bytes). +func (w *Watcher) AddWith(name string, opts ...addOpt) error { + if w.isClosed() { + return ErrClosed + } + if w.port.PathIsWatched(name) { + return nil + } + + _ = getOptions(opts...) + + // Currently we resolve symlinks that were explicitly requested to be + // watched. Otherwise we would use LStat here. + stat, err := os.Stat(name) + if err != nil { + return err + } + + // Associate all files in the directory. + if stat.IsDir() { + err := w.handleDirectory(name, stat, true, w.associateFile) + if err != nil { + return err + } + + w.mu.Lock() + w.dirs[name] = struct{}{} + w.mu.Unlock() + return nil + } + + err = w.associateFile(name, stat, true) + if err != nil { + return err + } + + w.mu.Lock() + w.watches[name] = struct{}{} + w.mu.Unlock() return nil } @@ -157,6 +305,336 @@ func (w *Watcher) Add(name string) error { // /tmp/dir and /tmp/dir/subdir then you will need to remove both. // // Removing a path that has not yet been added returns [ErrNonExistentWatch]. +// +// Returns nil if [Watcher.Close] was called. func (w *Watcher) Remove(name string) error { + if w.isClosed() { + return nil + } + if !w.port.PathIsWatched(name) { + return fmt.Errorf("%w: %s", ErrNonExistentWatch, name) + } + + // The user has expressed an intent. Immediately remove this name from + // whichever watch list it might be in. If it's not in there the delete + // doesn't cause harm. + w.mu.Lock() + delete(w.watches, name) + delete(w.dirs, name) + w.mu.Unlock() + + stat, err := os.Stat(name) + if err != nil { + return err + } + + // Remove associations for every file in the directory. + if stat.IsDir() { + err := w.handleDirectory(name, stat, false, w.dissociateFile) + if err != nil { + return err + } + return nil + } + + err = w.port.DissociatePath(name) + if err != nil { + return err + } + return nil } + +// readEvents contains the main loop that runs in a goroutine watching for events. +func (w *Watcher) readEvents() { + // If this function returns, the watcher has been closed and we can close + // these channels + defer func() { + close(w.Errors) + close(w.Events) + }() + + pevents := make([]unix.PortEvent, 8) + for { + count, err := w.port.Get(pevents, 1, nil) + if err != nil && err != unix.ETIME { + // Interrupted system call (count should be 0) ignore and continue + if errors.Is(err, unix.EINTR) && count == 0 { + continue + } + // Get failed because we called w.Close() + if errors.Is(err, unix.EBADF) && w.isClosed() { + return + } + // There was an error not caused by calling w.Close() + if !w.sendError(err) { + return + } + } + + p := pevents[:count] + for _, pevent := range p { + if pevent.Source != unix.PORT_SOURCE_FILE { + // Event from unexpected source received; should never happen. + if !w.sendError(errors.New("Event from unexpected source received")) { + return + } + continue + } + + err = w.handleEvent(&pevent) + if err != nil { + if !w.sendError(err) { + return + } + } + } + } +} + +func (w *Watcher) handleDirectory(path string, stat os.FileInfo, follow bool, handler func(string, os.FileInfo, bool) error) error { + files, err := os.ReadDir(path) + if err != nil { + return err + } + + // Handle all children of the directory. + for _, entry := range files { + finfo, err := entry.Info() + if err != nil { + return err + } + err = handler(filepath.Join(path, finfo.Name()), finfo, false) + if err != nil { + return err + } + } + + // And finally handle the directory itself. + return handler(path, stat, follow) +} + +// handleEvent might need to emit more than one fsnotify event if the events +// bitmap matches more than one event type (e.g. the file was both modified and +// had the attributes changed between when the association was created and the +// when event was returned) +func (w *Watcher) handleEvent(event *unix.PortEvent) error { + var ( + events = event.Events + path = event.Path + fmode = event.Cookie.(os.FileMode) + reRegister = true + ) + + w.mu.Lock() + _, watchedDir := w.dirs[path] + _, watchedPath := w.watches[path] + w.mu.Unlock() + isWatched := watchedDir || watchedPath + + if events&unix.FILE_DELETE != 0 { + if !w.sendEvent(path, Remove) { + return nil + } + reRegister = false + } + if events&unix.FILE_RENAME_FROM != 0 { + if !w.sendEvent(path, Rename) { + return nil + } + // Don't keep watching the new file name + reRegister = false + } + if events&unix.FILE_RENAME_TO != 0 { + // We don't report a Rename event for this case, because Rename events + // are interpreted as referring to the _old_ name of the file, and in + // this case the event would refer to the new name of the file. This + // type of rename event is not supported by fsnotify. + + // inotify reports a Remove event in this case, so we simulate this + // here. + if !w.sendEvent(path, Remove) { + return nil + } + // Don't keep watching the file that was removed + reRegister = false + } + + // The file is gone, nothing left to do. + if !reRegister { + if watchedDir { + w.mu.Lock() + delete(w.dirs, path) + w.mu.Unlock() + } + if watchedPath { + w.mu.Lock() + delete(w.watches, path) + w.mu.Unlock() + } + return nil + } + + // If we didn't get a deletion the file still exists and we're going to have + // to watch it again. Let's Stat it now so that we can compare permissions + // and have what we need to continue watching the file + + stat, err := os.Lstat(path) + if err != nil { + // This is unexpected, but we should still emit an event. This happens + // most often on "rm -r" of a subdirectory inside a watched directory We + // get a modify event of something happening inside, but by the time we + // get here, the sudirectory is already gone. Clearly we were watching + // this path but now it is gone. Let's tell the user that it was + // removed. + if !w.sendEvent(path, Remove) { + return nil + } + // Suppress extra write events on removed directories; they are not + // informative and can be confusing. + return nil + } + + // resolve symlinks that were explicitly watched as we would have at Add() + // time. this helps suppress spurious Chmod events on watched symlinks + if isWatched { + stat, err = os.Stat(path) + if err != nil { + // The symlink still exists, but the target is gone. Report the + // Remove similar to above. + if !w.sendEvent(path, Remove) { + return nil + } + // Don't return the error + } + } + + if events&unix.FILE_MODIFIED != 0 { + if fmode.IsDir() { + if watchedDir { + if err := w.updateDirectory(path); err != nil { + return err + } + } else { + if !w.sendEvent(path, Write) { + return nil + } + } + } else { + if !w.sendEvent(path, Write) { + return nil + } + } + } + if events&unix.FILE_ATTRIB != 0 && stat != nil { + // Only send Chmod if perms changed + if stat.Mode().Perm() != fmode.Perm() { + if !w.sendEvent(path, Chmod) { + return nil + } + } + } + + if stat != nil { + // If we get here, it means we've hit an event above that requires us to + // continue watching the file or directory + return w.associateFile(path, stat, isWatched) + } + return nil +} + +func (w *Watcher) updateDirectory(path string) error { + // The directory was modified, so we must find unwatched entities and watch + // them. If something was removed from the directory, nothing will happen, + // as everything else should still be watched. + files, err := os.ReadDir(path) + if err != nil { + return err + } + + for _, entry := range files { + path := filepath.Join(path, entry.Name()) + if w.port.PathIsWatched(path) { + continue + } + + finfo, err := entry.Info() + if err != nil { + return err + } + err = w.associateFile(path, finfo, false) + if err != nil { + if !w.sendError(err) { + return nil + } + } + if !w.sendEvent(path, Create) { + return nil + } + } + return nil +} + +func (w *Watcher) associateFile(path string, stat os.FileInfo, follow bool) error { + if w.isClosed() { + return ErrClosed + } + // This is primarily protecting the call to AssociatePath but it is + // important and intentional that the call to PathIsWatched is also + // protected by this mutex. Without this mutex, AssociatePath has been seen + // to error out that the path is already associated. + w.mu.Lock() + defer w.mu.Unlock() + + if w.port.PathIsWatched(path) { + // Remove the old association in favor of this one If we get ENOENT, + // then while the x/sys/unix wrapper still thought that this path was + // associated, the underlying event port did not. This call will have + // cleared up that discrepancy. The most likely cause is that the event + // has fired but we haven't processed it yet. + err := w.port.DissociatePath(path) + if err != nil && err != unix.ENOENT { + return err + } + } + // FILE_NOFOLLOW means we watch symlinks themselves rather than their + // targets. + events := unix.FILE_MODIFIED | unix.FILE_ATTRIB | unix.FILE_NOFOLLOW + if follow { + // We *DO* follow symlinks for explicitly watched entries. + events = unix.FILE_MODIFIED | unix.FILE_ATTRIB + } + return w.port.AssociatePath(path, stat, + events, + stat.Mode()) +} + +func (w *Watcher) dissociateFile(path string, stat os.FileInfo, unused bool) error { + if !w.port.PathIsWatched(path) { + return nil + } + return w.port.DissociatePath(path) +} + +// WatchList returns all paths explicitly added with [Watcher.Add] (and are not +// yet removed). +// +// Returns nil if [Watcher.Close] was called. +func (w *Watcher) WatchList() []string { + if w.isClosed() { + return nil + } + + w.mu.Lock() + defer w.mu.Unlock() + + entries := make([]string, 0, len(w.watches)+len(w.dirs)) + for pathname := range w.dirs { + entries = append(entries, pathname) + } + for pathname := range w.watches { + entries = append(entries, pathname) + } + + return entries +} diff --git a/vendor/github.com/fsnotify/fsnotify/backend_inotify.go b/vendor/github.com/fsnotify/fsnotify/backend_inotify.go index 54c77fbb0..921c1c1e4 100644 --- a/vendor/github.com/fsnotify/fsnotify/backend_inotify.go +++ b/vendor/github.com/fsnotify/fsnotify/backend_inotify.go @@ -1,5 +1,8 @@ -//go:build linux -// +build linux +//go:build linux && !appengine +// +build linux,!appengine + +// Note: the documentation on the Watcher type and methods is generated from +// mkdoc.zsh package fsnotify @@ -26,9 +29,9 @@ import ( // When a file is removed a Remove event won't be emitted until all file // descriptors are closed, and deletes will always emit a Chmod. For example: // -// fp := os.Open("file") -// os.Remove("file") // Triggers Chmod -// fp.Close() // Triggers Remove +// fp := os.Open("file") +// os.Remove("file") // Triggers Chmod +// fp.Close() // Triggers Remove // // This is the event that inotify sends, so not much can be changed about this. // @@ -42,16 +45,16 @@ import ( // // To increase them you can use sysctl or write the value to the /proc file: // -// # Default values on Linux 5.18 -// sysctl fs.inotify.max_user_watches=124983 -// sysctl fs.inotify.max_user_instances=128 +// # Default values on Linux 5.18 +// sysctl fs.inotify.max_user_watches=124983 +// sysctl fs.inotify.max_user_instances=128 // // To make the changes persist on reboot edit /etc/sysctl.conf or // /usr/lib/sysctl.d/50-default.conf (details differ per Linux distro; check // your distro's documentation): // -// fs.inotify.max_user_watches=124983 -// fs.inotify.max_user_instances=128 +// fs.inotify.max_user_watches=124983 +// fs.inotify.max_user_instances=128 // // Reaching the limit will result in a "no space left on device" or "too many open // files" error. @@ -67,14 +70,20 @@ import ( // control the maximum number of open files, as well as /etc/login.conf on BSD // systems. // -// # macOS notes +// # Windows notes +// +// Paths can be added as "C:\path\to\dir", but forward slashes +// ("C:/path/to/dir") will also work. // -// Spotlight indexing on macOS can result in multiple events (see [#15]). A -// temporary workaround is to add your folder(s) to the "Spotlight Privacy -// Settings" until we have a native FSEvents implementation (see [#11]). +// When a watched directory is removed it will always send an event for the +// directory itself, but may not send events for all files in that directory. +// Sometimes it will send events for all times, sometimes it will send no +// events, and often only for some files. // -// [#11]: https://github.com/fsnotify/fsnotify/issues/11 -// [#15]: https://github.com/fsnotify/fsnotify/issues/15 +// The default ReadDirectoryChangesW() buffer size is 64K, which is the largest +// value that is guaranteed to work with SMB filesystems. If you have many +// events in quick succession this may not be enough, and you will have to use +// [WithBufferSize] to increase the value. type Watcher struct { // Events sends the filesystem change events. // @@ -101,36 +110,148 @@ type Watcher struct { // initiated by the user may show up as one or multiple // writes, depending on when the system syncs things to // disk. For example when compiling a large Go program - // you may get hundreds of Write events, so you - // probably want to wait until you've stopped receiving - // them (see the dedup example in cmd/fsnotify). + // you may get hundreds of Write events, and you may + // want to wait until you've stopped receiving them + // (see the dedup example in cmd/fsnotify). + // + // Some systems may send Write event for directories + // when the directory content changes. // // fsnotify.Chmod Attributes were changed. On Linux this is also sent // when a file is removed (or more accurately, when a // link to an inode is removed). On kqueue it's sent - // and on kqueue when a file is truncated. On Windows - // it's never sent. + // when a file is truncated. On Windows it's never + // sent. Events chan Event // Errors sends any errors. + // + // ErrEventOverflow is used to indicate there are too many events: + // + // - inotify: There are too many queued events (fs.inotify.max_queued_events sysctl) + // - windows: The buffer size is too small; WithBufferSize() can be used to increase it. + // - kqueue, fen: Not used. Errors chan error // Store fd here as os.File.Read() will no longer return on close after // calling Fd(). See: https://github.com/golang/go/issues/26439 fd int - mu sync.Mutex // Map access inotifyFile *os.File - watches map[string]*watch // Map of inotify watches (key: path) - paths map[int]string // Map of watched paths (key: watch descriptor) - done chan struct{} // Channel for sending a "quit message" to the reader goroutine - doneResp chan struct{} // Channel to respond to Close + watches *watches + done chan struct{} // Channel for sending a "quit message" to the reader goroutine + closeMu sync.Mutex + doneResp chan struct{} // Channel to respond to Close +} + +type ( + watches struct { + mu sync.RWMutex + wd map[uint32]*watch // wd → watch + path map[string]uint32 // pathname → wd + } + watch struct { + wd uint32 // Watch descriptor (as returned by the inotify_add_watch() syscall) + flags uint32 // inotify flags of this watch (see inotify(7) for the list of valid flags) + path string // Watch path. + } +) + +func newWatches() *watches { + return &watches{ + wd: make(map[uint32]*watch), + path: make(map[string]uint32), + } +} + +func (w *watches) len() int { + w.mu.RLock() + defer w.mu.RUnlock() + return len(w.wd) +} + +func (w *watches) add(ww *watch) { + w.mu.Lock() + defer w.mu.Unlock() + w.wd[ww.wd] = ww + w.path[ww.path] = ww.wd +} + +func (w *watches) remove(wd uint32) { + w.mu.Lock() + defer w.mu.Unlock() + delete(w.path, w.wd[wd].path) + delete(w.wd, wd) +} + +func (w *watches) removePath(path string) (uint32, bool) { + w.mu.Lock() + defer w.mu.Unlock() + + wd, ok := w.path[path] + if !ok { + return 0, false + } + + delete(w.path, path) + delete(w.wd, wd) + + return wd, true +} + +func (w *watches) byPath(path string) *watch { + w.mu.RLock() + defer w.mu.RUnlock() + return w.wd[w.path[path]] +} + +func (w *watches) byWd(wd uint32) *watch { + w.mu.RLock() + defer w.mu.RUnlock() + return w.wd[wd] +} + +func (w *watches) updatePath(path string, f func(*watch) (*watch, error)) error { + w.mu.Lock() + defer w.mu.Unlock() + + var existing *watch + wd, ok := w.path[path] + if ok { + existing = w.wd[wd] + } + + upd, err := f(existing) + if err != nil { + return err + } + if upd != nil { + w.wd[upd.wd] = upd + w.path[upd.path] = upd.wd + + if upd.wd != wd { + delete(w.wd, wd) + } + } + + return nil } // NewWatcher creates a new Watcher. func NewWatcher() (*Watcher, error) { - // Create inotify fd - // Need to set the FD to nonblocking mode in order for SetDeadline methods to work - // Otherwise, blocking i/o operations won't terminate on close + return NewBufferedWatcher(0) +} + +// NewBufferedWatcher creates a new Watcher with a buffered Watcher.Events +// channel. +// +// The main use case for this is situations with a very large number of events +// where the kernel buffer size can't be increased (e.g. due to lack of +// permissions). An unbuffered Watcher will perform better for almost all use +// cases, and whenever possible you will be better off increasing the kernel +// buffers instead of adding a large userspace buffer. +func NewBufferedWatcher(sz uint) (*Watcher, error) { + // Need to set nonblocking mode for SetDeadline to work, otherwise blocking + // I/O operations won't terminate on close. fd, errno := unix.InotifyInit1(unix.IN_CLOEXEC | unix.IN_NONBLOCK) if fd == -1 { return nil, errno @@ -139,9 +260,8 @@ func NewWatcher() (*Watcher, error) { w := &Watcher{ fd: fd, inotifyFile: os.NewFile(uintptr(fd), ""), - watches: make(map[string]*watch), - paths: make(map[int]string), - Events: make(chan Event), + watches: newWatches(), + Events: make(chan Event, sz), Errors: make(chan error), done: make(chan struct{}), doneResp: make(chan struct{}), @@ -157,8 +277,8 @@ func (w *Watcher) sendEvent(e Event) bool { case w.Events <- e: return true case <-w.done: + return false } - return false } // Returns true if the error was sent, or false if watcher is closed. @@ -180,17 +300,15 @@ func (w *Watcher) isClosed() bool { } } -// Close removes all watches and closes the events channel. +// Close removes all watches and closes the Events channel. func (w *Watcher) Close() error { - w.mu.Lock() + w.closeMu.Lock() if w.isClosed() { - w.mu.Unlock() + w.closeMu.Unlock() return nil } - - // Send 'close' signal to goroutine, and set the Watcher to closed. close(w.done) - w.mu.Unlock() + w.closeMu.Unlock() // Causes any blocking reads to return with an error, provided the file // still supports deadline operations. @@ -207,17 +325,21 @@ func (w *Watcher) Close() error { // Add starts monitoring the path for changes. // -// A path can only be watched once; attempting to watch it more than once will -// return an error. Paths that do not yet exist on the filesystem cannot be -// added. A watch will be automatically removed if the path is deleted. +// A path can only be watched once; watching it more than once is a no-op and will +// not return an error. Paths that do not yet exist on the filesystem cannot be +// watched. // -// A path will remain watched if it gets renamed to somewhere else on the same -// filesystem, but the monitor will get removed if the path gets deleted and -// re-created, or if it's moved to a different filesystem. +// A watch will be automatically removed if the watched path is deleted or +// renamed. The exception is the Windows backend, which doesn't remove the +// watcher on renames. // // Notifications on network filesystems (NFS, SMB, FUSE, etc.) or special // filesystems (/proc, /sys, etc.) generally don't work. // +// Returns [ErrClosed] if [Watcher.Close] was called. +// +// See [Watcher.AddWith] for a version that allows adding options. +// // # Watching directories // // All files in a directory are monitored, including new files that are created @@ -227,44 +349,59 @@ func (w *Watcher) Close() error { // # Watching files // // Watching individual files (rather than directories) is generally not -// recommended as many tools update files atomically. Instead of "just" writing -// to the file a temporary file will be written to first, and if successful the -// temporary file is moved to to destination removing the original, or some -// variant thereof. The watcher on the original file is now lost, as it no -// longer exists. -// -// Instead, watch the parent directory and use Event.Name to filter out files -// you're not interested in. There is an example of this in [cmd/fsnotify/file.go]. -func (w *Watcher) Add(name string) error { - name = filepath.Clean(name) +// recommended as many programs (especially editors) update files atomically: it +// will write to a temporary file which is then moved to to destination, +// overwriting the original (or some variant thereof). The watcher on the +// original file is now lost, as that no longer exists. +// +// The upshot of this is that a power failure or crash won't leave a +// half-written file. +// +// Watch the parent directory and use Event.Name to filter out files you're not +// interested in. There is an example of this in cmd/fsnotify/file.go. +func (w *Watcher) Add(name string) error { return w.AddWith(name) } + +// AddWith is like [Watcher.Add], but allows adding options. When using Add() +// the defaults described below are used. +// +// Possible options are: +// +// - [WithBufferSize] sets the buffer size for the Windows backend; no-op on +// other platforms. The default is 64K (65536 bytes). +func (w *Watcher) AddWith(name string, opts ...addOpt) error { if w.isClosed() { - return errors.New("inotify instance already closed") + return ErrClosed } + name = filepath.Clean(name) + _ = getOptions(opts...) + var flags uint32 = unix.IN_MOVED_TO | unix.IN_MOVED_FROM | unix.IN_CREATE | unix.IN_ATTRIB | unix.IN_MODIFY | unix.IN_MOVE_SELF | unix.IN_DELETE | unix.IN_DELETE_SELF - w.mu.Lock() - defer w.mu.Unlock() - watchEntry := w.watches[name] - if watchEntry != nil { - flags |= watchEntry.flags | unix.IN_MASK_ADD - } - wd, errno := unix.InotifyAddWatch(w.fd, name, flags) - if wd == -1 { - return errno - } + return w.watches.updatePath(name, func(existing *watch) (*watch, error) { + if existing != nil { + flags |= existing.flags | unix.IN_MASK_ADD + } - if watchEntry == nil { - w.watches[name] = &watch{wd: uint32(wd), flags: flags} - w.paths[wd] = name - } else { - watchEntry.wd = uint32(wd) - watchEntry.flags = flags - } + wd, err := unix.InotifyAddWatch(w.fd, name, flags) + if wd == -1 { + return nil, err + } - return nil + if existing == nil { + return &watch{ + wd: uint32(wd), + path: name, + flags: flags, + }, nil + } + + existing.wd = uint32(wd) + existing.flags = flags + return existing, nil + }) } // Remove stops monitoring the path for changes. @@ -273,32 +410,22 @@ func (w *Watcher) Add(name string) error { // /tmp/dir and /tmp/dir/subdir then you will need to remove both. // // Removing a path that has not yet been added returns [ErrNonExistentWatch]. +// +// Returns nil if [Watcher.Close] was called. func (w *Watcher) Remove(name string) error { - name = filepath.Clean(name) - - // Fetch the watch. - w.mu.Lock() - defer w.mu.Unlock() - watch, ok := w.watches[name] + if w.isClosed() { + return nil + } + return w.remove(filepath.Clean(name)) +} - // Remove it from inotify. +func (w *Watcher) remove(name string) error { + wd, ok := w.watches.removePath(name) if !ok { return fmt.Errorf("%w: %s", ErrNonExistentWatch, name) } - // We successfully removed the watch if InotifyRmWatch doesn't return an - // error, we need to clean up our internal state to ensure it matches - // inotify's kernel state. - delete(w.paths, int(watch.wd)) - delete(w.watches, name) - - // inotify_rm_watch will return EINVAL if the file has been deleted; - // the inotify will already have been removed. - // watches and pathes are deleted in ignoreLinux() implicitly and asynchronously - // by calling inotify_rm_watch() below. e.g. readEvents() goroutine receives IN_IGNORE - // so that EINVAL means that the wd is being rm_watch()ed or its file removed - // by another thread and we have not received IN_IGNORE event. - success, errno := unix.InotifyRmWatch(w.fd, watch.wd) + success, errno := unix.InotifyRmWatch(w.fd, wd) if success == -1 { // TODO: Perhaps it's not helpful to return an error here in every case; // The only two possible errors are: @@ -312,28 +439,28 @@ func (w *Watcher) Remove(name string) error { // are watching is deleted. return errno } - return nil } -// WatchList returns all paths added with [Add] (and are not yet removed). +// WatchList returns all paths explicitly added with [Watcher.Add] (and are not +// yet removed). +// +// Returns nil if [Watcher.Close] was called. func (w *Watcher) WatchList() []string { - w.mu.Lock() - defer w.mu.Unlock() + if w.isClosed() { + return nil + } - entries := make([]string, 0, len(w.watches)) - for pathname := range w.watches { + entries := make([]string, 0, w.watches.len()) + w.watches.mu.RLock() + for pathname := range w.watches.path { entries = append(entries, pathname) } + w.watches.mu.RUnlock() return entries } -type watch struct { - wd uint32 // Watch descriptor (as returned by the inotify_add_watch() syscall) - flags uint32 // inotify flags of this watch (see inotify(7) for the list of valid flags) -} - // readEvents reads from the inotify file descriptor, converts the // received events into Event objects and sends them via the Events channel func (w *Watcher) readEvents() { @@ -367,14 +494,11 @@ func (w *Watcher) readEvents() { if n < unix.SizeofInotifyEvent { var err error if n == 0 { - // If EOF is received. This should really never happen. - err = io.EOF + err = io.EOF // If EOF is received. This should really never happen. } else if n < 0 { - // If an error occurred while reading. - err = errno + err = errno // If an error occurred while reading. } else { - // Read was too short. - err = errors.New("notify: short read in readEvents()") + err = errors.New("notify: short read in readEvents()") // Read was too short. } if !w.sendError(err) { return @@ -403,18 +527,29 @@ func (w *Watcher) readEvents() { // doesn't append the filename to the event, but we would like to always fill the // the "Name" field with a valid filename. We retrieve the path of the watch from // the "paths" map. - w.mu.Lock() - name, ok := w.paths[int(raw.Wd)] - // IN_DELETE_SELF occurs when the file/directory being watched is removed. - // This is a sign to clean up the maps, otherwise we are no longer in sync - // with the inotify kernel state which has already deleted the watch - // automatically. - if ok && mask&unix.IN_DELETE_SELF == unix.IN_DELETE_SELF { - delete(w.paths, int(raw.Wd)) - delete(w.watches, name) + watch := w.watches.byWd(uint32(raw.Wd)) + + // inotify will automatically remove the watch on deletes; just need + // to clean our state here. + if watch != nil && mask&unix.IN_DELETE_SELF == unix.IN_DELETE_SELF { + w.watches.remove(watch.wd) + } + // We can't really update the state when a watched path is moved; + // only IN_MOVE_SELF is sent and not IN_MOVED_{FROM,TO}. So remove + // the watch. + if watch != nil && mask&unix.IN_MOVE_SELF == unix.IN_MOVE_SELF { + err := w.remove(watch.path) + if err != nil && !errors.Is(err, ErrNonExistentWatch) { + if !w.sendError(err) { + return + } + } } - w.mu.Unlock() + var name string + if watch != nil { + name = watch.path + } if nameLen > 0 { // Point "bytes" at the first byte of the filename bytes := (*[unix.PathMax]byte)(unsafe.Pointer(&buf[offset+unix.SizeofInotifyEvent]))[:nameLen:nameLen] diff --git a/vendor/github.com/fsnotify/fsnotify/backend_kqueue.go b/vendor/github.com/fsnotify/fsnotify/backend_kqueue.go index 29087469b..063a0915a 100644 --- a/vendor/github.com/fsnotify/fsnotify/backend_kqueue.go +++ b/vendor/github.com/fsnotify/fsnotify/backend_kqueue.go @@ -1,12 +1,14 @@ //go:build freebsd || openbsd || netbsd || dragonfly || darwin // +build freebsd openbsd netbsd dragonfly darwin +// Note: the documentation on the Watcher type and methods is generated from +// mkdoc.zsh + package fsnotify import ( "errors" "fmt" - "io/ioutil" "os" "path/filepath" "sync" @@ -24,9 +26,9 @@ import ( // When a file is removed a Remove event won't be emitted until all file // descriptors are closed, and deletes will always emit a Chmod. For example: // -// fp := os.Open("file") -// os.Remove("file") // Triggers Chmod -// fp.Close() // Triggers Remove +// fp := os.Open("file") +// os.Remove("file") // Triggers Chmod +// fp.Close() // Triggers Remove // // This is the event that inotify sends, so not much can be changed about this. // @@ -40,16 +42,16 @@ import ( // // To increase them you can use sysctl or write the value to the /proc file: // -// # Default values on Linux 5.18 -// sysctl fs.inotify.max_user_watches=124983 -// sysctl fs.inotify.max_user_instances=128 +// # Default values on Linux 5.18 +// sysctl fs.inotify.max_user_watches=124983 +// sysctl fs.inotify.max_user_instances=128 // // To make the changes persist on reboot edit /etc/sysctl.conf or // /usr/lib/sysctl.d/50-default.conf (details differ per Linux distro; check // your distro's documentation): // -// fs.inotify.max_user_watches=124983 -// fs.inotify.max_user_instances=128 +// fs.inotify.max_user_watches=124983 +// fs.inotify.max_user_instances=128 // // Reaching the limit will result in a "no space left on device" or "too many open // files" error. @@ -65,14 +67,20 @@ import ( // control the maximum number of open files, as well as /etc/login.conf on BSD // systems. // -// # macOS notes +// # Windows notes +// +// Paths can be added as "C:\path\to\dir", but forward slashes +// ("C:/path/to/dir") will also work. // -// Spotlight indexing on macOS can result in multiple events (see [#15]). A -// temporary workaround is to add your folder(s) to the "Spotlight Privacy -// Settings" until we have a native FSEvents implementation (see [#11]). +// When a watched directory is removed it will always send an event for the +// directory itself, but may not send events for all files in that directory. +// Sometimes it will send events for all times, sometimes it will send no +// events, and often only for some files. // -// [#11]: https://github.com/fsnotify/fsnotify/issues/11 -// [#15]: https://github.com/fsnotify/fsnotify/issues/15 +// The default ReadDirectoryChangesW() buffer size is 64K, which is the largest +// value that is guaranteed to work with SMB filesystems. If you have many +// events in quick succession this may not be enough, and you will have to use +// [WithBufferSize] to increase the value. type Watcher struct { // Events sends the filesystem change events. // @@ -99,18 +107,27 @@ type Watcher struct { // initiated by the user may show up as one or multiple // writes, depending on when the system syncs things to // disk. For example when compiling a large Go program - // you may get hundreds of Write events, so you - // probably want to wait until you've stopped receiving - // them (see the dedup example in cmd/fsnotify). + // you may get hundreds of Write events, and you may + // want to wait until you've stopped receiving them + // (see the dedup example in cmd/fsnotify). + // + // Some systems may send Write event for directories + // when the directory content changes. // // fsnotify.Chmod Attributes were changed. On Linux this is also sent // when a file is removed (or more accurately, when a // link to an inode is removed). On kqueue it's sent - // and on kqueue when a file is truncated. On Windows - // it's never sent. + // when a file is truncated. On Windows it's never + // sent. Events chan Event // Errors sends any errors. + // + // ErrEventOverflow is used to indicate there are too many events: + // + // - inotify: There are too many queued events (fs.inotify.max_queued_events sysctl) + // - windows: The buffer size is too small; WithBufferSize() can be used to increase it. + // - kqueue, fen: Not used. Errors chan error done chan struct{} @@ -133,6 +150,18 @@ type pathInfo struct { // NewWatcher creates a new Watcher. func NewWatcher() (*Watcher, error) { + return NewBufferedWatcher(0) +} + +// NewBufferedWatcher creates a new Watcher with a buffered Watcher.Events +// channel. +// +// The main use case for this is situations with a very large number of events +// where the kernel buffer size can't be increased (e.g. due to lack of +// permissions). An unbuffered Watcher will perform better for almost all use +// cases, and whenever possible you will be better off increasing the kernel +// buffers instead of adding a large userspace buffer. +func NewBufferedWatcher(sz uint) (*Watcher, error) { kq, closepipe, err := newKqueue() if err != nil { return nil, err @@ -147,7 +176,7 @@ func NewWatcher() (*Watcher, error) { paths: make(map[int]pathInfo), fileExists: make(map[string]struct{}), userWatches: make(map[string]struct{}), - Events: make(chan Event), + Events: make(chan Event, sz), Errors: make(chan error), done: make(chan struct{}), } @@ -197,8 +226,8 @@ func (w *Watcher) sendEvent(e Event) bool { case w.Events <- e: return true case <-w.done: + return false } - return false } // Returns true if the error was sent, or false if watcher is closed. @@ -207,11 +236,11 @@ func (w *Watcher) sendError(err error) bool { case w.Errors <- err: return true case <-w.done: + return false } - return false } -// Close removes all watches and closes the events channel. +// Close removes all watches and closes the Events channel. func (w *Watcher) Close() error { w.mu.Lock() if w.isClosed { @@ -239,17 +268,21 @@ func (w *Watcher) Close() error { // Add starts monitoring the path for changes. // -// A path can only be watched once; attempting to watch it more than once will -// return an error. Paths that do not yet exist on the filesystem cannot be -// added. A watch will be automatically removed if the path is deleted. +// A path can only be watched once; watching it more than once is a no-op and will +// not return an error. Paths that do not yet exist on the filesystem cannot be +// watched. // -// A path will remain watched if it gets renamed to somewhere else on the same -// filesystem, but the monitor will get removed if the path gets deleted and -// re-created, or if it's moved to a different filesystem. +// A watch will be automatically removed if the watched path is deleted or +// renamed. The exception is the Windows backend, which doesn't remove the +// watcher on renames. // // Notifications on network filesystems (NFS, SMB, FUSE, etc.) or special // filesystems (/proc, /sys, etc.) generally don't work. // +// Returns [ErrClosed] if [Watcher.Close] was called. +// +// See [Watcher.AddWith] for a version that allows adding options. +// // # Watching directories // // All files in a directory are monitored, including new files that are created @@ -259,15 +292,28 @@ func (w *Watcher) Close() error { // # Watching files // // Watching individual files (rather than directories) is generally not -// recommended as many tools update files atomically. Instead of "just" writing -// to the file a temporary file will be written to first, and if successful the -// temporary file is moved to to destination removing the original, or some -// variant thereof. The watcher on the original file is now lost, as it no -// longer exists. -// -// Instead, watch the parent directory and use Event.Name to filter out files -// you're not interested in. There is an example of this in [cmd/fsnotify/file.go]. -func (w *Watcher) Add(name string) error { +// recommended as many programs (especially editors) update files atomically: it +// will write to a temporary file which is then moved to to destination, +// overwriting the original (or some variant thereof). The watcher on the +// original file is now lost, as that no longer exists. +// +// The upshot of this is that a power failure or crash won't leave a +// half-written file. +// +// Watch the parent directory and use Event.Name to filter out files you're not +// interested in. There is an example of this in cmd/fsnotify/file.go. +func (w *Watcher) Add(name string) error { return w.AddWith(name) } + +// AddWith is like [Watcher.Add], but allows adding options. When using Add() +// the defaults described below are used. +// +// Possible options are: +// +// - [WithBufferSize] sets the buffer size for the Windows backend; no-op on +// other platforms. The default is 64K (65536 bytes). +func (w *Watcher) AddWith(name string, opts ...addOpt) error { + _ = getOptions(opts...) + w.mu.Lock() w.userWatches[name] = struct{}{} w.mu.Unlock() @@ -281,9 +327,19 @@ func (w *Watcher) Add(name string) error { // /tmp/dir and /tmp/dir/subdir then you will need to remove both. // // Removing a path that has not yet been added returns [ErrNonExistentWatch]. +// +// Returns nil if [Watcher.Close] was called. func (w *Watcher) Remove(name string) error { + return w.remove(name, true) +} + +func (w *Watcher) remove(name string, unwatchFiles bool) error { name = filepath.Clean(name) w.mu.Lock() + if w.isClosed { + w.mu.Unlock() + return nil + } watchfd, ok := w.watches[name] w.mu.Unlock() if !ok { @@ -315,7 +371,7 @@ func (w *Watcher) Remove(name string) error { w.mu.Unlock() // Find all watched paths that are in this directory that are not external. - if isDir { + if unwatchFiles && isDir { var pathsToRemove []string w.mu.Lock() for fd := range w.watchesByDir[name] { @@ -326,20 +382,25 @@ func (w *Watcher) Remove(name string) error { } w.mu.Unlock() for _, name := range pathsToRemove { - // Since these are internal, not much sense in propagating error - // to the user, as that will just confuse them with an error about - // a path they did not explicitly watch themselves. + // Since these are internal, not much sense in propagating error to + // the user, as that will just confuse them with an error about a + // path they did not explicitly watch themselves. w.Remove(name) } } - return nil } -// WatchList returns all paths added with [Add] (and are not yet removed). +// WatchList returns all paths explicitly added with [Watcher.Add] (and are not +// yet removed). +// +// Returns nil if [Watcher.Close] was called. func (w *Watcher) WatchList() []string { w.mu.Lock() defer w.mu.Unlock() + if w.isClosed { + return nil + } entries := make([]string, 0, len(w.userWatches)) for pathname := range w.userWatches { @@ -352,18 +413,18 @@ func (w *Watcher) WatchList() []string { // Watch all events (except NOTE_EXTEND, NOTE_LINK, NOTE_REVOKE) const noteAllEvents = unix.NOTE_DELETE | unix.NOTE_WRITE | unix.NOTE_ATTRIB | unix.NOTE_RENAME -// addWatch adds name to the watched file set. -// The flags are interpreted as described in kevent(2). -// Returns the real path to the file which was added, if any, which may be different from the one passed in the case of symlinks. +// addWatch adds name to the watched file set; the flags are interpreted as +// described in kevent(2). +// +// Returns the real path to the file which was added, with symlinks resolved. func (w *Watcher) addWatch(name string, flags uint32) (string, error) { var isDir bool - // Make ./name and name equivalent name = filepath.Clean(name) w.mu.Lock() if w.isClosed { w.mu.Unlock() - return "", errors.New("kevent instance already closed") + return "", ErrClosed } watchfd, alreadyWatching := w.watches[name] // We already have a watch, but we can still override flags. @@ -383,27 +444,30 @@ func (w *Watcher) addWatch(name string, flags uint32) (string, error) { return "", nil } - // Follow Symlinks - // - // Linux can add unresolvable symlinks to the watch list without issue, - // and Windows can't do symlinks period. To maintain consistency, we - // will act like everything is fine if the link can't be resolved. - // There will simply be no file events for broken symlinks. Hence the - // returns of nil on errors. + // Follow Symlinks. if fi.Mode()&os.ModeSymlink == os.ModeSymlink { - name, err = filepath.EvalSymlinks(name) + link, err := os.Readlink(name) if err != nil { + // Return nil because Linux can add unresolvable symlinks to the + // watch list without problems, so maintain consistency with + // that. There will be no file events for broken symlinks. + // TODO: more specific check; returns os.PathError; ENOENT? return "", nil } w.mu.Lock() - _, alreadyWatching = w.watches[name] + _, alreadyWatching = w.watches[link] w.mu.Unlock() if alreadyWatching { - return name, nil + // Add to watches so we don't get spurious Create events later + // on when we diff the directories. + w.watches[name] = 0 + w.fileExists[name] = struct{}{} + return link, nil } + name = link fi, err = os.Lstat(name) if err != nil { return "", nil @@ -411,7 +475,7 @@ func (w *Watcher) addWatch(name string, flags uint32) (string, error) { } // Retry on EINTR; open() can return EINTR in practice on macOS. - // See #354, and go issues 11180 and 39237. + // See #354, and Go issues 11180 and 39237. for { watchfd, err = unix.Open(name, openMode, 0) if err == nil { @@ -444,14 +508,13 @@ func (w *Watcher) addWatch(name string, flags uint32) (string, error) { w.watchesByDir[parentName] = watchesByDir } watchesByDir[watchfd] = struct{}{} - w.paths[watchfd] = pathInfo{name: name, isDir: isDir} w.mu.Unlock() } if isDir { - // Watch the directory if it has not been watched before, - // or if it was watched before, but perhaps only a NOTE_DELETE (watchDirectoryFiles) + // Watch the directory if it has not been watched before, or if it was + // watched before, but perhaps only a NOTE_DELETE (watchDirectoryFiles) w.mu.Lock() watchDir := (flags&unix.NOTE_WRITE) == unix.NOTE_WRITE && @@ -473,13 +536,10 @@ func (w *Watcher) addWatch(name string, flags uint32) (string, error) { // Event values that it sends down the Events channel. func (w *Watcher) readEvents() { defer func() { - err := unix.Close(w.kq) - if err != nil { - w.Errors <- err - } - unix.Close(w.closepipe[0]) close(w.Events) close(w.Errors) + _ = unix.Close(w.kq) + unix.Close(w.closepipe[0]) }() eventBuffer := make([]unix.Kevent_t, 10) @@ -513,18 +573,8 @@ func (w *Watcher) readEvents() { event := w.newEvent(path.name, mask) - if path.isDir && !event.Has(Remove) { - // Double check to make sure the directory exists. This can - // happen when we do a rm -fr on a recursively watched folders - // and we receive a modification event first but the folder has - // been deleted and later receive the delete event. - if _, err := os.Lstat(event.Name); os.IsNotExist(err) { - event.Op |= Remove - } - } - if event.Has(Rename) || event.Has(Remove) { - w.Remove(event.Name) + w.remove(event.Name, false) w.mu.Lock() delete(w.fileExists, event.Name) w.mu.Unlock() @@ -540,26 +590,30 @@ func (w *Watcher) readEvents() { } if event.Has(Remove) { - // Look for a file that may have overwritten this. - // For example, mv f1 f2 will delete f2, then create f2. + // Look for a file that may have overwritten this; for example, + // mv f1 f2 will delete f2, then create f2. if path.isDir { fileDir := filepath.Clean(event.Name) w.mu.Lock() _, found := w.watches[fileDir] w.mu.Unlock() if found { - // make sure the directory exists before we watch for changes. When we - // do a recursive watch and perform rm -fr, the parent directory might - // have gone missing, ignore the missing directory and let the - // upcoming delete event remove the watch from the parent directory. - if _, err := os.Lstat(fileDir); err == nil { - w.sendDirectoryChangeEvents(fileDir) + err := w.sendDirectoryChangeEvents(fileDir) + if err != nil { + if !w.sendError(err) { + closed = true + } } } } else { filePath := filepath.Clean(event.Name) - if fileInfo, err := os.Lstat(filePath); err == nil { - w.sendFileCreatedEventIfNew(filePath, fileInfo) + if fi, err := os.Lstat(filePath); err == nil { + err := w.sendFileCreatedEventIfNew(filePath, fi) + if err != nil { + if !w.sendError(err) { + closed = true + } + } } } } @@ -582,21 +636,31 @@ func (w *Watcher) newEvent(name string, mask uint32) Event { if mask&unix.NOTE_ATTRIB == unix.NOTE_ATTRIB { e.Op |= Chmod } + // No point sending a write and delete event at the same time: if it's gone, + // then it's gone. + if e.Op.Has(Write) && e.Op.Has(Remove) { + e.Op &^= Write + } return e } // watchDirectoryFiles to mimic inotify when adding a watch on a directory func (w *Watcher) watchDirectoryFiles(dirPath string) error { // Get all files - files, err := ioutil.ReadDir(dirPath) + files, err := os.ReadDir(dirPath) if err != nil { return err } - for _, fileInfo := range files { - path := filepath.Join(dirPath, fileInfo.Name()) + for _, f := range files { + path := filepath.Join(dirPath, f.Name()) + + fi, err := f.Info() + if err != nil { + return fmt.Errorf("%q: %w", path, err) + } - cleanPath, err := w.internalWatch(path, fileInfo) + cleanPath, err := w.internalWatch(path, fi) if err != nil { // No permission to read the file; that's not a problem: just skip. // But do add it to w.fileExists to prevent it from being picked up @@ -606,7 +670,7 @@ func (w *Watcher) watchDirectoryFiles(dirPath string) error { case errors.Is(err, unix.EACCES) || errors.Is(err, unix.EPERM): cleanPath = filepath.Clean(path) default: - return fmt.Errorf("%q: %w", filepath.Join(dirPath, fileInfo.Name()), err) + return fmt.Errorf("%q: %w", path, err) } } @@ -622,26 +686,37 @@ func (w *Watcher) watchDirectoryFiles(dirPath string) error { // // This functionality is to have the BSD watcher match the inotify, which sends // a create event for files created in a watched directory. -func (w *Watcher) sendDirectoryChangeEvents(dir string) { - // Get all files - files, err := ioutil.ReadDir(dir) +func (w *Watcher) sendDirectoryChangeEvents(dir string) error { + files, err := os.ReadDir(dir) if err != nil { - if !w.sendError(fmt.Errorf("fsnotify.sendDirectoryChangeEvents: %w", err)) { - return + // Directory no longer exists: we can ignore this safely. kqueue will + // still give us the correct events. + if errors.Is(err, os.ErrNotExist) { + return nil } + return fmt.Errorf("fsnotify.sendDirectoryChangeEvents: %w", err) } - // Search for new files - for _, fi := range files { - err := w.sendFileCreatedEventIfNew(filepath.Join(dir, fi.Name()), fi) + for _, f := range files { + fi, err := f.Info() if err != nil { - return + return fmt.Errorf("fsnotify.sendDirectoryChangeEvents: %w", err) + } + + err = w.sendFileCreatedEventIfNew(filepath.Join(dir, fi.Name()), fi) + if err != nil { + // Don't need to send an error if this file isn't readable. + if errors.Is(err, unix.EACCES) || errors.Is(err, unix.EPERM) { + return nil + } + return fmt.Errorf("fsnotify.sendDirectoryChangeEvents: %w", err) } } + return nil } // sendFileCreatedEvent sends a create event if the file isn't already being tracked. -func (w *Watcher) sendFileCreatedEventIfNew(filePath string, fileInfo os.FileInfo) (err error) { +func (w *Watcher) sendFileCreatedEventIfNew(filePath string, fi os.FileInfo) (err error) { w.mu.Lock() _, doesExist := w.fileExists[filePath] w.mu.Unlock() @@ -652,7 +727,7 @@ func (w *Watcher) sendFileCreatedEventIfNew(filePath string, fileInfo os.FileInf } // like watchDirectoryFiles (but without doing another ReadDir) - filePath, err = w.internalWatch(filePath, fileInfo) + filePath, err = w.internalWatch(filePath, fi) if err != nil { return err } @@ -664,10 +739,10 @@ func (w *Watcher) sendFileCreatedEventIfNew(filePath string, fileInfo os.FileInf return nil } -func (w *Watcher) internalWatch(name string, fileInfo os.FileInfo) (string, error) { - if fileInfo.IsDir() { - // mimic Linux providing delete events for subdirectories - // but preserve the flags used if currently watching subdirectory +func (w *Watcher) internalWatch(name string, fi os.FileInfo) (string, error) { + if fi.IsDir() { + // mimic Linux providing delete events for subdirectories, but preserve + // the flags used if currently watching subdirectory w.mu.Lock() flags := w.dirFlags[name] w.mu.Unlock() diff --git a/vendor/github.com/fsnotify/fsnotify/backend_other.go b/vendor/github.com/fsnotify/fsnotify/backend_other.go index a9bb1c3c4..d34a23c01 100644 --- a/vendor/github.com/fsnotify/fsnotify/backend_other.go +++ b/vendor/github.com/fsnotify/fsnotify/backend_other.go @@ -1,39 +1,169 @@ -//go:build !darwin && !dragonfly && !freebsd && !openbsd && !linux && !netbsd && !solaris && !windows -// +build !darwin,!dragonfly,!freebsd,!openbsd,!linux,!netbsd,!solaris,!windows +//go:build appengine || (!darwin && !dragonfly && !freebsd && !openbsd && !linux && !netbsd && !solaris && !windows) +// +build appengine !darwin,!dragonfly,!freebsd,!openbsd,!linux,!netbsd,!solaris,!windows + +// Note: the documentation on the Watcher type and methods is generated from +// mkdoc.zsh package fsnotify -import ( - "fmt" - "runtime" -) +import "errors" -// Watcher watches a set of files, delivering events to a channel. -type Watcher struct{} +// Watcher watches a set of paths, delivering events on a channel. +// +// A watcher should not be copied (e.g. pass it by pointer, rather than by +// value). +// +// # Linux notes +// +// When a file is removed a Remove event won't be emitted until all file +// descriptors are closed, and deletes will always emit a Chmod. For example: +// +// fp := os.Open("file") +// os.Remove("file") // Triggers Chmod +// fp.Close() // Triggers Remove +// +// This is the event that inotify sends, so not much can be changed about this. +// +// The fs.inotify.max_user_watches sysctl variable specifies the upper limit +// for the number of watches per user, and fs.inotify.max_user_instances +// specifies the maximum number of inotify instances per user. Every Watcher you +// create is an "instance", and every path you add is a "watch". +// +// These are also exposed in /proc as /proc/sys/fs/inotify/max_user_watches and +// /proc/sys/fs/inotify/max_user_instances +// +// To increase them you can use sysctl or write the value to the /proc file: +// +// # Default values on Linux 5.18 +// sysctl fs.inotify.max_user_watches=124983 +// sysctl fs.inotify.max_user_instances=128 +// +// To make the changes persist on reboot edit /etc/sysctl.conf or +// /usr/lib/sysctl.d/50-default.conf (details differ per Linux distro; check +// your distro's documentation): +// +// fs.inotify.max_user_watches=124983 +// fs.inotify.max_user_instances=128 +// +// Reaching the limit will result in a "no space left on device" or "too many open +// files" error. +// +// # kqueue notes (macOS, BSD) +// +// kqueue requires opening a file descriptor for every file that's being watched; +// so if you're watching a directory with five files then that's six file +// descriptors. You will run in to your system's "max open files" limit faster on +// these platforms. +// +// The sysctl variables kern.maxfiles and kern.maxfilesperproc can be used to +// control the maximum number of open files, as well as /etc/login.conf on BSD +// systems. +// +// # Windows notes +// +// Paths can be added as "C:\path\to\dir", but forward slashes +// ("C:/path/to/dir") will also work. +// +// When a watched directory is removed it will always send an event for the +// directory itself, but may not send events for all files in that directory. +// Sometimes it will send events for all times, sometimes it will send no +// events, and often only for some files. +// +// The default ReadDirectoryChangesW() buffer size is 64K, which is the largest +// value that is guaranteed to work with SMB filesystems. If you have many +// events in quick succession this may not be enough, and you will have to use +// [WithBufferSize] to increase the value. +type Watcher struct { + // Events sends the filesystem change events. + // + // fsnotify can send the following events; a "path" here can refer to a + // file, directory, symbolic link, or special file like a FIFO. + // + // fsnotify.Create A new path was created; this may be followed by one + // or more Write events if data also gets written to a + // file. + // + // fsnotify.Remove A path was removed. + // + // fsnotify.Rename A path was renamed. A rename is always sent with the + // old path as Event.Name, and a Create event will be + // sent with the new name. Renames are only sent for + // paths that are currently watched; e.g. moving an + // unmonitored file into a monitored directory will + // show up as just a Create. Similarly, renaming a file + // to outside a monitored directory will show up as + // only a Rename. + // + // fsnotify.Write A file or named pipe was written to. A Truncate will + // also trigger a Write. A single "write action" + // initiated by the user may show up as one or multiple + // writes, depending on when the system syncs things to + // disk. For example when compiling a large Go program + // you may get hundreds of Write events, and you may + // want to wait until you've stopped receiving them + // (see the dedup example in cmd/fsnotify). + // + // Some systems may send Write event for directories + // when the directory content changes. + // + // fsnotify.Chmod Attributes were changed. On Linux this is also sent + // when a file is removed (or more accurately, when a + // link to an inode is removed). On kqueue it's sent + // when a file is truncated. On Windows it's never + // sent. + Events chan Event + + // Errors sends any errors. + // + // ErrEventOverflow is used to indicate there are too many events: + // + // - inotify: There are too many queued events (fs.inotify.max_queued_events sysctl) + // - windows: The buffer size is too small; WithBufferSize() can be used to increase it. + // - kqueue, fen: Not used. + Errors chan error +} // NewWatcher creates a new Watcher. func NewWatcher() (*Watcher, error) { - return nil, fmt.Errorf("fsnotify not supported on %s", runtime.GOOS) + return nil, errors.New("fsnotify not supported on the current platform") } -// Close removes all watches and closes the events channel. -func (w *Watcher) Close() error { - return nil -} +// NewBufferedWatcher creates a new Watcher with a buffered Watcher.Events +// channel. +// +// The main use case for this is situations with a very large number of events +// where the kernel buffer size can't be increased (e.g. due to lack of +// permissions). An unbuffered Watcher will perform better for almost all use +// cases, and whenever possible you will be better off increasing the kernel +// buffers instead of adding a large userspace buffer. +func NewBufferedWatcher(sz uint) (*Watcher, error) { return NewWatcher() } + +// Close removes all watches and closes the Events channel. +func (w *Watcher) Close() error { return nil } + +// WatchList returns all paths explicitly added with [Watcher.Add] (and are not +// yet removed). +// +// Returns nil if [Watcher.Close] was called. +func (w *Watcher) WatchList() []string { return nil } // Add starts monitoring the path for changes. // -// A path can only be watched once; attempting to watch it more than once will -// return an error. Paths that do not yet exist on the filesystem cannot be -// added. A watch will be automatically removed if the path is deleted. +// A path can only be watched once; watching it more than once is a no-op and will +// not return an error. Paths that do not yet exist on the filesystem cannot be +// watched. // -// A path will remain watched if it gets renamed to somewhere else on the same -// filesystem, but the monitor will get removed if the path gets deleted and -// re-created, or if it's moved to a different filesystem. +// A watch will be automatically removed if the watched path is deleted or +// renamed. The exception is the Windows backend, which doesn't remove the +// watcher on renames. // // Notifications on network filesystems (NFS, SMB, FUSE, etc.) or special // filesystems (/proc, /sys, etc.) generally don't work. // +// Returns [ErrClosed] if [Watcher.Close] was called. +// +// See [Watcher.AddWith] for a version that allows adding options. +// // # Watching directories // // All files in a directory are monitored, including new files that are created @@ -43,17 +173,26 @@ func (w *Watcher) Close() error { // # Watching files // // Watching individual files (rather than directories) is generally not -// recommended as many tools update files atomically. Instead of "just" writing -// to the file a temporary file will be written to first, and if successful the -// temporary file is moved to to destination removing the original, or some -// variant thereof. The watcher on the original file is now lost, as it no -// longer exists. -// -// Instead, watch the parent directory and use Event.Name to filter out files -// you're not interested in. There is an example of this in [cmd/fsnotify/file.go]. -func (w *Watcher) Add(name string) error { - return nil -} +// recommended as many programs (especially editors) update files atomically: it +// will write to a temporary file which is then moved to to destination, +// overwriting the original (or some variant thereof). The watcher on the +// original file is now lost, as that no longer exists. +// +// The upshot of this is that a power failure or crash won't leave a +// half-written file. +// +// Watch the parent directory and use Event.Name to filter out files you're not +// interested in. There is an example of this in cmd/fsnotify/file.go. +func (w *Watcher) Add(name string) error { return nil } + +// AddWith is like [Watcher.Add], but allows adding options. When using Add() +// the defaults described below are used. +// +// Possible options are: +// +// - [WithBufferSize] sets the buffer size for the Windows backend; no-op on +// other platforms. The default is 64K (65536 bytes). +func (w *Watcher) AddWith(name string, opts ...addOpt) error { return nil } // Remove stops monitoring the path for changes. // @@ -61,6 +200,6 @@ func (w *Watcher) Add(name string) error { // /tmp/dir and /tmp/dir/subdir then you will need to remove both. // // Removing a path that has not yet been added returns [ErrNonExistentWatch]. -func (w *Watcher) Remove(name string) error { - return nil -} +// +// Returns nil if [Watcher.Close] was called. +func (w *Watcher) Remove(name string) error { return nil } diff --git a/vendor/github.com/fsnotify/fsnotify/backend_windows.go b/vendor/github.com/fsnotify/fsnotify/backend_windows.go index ae392867c..9bc91e5d6 100644 --- a/vendor/github.com/fsnotify/fsnotify/backend_windows.go +++ b/vendor/github.com/fsnotify/fsnotify/backend_windows.go @@ -1,6 +1,13 @@ //go:build windows // +build windows +// Windows backend based on ReadDirectoryChangesW() +// +// https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-readdirectorychangesw +// +// Note: the documentation on the Watcher type and methods is generated from +// mkdoc.zsh + package fsnotify import ( @@ -27,9 +34,9 @@ import ( // When a file is removed a Remove event won't be emitted until all file // descriptors are closed, and deletes will always emit a Chmod. For example: // -// fp := os.Open("file") -// os.Remove("file") // Triggers Chmod -// fp.Close() // Triggers Remove +// fp := os.Open("file") +// os.Remove("file") // Triggers Chmod +// fp.Close() // Triggers Remove // // This is the event that inotify sends, so not much can be changed about this. // @@ -43,16 +50,16 @@ import ( // // To increase them you can use sysctl or write the value to the /proc file: // -// # Default values on Linux 5.18 -// sysctl fs.inotify.max_user_watches=124983 -// sysctl fs.inotify.max_user_instances=128 +// # Default values on Linux 5.18 +// sysctl fs.inotify.max_user_watches=124983 +// sysctl fs.inotify.max_user_instances=128 // // To make the changes persist on reboot edit /etc/sysctl.conf or // /usr/lib/sysctl.d/50-default.conf (details differ per Linux distro; check // your distro's documentation): // -// fs.inotify.max_user_watches=124983 -// fs.inotify.max_user_instances=128 +// fs.inotify.max_user_watches=124983 +// fs.inotify.max_user_instances=128 // // Reaching the limit will result in a "no space left on device" or "too many open // files" error. @@ -68,14 +75,20 @@ import ( // control the maximum number of open files, as well as /etc/login.conf on BSD // systems. // -// # macOS notes +// # Windows notes // -// Spotlight indexing on macOS can result in multiple events (see [#15]). A -// temporary workaround is to add your folder(s) to the "Spotlight Privacy -// Settings" until we have a native FSEvents implementation (see [#11]). +// Paths can be added as "C:\path\to\dir", but forward slashes +// ("C:/path/to/dir") will also work. // -// [#11]: https://github.com/fsnotify/fsnotify/issues/11 -// [#15]: https://github.com/fsnotify/fsnotify/issues/15 +// When a watched directory is removed it will always send an event for the +// directory itself, but may not send events for all files in that directory. +// Sometimes it will send events for all times, sometimes it will send no +// events, and often only for some files. +// +// The default ReadDirectoryChangesW() buffer size is 64K, which is the largest +// value that is guaranteed to work with SMB filesystems. If you have many +// events in quick succession this may not be enough, and you will have to use +// [WithBufferSize] to increase the value. type Watcher struct { // Events sends the filesystem change events. // @@ -102,31 +115,52 @@ type Watcher struct { // initiated by the user may show up as one or multiple // writes, depending on when the system syncs things to // disk. For example when compiling a large Go program - // you may get hundreds of Write events, so you - // probably want to wait until you've stopped receiving - // them (see the dedup example in cmd/fsnotify). + // you may get hundreds of Write events, and you may + // want to wait until you've stopped receiving them + // (see the dedup example in cmd/fsnotify). + // + // Some systems may send Write event for directories + // when the directory content changes. // // fsnotify.Chmod Attributes were changed. On Linux this is also sent // when a file is removed (or more accurately, when a // link to an inode is removed). On kqueue it's sent - // and on kqueue when a file is truncated. On Windows - // it's never sent. + // when a file is truncated. On Windows it's never + // sent. Events chan Event // Errors sends any errors. + // + // ErrEventOverflow is used to indicate there are too many events: + // + // - inotify: There are too many queued events (fs.inotify.max_queued_events sysctl) + // - windows: The buffer size is too small; WithBufferSize() can be used to increase it. + // - kqueue, fen: Not used. Errors chan error port windows.Handle // Handle to completion port input chan *input // Inputs to the reader are sent on this channel quit chan chan<- error - mu sync.Mutex // Protects access to watches, isClosed - watches watchMap // Map of watches (key: i-number) - isClosed bool // Set to true when Close() is first called + mu sync.Mutex // Protects access to watches, closed + watches watchMap // Map of watches (key: i-number) + closed bool // Set to true when Close() is first called } // NewWatcher creates a new Watcher. func NewWatcher() (*Watcher, error) { + return NewBufferedWatcher(50) +} + +// NewBufferedWatcher creates a new Watcher with a buffered Watcher.Events +// channel. +// +// The main use case for this is situations with a very large number of events +// where the kernel buffer size can't be increased (e.g. due to lack of +// permissions). An unbuffered Watcher will perform better for almost all use +// cases, and whenever possible you will be better off increasing the kernel +// buffers instead of adding a large userspace buffer. +func NewBufferedWatcher(sz uint) (*Watcher, error) { port, err := windows.CreateIoCompletionPort(windows.InvalidHandle, 0, 0, 0) if err != nil { return nil, os.NewSyscallError("CreateIoCompletionPort", err) @@ -135,7 +169,7 @@ func NewWatcher() (*Watcher, error) { port: port, watches: make(watchMap), input: make(chan *input, 1), - Events: make(chan Event, 50), + Events: make(chan Event, sz), Errors: make(chan error), quit: make(chan chan<- error, 1), } @@ -143,6 +177,12 @@ func NewWatcher() (*Watcher, error) { return w, nil } +func (w *Watcher) isClosed() bool { + w.mu.Lock() + defer w.mu.Unlock() + return w.closed +} + func (w *Watcher) sendEvent(name string, mask uint64) bool { if mask == 0 { return false @@ -167,14 +207,14 @@ func (w *Watcher) sendError(err error) bool { return false } -// Close removes all watches and closes the events channel. +// Close removes all watches and closes the Events channel. func (w *Watcher) Close() error { - w.mu.Lock() - if w.isClosed { - w.mu.Unlock() + if w.isClosed() { return nil } - w.isClosed = true + + w.mu.Lock() + w.closed = true w.mu.Unlock() // Send "quit" message to the reader goroutine @@ -188,17 +228,21 @@ func (w *Watcher) Close() error { // Add starts monitoring the path for changes. // -// A path can only be watched once; attempting to watch it more than once will -// return an error. Paths that do not yet exist on the filesystem cannot be -// added. A watch will be automatically removed if the path is deleted. +// A path can only be watched once; watching it more than once is a no-op and will +// not return an error. Paths that do not yet exist on the filesystem cannot be +// watched. // -// A path will remain watched if it gets renamed to somewhere else on the same -// filesystem, but the monitor will get removed if the path gets deleted and -// re-created, or if it's moved to a different filesystem. +// A watch will be automatically removed if the watched path is deleted or +// renamed. The exception is the Windows backend, which doesn't remove the +// watcher on renames. // // Notifications on network filesystems (NFS, SMB, FUSE, etc.) or special // filesystems (/proc, /sys, etc.) generally don't work. // +// Returns [ErrClosed] if [Watcher.Close] was called. +// +// See [Watcher.AddWith] for a version that allows adding options. +// // # Watching directories // // All files in a directory are monitored, including new files that are created @@ -208,27 +252,41 @@ func (w *Watcher) Close() error { // # Watching files // // Watching individual files (rather than directories) is generally not -// recommended as many tools update files atomically. Instead of "just" writing -// to the file a temporary file will be written to first, and if successful the -// temporary file is moved to to destination removing the original, or some -// variant thereof. The watcher on the original file is now lost, as it no -// longer exists. -// -// Instead, watch the parent directory and use Event.Name to filter out files -// you're not interested in. There is an example of this in [cmd/fsnotify/file.go]. -func (w *Watcher) Add(name string) error { - w.mu.Lock() - if w.isClosed { - w.mu.Unlock() - return errors.New("watcher already closed") +// recommended as many programs (especially editors) update files atomically: it +// will write to a temporary file which is then moved to to destination, +// overwriting the original (or some variant thereof). The watcher on the +// original file is now lost, as that no longer exists. +// +// The upshot of this is that a power failure or crash won't leave a +// half-written file. +// +// Watch the parent directory and use Event.Name to filter out files you're not +// interested in. There is an example of this in cmd/fsnotify/file.go. +func (w *Watcher) Add(name string) error { return w.AddWith(name) } + +// AddWith is like [Watcher.Add], but allows adding options. When using Add() +// the defaults described below are used. +// +// Possible options are: +// +// - [WithBufferSize] sets the buffer size for the Windows backend; no-op on +// other platforms. The default is 64K (65536 bytes). +func (w *Watcher) AddWith(name string, opts ...addOpt) error { + if w.isClosed() { + return ErrClosed + } + + with := getOptions(opts...) + if with.bufsize < 4096 { + return fmt.Errorf("fsnotify.WithBufferSize: buffer size cannot be smaller than 4096 bytes") } - w.mu.Unlock() in := &input{ - op: opAddWatch, - path: filepath.Clean(name), - flags: sysFSALLEVENTS, - reply: make(chan error), + op: opAddWatch, + path: filepath.Clean(name), + flags: sysFSALLEVENTS, + reply: make(chan error), + bufsize: with.bufsize, } w.input <- in if err := w.wakeupReader(); err != nil { @@ -243,7 +301,13 @@ func (w *Watcher) Add(name string) error { // /tmp/dir and /tmp/dir/subdir then you will need to remove both. // // Removing a path that has not yet been added returns [ErrNonExistentWatch]. +// +// Returns nil if [Watcher.Close] was called. func (w *Watcher) Remove(name string) error { + if w.isClosed() { + return nil + } + in := &input{ op: opRemoveWatch, path: filepath.Clean(name), @@ -256,8 +320,15 @@ func (w *Watcher) Remove(name string) error { return <-in.reply } -// WatchList returns all paths added with [Add] (and are not yet removed). +// WatchList returns all paths explicitly added with [Watcher.Add] (and are not +// yet removed). +// +// Returns nil if [Watcher.Close] was called. func (w *Watcher) WatchList() []string { + if w.isClosed() { + return nil + } + w.mu.Lock() defer w.mu.Unlock() @@ -279,7 +350,6 @@ func (w *Watcher) WatchList() []string { // This should all be removed at some point, and just use windows.FILE_NOTIFY_* const ( sysFSALLEVENTS = 0xfff - sysFSATTRIB = 0x4 sysFSCREATE = 0x100 sysFSDELETE = 0x200 sysFSDELETESELF = 0x400 @@ -305,9 +375,6 @@ func (w *Watcher) newEvent(name string, mask uint32) Event { if mask&sysFSMOVE == sysFSMOVE || mask&sysFSMOVESELF == sysFSMOVESELF || mask&sysFSMOVEDFROM == sysFSMOVEDFROM { e.Op |= Rename } - if mask&sysFSATTRIB == sysFSATTRIB { - e.Op |= Chmod - } return e } @@ -321,10 +388,11 @@ const ( ) type input struct { - op int - path string - flags uint32 - reply chan error + op int + path string + flags uint32 + bufsize int + reply chan error } type inode struct { @@ -334,13 +402,14 @@ type inode struct { } type watch struct { - ov windows.Overlapped - ino *inode // i-number - path string // Directory path - mask uint64 // Directory itself is being watched with these notify flags - names map[string]uint64 // Map of names being watched and their notify flags - rename string // Remembers the old name while renaming a file - buf [65536]byte // 64K buffer + ov windows.Overlapped + ino *inode // i-number + recurse bool // Recursive watch? + path string // Directory path + mask uint64 // Directory itself is being watched with these notify flags + names map[string]uint64 // Map of names being watched and their notify flags + rename string // Remembers the old name while renaming a file + buf []byte // buffer, allocated later } type ( @@ -413,7 +482,10 @@ func (m watchMap) set(ino *inode, watch *watch) { } // Must run within the I/O thread. -func (w *Watcher) addWatch(pathname string, flags uint64) error { +func (w *Watcher) addWatch(pathname string, flags uint64, bufsize int) error { + //pathname, recurse := recursivePath(pathname) + recurse := false + dir, err := w.getDir(pathname) if err != nil { return err @@ -433,9 +505,11 @@ func (w *Watcher) addWatch(pathname string, flags uint64) error { return os.NewSyscallError("CreateIoCompletionPort", err) } watchEntry = &watch{ - ino: ino, - path: dir, - names: make(map[string]uint64), + ino: ino, + path: dir, + names: make(map[string]uint64), + recurse: recurse, + buf: make([]byte, bufsize), } w.mu.Lock() w.watches.set(ino, watchEntry) @@ -465,6 +539,8 @@ func (w *Watcher) addWatch(pathname string, flags uint64) error { // Must run within the I/O thread. func (w *Watcher) remWatch(pathname string) error { + pathname, recurse := recursivePath(pathname) + dir, err := w.getDir(pathname) if err != nil { return err @@ -478,6 +554,10 @@ func (w *Watcher) remWatch(pathname string) error { watch := w.watches.get(ino) w.mu.Unlock() + if recurse && !watch.recurse { + return fmt.Errorf("can't use \\... with non-recursive watch %q", pathname) + } + err = windows.CloseHandle(ino.handle) if err != nil { w.sendError(os.NewSyscallError("CloseHandle", err)) @@ -535,8 +615,11 @@ func (w *Watcher) startRead(watch *watch) error { return nil } - rdErr := windows.ReadDirectoryChanges(watch.ino.handle, &watch.buf[0], - uint32(unsafe.Sizeof(watch.buf)), false, mask, nil, &watch.ov, 0) + // We need to pass the array, rather than the slice. + hdr := (*reflect.SliceHeader)(unsafe.Pointer(&watch.buf)) + rdErr := windows.ReadDirectoryChanges(watch.ino.handle, + (*byte)(unsafe.Pointer(hdr.Data)), uint32(hdr.Len), + watch.recurse, mask, nil, &watch.ov, 0) if rdErr != nil { err := os.NewSyscallError("ReadDirectoryChanges", rdErr) if rdErr == windows.ERROR_ACCESS_DENIED && watch.mask&provisional == 0 { @@ -563,9 +646,8 @@ func (w *Watcher) readEvents() { runtime.LockOSThread() for { + // This error is handled after the watch == nil check below. qErr := windows.GetQueuedCompletionStatus(w.port, &n, &key, &ov, windows.INFINITE) - // This error is handled after the watch == nil check below. NOTE: this - // seems odd, note sure if it's correct. watch := (*watch)(unsafe.Pointer(ov)) if watch == nil { @@ -595,7 +677,7 @@ func (w *Watcher) readEvents() { case in := <-w.input: switch in.op { case opAddWatch: - in.reply <- w.addWatch(in.path, uint64(in.flags)) + in.reply <- w.addWatch(in.path, uint64(in.flags), in.bufsize) case opRemoveWatch: in.reply <- w.remWatch(in.path) } @@ -605,6 +687,8 @@ func (w *Watcher) readEvents() { } switch qErr { + case nil: + // No error case windows.ERROR_MORE_DATA: if watch == nil { w.sendError(errors.New("ERROR_MORE_DATA has unexpectedly null lpOverlapped buffer")) @@ -626,13 +710,12 @@ func (w *Watcher) readEvents() { default: w.sendError(os.NewSyscallError("GetQueuedCompletionPort", qErr)) continue - case nil: } var offset uint32 for { if n == 0 { - w.sendError(errors.New("short read in readEvents()")) + w.sendError(ErrEventOverflow) break } @@ -703,8 +786,9 @@ func (w *Watcher) readEvents() { // Error! if offset >= n { + //lint:ignore ST1005 Windows should be capitalized w.sendError(errors.New( - "Windows system assumed buffer larger than it is, events have likely been missed.")) + "Windows system assumed buffer larger than it is, events have likely been missed")) break } } @@ -720,9 +804,6 @@ func (w *Watcher) toWindowsFlags(mask uint64) uint32 { if mask&sysFSMODIFY != 0 { m |= windows.FILE_NOTIFY_CHANGE_LAST_WRITE } - if mask&sysFSATTRIB != 0 { - m |= windows.FILE_NOTIFY_CHANGE_ATTRIBUTES - } if mask&(sysFSMOVE|sysFSCREATE|sysFSDELETE) != 0 { m |= windows.FILE_NOTIFY_CHANGE_FILE_NAME | windows.FILE_NOTIFY_CHANGE_DIR_NAME } diff --git a/vendor/github.com/fsnotify/fsnotify/fsnotify.go b/vendor/github.com/fsnotify/fsnotify/fsnotify.go index 30a5bf0f0..24c99cc49 100644 --- a/vendor/github.com/fsnotify/fsnotify/fsnotify.go +++ b/vendor/github.com/fsnotify/fsnotify/fsnotify.go @@ -1,13 +1,18 @@ -//go:build !plan9 -// +build !plan9 - // Package fsnotify provides a cross-platform interface for file system // notifications. +// +// Currently supported systems: +// +// Linux 2.6.32+ via inotify +// BSD, macOS via kqueue +// Windows via ReadDirectoryChangesW +// illumos via FEN package fsnotify import ( "errors" "fmt" + "path/filepath" "strings" ) @@ -33,34 +38,52 @@ type Op uint32 // The operations fsnotify can trigger; see the documentation on [Watcher] for a // full description, and check them with [Event.Has]. const ( + // A new pathname was created. Create Op = 1 << iota + + // The pathname was written to; this does *not* mean the write has finished, + // and a write can be followed by more writes. Write + + // The path was removed; any watches on it will be removed. Some "remove" + // operations may trigger a Rename if the file is actually moved (for + // example "remove to trash" is often a rename). Remove + + // The path was renamed to something else; any watched on it will be + // removed. Rename + + // File attributes were changed. + // + // It's generally not recommended to take action on this event, as it may + // get triggered very frequently by some software. For example, Spotlight + // indexing on macOS, anti-virus software, backup software, etc. Chmod ) -// Common errors that can be reported by a watcher +// Common errors that can be reported. var ( - ErrNonExistentWatch = errors.New("can't remove non-existent watcher") - ErrEventOverflow = errors.New("fsnotify queue overflow") + ErrNonExistentWatch = errors.New("fsnotify: can't remove non-existent watch") + ErrEventOverflow = errors.New("fsnotify: queue or buffer overflow") + ErrClosed = errors.New("fsnotify: watcher already closed") ) -func (op Op) String() string { +func (o Op) String() string { var b strings.Builder - if op.Has(Create) { + if o.Has(Create) { b.WriteString("|CREATE") } - if op.Has(Remove) { + if o.Has(Remove) { b.WriteString("|REMOVE") } - if op.Has(Write) { + if o.Has(Write) { b.WriteString("|WRITE") } - if op.Has(Rename) { + if o.Has(Rename) { b.WriteString("|RENAME") } - if op.Has(Chmod) { + if o.Has(Chmod) { b.WriteString("|CHMOD") } if b.Len() == 0 { @@ -70,7 +93,7 @@ func (op Op) String() string { } // Has reports if this operation has the given operation. -func (o Op) Has(h Op) bool { return o&h == h } +func (o Op) Has(h Op) bool { return o&h != 0 } // Has reports if this event has the given operation. func (e Event) Has(op Op) bool { return e.Op.Has(op) } @@ -79,3 +102,45 @@ func (e Event) Has(op Op) bool { return e.Op.Has(op) } func (e Event) String() string { return fmt.Sprintf("%-13s %q", e.Op.String(), e.Name) } + +type ( + addOpt func(opt *withOpts) + withOpts struct { + bufsize int + } +) + +var defaultOpts = withOpts{ + bufsize: 65536, // 64K +} + +func getOptions(opts ...addOpt) withOpts { + with := defaultOpts + for _, o := range opts { + o(&with) + } + return with +} + +// WithBufferSize sets the [ReadDirectoryChangesW] buffer size. +// +// This only has effect on Windows systems, and is a no-op for other backends. +// +// The default value is 64K (65536 bytes) which is the highest value that works +// on all filesystems and should be enough for most applications, but if you +// have a large burst of events it may not be enough. You can increase it if +// you're hitting "queue or buffer overflow" errors ([ErrEventOverflow]). +// +// [ReadDirectoryChangesW]: https://learn.microsoft.com/en-gb/windows/win32/api/winbase/nf-winbase-readdirectorychangesw +func WithBufferSize(bytes int) addOpt { + return func(opt *withOpts) { opt.bufsize = bytes } +} + +// Check if this path is recursive (ends with "/..." or "\..."), and return the +// path with the /... stripped. +func recursivePath(path string) (string, bool) { + if filepath.Base(path) == "..." { + return filepath.Dir(path), true + } + return path, false +} diff --git a/vendor/github.com/fsnotify/fsnotify/mkdoc.zsh b/vendor/github.com/fsnotify/fsnotify/mkdoc.zsh index b09ef7683..99012ae65 100644 --- a/vendor/github.com/fsnotify/fsnotify/mkdoc.zsh +++ b/vendor/github.com/fsnotify/fsnotify/mkdoc.zsh @@ -2,8 +2,8 @@ [ "${ZSH_VERSION:-}" = "" ] && echo >&2 "Only works with zsh" && exit 1 setopt err_exit no_unset pipefail extended_glob -# Simple script to update the godoc comments on all watchers. Probably took me -# more time to write this than doing it manually, but ah well 🙃 +# Simple script to update the godoc comments on all watchers so you don't need +# to update the same comment 5 times. watcher=$(< - 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 - maintainer: David Cunningham - 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/.pre-commit-hooks.yaml b/vendor/github.com/google/go-jsonnet/.pre-commit-hooks.yaml deleted file mode 100644 index c9694c4eb..000000000 --- a/vendor/github.com/google/go-jsonnet/.pre-commit-hooks.yaml +++ /dev/null @@ -1,15 +0,0 @@ -- id: jsonnet-format - name: jsonnetfmt - description: Automatically format jsonnet files. - entry: jsonnetfmt - args: [-i] - language: golang - files: \.(jsonnet|libsonnet)$ - minimum_pre_commit_version: 2.10.1 -- id: jsonnet-lint - name: jsonnet-lint - description: Lint jsonnet files. - entry: jsonnet-lint - language: golang - files: \.(jsonnet|libsonnet)$ - minimum_pre_commit_version: 2.10.1 diff --git a/vendor/github.com/google/go-jsonnet/.tool-versions b/vendor/github.com/google/go-jsonnet/.tool-versions deleted file mode 100644 index 41f7186d8..000000000 --- a/vendor/github.com/google/go-jsonnet/.tool-versions +++ /dev/null @@ -1 +0,0 @@ -bazel 1.2.1 diff --git a/vendor/github.com/google/go-jsonnet/.travis.yml b/vendor/github.com/google/go-jsonnet/.travis.yml deleted file mode 100644 index e10ce0869..000000000 --- a/vendor/github.com/google/go-jsonnet/.travis.yml +++ /dev/null @@ -1,57 +0,0 @@ -language: go -sudo: false -matrix: - include: - - go: 1.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 - 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 - - 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 deleted file mode 100644 index 57fab299b..000000000 --- a/vendor/github.com/google/go-jsonnet/BUILD.bazel +++ /dev/null @@ -1,54 +0,0 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") -load( - "@bazel_gazelle//:def.bzl", - "gazelle", -) - -# gazelle:prefix github.com/google/go-jsonnet -gazelle( - name = "gazelle", -) - -go_library( - name = "go_default_library", - srcs = [ - "builtins.go", - "doc.go", - "error_formatter.go", - "imports.go", - "interpreter.go", - "runtime_error.go", - "thunks.go", - "util.go", - "value.go", - "vm.go", - "yaml.go", - ], - importpath = "github.com/google/go-jsonnet", - visibility = ["//visibility:public"], - deps = [ - "//ast:go_default_library", - "//astgen:go_default_library", - "//internal/errors:go_default_library", - "//internal/parser:go_default_library", - "//internal/program:go_default_library", - "@io_k8s_sigs_yaml//:go_default_library", - ], -) - -go_test( - name = "go_default_test", - srcs = [ - "builtins_benchmark_test.go", - "interpreter_test.go", - "jsonnet_test.go", - "main_test.go", - ], - data = glob(["testdata/**"]), - embed = [":go_default_library"], - deps = [ - "//ast:go_default_library", - "//internal/parser:go_default_library", - "//internal/testutils:go_default_library", - ], -) diff --git a/vendor/github.com/google/go-jsonnet/CONTRIBUTING b/vendor/github.com/google/go-jsonnet/CONTRIBUTING deleted file mode 100644 index 5189a6f2c..000000000 --- a/vendor/github.com/google/go-jsonnet/CONTRIBUTING +++ /dev/null @@ -1,4 +0,0 @@ -Before we can merge your pull request, we need you to sign either the Google individual or corporate -contributor license agreement (CLA), unless you are a Google employee, intern, or contractor. - -Please see http://jsonnet.org/contributing.html for more information. diff --git a/vendor/github.com/google/go-jsonnet/LICENSE b/vendor/github.com/google/go-jsonnet/LICENSE deleted file mode 100644 index d64569567..000000000 --- a/vendor/github.com/google/go-jsonnet/LICENSE +++ /dev/null @@ -1,202 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - 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. diff --git a/vendor/github.com/google/go-jsonnet/MANIFEST.in b/vendor/github.com/google/go-jsonnet/MANIFEST.in deleted file mode 100644 index dab34ebf8..000000000 --- a/vendor/github.com/google/go-jsonnet/MANIFEST.in +++ /dev/null @@ -1,10 +0,0 @@ -include *.go -graft internal -graft ast -graft toolutils -graft astgen -graft formatter -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 deleted file mode 100644 index 0b119106f..000000000 --- a/vendor/github.com/google/go-jsonnet/Makefile +++ /dev/null @@ -1,68 +0,0 @@ -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 -.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 deleted file mode 100644 index 895b40ee5..000000000 --- a/vendor/github.com/google/go-jsonnet/README.md +++ /dev/null @@ -1,236 +0,0 @@ -# go-jsonnet - -[![GoDoc Widget]][GoDoc] [![Travis Widget]][Travis] [![Coverage Status Widget]][Coverage Status] - -[GoDoc]: https://godoc.org/github.com/google/go-jsonnet -[GoDoc Widget]: https://godoc.org/github.com/google/go-jsonnet?status.png -[Travis]: https://travis-ci.org/google/go-jsonnet -[Travis Widget]: https://travis-ci.org/google/go-jsonnet.svg?branch=master -[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 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.12 and above. We recommend always using the newest stable release of Go. - -## Installation instructions - -```shell -# go >= 1.17 -# Using `go get` to install binaries is deprecated. -# The version suffix is mandatory. -go install github.com/google/go-jsonnet/cmd/jsonnet@latest - -# go < 1.17 -go get github.com/google/go-jsonnet/cmd/jsonnet -``` - -It's also available on Homebrew: - -``` -brew install go-jsonnet -``` - -`jsonnetfmt` and `jsonnet-lint` are also available as [pre-commit](https://github.com/pre-commit/pre-commit) hooks. Example `.pre-commit-config.yaml`: -```yaml -- repo: https://github.com/google/go-jsonnet - rev: # ref you want to point at, e.g. v0.17.0 - hooks: - - id: jsonnet-format - - id: jsonnet-lint -``` - -It can also be embedded in your own Go programs as a library: - -```go -package main - -import ( - "fmt" - "log" - - "github.com/google/go-jsonnet" -) - -func main() { - vm := jsonnet.MakeVM() - - snippet := `{ - person1: { - name: "Alice", - welcome: "Hello " + self.name + "!", - }, - person2: self.person1 { name: "Bob" }, - }` - - jsonStr, err := vm.EvaluateAnonymousSnippet("example1.jsonnet", snippet) - if err != nil { - log.Fatal(err) - } - - fmt.Println(jsonStr) - /* - { - "person1": { - "name": "Alice", - "welcome": "Hello Alice!" - }, - "person2": { - "name": "Bob", - "welcome": "Hello Bob!" - } - } - */ -} -``` - -## Build instructions (go 1.12+) - -```bash -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 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. - -Bazel also accommodates cross-compiling the program. To build the _jsonnet_ program for various popular platforms, run the following commands: - -Target platform | Build command ---------------- | ------------------------------------------------------------------------------------- -Current host | _bazel build //cmd/jsonnet_ -Linux | _bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //cmd/jsonnet_ -macOS | _bazel build --platforms=@io_bazel_rules_go//go/toolchain:darwin_amd64 //cmd/jsonnet_ -Windows | _bazel build --platforms=@io_bazel_rules_go//go/toolchain:windows_amd64 //cmd/jsonnet_ - -For additional target platform names, see the per-Go release definitions [here](https://github.com/bazelbuild/rules_go/blob/master/go/private/sdk_list.bzl#L21-L31) in the _rules_go_ Bazel package. - -Additionally if any files were moved around, see the section [Keeping the Bazel files up to date](#keeping-the-bazel-files-up-to-date). - -## Building libjsonnet.wasm - -```bash -GOOS=js GOARCH=wasm go build -o libjsonnet.wasm ./cmd/wasm -``` - -Or if using bazel: - -``` -bazel build //cmd/wasm:libjsonnet.wasm -``` - -## 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 build ./cmd/jsonnet -``` - -3. Run benchmark: - -```bash -# 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 - -We are generating some helper classes on types by using http://clipperhouse.github.io/gen/. Do the following to regenerate these if necessary: - -```bash -go get github.com/clipperhouse/gen -go get github.com/clipperhouse/set -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++ -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 -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 -Note that we maintain the Go-related Bazel targets with [the Gazelle tool](https://github.com/bazelbuild/bazel-gazelle). The Go module (_go.mod_ in the root directory) remains the primary source of truth. Gazelle analyzes both that file and the rest of the Go files in the repository to create and adjust appropriate Bazel targets for building Go packages and executable programs. - -After changing any dependencies within the files covered by this Go module, it is helpful to run _go mod tidy_ to ensure that the module declarations match the state of the Go source code. In order to synchronize the Bazel rules with material changes to the Go module, run the following command to invoke [Gazelle's `update-repos` command](https://github.com/bazelbuild/bazel-gazelle#update-repos): -```bash -bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=bazel/deps.bzl%jsonnet_go_dependencies -``` - -Similarly, after adding or removing Go source files, it may be necessary to synchronize the Bazel rules by running the following command: -```bash -bazel run //:gazelle -``` diff --git a/vendor/github.com/google/go-jsonnet/WORKSPACE b/vendor/github.com/google/go-jsonnet/WORKSPACE deleted file mode 100644 index f9adaeb84..000000000 --- a/vendor/github.com/google/go-jsonnet/WORKSPACE +++ /dev/null @@ -1,17 +0,0 @@ -workspace(name = "google_jsonnet_go") - -load( - "@google_jsonnet_go//bazel:repositories.bzl", - "jsonnet_go_repositories", -) - -jsonnet_go_repositories() - -load( - "@google_jsonnet_go//bazel:deps.bzl", - "jsonnet_go_dependencies", -) - -jsonnet_go_dependencies() - -#gazelle:repository_macro bazel/deps.bzl%jsonnet_go_dependencies diff --git a/vendor/github.com/google/go-jsonnet/ast/BUILD.bazel b/vendor/github.com/google/go-jsonnet/ast/BUILD.bazel deleted file mode 100644 index fe6fd873e..000000000 --- a/vendor/github.com/google/go-jsonnet/ast/BUILD.bazel +++ /dev/null @@ -1,15 +0,0 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library") - -go_library( - name = "go_default_library", - srcs = [ - "ast.go", - "clone.go", - "fodder.go", - "identifier_set.go", - "location.go", - "util.go", - ], - importpath = "github.com/google/go-jsonnet/ast", - visibility = ["//visibility:public"], -) diff --git a/vendor/github.com/google/go-jsonnet/ast/ast.go b/vendor/github.com/google/go-jsonnet/ast/ast.go deleted file mode 100644 index 90e970f9b..000000000 --- a/vendor/github.com/google/go-jsonnet/ast/ast.go +++ /dev/null @@ -1,767 +0,0 @@ -/* -Copyright 2016 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 ast provides AST nodes and ancillary structures and algorithms. -package ast - -import ( - "fmt" -) - -// Identifier represents a variable / parameter / field name. -// +gen set -type Identifier string - -// Identifiers represents an Identifier slice. -type Identifiers []Identifier - -// TODO(jbeda) implement interning of identifiers if necessary. The C++ -// version does so. - -// --------------------------------------------------------------------------- - -// Context represents the surrounding context of a node (e.g. a function it's in) -type Context *string - -// Node represents a node in the AST. -type Node interface { - Context() Context - Loc() *LocationRange - 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. -type Nodes []Node - -// --------------------------------------------------------------------------- - -// NodeBase holds fields common to all node types. -type NodeBase struct { - // 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 - LocRange LocationRange -} - -// NewNodeBase creates a new NodeBase from initial LocationRange and -// Identifiers. -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, fodder Fodder) NodeBase { - return NewNodeBase(loc, fodder, []Identifier{}) -} - -// Loc returns a NodeBase's loc. -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 -} - -// SetFreeVariables sets a NodeBase's freeVariables. -func (n *NodeBase) SetFreeVariables(idents Identifiers) { - n.FreeVars = idents -} - -// Context returns a NodeBase's context. -func (n *NodeBase) Context() Context { - return n.Ctx -} - -// SetContext sets a NodeBase's context. -func (n *NodeBase) SetContext(context Context) { - n.Ctx = context -} - -// --------------------------------------------------------------------------- - -// IfSpec represents an if-specification in a comprehension. -type IfSpec struct { - Expr Node - IfFodder Fodder -} - -// ForSpec represents a for-specification in a comprehension. -// Example: -// expr for x in arr1 for y in arr2 for z in arr3 -// The order is the same as in python, i.e. the leftmost is the outermost. -// -// Our internal representation reflects how they are semantically nested: -// ForSpec(z, outer=ForSpec(y, outer=ForSpec(x, outer=nil))) -// Any ifspecs are attached to the relevant ForSpec. -// -// Ifs are attached to the one on the left, for example: -// expr for x in arr1 for y in arr2 if x % 2 == 0 for z in arr3 -// The if is attached to the y forspec. -// -// It desugares to: -// -// flatMap(\x -> -// flatMap(\y -> -// flatMap(\z -> [expr], arr3) -// arr2) -// arr3) -type ForSpec struct { - ForFodder Fodder - VarFodder Fodder - Conditions []IfSpec - Outer *ForSpec - Expr Node - VarName Identifier - InFodder Fodder -} - -// --------------------------------------------------------------------------- - -// Apply represents a function call -type Apply struct { - Target Node - FodderLeft Fodder - Arguments Arguments - FodderRight Fodder - TailStrictFodder Fodder - NodeBase - // Always false if there were no arguments. - TrailingComma bool - TailStrict bool -} - -// NamedArgument represents a named argument to function call x=1. -type NamedArgument struct { - 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 []CommaSeparatedExpr - Named []NamedArgument -} - -// --------------------------------------------------------------------------- - -// ApplyBrace represents e { }. Desugared to e + { }. -type ApplyBrace struct { - Left Node - Right Node - NodeBase -} - -// --------------------------------------------------------------------------- - -// Array represents array constructors [1, 2, 3]. -type Array struct { - Elements []CommaSeparatedExpr - CloseFodder Fodder - NodeBase - // Always false if there were no elements. - TrailingComma bool -} - -// --------------------------------------------------------------------------- - -// ArrayComp represents array comprehensions (which are like Python list -// comprehensions) -type ArrayComp struct { - Body Node - TrailingCommaFodder Fodder - Spec ForSpec - CloseFodder Fodder - NodeBase - TrailingComma bool -} - -// --------------------------------------------------------------------------- - -// Assert represents an assert expression (not an object-level assert). -// -// After parsing, message can be nil indicating that no message was -// specified. This AST is elimiated by desugaring. -type Assert struct { - Cond Node - Message Node - Rest Node - ColonFodder Fodder - SemicolonFodder Fodder - NodeBase -} - -// --------------------------------------------------------------------------- - -// BinaryOp represents a binary operator. -type BinaryOp int - -// Binary operators -const ( - BopMult BinaryOp = iota - BopDiv - BopPercent - - BopPlus - BopMinus - - BopShiftL - BopShiftR - - BopGreater - BopGreaterEq - BopLess - BopLessEq - BopIn - - BopManifestEqual - BopManifestUnequal - - BopBitwiseAnd - BopBitwiseXor - BopBitwiseOr - - BopAnd - BopOr -) - -var bopStrings = []string{ - BopMult: "*", - BopDiv: "/", - BopPercent: "%", - - BopPlus: "+", - BopMinus: "-", - - BopShiftL: "<<", - BopShiftR: ">>", - - BopGreater: ">", - BopGreaterEq: ">=", - BopLess: "<", - BopLessEq: "<=", - BopIn: "in", - - BopManifestEqual: "==", - BopManifestUnequal: "!=", - - BopBitwiseAnd: "&", - BopBitwiseXor: "^", - BopBitwiseOr: "|", - - BopAnd: "&&", - BopOr: "||", -} - -// BopMap is a map from binary operator token strings to BinaryOp values. -var BopMap = map[string]BinaryOp{ - "*": BopMult, - "/": BopDiv, - "%": BopPercent, - - "+": BopPlus, - "-": BopMinus, - - "<<": BopShiftL, - ">>": BopShiftR, - - ">": BopGreater, - ">=": BopGreaterEq, - "<": BopLess, - "<=": BopLessEq, - "in": BopIn, - - "==": BopManifestEqual, - "!=": BopManifestUnequal, - - "&": BopBitwiseAnd, - "^": BopBitwiseXor, - "|": BopBitwiseOr, - - "&&": BopAnd, - "||": BopOr, -} - -func (b BinaryOp) String() string { - if b < 0 || int(b) >= len(bopStrings) { - panic(fmt.Sprintf("INTERNAL ERROR: Unrecognised binary operator: %d", b)) - } - return bopStrings[b] -} - -// Binary represents binary operators. -type Binary struct { - Right Node - Left Node - OpFodder Fodder - NodeBase - Op BinaryOp -} - -// --------------------------------------------------------------------------- - -// Conditional represents if/then/else. -// -// After parsing, branchFalse can be nil indicating that no else branch -// was specified. The desugarer fills this in with a LiteralNull -type Conditional struct { - Cond Node - BranchTrue Node - BranchFalse Node - ThenFodder Fodder - ElseFodder Fodder - NodeBase -} - -// --------------------------------------------------------------------------- - -// Dollar represents the $ keyword -type Dollar struct{ NodeBase } - -// --------------------------------------------------------------------------- - -// Error represents the error e. -type Error struct { - Expr Node - NodeBase -} - -// --------------------------------------------------------------------------- - -// Function represents a function definition -type Function struct { - ParenLeftFodder Fodder - ParenRightFodder Fodder - Body Node - Parameters []Parameter - NodeBase - // Always false if there were no parameters. - TrailingComma bool -} - -// 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 - CommaFodder Fodder - EqFodder Fodder - DefaultArg Node - 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 -} - -// --------------------------------------------------------------------------- - -// Import represents import "file". -type Import struct { - File *LiteralString - NodeBase -} - -// --------------------------------------------------------------------------- - -// ImportStr represents importstr "file". -type ImportStr struct { - File *LiteralString - NodeBase -} - -// --------------------------------------------------------------------------- - -// ImportBin represents importbin "file". -type ImportBin struct { - File *LiteralString - NodeBase -} - -// --------------------------------------------------------------------------- - -// Index represents both e[e] and the syntax sugar e.f. -// -// One of index and id will be nil before desugaring. After desugaring id -// will be nil. -type Index struct { - Target Node - 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 - // When Index is being used, this is the fodder before the '['. - // When Id is being used, this is the fodder before the '.'. - LeftBracketFodder Fodder - //nolint: golint,stylecheck // keeping Id instead of ID for now to avoid breaking 3rd parties - Id *Identifier - NodeBase -} - -// Slice represents an array slice a[begin:end:step]. -type Slice struct { - Target Node - LeftBracketFodder Fodder - // Each of these can be nil - BeginIndex Node - EndColonFodder Fodder - EndIndex Node - StepColonFodder Fodder - Step Node - RightBracketFodder Fodder - NodeBase -} - -// --------------------------------------------------------------------------- - -// LocalBind is a helper struct for astLocal -type LocalBind struct { - VarFodder Fodder - // If Fun is set then its body == Body. - Body Node - EqFodder Fodder - Variable Identifier - // The fodder before the closing ',' or ';' (whichever it is) - CloseFodder Fodder - // There is no base fodder in Fun because there was no `function` keyword. - Fun *Function - LocRange LocationRange -} - -// LocalBinds represents a LocalBind slice. -type LocalBinds []LocalBind - -// Local represents local x = e; e. After desugaring, functionSugar is false. -type Local struct { - Binds LocalBinds - Body Node - NodeBase -} - -// --------------------------------------------------------------------------- - -// LiteralBoolean represents true and false -type LiteralBoolean struct { - NodeBase - Value bool -} - -// --------------------------------------------------------------------------- - -// LiteralNull represents the null keyword -type LiteralNull struct{ NodeBase } - -// --------------------------------------------------------------------------- - -// LiteralNumber represents a JSON number -type LiteralNumber struct { - OriginalString string - NodeBase -} - -// --------------------------------------------------------------------------- - -// LiteralStringKind represents the kind of a literal string. -type LiteralStringKind int - -// Literal string kinds -const ( - StringSingle LiteralStringKind = iota - StringDouble - StringBlock - VerbatimStringDouble - VerbatimStringSingle -) - -// FullyEscaped returns true iff the literal string kind may contain escape -// sequences that require unescaping. -func (k LiteralStringKind) FullyEscaped() bool { - switch k { - case StringSingle, StringDouble: - return true - case StringBlock, VerbatimStringDouble, VerbatimStringSingle: - return false - } - panic(fmt.Sprintf("Unknown string kind: %v", k)) -} - -// LiteralString represents a JSON string -type LiteralString struct { - Value string - BlockIndent string - BlockTermIndent string - NodeBase - Kind LiteralStringKind -} - -// --------------------------------------------------------------------------- - -// ObjectFieldKind represents the kind of an object field. -type ObjectFieldKind int - -// Kinds of object fields -const ( - // 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. -type ObjectFieldHide int - -// Object field visibilities -const ( - ObjectFieldHidden ObjectFieldHide = iota // f:: e - ObjectFieldInherit // f: e - ObjectFieldVisible // f::: e -) - -// ObjectField represents a field of an object or object comprehension. -// TODO(sbarzowski) consider having separate types for various kinds -type ObjectField struct { - // 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 - //nolint: golint,stylecheck // keeping Id instead of ID for now to avoid breaking 3rd parties - Id *Identifier - Fodder2 Fodder - Fodder1 Fodder - OpFodder Fodder - CommaFodder Fodder - Expr1 Node // Not in scope of the object - Expr2, Expr3 Node // In scope of the object (can see self). - LocRange LocationRange - Kind ObjectFieldKind - Hide ObjectFieldHide // (ignore if kind != astObjectFieldID/Expr/Str) - SuperSugar bool // +: (ignore if kind != astObjectFieldID/Expr/Str) -} - -// ObjectFieldLocalNoMethod creates a non-method local object field. -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. -type ObjectFields []ObjectField - -// Object represents object constructors { f: e ... }. -// -// The trailing comma is only allowed if len(fields) > 0. Converted to -// DesugaredObject during desugaring. -type Object struct { - Fields ObjectFields - CloseFodder Fodder - NodeBase - TrailingComma bool -} - -// --------------------------------------------------------------------------- - -// DesugaredObjectField represents a desugared object field. -type DesugaredObjectField struct { - Name Node - Body Node - LocRange LocationRange - Hide ObjectFieldHide - PlusSuper bool -} - -// DesugaredObjectFields represents a DesugaredObjectField slice. -type DesugaredObjectFields []DesugaredObjectField - -// DesugaredObject represents object constructors { f: e ... } after -// desugaring. -// -// The assertions either return true or raise an error. -type DesugaredObject struct { - Asserts Nodes - Fields DesugaredObjectFields - Locals LocalBinds - NodeBase -} - -// --------------------------------------------------------------------------- - -// ObjectComp represents object comprehension -// -// { [e]: e for x in e for.. if... }. -type ObjectComp struct { - Fields ObjectFields - TrailingCommaFodder Fodder - CloseFodder Fodder - Spec ForSpec - NodeBase - TrailingComma bool -} - -// --------------------------------------------------------------------------- - -// Parens represents parentheses -// -// ( e ) -type Parens struct { - Inner Node - CloseFodder Fodder - NodeBase -} - -// --------------------------------------------------------------------------- - -// Self represents the self keyword. -type Self struct{ NodeBase } - -// --------------------------------------------------------------------------- - -// SuperIndex represents the super[e] and super.f constructs. -// -// Either index or identifier will be set before desugaring. After desugaring, id will be -// nil. -type SuperIndex struct { - // If super.f, the fodder before the 'f' - // If super[e], the fodder before the ']'. - IDFodder Fodder - Index Node - // If super.f, the fodder before the '.' - // If super[e], the fodder before the '['. - DotFodder Fodder - //nolint: golint,stylecheck // keeping Id instead of ID for now to avoid breaking 3rd parties - Id *Identifier - NodeBase -} - -// InSuper represents the e in super construct. -type InSuper struct { - Index Node - InFodder Fodder - SuperFodder Fodder - NodeBase -} - -// --------------------------------------------------------------------------- - -// UnaryOp represents a unary operator. -type UnaryOp int - -// Unary operators -const ( - UopNot UnaryOp = iota - UopBitwiseNot - UopPlus - UopMinus -) - -var uopStrings = []string{ - UopNot: "!", - UopBitwiseNot: "~", - UopPlus: "+", - UopMinus: "-", -} - -// UopMap is a map from unary operator token strings to UnaryOp values. -var UopMap = map[string]UnaryOp{ - "!": UopNot, - "~": UopBitwiseNot, - "+": UopPlus, - "-": UopMinus, -} - -func (u UnaryOp) String() string { - if u < 0 || int(u) >= len(uopStrings) { - panic(fmt.Sprintf("INTERNAL ERROR: Unrecognised unary operator: %d", u)) - } - return uopStrings[u] -} - -// Unary represents unary operators. -type Unary struct { - Expr Node - NodeBase - Op UnaryOp -} - -// --------------------------------------------------------------------------- - -// Var represents variables. -type Var struct { - //nolint: golint,stylecheck // keeping Id instead of ID for now to avoid breaking 3rd parties - Id Identifier - NodeBase -} - -// --------------------------------------------------------------------------- diff --git a/vendor/github.com/google/go-jsonnet/ast/clone.go b/vendor/github.com/google/go-jsonnet/ast/clone.go deleted file mode 100644 index 342498667..000000000 --- a/vendor/github.com/google/go-jsonnet/ast/clone.go +++ /dev/null @@ -1,301 +0,0 @@ -/* -Copyright 2018 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 ast - -import ( - "fmt" - "reflect" -) - -// Updates fields of specPtr to point to deep clones. -func cloneForSpec(specPtr *ForSpec) { - clone(&specPtr.Expr) - oldOuter := specPtr.Outer - if oldOuter != nil { - specPtr.Outer = new(ForSpec) - *specPtr.Outer = *oldOuter - cloneForSpec(specPtr.Outer) - } - for i := range specPtr.Conditions { - clone(&specPtr.Conditions[i].Expr) - } -} - -// Updates fields of field to point to deep clones. -func cloneField(field *ObjectField) { - if field.Method != nil { - field.Method = Clone(field.Method).(*Function) - } - - clone(&field.Expr1) - clone(&field.Expr2) - clone(&field.Expr3) -} - -// Updates fields of field to point to deep clones. -func cloneDesugaredField(field *DesugaredObjectField) { - clone(&field.Name) - clone(&field.Body) -} - -// Updates the NodeBase fields of astPtr to point to deep clones. -func cloneNodeBase(astPtr Node) { - if astPtr.Context() != nil { - newContext := new(string) - *newContext = *astPtr.Context() - astPtr.SetContext(newContext) - } - 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 - if node == nil { - return - } - - switch node := node.(type) { - case *Apply: - r := new(Apply) - *astPtr = r - *r = *node - clone(&r.Target) - 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) - } - - case *ApplyBrace: - r := new(ApplyBrace) - *astPtr = r - *r = *node - clone(&r.Left) - clone(&r.Right) - - case *Array: - r := new(Array) - *astPtr = r - *r = *node - r.Elements = cloneCommaSeparatedExprs(r.Elements) - - case *ArrayComp: - r := new(ArrayComp) - *astPtr = r - *r = *node - clone(&r.Body) - cloneForSpec(&r.Spec) - - case *Assert: - r := new(Assert) - *astPtr = r - *r = *node - clone(&r.Cond) - clone(&r.Message) - clone(&r.Rest) - - case *Binary: - r := new(Binary) - *astPtr = r - *r = *node - clone(&r.Left) - clone(&r.Right) - - case *Conditional: - r := new(Conditional) - *astPtr = r - *r = *node - clone(&r.Cond) - clone(&r.BranchTrue) - clone(&r.BranchFalse) - - case *Dollar: - r := new(Dollar) - *astPtr = r - *r = *node - - case *Error: - r := new(Error) - *astPtr = r - *r = *node - clone(&r.Expr) - - case *Function: - r := new(Function) - *astPtr = r - *r = *node - 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: - r := new(Import) - *astPtr = r - *r = *node - r.File = new(LiteralString) - *r.File = *node.File - - case *ImportStr: - r := new(ImportStr) - *astPtr = r - *r = *node - r.File = new(LiteralString) - *r.File = *node.File - - case *ImportBin: - r := new(ImportBin) - *astPtr = r - *r = *node - r.File = new(LiteralString) - *r.File = *node.File - - case *Index: - r := new(Index) - *astPtr = r - *r = *node - clone(&r.Target) - clone(&r.Index) - - case *Slice: - r := new(Slice) - *astPtr = r - *r = *node - clone(&r.Target) - clone(&r.BeginIndex) - clone(&r.EndIndex) - clone(&r.Step) - - case *Local: - r := new(Local) - *astPtr = r - *r = *node - r.Binds = append(make(LocalBinds, 0), r.Binds...) - for i := range r.Binds { - if r.Binds[i].Fun != nil { - r.Binds[i].Fun = Clone(r.Binds[i].Fun).(*Function) - } - clone(&r.Binds[i].Body) - } - clone(&r.Body) - - case *LiteralBoolean: - r := new(LiteralBoolean) - *astPtr = r - *r = *node - - case *LiteralNull: - r := new(LiteralNull) - *astPtr = r - *r = *node - - case *LiteralNumber: - r := new(LiteralNumber) - *astPtr = r - *r = *node - - case *LiteralString: - r := new(LiteralString) - *astPtr = r - *r = *node - - case *Object: - r := new(Object) - *astPtr = r - *r = *node - r.Fields = append(make(ObjectFields, 0), r.Fields...) - for i := range r.Fields { - cloneField(&r.Fields[i]) - } - - case *DesugaredObject: - r := new(DesugaredObject) - *astPtr = r - *r = *node - r.Fields = append(make(DesugaredObjectFields, 0), r.Fields...) - for i := range r.Fields { - cloneDesugaredField(&r.Fields[i]) - } - - case *ObjectComp: - r := new(ObjectComp) - *astPtr = r - *r = *node - r.Fields = append(make(ObjectFields, 0), r.Fields...) - for i := range r.Fields { - cloneField(&r.Fields[i]) - } - cloneForSpec(&r.Spec) - - case *Parens: - r := new(Parens) - *astPtr = r - *r = *node - clone(&r.Inner) - - case *Self: - r := new(Self) - *astPtr = r - *r = *node - - case *SuperIndex: - r := new(SuperIndex) - *astPtr = r - *r = *node - clone(&r.Index) - - case *InSuper: - r := new(InSuper) - *astPtr = r - *r = *node - clone(&r.Index) - - case *Unary: - r := new(Unary) - *astPtr = r - *r = *node - clone(&r.Expr) - - case *Var: - r := new(Var) - *astPtr = r - *r = *node - - default: - panic(fmt.Sprintf("ast.Clone() does not recognize ast: %s", reflect.TypeOf(node))) - } - - cloneNodeBase(*astPtr) -} - -// Clone creates an independent copy of an AST -func Clone(astPtr Node) Node { - clone(&astPtr) - return astPtr -} diff --git a/vendor/github.com/google/go-jsonnet/ast/fodder.go b/vendor/github.com/google/go-jsonnet/ast/fodder.go deleted file mode 100644 index 7fa540512..000000000 --- a/vendor/github.com/google/go-jsonnet/ast/fodder.go +++ /dev/null @@ -1,179 +0,0 @@ -/* -Copyright 2018 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 ast provides AST nodes and ancillary structures and algorithms. -package ast - -import ( - "fmt" -) - -// Fodder - -// FodderKind is an enum. -type FodderKind int - -const ( - // FodderLineEnd represents a line ending. - // - // It indicates that the next token, paragraph, or interstitial - // should be on a new line. - // - // A single comment string is allowed, which flows before the new line. - // - // The LineEnd fodder specifies the indentation level and vertical spacing - // before whatever comes next. - FodderLineEnd FodderKind = iota - - // FodderInterstitial represents a comment in middle of a line. - // - // They must be /* C-style */ comments. - // - // If it follows a token (i.e., it is the first fodder element) then it - // appears after the token on the same line. If it follows another - // interstitial, it will also flow after it on the same line. If it follows - // a new line or a paragraph, it is the first thing on the following line, - // after the blank lines and indentation specified by the previous fodder. - // - // There is exactly one comment string. - FodderInterstitial - - // FodderParagraph represents a comment consisting of at least one line. - // - // // and # style comments have exactly one line. C-style comments can have - // more than one line. - // - // All lines of the comment are indented according to the indentation level - // of the previous new line / paragraph fodder. - // - // The Paragraph fodder specifies the indentation level and vertical spacing - // before whatever comes next. - FodderParagraph -) - -// FodderElement is a single piece of fodder. -type FodderElement struct { - Comment []string - Kind FodderKind - Blanks int - Indent int -} - -// MakeFodderElement is a helper function that checks some preconditions. -func MakeFodderElement(kind FodderKind, blanks int, indent int, comment []string) FodderElement { - if kind == FodderLineEnd && len(comment) > 1 { - panic(fmt.Sprintf("FodderLineEnd but comment == %v.", comment)) - } - if kind == FodderInterstitial && blanks > 0 { - panic(fmt.Sprintf("FodderInterstitial but blanks == %d", blanks)) - } - if kind == FodderInterstitial && indent > 0 { - panic(fmt.Sprintf("FodderInterstitial but indent == %d", blanks)) - } - if kind == FodderInterstitial && len(comment) != 1 { - panic(fmt.Sprintf("FodderInterstitial but comment == %v.", comment)) - } - if kind == FodderParagraph && len(comment) == 0 { - panic("FodderParagraph but comment was empty") - } - return FodderElement{Kind: kind, Blanks: blanks, Indent: indent, Comment: comment} -} - -// Fodder is stuff that is usually thrown away by lexers/preprocessors but is -// kept so that the source can be round tripped with near full fidelity. -type Fodder []FodderElement - -// FodderHasCleanEndline is true if the fodder doesn't end with an interstitial. -func FodderHasCleanEndline(fodder Fodder) bool { - return len(fodder) > 0 && fodder[len(fodder)-1].Kind != FodderInterstitial -} - -// FodderAppend appends to the fodder but preserves constraints. -// -// See FodderConcat below. -func FodderAppend(a *Fodder, elem FodderElement) { - if FodderHasCleanEndline(*a) && elem.Kind == FodderLineEnd { - if len(elem.Comment) > 0 { - // The line end had a comment, so create a single line paragraph for it. - *a = append(*a, MakeFodderElement(FodderParagraph, elem.Blanks, elem.Indent, elem.Comment)) - } else { - back := &(*a)[len(*a)-1] - // Merge it into the previous line end. - back.Indent = elem.Indent - back.Blanks += elem.Blanks - } - } else { - if !FodderHasCleanEndline(*a) && elem.Kind == FodderParagraph { - *a = append(*a, MakeFodderElement(FodderLineEnd, 0, elem.Indent, []string{})) - } - *a = append(*a, elem) - } -} - -// FodderConcat concats the two fodders but also preserves constraints. -// -// Namely, a FodderLineEnd is not allowed to follow a FodderParagraph or a FodderLineEnd. -func FodderConcat(a Fodder, b Fodder) Fodder { - if len(a) == 0 { - return b - } - if len(b) == 0 { - return a - } - r := a - // Carefully add the first element of b. - FodderAppend(&r, b[0]) - // Add the rest of b. - for i := 1; i < len(b); i++ { - r = append(r, b[i]) - } - return r -} - -// FodderMoveFront moves b to the front of a. -func FodderMoveFront(a *Fodder, b *Fodder) { - *a = FodderConcat(*b, *a) - *b = Fodder{} -} - -// FodderEnsureCleanNewline adds a LineEnd to the fodder if necessary. -func FodderEnsureCleanNewline(fodder *Fodder) { - if !FodderHasCleanEndline(*fodder) { - FodderAppend(fodder, MakeFodderElement(FodderLineEnd, 0, 0, []string{})) - } -} - -// FodderElementCountNewlines returns the number of new line chars represented by the fodder element -func FodderElementCountNewlines(elem FodderElement) int { - switch elem.Kind { - case FodderInterstitial: - return 0 - case FodderLineEnd: - return 1 - case FodderParagraph: - return len(elem.Comment) + elem.Blanks - } - panic(fmt.Sprintf("Unknown FodderElement kind %d", elem.Kind)) -} - -// FodderCountNewlines returns the number of new line chars represented by the fodder. -func FodderCountNewlines(fodder Fodder) int { - sum := 0 - for _, elem := range fodder { - sum += FodderElementCountNewlines(elem) - } - return sum -} diff --git a/vendor/github.com/google/go-jsonnet/ast/identifier_set.go b/vendor/github.com/google/go-jsonnet/ast/identifier_set.go deleted file mode 100644 index bc2efff51..000000000 --- a/vendor/github.com/google/go-jsonnet/ast/identifier_set.go +++ /dev/null @@ -1,174 +0,0 @@ -// Generated by: main -// TypeWriter: set -// Directive: +gen on identifier - -package ast - -// Set is a modification of https://github.com/deckarep/golang-set -// The MIT License (MIT) -// Copyright (c) 2013 Ralph Caraveo (deckarep@gmail.com) - -// IdentifierSet is the primary type that represents a set -type IdentifierSet map[Identifier]struct{} - -// NewIdentifierSet creates and returns a reference to an empty set. -func NewIdentifierSet(a ...Identifier) IdentifierSet { - s := make(IdentifierSet, len(a)) - for _, i := range a { - s.Add(i) - } - return s -} - -// ToSlice returns the elements of the current set as a slice -func (set IdentifierSet) ToSlice() []Identifier { - s := make([]Identifier, len(set), len(set)) - j := 0 - for v := range set { - s[j] = v - j++ - } - return s -} - -// Add adds an item to the current set if it doesn't already exist in the set. -func (set IdentifierSet) Add(i Identifier) bool { - _, found := set[i] - set[i] = struct{}{} - return !found //False if it existed already -} - -// Contains determines if a given item is already in the set. -func (set IdentifierSet) Contains(i Identifier) bool { - _, found := set[i] - return found -} - -// ContainsAll determines if the given items are all in the set -func (set IdentifierSet) ContainsAll(i ...Identifier) bool { - for _, v := range i { - if !set.Contains(v) { - return false - } - } - return true -} - -// IsSubset determines if every item in the other set is in this set. -func (set IdentifierSet) IsSubset(other IdentifierSet) bool { - for elem := range set { - if !other.Contains(elem) { - return false - } - } - return true -} - -// IsSuperset determines if every item of this set is in the other set. -func (set IdentifierSet) IsSuperset(other IdentifierSet) bool { - return other.IsSubset(set) -} - -// Union returns a new set with all items in both sets. -func (set IdentifierSet) Union(other IdentifierSet) IdentifierSet { - unionedSet := NewIdentifierSet() - - for elem := range set { - unionedSet.Add(elem) - } - for elem := range other { - unionedSet.Add(elem) - } - return unionedSet -} - -// Intersect returns a new set with items that exist only in both sets. -func (set IdentifierSet) Intersect(other IdentifierSet) IdentifierSet { - intersection := NewIdentifierSet() - // loop over smaller set - if set.Cardinality() < other.Cardinality() { - for elem := range set { - if other.Contains(elem) { - intersection.Add(elem) - } - } - } else { - for elem := range other { - if set.Contains(elem) { - intersection.Add(elem) - } - } - } - return intersection -} - -// Difference returns a new set with items in the current set but not in the other set -func (set IdentifierSet) Difference(other IdentifierSet) IdentifierSet { - differencedSet := NewIdentifierSet() - for elem := range set { - if !other.Contains(elem) { - differencedSet.Add(elem) - } - } - return differencedSet -} - -// SymmetricDifference returns a new set with items in the current set or the other set but not in both. -func (set IdentifierSet) SymmetricDifference(other IdentifierSet) IdentifierSet { - aDiff := set.Difference(other) - bDiff := other.Difference(set) - return aDiff.Union(bDiff) -} - -// Clear clears the entire set to be the empty set. -func (set *IdentifierSet) Clear() { - *set = make(IdentifierSet) -} - -// Remove allows the removal of a single item in the set. -func (set IdentifierSet) Remove(i Identifier) { - delete(set, i) -} - -// Cardinality returns how many items are currently in the set. -func (set IdentifierSet) Cardinality() int { - return len(set) -} - -// Iter returns a channel of type identifier that you can range over. -func (set IdentifierSet) Iter() <-chan Identifier { - ch := make(chan Identifier) - go func() { - for elem := range set { - ch <- elem - } - close(ch) - }() - - return ch -} - -// Equal determines if two sets are equal to each other. -// If they both are the same size and have the same items they are considered equal. -// Order of items is not relevent for sets to be equal. -func (set IdentifierSet) Equal(other IdentifierSet) bool { - if set.Cardinality() != other.Cardinality() { - return false - } - for elem := range set { - if !other.Contains(elem) { - return false - } - } - return true -} - -// Clone returns a clone of the set. -// Does NOT clone the underlying elements. -func (set IdentifierSet) Clone() IdentifierSet { - clonedSet := NewIdentifierSet() - for elem := range set { - clonedSet.Add(elem) - } - return clonedSet -} diff --git a/vendor/github.com/google/go-jsonnet/ast/location.go b/vendor/github.com/google/go-jsonnet/ast/location.go deleted file mode 100644 index 7ce2600f1..000000000 --- a/vendor/github.com/google/go-jsonnet/ast/location.go +++ /dev/null @@ -1,220 +0,0 @@ -/* -Copyright 2017 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 ast - -import ( - "bytes" - "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 { - // DiagnosticFileName is the imported path or a special string - // for indicating stdin, extvars and other non-imported sources. - DiagnosticFileName DiagnosticFileName - Lines []string -} - -////////////////////////////////////////////////////////////////////////////// -// Location - -// Location represents a single location in an (unspecified) file. -type Location struct { - Line int - // Column is a byte offset from the beginning of the line - Column int -} - -// IsSet returns if this Location has been set. -func (l *Location) IsSet() bool { - return l.Line != 0 -} - -func (l *Location) String() string { - return fmt.Sprintf("%v:%v", l.Line, l.Column) -} - -// 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 - } - return a.Column < b.Column -} - -////////////////////////////////////////////////////////////////////////////// -// LocationRange - -// LocationRange represents a range of a source file. -type LocationRange struct { - File *Source - // FileName should be the imported path or "" for snippets etc. - FileName string - Begin Location - End Location // TODO(sbarzowski) inclusive? exclusive? a gap? -} - -// LocationRangeBetween returns a LocationRange containing both a and b. -func LocationRangeBetween(a, b *LocationRange) LocationRange { - if a.File != b.File { - panic("Cannot create a LocationRange between different files") - } - return MakeLocationRange(a.FileName, a.File, a.Begin, b.End) -} - -// IsSet returns if this LocationRange has been set. -func (lr *LocationRange) IsSet() bool { - return lr.Begin.IsSet() -} - -func (lr *LocationRange) String() string { - if !lr.IsSet() { - // TODO(sbarzowski) when could this happen? - return lr.FileName - } - - var filePrefix string - 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 { - return fmt.Sprintf("%s%v", filePrefix, lr.Begin.String()) - } - return fmt.Sprintf("%s%v-%v", filePrefix, lr.Begin.String(), lr.End.Column) - } - - return fmt.Sprintf("%s(%v)-(%v)", filePrefix, lr.Begin.String(), lr.End.String()) -} - -// WithCode returns true iff the LocationRange is linked to code. -// TODO: This is identical to lr.IsSet(). Is it required at all? -func (lr *LocationRange) WithCode() bool { - return lr.Begin.Line != 0 -} - -// MakeLocationRangeMessage creates a pseudo-LocationRange with a message but no -// location information. This is useful for special locations, e.g. -// manifestation entry point. -func MakeLocationRangeMessage(msg string) LocationRange { - return LocationRange{FileName: msg} -} - -// MakeLocationRange creates a LocationRange. -func MakeLocationRange(fn string, fc *Source, begin Location, end Location) LocationRange { - return LocationRange{FileName: fn, File: fc, Begin: begin, End: end} -} - -// SourceProvider represents a source provider. -// TODO: Need an explanation of why this exists. -type SourceProvider struct { -} - -// GetSnippet returns a code snippet corresponding to loc. -func (sp *SourceProvider) GetSnippet(loc LocationRange) string { - var result bytes.Buffer - if loc.Begin.Line == 0 { - return "" - } - for i := loc.Begin.Line; i <= loc.End.Line; i++ { - inLineRange := trimToLine(loc, i) - for j := inLineRange.Begin.Column; j < inLineRange.End.Column; j++ { - result.WriteByte(loc.File.Lines[i-1][j-1]) - } - if i != loc.End.Line { - result.WriteByte('\n') - } - } - return result.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(dFilename DiagnosticFileName, s string) *Source { - var result []string - var lineBuf bytes.Buffer - for _, runeValue := range s { - lineBuf.WriteRune(runeValue) - if runeValue == '\n' { - result = append(result, lineBuf.String()) - lineBuf.Reset() - } - } - rest := lineBuf.String() - // Stuff after last end-of-line (EOF or some more code) - result = append(result, rest+"\n") - return &Source{dFilename, result} -} - -func trimToLine(loc LocationRange, line int) LocationRange { - if loc.Begin.Line > line { - panic("invalid") - } - if loc.Begin.Line != line { - loc.Begin.Column = 1 - } - loc.Begin.Line = line - if loc.End.Line < line { - panic("invalid") - } - if loc.End.Line != line { - loc.End.Column = len(loc.File.Lines[line-1]) - } - loc.End.Line = line - return loc -} - -// LineBeginning returns the part of a line directly before LocationRange -// for example: -// -// local x = foo() -// ^^^^^ <- LocationRange loc -// then -// local x = foo() -// ^^^^^^^^^^ <- lineBeginning(loc) -func LineBeginning(loc *LocationRange) LocationRange { - return LocationRange{ - Begin: Location{Line: loc.Begin.Line, Column: 1}, - End: loc.Begin, - FileName: loc.FileName, - File: loc.File, - } -} - -// LineEnding returns the part of a line directly after LocationRange -// for example: -// -// local x = foo() + test -// ^^^^^ <- LocationRange loc -// then -// local x = foo() + test -// ^^^^^^^ <- lineEnding(loc) -func LineEnding(loc *LocationRange) LocationRange { - return LocationRange{ - Begin: loc.End, - End: Location{Line: loc.End.Line, Column: len(loc.File.Lines[loc.End.Line-1])}, - FileName: loc.FileName, - File: loc.File, - } -} diff --git a/vendor/github.com/google/go-jsonnet/ast/util.go b/vendor/github.com/google/go-jsonnet/ast/util.go deleted file mode 100644 index 45e99451f..000000000 --- a/vendor/github.com/google/go-jsonnet/ast/util.go +++ /dev/null @@ -1,46 +0,0 @@ -/* -Copyright 2016 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 ast - -import ( - "sort" -) - -// AddIdentifiers adds a slice of identifiers to an identifier set. -func (i IdentifierSet) AddIdentifiers(idents Identifiers) { - for _, ident := range idents { - i.Add(ident) - } -} - -// ToOrderedSlice returns the elements of the current set as an ordered slice. -func (i IdentifierSet) ToOrderedSlice() []Identifier { - s := make([]Identifier, len(i)) - j := 0 - for v := range i { - s[j] = v - j++ - } - sort.Sort(identifierSorter(s)) - return s -} - -type identifierSorter []Identifier - -func (s identifierSorter) Len() int { return len(s) } -func (s identifierSorter) Swap(i, j int) { s[i], s[j] = s[j], s[i] } -func (s identifierSorter) Less(i, j int) bool { return s[i] < s[j] } diff --git a/vendor/github.com/google/go-jsonnet/astgen/BUILD.bazel b/vendor/github.com/google/go-jsonnet/astgen/BUILD.bazel deleted file mode 100644 index 2d0a4b578..000000000 --- a/vendor/github.com/google/go-jsonnet/astgen/BUILD.bazel +++ /dev/null @@ -1,19 +0,0 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library") - -genrule( - name = "dumpstdlibast", - srcs = ["@cpp_jsonnet//stdlib"], - outs = ["stdast.go"], - cmd = "./$(location //cmd/dumpstdlibast) \"$<\" > \"$@\"", - tools = ["//cmd/dumpstdlibast"], -) - -go_library( - name = "go_default_library", - srcs = ["stdast.go"], - importpath = "github.com/google/go-jsonnet/astgen", - visibility = ["//visibility:public"], - deps = [ - "//ast:go_default_library", # keep - ], -) diff --git a/vendor/github.com/google/go-jsonnet/astgen/stdast.go b/vendor/github.com/google/go-jsonnet/astgen/stdast.go deleted file mode 100644 index 37bcda095..000000000 --- a/vendor/github.com/google/go-jsonnet/astgen/stdast.go +++ /dev/null @@ -1,233308 +0,0 @@ -/////////////////////////////////////////////////////////// -// This file was auto-generated by cmd/dumpstdlibast.go. // -// https://github.com/google/go-jsonnet#generated-stdlib // -// // -// --------------- DO NOT EDIT BY HAND! --------------- // -/////////////////////////////////////////////////////////// - -package astgen - -import ( - "github.com/google/go-jsonnet/ast" -) - -var p7Var = "function " -var p7 = &p7Var -var p18Var = "thunk from >" -var p18 = &p18Var -var p23Var = "object " -var p23 = &p23Var -var p29Var = "function " -var p29 = &p29Var -var p38Var = "thunk from >" -var p38 = &p38Var -var p48Var = "function " -var p48 = &p48Var -var p57Var = "thunk from >" -var p57 = &p57Var -var p67Var = "function " -var p67 = &p67Var -var p76Var = "thunk from >" -var p76 = &p76Var -var p86Var = "function " -var p86 = &p86Var -var p95Var = "thunk from >" -var p95 = &p95Var -var p105Var = "function " -var p105 = &p105Var -var p114Var = "thunk from >" -var p114 = &p114Var -var p125Var = "function " -var p125 = &p125Var -var p134Var = "thunk from >" -var p134 = &p134Var -var p157Var = "function " -var p157 = &p157Var -var p161Var = "thunk from >" -var p161 = &p161Var -var p173Var = "thunk from >" -var p173 = &p173Var -var p185Var = "thunk from >" -var p185 = &p185Var -var p203Var = "thunk from >" -var p203 = &p203Var -var p216Var = "thunk from >>" -var p216 = &p216Var -var p220Var = "thunk from >>>" -var p220 = &p220Var -var p229Var = "thunk from >>>>" -var p229 = &p229Var -var p242Var = "thunk from >>>>>" -var p242 = &p242Var -var p251Var = "function " -var p251 = &p251Var -var p282Var = "thunk from >" -var p282 = &p282Var -var p299Var = "thunk from >" -var p299 = &p299Var -var p316Var = "thunk from >" -var p316 = &p316Var -var p334Var = "function " -var p334 = &p334Var -var p338Var = "thunk from >" -var p338 = &p338Var -var p349Var = "thunk from >" -var p349 = &p349Var -var p367Var = "thunk from >" -var p367 = &p367Var -var p378Var = "thunk from >>" -var p378 = &p378Var -var p397Var = "function " -var p397 = &p397Var -var p401Var = "thunk from >" -var p401 = &p401Var -var p412Var = "thunk from >" -var p412 = &p412Var -var p430Var = "thunk from >" -var p430 = &p430Var -var p441Var = "thunk from >>" -var p441 = &p441Var -var p452Var = "thunk from >>" -var p452 = &p452Var -var p464Var = "thunk from >>" -var p464 = &p464Var -var p483Var = "function " -var p483 = &p483Var -var p487Var = "thunk from >" -var p487 = &p487Var -var p505Var = "thunk from >" -var p505 = &p505Var -var p526Var = "thunk from >" -var p526 = &p526Var -var p552Var = "thunk from >" -var p552 = &p552Var -var p556Var = "thunk from from >>" -var p556 = &p556Var -var p566Var = "function " -var p566 = &p566Var -var p570Var = "thunk from >" -var p570 = &p570Var -var p604Var = "thunk from >" -var p604 = &p604Var -var p635Var = "function " -var p635 = &p635Var -var p643Var = "thunk from >" -var p643 = &p643Var -var p647Var = "thunk from >>" -var p647 = &p647Var -var p665Var = "function " -var p665 = &p665Var -var p673Var = "thunk from >" -var p673 = &p673Var -var p677Var = "thunk from >>" -var p677 = &p677Var -var p683Var = "function " -var p683 = &p683Var -var p701Var = "function " -var p701 = &p701Var -var p705Var = "thunk from >" -var p705 = &p705Var -var p725Var = "thunk from >" -var p725 = &p725Var -var p752Var = "thunk from >" -var p752 = &p752Var -var p768Var = "thunk from >" -var p768 = &p768Var -var p787Var = "thunk from >" -var p787 = &p787Var -var p803Var = "thunk from >" -var p803 = &p803Var -var p820Var = "function " -var p820 = &p820Var -var p824Var = "thunk from >" -var p824 = &p824Var -var p838Var = "thunk from >" -var p838 = &p838Var -var p848Var = "thunk from >" -var p848 = &p848Var -var p865Var = "thunk from >" -var p865 = &p865Var -var p882Var = "function " -var p882 = &p882Var -var p886Var = "thunk from >" -var p886 = &p886Var -var p900Var = "thunk from >" -var p900 = &p900Var -var p910Var = "thunk from >" -var p910 = &p910Var -var p927Var = "thunk from >" -var p927 = &p927Var -var p944Var = "function " -var p944 = &p944Var -var p948Var = "thunk from >" -var p948 = &p948Var -var p960Var = "thunk from >" -var p960 = &p960Var -var p974Var = "thunk from >" -var p974 = &p974Var -var p987Var = "thunk from >" -var p987 = &p987Var -var p1004Var = "thunk from >" -var p1004 = &p1004Var -var p1021Var = "thunk from >" -var p1021 = &p1021Var -var p1038Var = "thunk from >" -var p1038 = &p1038Var -var p1055Var = "function " -var p1055 = &p1055Var -var p1059Var = "thunk from >" -var p1059 = &p1059Var -var p1071Var = "thunk from >" -var p1071 = &p1071Var -var p1085Var = "thunk from >" -var p1085 = &p1085Var -var p1098Var = "thunk from >" -var p1098 = &p1098Var -var p1108Var = "thunk from >" -var p1108 = &p1108Var -var p1112Var = "thunk from from >>" -var p1112 = &p1112Var -var p1122Var = "thunk from >" -var p1122 = &p1122Var -var p1126Var = "thunk from from >>" -var p1126 = &p1126Var -var p1135Var = "function " -var p1135 = &p1135Var -var p1144Var = "thunk from >" -var p1144 = &p1144Var -var p1165Var = "thunk from >" -var p1165 = &p1165Var -var p1207Var = "thunk from >" -var p1207 = &p1207Var -var p1216Var = "thunk from >>" -var p1216 = &p1216Var -var p1231Var = "thunk from >" -var p1231 = &p1231Var -var p1254Var = "thunk from >" -var p1254 = &p1254Var -var p1262Var = "thunk from >" -var p1262 = &p1262Var -var p1282Var = "thunk from >" -var p1282 = &p1282Var -var p1299Var = "thunk from >" -var p1299 = &p1299Var -var p1316Var = "thunk from >" -var p1316 = &p1316Var -var p1333Var = "thunk from >" -var p1333 = &p1333Var -var p1350Var = "function " -var p1350 = &p1350Var -var p1354Var = "thunk from >" -var p1354 = &p1354Var -var p1366Var = "thunk from >" -var p1366 = &p1366Var -var p1380Var = "thunk from >" -var p1380 = &p1380Var -var p1393Var = "thunk from >" -var p1393 = &p1393Var -var p1412Var = "thunk from >" -var p1412 = &p1412Var -var p1427Var = "function " -var p1427 = &p1427Var -var p1431Var = "thunk from >" -var p1431 = &p1431Var -var p1444Var = "thunk from >>" -var p1444 = &p1444Var -var p1448Var = "thunk from >>>" -var p1448 = &p1448Var -var p1454Var = "thunk from >" -var p1454 = &p1454Var -var p1467Var = "function " -var p1467 = &p1467Var -var p1471Var = "thunk from >" -var p1471 = &p1471Var -var p1475Var = "thunk from >" -var p1475 = &p1475Var -var p1489Var = "thunk from >>" -var p1489 = &p1489Var -var p1494Var = "thunk from >>>" -var p1494 = &p1494Var -var p1498Var = "thunk from >>>>" -var p1498 = &p1498Var -var p1506Var = "thunk from >>>>" -var p1506 = &p1506Var -var p1529Var = "thunk from >" -var p1529 = &p1529Var -var p1546Var = "thunk from >" -var p1546 = &p1546Var -var p1563Var = "thunk from >" -var p1563 = &p1563Var -var p1580Var = "thunk from >" -var p1580 = &p1580Var -var p1597Var = "function " -var p1597 = &p1597Var -var p1601Var = "thunk from >" -var p1601 = &p1601Var -var p1613Var = "thunk from >" -var p1613 = &p1613Var -var p1625Var = "thunk from >" -var p1625 = &p1625Var -var p1641Var = "thunk from >" -var p1641 = &p1641Var -var p1645Var = "thunk from from >>" -var p1645 = &p1645Var -var p1655Var = "thunk from >" -var p1655 = &p1655Var -var p1659Var = "thunk from from >>" -var p1659 = &p1659Var -var p1667Var = "function " -var p1667 = &p1667Var -var p1690Var = "thunk from >" -var p1690 = &p1690Var -var p1698Var = "function " -var p1698 = &p1698Var -var p1729Var = "thunk from >" -var p1729 = &p1729Var -var p1740Var = "thunk from >" -var p1740 = &p1740Var -var p1744Var = "thunk from from >>" -var p1744 = &p1744Var -var p1756Var = "thunk from >" -var p1756 = &p1756Var -var p1792Var = "thunk from >" -var p1792 = &p1792Var -var p1808Var = "thunk from >" -var p1808 = &p1808Var -var p1825Var = "thunk from >" -var p1825 = &p1825Var -var p1835Var = "thunk from >>" -var p1835 = &p1835Var -var p1847Var = "thunk from >" -var p1847 = &p1847Var -var p1890Var = "thunk from >" -var p1890 = &p1890Var -var p1899Var = "function " -var p1899 = &p1899Var -var p1905Var = "thunk from >" -var p1905 = &p1905Var -var p1916Var = "thunk from >" -var p1916 = &p1916Var -var p1931Var = "thunk from >" -var p1931 = &p1931Var -var p1937Var = "thunk from >>" -var p1937 = &p1937Var -var p1948Var = "thunk from >" -var p1948 = &p1948Var -var p1956Var = "function " -var p1956 = &p1956Var -var p1960Var = "thunk from >" -var p1960 = &p1960Var -var p1969Var = "thunk from >>" -var p1969 = &p1969Var -var p1979Var = "thunk from >>>" -var p1979 = &p1979Var -var p1998Var = "thunk from >" -var p1998 = &p1998Var -var p2007Var = "function " -var p2007 = &p2007Var -var p2013Var = "thunk from >" -var p2013 = &p2013Var -var p2024Var = "thunk from >" -var p2024 = &p2024Var -var p2039Var = "thunk from >" -var p2039 = &p2039Var -var p2045Var = "thunk from >>" -var p2045 = &p2045Var -var p2056Var = "thunk from >" -var p2056 = &p2056Var -var p2064Var = "function " -var p2064 = &p2064Var -var p2068Var = "thunk from >" -var p2068 = &p2068Var -var p2077Var = "thunk from >>" -var p2077 = &p2077Var -var p2087Var = "thunk from >>>" -var p2087 = &p2087Var -var p2106Var = "function " -var p2106 = &p2106Var -var p2111Var = "thunk from >" -var p2111 = &p2111Var -var p2122Var = "function " -var p2122 = &p2122Var -var p2142Var = "thunk from >" -var p2142 = &p2142Var -var p2146Var = "thunk from from >>" -var p2146 = &p2146Var -var p2159Var = "thunk from from >>" -var p2159 = &p2159Var -var p2176Var = "function " -var p2176 = &p2176Var -var p2180Var = "thunk from >" -var p2180 = &p2180Var -var p2190Var = "thunk from >>" -var p2190 = &p2190Var -var p2194Var = "function " -var p2194 = &p2194Var -var p2212Var = "object " -var p2212 = &p2212Var -var p2242Var = "thunk from >" -var p2242 = &p2242Var -var p2272Var = "thunk from >" -var p2272 = &p2272Var -var p2284Var = "thunk from >" -var p2284 = &p2284Var -var p2289Var = "thunk from >" -var p2289 = &p2289Var -var p2295Var = "function " -var p2295 = &p2295Var -var p2337Var = "thunk from >" -var p2337 = &p2337Var -var p2348Var = "thunk from >" -var p2348 = &p2348Var -var p2362Var = "function " -var p2362 = &p2362Var -var p2388Var = "thunk from >" -var p2388 = &p2388Var -var p2417Var = "thunk from >>" -var p2417 = &p2417Var -var p2446Var = "thunk from >" -var p2446 = &p2446Var -var p2456Var = "thunk from >" -var p2456 = &p2456Var -var p2491Var = "thunk from >" -var p2491 = &p2491Var -var p2526Var = "thunk from >" -var p2526 = &p2526Var -var p2554Var = "function " -var p2554 = &p2554Var -var p2558Var = "thunk from >" -var p2558 = &p2558Var -var p2572Var = "thunk from >" -var p2572 = &p2572Var -var p2587Var = "thunk from >" -var p2587 = &p2587Var -var p2605Var = "thunk from >" -var p2605 = &p2605Var -var p2609Var = "thunk from >>" -var p2609 = &p2609Var -var p2632Var = "function " -var p2632 = &p2632Var -var p2640Var = "thunk from >" -var p2640 = &p2640Var -var p2646Var = "function " -var p2646 = &p2646Var -var p2652Var = "thunk from >>" -var p2652 = &p2652Var -var p2669Var = "function " -var p2669 = &p2669Var -var p2673Var = "thunk from >" -var p2673 = &p2673Var -var p2684Var = "thunk from >" -var p2684 = &p2684Var -var p2697Var = "thunk from >" -var p2697 = &p2697Var -var p2711Var = "thunk from >" -var p2711 = &p2711Var -var p2723Var = "thunk from >" -var p2723 = &p2723Var -var p2740Var = "thunk from >" -var p2740 = &p2740Var -var p2754Var = "thunk from >" -var p2754 = &p2754Var -var p2780Var = "function " -var p2780 = &p2780Var -var p2784Var = "thunk from >" -var p2784 = &p2784Var -var p2798Var = "thunk from >" -var p2798 = &p2798Var -var p2816Var = "thunk from >" -var p2816 = &p2816Var -var p2829Var = "thunk from >" -var p2829 = &p2829Var -var p2844Var = "thunk from >" -var p2844 = &p2844Var -var p2864Var = "thunk from >" -var p2864 = &p2864Var -var p2868Var = "thunk from >>" -var p2868 = &p2868Var -var p2874Var = "function " -var p2874 = &p2874Var -var p2879Var = "thunk from >" -var p2879 = &p2879Var -var p2904Var = "function " -var p2904 = &p2904Var -var p2908Var = "thunk from >" -var p2908 = &p2908Var -var p2922Var = "thunk from >" -var p2922 = &p2922Var -var p2940Var = "thunk from >" -var p2940 = &p2940Var -var p2953Var = "thunk from >" -var p2953 = &p2953Var -var p2968Var = "thunk from >" -var p2968 = &p2968Var -var p2988Var = "thunk from >" -var p2988 = &p2988Var -var p2992Var = "thunk from >>" -var p2992 = &p2992Var -var p2998Var = "function " -var p2998 = &p2998Var -var p3002Var = "thunk from >" -var p3002 = &p3002Var -var p3030Var = "function " -var p3030 = &p3030Var -var p3034Var = "thunk from >" -var p3034 = &p3034Var -var p3048Var = "thunk from >" -var p3048 = &p3048Var -var p3065Var = "thunk from >" -var p3065 = &p3065Var -var p3079Var = "thunk from >" -var p3079 = &p3079Var -var p3109Var = "object " -var p3109 = &p3109Var -var p3113Var = "thunk from >" -var p3113 = &p3113Var -var p3135Var = "thunk from >" -var p3135 = &p3135Var -var p3156Var = "function " -var p3156 = &p3156Var -var p3160Var = "thunk from >" -var p3160 = &p3160Var -var p3174Var = "thunk from >" -var p3174 = &p3174Var -var p3190Var = "thunk from >" -var p3190 = &p3190Var -var p3206Var = "thunk from >" -var p3206 = &p3206Var -var p3214Var = "thunk from >>" -var p3214 = &p3214Var -var p3218Var = "thunk from >>>" -var p3218 = &p3218Var -var p3224Var = "function " -var p3224 = &p3224Var -var p3229Var = "thunk from >" -var p3229 = &p3229Var -var p3248Var = "thunk from >" -var p3248 = &p3248Var -var p3260Var = "thunk from >" -var p3260 = &p3260Var -var p3273Var = "thunk from >>" -var p3273 = &p3273Var -var p3277Var = "thunk from >>>" -var p3277 = &p3277Var -var p3283Var = "function " -var p3283 = &p3283Var -var p3288Var = "thunk from >" -var p3288 = &p3288Var -var p3308Var = "thunk from >" -var p3308 = &p3308Var -var p3335Var = "function " -var p3335 = &p3335Var -var p3339Var = "thunk from >" -var p3339 = &p3339Var -var p3364Var = "thunk from >" -var p3364 = &p3364Var -var p3386Var = "thunk from >" -var p3386 = &p3386Var -var p3398Var = "thunk from >" -var p3398 = &p3398Var -var p3421Var = "thunk from >" -var p3421 = &p3421Var -var p3425Var = "thunk from >>" -var p3425 = &p3425Var -var p3439Var = "thunk from >>" -var p3439 = &p3439Var -var p3458Var = "thunk from >" -var p3458 = &p3458Var -var p3483Var = "thunk from >" -var p3483 = &p3483Var -var p3516Var = "thunk from >" -var p3516 = &p3516Var -var p3525Var = "function " -var p3525 = &p3525Var -var p3529Var = "thunk from >" -var p3529 = &p3529Var -var p3543Var = "thunk from >" -var p3543 = &p3543Var -var p3559Var = "thunk from >" -var p3559 = &p3559Var -var p3568Var = "thunk from >" -var p3568 = &p3568Var -var p3583Var = "thunk from >" -var p3583 = &p3583Var -var p3592Var = "thunk from >" -var p3592 = &p3592Var -var p3608Var = "thunk from >" -var p3608 = &p3608Var -var p3634Var = "function " -var p3634 = &p3634Var -var p3638Var = "thunk from >" -var p3638 = &p3638Var -var p3643Var = "thunk from >>" -var p3643 = &p3643Var -var p3658Var = "function " -var p3658 = &p3658Var -var p3662Var = "thunk from >" -var p3662 = &p3662Var -var p3677Var = "thunk from >" -var p3677 = &p3677Var -var p3689Var = "thunk from >" -var p3689 = &p3689Var -var p3705Var = "thunk from >>" -var p3705 = &p3705Var -var p3709Var = "thunk from >>>" -var p3709 = &p3709Var -var p3736Var = "thunk from >" -var p3736 = &p3736Var -var p3761Var = "function " -var p3761 = &p3761Var -var p3765Var = "thunk from >" -var p3765 = &p3765Var -var p3775Var = "thunk from >" -var p3775 = &p3775Var -var p3796Var = "function " -var p3796 = &p3796Var -var p3800Var = "thunk from >" -var p3800 = &p3800Var -var p3813Var = "thunk from >" -var p3813 = &p3813Var -var p3830Var = "thunk from >" -var p3830 = &p3830Var -var p3849Var = "object " -var p3849 = &p3849Var -var p3867Var = "thunk from >" -var p3867 = &p3867Var -var p3875Var = "thunk from >" -var p3875 = &p3875Var -var p3890Var = "object " -var p3890 = &p3890Var -var p3905Var = "thunk from >" -var p3905 = &p3905Var -var p3920Var = "function " -var p3920 = &p3920Var -var p3924Var = "thunk from >" -var p3924 = &p3924Var -var p3934Var = "thunk from >" -var p3934 = &p3934Var -var p3951Var = "thunk from >" -var p3951 = &p3951Var -var p3963Var = "object " -var p3963 = &p3963Var -var p3980Var = "thunk from >" -var p3980 = &p3980Var -var p3992Var = "object " -var p3992 = &p3992Var -var p4009Var = "thunk from >" -var p4009 = &p4009Var -var p4021Var = "object " -var p4021 = &p4021Var -var p4038Var = "thunk from >" -var p4038 = &p4038Var -var p4050Var = "object " -var p4050 = &p4050Var -var p4067Var = "thunk from >" -var p4067 = &p4067Var -var p4079Var = "object " -var p4079 = &p4079Var -var p4088Var = "object " -var p4088 = &p4088Var -var p4112Var = "thunk from >" -var p4112 = &p4112Var -var p4117Var = "function " -var p4117 = &p4117Var -var p4121Var = "thunk from >" -var p4121 = &p4121Var -var p4129Var = "object " -var p4129 = &p4129Var -var p4142Var = "thunk from >" -var p4142 = &p4142Var -var p4151Var = "function " -var p4151 = &p4151Var -var p4168Var = "thunk from >" -var p4168 = &p4168Var -var p4180Var = "object " -var p4180 = &p4180Var -var p4198Var = "function " -var p4198 = &p4198Var -var p4202Var = "thunk from >" -var p4202 = &p4202Var -var p4212Var = "thunk from >" -var p4212 = &p4212Var -var p4229Var = "thunk from >" -var p4229 = &p4229Var -var p4257Var = "thunk from >" -var p4257 = &p4257Var -var p4285Var = "thunk from >" -var p4285 = &p4285Var -var p4313Var = "thunk from >" -var p4313 = &p4313Var -var p4341Var = "thunk from >" -var p4341 = &p4341Var -var p4369Var = "thunk from >" -var p4369 = &p4369Var -var p4397Var = "thunk from >" -var p4397 = &p4397Var -var p4425Var = "thunk from >" -var p4425 = &p4425Var -var p4453Var = "thunk from >" -var p4453 = &p4453Var -var p4481Var = "thunk from >" -var p4481 = &p4481Var -var p4501Var = "object " -var p4501 = &p4501Var -var p4535Var = "thunk from >" -var p4535 = &p4535Var -var p4543Var = "thunk from >" -var p4543 = &p4543Var -var p4555Var = "thunk from >" -var p4555 = &p4555Var -var p4567Var = "function " -var p4567 = &p4567Var -var p4571Var = "thunk from >" -var p4571 = &p4571Var -var p4581Var = "thunk from >" -var p4581 = &p4581Var -var p4598Var = "thunk from >" -var p4598 = &p4598Var -var p4610Var = "object " -var p4610 = &p4610Var -var p4625Var = "thunk from >" -var p4625 = &p4625Var -var p4637Var = "function " -var p4637 = &p4637Var -var p4641Var = "thunk from >" -var p4641 = &p4641Var -var p4651Var = "thunk from >" -var p4651 = &p4651Var -var p4694Var = "thunk from >" -var p4694 = &p4694Var -var p4706Var = "function " -var p4706 = &p4706Var -var p4710Var = "thunk from >" -var p4710 = &p4710Var -var p4720Var = "thunk from >" -var p4720 = &p4720Var -var p4750Var = "object " -var p4750 = &p4750Var -var p4771Var = "object " -var p4771 = &p4771Var -var p4792Var = "object " -var p4792 = &p4792Var -var p4813Var = "object " -var p4813 = &p4813Var -var p4834Var = "object " -var p4834 = &p4834Var -var p4855Var = "object " -var p4855 = &p4855Var -var p4876Var = "object " -var p4876 = &p4876Var -var p4897Var = "object " -var p4897 = &p4897Var -var p4918Var = "object " -var p4918 = &p4918Var -var p4939Var = "object " -var p4939 = &p4939Var -var p4960Var = "object " -var p4960 = &p4960Var -var p4981Var = "object " -var p4981 = &p4981Var -var p5002Var = "object " -var p5002 = &p5002Var -var p5053Var = "thunk from >" -var p5053 = &p5053Var -var p5065Var = "function " -var p5065 = &p5065Var -var p5069Var = "thunk from >" -var p5069 = &p5069Var -var p5079Var = "thunk from >" -var p5079 = &p5079Var -var p5083Var = "thunk from from >>" -var p5083 = &p5083Var -var p5092Var = "thunk from >" -var p5092 = &p5092Var -var p5096Var = "thunk from from >>" -var p5096 = &p5096Var -var p5108Var = "thunk from >" -var p5108 = &p5108Var -var p5112Var = "thunk from from >>" -var p5112 = &p5112Var -var p5124Var = "thunk from >" -var p5124 = &p5124Var -var p5128Var = "thunk from from >>" -var p5128 = &p5128Var -var p5140Var = "thunk from >" -var p5140 = &p5140Var -var p5144Var = "thunk from from >>" -var p5144 = &p5144Var -var p5156Var = "thunk from >" -var p5156 = &p5156Var -var p5160Var = "thunk from from >>" -var p5160 = &p5160Var -var p5172Var = "object " -var p5172 = &p5172Var -var p5182Var = "object " -var p5182 = &p5182Var -var p5233Var = "thunk from >" -var p5233 = &p5233Var -var p5245Var = "function " -var p5245 = &p5245Var -var p5249Var = "thunk from >" -var p5249 = &p5249Var -var p5259Var = "thunk from >" -var p5259 = &p5259Var -var p5270Var = "thunk from >" -var p5270 = &p5270Var -var p5285Var = "thunk from >" -var p5285 = &p5285Var -var p5289Var = "thunk from from >>" -var p5289 = &p5289Var -var p5303Var = "thunk from >" -var p5303 = &p5303Var -var p5314Var = "thunk from >>" -var p5314 = &p5314Var -var p5335Var = "thunk from >" -var p5335 = &p5335Var -var p5360Var = "thunk from >" -var p5360 = &p5360Var -var p5366Var = "thunk from >" -var p5366 = &p5366Var -var p5370Var = "thunk from from >>" -var p5370 = &p5370Var -var p5385Var = "function " -var p5385 = &p5385Var -var p5399Var = "thunk from >" -var p5399 = &p5399Var -var p5414Var = "thunk from >" -var p5414 = &p5414Var -var p5419Var = "function " -var p5419 = &p5419Var -var p5423Var = "thunk from >" -var p5423 = &p5423Var -var p5430Var = "thunk from >" -var p5430 = &p5430Var -var p5436Var = "function " -var p5436 = &p5436Var -var p5449Var = "thunk from >" -var p5449 = &p5449Var -var p5453Var = "thunk from >>" -var p5453 = &p5453Var -var p5464Var = "thunk from >" -var p5464 = &p5464Var -var p5472Var = "function " -var p5472 = &p5472Var -var p5481Var = "thunk from >" -var p5481 = &p5481Var -var p5485Var = "thunk from >>" -var p5485 = &p5485Var -var p5499Var = "thunk from >" -var p5499 = &p5499Var -var p5509Var = "thunk from >" -var p5509 = &p5509Var -var p5521Var = "function " -var p5521 = &p5521Var -var p5551Var = "thunk from >" -var p5551 = &p5551Var -var p5556Var = "thunk from >>" -var p5556 = &p5556Var -var p5568Var = "thunk from from >>" -var p5568 = &p5568Var -var p5576Var = "thunk from from >>" -var p5576 = &p5576Var -var p5590Var = "thunk from >" -var p5590 = &p5590Var -var p5612Var = "thunk from >" -var p5612 = &p5612Var -var p5616Var = "thunk from from >>" -var p5616 = &p5616Var -var p5625Var = "thunk from >" -var p5625 = &p5625Var -var p5629Var = "thunk from from >>" -var p5629 = &p5629Var -var p5637Var = "function " -var p5637 = &p5637Var -var p5666Var = "thunk from >" -var p5666 = &p5666Var -var p5676Var = "thunk from >" -var p5676 = &p5676Var -var p5681Var = "thunk from from >>" -var p5681 = &p5681Var -var p5690Var = "thunk from from >>" -var p5690 = &p5690Var -var p5701Var = "thunk from from >>" -var p5701 = &p5701Var -var p5720Var = "thunk from >" -var p5720 = &p5720Var -var p5724Var = "thunk from from >>" -var p5724 = &p5724Var -var p5733Var = "function " -var p5733 = &p5733Var -var p5765Var = "thunk from >" -var p5765 = &p5765Var -var p5770Var = "thunk from >>" -var p5770 = &p5770Var -var p5781Var = "thunk from >" -var p5781 = &p5781Var -var p5788Var = "thunk from >" -var p5788 = &p5788Var -var p5797Var = "thunk from from >>" -var p5797 = &p5797Var -var p5811Var = "thunk from from >>" -var p5811 = &p5811Var -var p5815Var = "thunk from from >>>" -var p5815 = &p5815Var -var p5824Var = "thunk from >" -var p5824 = &p5824Var -var p5833Var = "thunk from >" -var p5833 = &p5833Var -var p5865Var = "thunk from >" -var p5865 = &p5865Var -var p5869Var = "thunk from from >>" -var p5869 = &p5869Var -var p5879Var = "thunk from >" -var p5879 = &p5879Var -var p5883Var = "thunk from from >>" -var p5883 = &p5883Var -var p5904Var = "function " -var p5904 = &p5904Var -var p5940Var = "thunk from >" -var p5940 = &p5940Var -var p5951Var = "function " -var p5951 = &p5951Var -var p5973Var = "thunk from >" -var p5973 = &p5973Var -var p5990Var = "thunk from >" -var p5990 = &p5990Var -var p6006Var = "thunk from >" -var p6006 = &p6006Var -var p6011Var = "function " -var p6011 = &p6011Var -var p6015Var = "thunk from >" -var p6015 = &p6015Var -var p6027Var = "thunk from >>" -var p6027 = &p6027Var -var p6035Var = "thunk from >" -var p6035 = &p6035Var -var p6047Var = "thunk from >" -var p6047 = &p6047Var -var p6051Var = "thunk from from >>" -var p6051 = &p6051Var -var p6061Var = "thunk from >" -var p6061 = &p6061Var -var p6065Var = "thunk from from >>" -var p6065 = &p6065Var -var p6075Var = "thunk from >" -var p6075 = &p6075Var -var p6079Var = "thunk from from >>" -var p6079 = &p6079Var -var p6087Var = "thunk from >" -var p6087 = &p6087Var -var p6099Var = "thunk from from >>" -var p6099 = &p6099Var -var p6112Var = "thunk from >" -var p6112 = &p6112Var -var p6117Var = "thunk from from >>" -var p6117 = &p6117Var -var p6131Var = "thunk from from >>" -var p6131 = &p6131Var -var p6149Var = "thunk from >" -var p6149 = &p6149Var -var p6153Var = "thunk from from >>" -var p6153 = &p6153Var -var p6165Var = "thunk from >" -var p6165 = &p6165Var -var p6181Var = "thunk from >" -var p6181 = &p6181Var -var p6194Var = "thunk from >" -var p6194 = &p6194Var -var p6199Var = "thunk from from >>" -var p6199 = &p6199Var -var p6218Var = "function " -var p6218 = &p6218Var -var p6247Var = "thunk from >" -var p6247 = &p6247Var -var p6251Var = "thunk from from >>" -var p6251 = &p6251Var -var p6273Var = "thunk from >" -var p6273 = &p6273Var -var p6320Var = "thunk from >" -var p6320 = &p6320Var -var p6330Var = "thunk from >" -var p6330 = &p6330Var -var p6348Var = "thunk from from >>" -var p6348 = &p6348Var -var p6352Var = "thunk from from >>>" -var p6352 = &p6352Var -var p6366Var = "thunk from from >>>" -var p6366 = &p6366Var -var p6370Var = "thunk from from >>>>" -var p6370 = &p6370Var -var p6382Var = "thunk from >" -var p6382 = &p6382Var -var p6387Var = "thunk from from >>" -var p6387 = &p6387Var -var p6399Var = "thunk from from >>>" -var p6399 = &p6399Var -var p6423Var = "thunk from >" -var p6423 = &p6423Var -var p6436Var = "thunk from from >>" -var p6436 = &p6436Var -var p6461Var = "thunk from from >>" -var p6461 = &p6461Var -var p6479Var = "thunk from >" -var p6479 = &p6479Var -var p6483Var = "thunk from from >>" -var p6483 = &p6483Var -var p6491Var = "function " -var p6491 = &p6491Var -var p6499Var = "thunk from >" -var p6499 = &p6499Var -var p6524Var = "thunk from >" -var p6524 = &p6524Var -var p6535Var = "thunk from >" -var p6535 = &p6535Var -var p6542Var = "thunk from >" -var p6542 = &p6542Var -var p6555Var = "thunk from >" -var p6555 = &p6555Var -var p6572Var = "thunk from >" -var p6572 = &p6572Var -var p6588Var = "function " -var p6588 = &p6588Var -var p6604Var = "thunk from >" -var p6604 = &p6604Var -var p6627Var = "thunk from >" -var p6627 = &p6627Var -var p6641Var = "thunk from >" -var p6641 = &p6641Var -var p6664Var = "thunk from >" -var p6664 = &p6664Var -var p6680Var = "thunk from >>" -var p6680 = &p6680Var -var p6684Var = "thunk from >>>" -var p6684 = &p6684Var -var p6728Var = "thunk from >" -var p6728 = &p6728Var -var p6742Var = "thunk from >" -var p6742 = &p6742Var -var p6764Var = "thunk from >" -var p6764 = &p6764Var -var p6777Var = "thunk from >" -var p6777 = &p6777Var -var p6793Var = "thunk from >>" -var p6793 = &p6793Var -var p6797Var = "thunk from >>>" -var p6797 = &p6797Var -var p6844Var = "thunk from >" -var p6844 = &p6844Var -var p6858Var = "thunk from >" -var p6858 = &p6858Var -var p6883Var = "thunk from >" -var p6883 = &p6883Var -var p6887Var = "thunk from >>" -var p6887 = &p6887Var -var p6944Var = "thunk from >" -var p6944 = &p6944Var -var p6958Var = "thunk from >" -var p6958 = &p6958Var -var p6979Var = "thunk from >" -var p6979 = &p6979Var -var p7031Var = "thunk from >" -var p7031 = &p7031Var -var p7045Var = "thunk from >" -var p7045 = &p7045Var -var p7066Var = "thunk from >" -var p7066 = &p7066Var -var p7124Var = "thunk from >" -var p7124 = &p7124Var -var p7138Var = "thunk from >" -var p7138 = &p7138Var -var p7160Var = "thunk from >" -var p7160 = &p7160Var -var p7169Var = "thunk from from >>" -var p7169 = &p7169Var -var p7173Var = "thunk from from >>>" -var p7173 = &p7173Var -var p7187Var = "thunk from from >>>" -var p7187 = &p7187Var -var p7191Var = "thunk from from >>>>" -var p7191 = &p7191Var -var p7218Var = "thunk from >" -var p7218 = &p7218Var -var p7267Var = "thunk from >" -var p7267 = &p7267Var -var p7271Var = "thunk from from >>" -var p7271 = &p7271Var -var p7284Var = "thunk from >" -var p7284 = &p7284Var -var p7351Var = "thunk from >" -var p7351 = &p7351Var -var p7364Var = "thunk from >" -var p7364 = &p7364Var -var p7378Var = "thunk from >" -var p7378 = &p7378Var -var p7393Var = "thunk from >" -var p7393 = &p7393Var -var p7410Var = "thunk from >" -var p7410 = &p7410Var -var p7430Var = "thunk from >" -var p7430 = &p7430Var -var p7479Var = "thunk from >" -var p7479 = &p7479Var -var p7491Var = "function " -var p7491 = &p7491Var -var p7495Var = "thunk from >" -var p7495 = &p7495Var -var p7511Var = "thunk from >" -var p7511 = &p7511Var -var p7532Var = "thunk from >" -var p7532 = &p7532Var -var p7551Var = "thunk from >" -var p7551 = &p7551Var -var p7567Var = "thunk from >" -var p7567 = &p7567Var -var p7577Var = "thunk from >" -var p7577 = &p7577Var -var p7600Var = "thunk from >" -var p7600 = &p7600Var -var p7612Var = "object " -var p7612 = &p7612Var -var p7627Var = "thunk from >" -var p7627 = &p7627Var -var p7648Var = "thunk from >" -var p7648 = &p7648Var -var p7671Var = "object " -var p7671 = &p7671Var -var p7686Var = "thunk from >" -var p7686 = &p7686Var -var p7698Var = "object " -var p7698 = &p7698Var -var p7716Var = "thunk from >" -var p7716 = &p7716Var -var p7743Var = "thunk from >" -var p7743 = &p7743Var -var p7772Var = "object " -var p7772 = &p7772Var -var p7788Var = "thunk from >" -var p7788 = &p7788Var -var p7799Var = "thunk from >" -var p7799 = &p7799Var -var p7803Var = "thunk from from >>" -var p7803 = &p7803Var -var p7831Var = "thunk from from >>" -var p7831 = &p7831Var -var p7848Var = "thunk from >" -var p7848 = &p7848Var -var p7863Var = "thunk from from >>" -var p7863 = &p7863Var -var p7893Var = "thunk from >" -var p7893 = &p7893Var -var p7901Var = "thunk from from >>" -var p7901 = &p7901Var -var p7916Var = "thunk from from >>" -var p7916 = &p7916Var -var p7933Var = "thunk from >" -var p7933 = &p7933Var -var p7958Var = "thunk from >" -var p7958 = &p7958Var -var p7999Var = "thunk from >" -var p7999 = &p7999Var -var p8011Var = "function " -var p8011 = &p8011Var -var p8015Var = "thunk from >" -var p8015 = &p8015Var -var p8028Var = "thunk from >" -var p8028 = &p8028Var -var p8044Var = "thunk from >" -var p8044 = &p8044Var -var p8054Var = "thunk from >" -var p8054 = &p8054Var -var p8075Var = "thunk from >" -var p8075 = &p8075Var -var p8099Var = "thunk from >" -var p8099 = &p8099Var -var p8123Var = "thunk from >" -var p8123 = &p8123Var -var p8150Var = "thunk from >" -var p8150 = &p8150Var -var p8154Var = "thunk from from >>" -var p8154 = &p8154Var -var p8182Var = "thunk from >" -var p8182 = &p8182Var -var p8197Var = "thunk from from >>" -var p8197 = &p8197Var -var p8221Var = "thunk from >" -var p8221 = &p8221Var -var p8229Var = "thunk from from >>" -var p8229 = &p8229Var -var p8241Var = "thunk from from >>" -var p8241 = &p8241Var -var p8256Var = "thunk from >" -var p8256 = &p8256Var -var p8293Var = "thunk from >" -var p8293 = &p8293Var -var p8301Var = "function " -var p8301 = &p8301Var -var p8305Var = "thunk from >" -var p8305 = &p8305Var -var p8314Var = "thunk from >" -var p8314 = &p8314Var -var p8331Var = "thunk from >" -var p8331 = &p8331Var -var p8340Var = "thunk from >" -var p8340 = &p8340Var -var p8353Var = "thunk from >" -var p8353 = &p8353Var -var p8358Var = "thunk from >>" -var p8358 = &p8358Var -var p8451Var = "function " -var p8451 = &p8451Var -var p8464Var = "thunk from >" -var p8464 = &p8464Var -var p8474Var = "thunk from >>" -var p8474 = &p8474Var -var p8492Var = "thunk from >" -var p8492 = &p8492Var -var p8497Var = "function " -var p8497 = &p8497Var -var p8501Var = "thunk from >" -var p8501 = &p8501Var -var p8517Var = "thunk from >>" -var p8517 = &p8517Var -var p8538Var = "function " -var p8538 = &p8538Var -var p8542Var = "thunk from >" -var p8542 = &p8542Var -var p8557Var = "thunk from >" -var p8557 = &p8557Var -var p8566Var = "thunk from >>" -var p8566 = &p8566Var -var p8585Var = "thunk from >" -var p8585 = &p8585Var -var p8590Var = "function " -var p8590 = &p8590Var -var p8594Var = "thunk from >" -var p8594 = &p8594Var -var p8615Var = "function " -var p8615 = &p8615Var -var p8619Var = "thunk from >" -var p8619 = &p8619Var -var p8633Var = "thunk from >" -var p8633 = &p8633Var -var p8650Var = "thunk from >" -var p8650 = &p8650Var -var p8664Var = "thunk from >" -var p8664 = &p8664Var -var p8681Var = "thunk from >" -var p8681 = &p8681Var -var p8695Var = "thunk from >" -var p8695 = &p8695Var -var p8711Var = "thunk from >" -var p8711 = &p8711Var -var p8721Var = "thunk from >>" -var p8721 = &p8721Var -var p8741Var = "function " -var p8741 = &p8741Var -var p8776Var = "function " -var p8776 = &p8776Var -var p8780Var = "thunk from >" -var p8780 = &p8780Var -var p8794Var = "thunk from >" -var p8794 = &p8794Var -var p8829Var = "function " -var p8829 = &p8829Var -var p8833Var = "thunk from >" -var p8833 = &p8833Var -var p8847Var = "thunk from >" -var p8847 = &p8847Var -var p8891Var = "function " -var p8891 = &p8891Var -var p8895Var = "thunk from >" -var p8895 = &p8895Var -var p8909Var = "thunk from >" -var p8909 = &p8909Var -var p8926Var = "thunk from >" -var p8926 = &p8926Var -var p8940Var = "thunk from >" -var p8940 = &p8940Var -var p8976Var = "function " -var p8976 = &p8976Var -var p8980Var = "thunk from >" -var p8980 = &p8980Var -var p8994Var = "thunk from >" -var p8994 = &p8994Var -var p9011Var = "thunk from >" -var p9011 = &p9011Var -var p9025Var = "thunk from >" -var p9025 = &p9025Var -var p9057Var = "function " -var p9057 = &p9057Var -var p9089Var = "function " -var p9089 = &p9089Var -var p9095Var = "function " -var p9095 = &p9095Var -var p9101Var = "thunk from >" -var p9101 = &p9101Var -var p9119Var = "function " -var p9119 = &p9119Var -var p9123Var = "thunk from >" -var p9123 = &p9123Var -var p9138Var = "thunk from >>>" -var p9138 = &p9138Var -var p9149Var = "thunk from >>" -var p9149 = &p9149Var -var p9153Var = "thunk from >>>" -var p9153 = &p9153Var -var p9174Var = "thunk from >>>" -var p9174 = &p9174Var -var p9178Var = "thunk from >>>>" -var p9178 = &p9178Var -var p9200Var = "thunk from >>>" -var p9200 = &p9200Var -var p9204Var = "thunk from >>>>" -var p9204 = &p9204Var -var p9228Var = "thunk from >>" -var p9228 = &p9228Var -var p9234Var = "thunk from >" -var p9234 = &p9234Var -var p9242Var = "function " -var p9242 = &p9242Var -var p9246Var = "thunk from >" -var p9246 = &p9246Var -var p9259Var = "thunk from >" -var p9259 = &p9259Var -var p9263Var = "thunk from >>" -var p9263 = &p9263Var -var p9270Var = "thunk from >" -var p9270 = &p9270Var -var p9279Var = "thunk from >" -var p9279 = &p9279Var -var p9283Var = "thunk from from >>" -var p9283 = &p9283Var -var p9295Var = "thunk from from >>" -var p9295 = &p9295Var -var p9314Var = "thunk from from >>" -var p9314 = &p9314Var -var p9318Var = "thunk from from >>>" -var p9318 = &p9318Var -var p9338Var = "thunk from >" -var p9338 = &p9338Var -var p9345Var = "thunk from from >>" -var p9345 = &p9345Var -var p9355Var = "function " -var p9355 = &p9355Var -var p9359Var = "thunk from >" -var p9359 = &p9359Var -var p9364Var = "thunk from >>" -var p9364 = &p9364Var -var p9374Var = "thunk from >>" -var p9374 = &p9374Var -var p9395Var = "function " -var p9395 = &p9395Var -var p9399Var = "thunk from >" -var p9399 = &p9399Var -var p9414Var = "thunk from >" -var p9414 = &p9414Var -var p9424Var = "thunk from >" -var p9424 = &p9424Var -var p9432Var = "thunk from from >>" -var p9432 = &p9432Var -var p9436Var = "thunk from from >>>" -var p9436 = &p9436Var -var p9442Var = "function " -var p9442 = &p9442Var -var p9456Var = "thunk from >" -var p9456 = &p9456Var -var p9464Var = "thunk from >>" -var p9464 = &p9464Var -var p9468Var = "thunk from >>>" -var p9468 = &p9468Var -var p9483Var = "thunk from >" -var p9483 = &p9483Var -var p9491Var = "thunk from >" -var p9491 = &p9491Var -var p9500Var = "function " -var p9500 = &p9500Var -var p9508Var = "thunk from >" -var p9508 = &p9508Var -var p9515Var = "thunk from >>" -var p9515 = &p9515Var -var p9532Var = "thunk from >" -var p9532 = &p9532Var -var p9544Var = "thunk from >" -var p9544 = &p9544Var -var p9550Var = "thunk from >" -var p9550 = &p9550Var -var p9556Var = "function " -var p9556 = &p9556Var -var p9560Var = "thunk from >" -var p9560 = &p9560Var -var p9571Var = "thunk from >" -var p9571 = &p9571Var -var p9576Var = "thunk from >" -var p9576 = &p9576Var -var p9582Var = "function " -var p9582 = &p9582Var -var p9619Var = "thunk from >" -var p9619 = &p9619Var -var p9637Var = "thunk from >" -var p9637 = &p9637Var -var p9646Var = "thunk from >" -var p9646 = &p9646Var -var p9658Var = "thunk from >" -var p9658 = &p9658Var -var p9678Var = "thunk from >" -var p9678 = &p9678Var -var p9692Var = "thunk from >" -var p9692 = &p9692Var -var p9705Var = "thunk from >" -var p9705 = &p9705Var -var p9709Var = "thunk from from >>" -var p9709 = &p9709Var -var p9720Var = "thunk from from >>>" -var p9720 = &p9720Var -var p9729Var = "thunk from >" -var p9729 = &p9729Var -var p9743Var = "thunk from >" -var p9743 = &p9743Var -var p9755Var = "thunk from from >>" -var p9755 = &p9755Var -var p9768Var = "thunk from >" -var p9768 = &p9768Var -var p9782Var = "thunk from from >>>" -var p9782 = &p9782Var -var p9786Var = "thunk from from >>" -var p9786 = &p9786Var -var p9803Var = "thunk from from >>>>" -var p9803 = &p9803Var -var p9808Var = "thunk from from >>>>>" -var p9808 = &p9808Var -var p9817Var = "thunk from from >>>>>>" -var p9817 = &p9817Var -var p9830Var = "thunk from from >>>" -var p9830 = &p9830Var -var p9843Var = "thunk from from >>" -var p9843 = &p9843Var -var p9861Var = "thunk from >" -var p9861 = &p9861Var -var p9885Var = "thunk from >" -var p9885 = &p9885Var -var p9894Var = "thunk from from >>" -var p9894 = &p9894Var -var p9895Var = "thunk from >" -var p9895 = &p9895Var -var p9907Var = "thunk from from >>>" -var p9907 = &p9907Var -var p9908Var = "thunk from from >>" -var p9908 = &p9908Var -var p9924Var = "thunk from from >>>>" -var p9924 = &p9924Var -var p9929Var = "thunk from from >>>>>" -var p9929 = &p9929Var -var p9938Var = "thunk from from >>>>>>" -var p9938 = &p9938Var -var p9954Var = "thunk from from >>>>>" -var p9954 = &p9954Var -var p9960Var = "thunk from from >>>" -var p9960 = &p9960Var -var p9973Var = "thunk from from >>>" -var p9973 = &p9973Var -var p9981Var = "thunk from from >>" -var p9981 = &p9981Var -var p9995Var = "thunk from >" -var p9995 = &p9995Var -var p10019Var = "thunk from >" -var p10019 = &p10019Var -var p10029Var = "thunk from >" -var p10029 = &p10029Var -var p10044Var = "thunk from from >>" -var p10044 = &p10044Var -var p10049Var = "thunk from from >>>" -var p10049 = &p10049Var -var p10063Var = "thunk from from >>>>" -var p10063 = &p10063Var -var p10068Var = "thunk from from >>>>>" -var p10068 = &p10068Var -var p10077Var = "thunk from from >>>>>>" -var p10077 = &p10077Var -var p10095Var = "thunk from from >>>>>" -var p10095 = &p10095Var -var p10104Var = "thunk from from >>>" -var p10104 = &p10104Var -var p10119Var = "thunk from from >>>" -var p10119 = &p10119Var -var p10138Var = "thunk from >" -var p10138 = &p10138Var -var p10143Var = "thunk from from >>" -var p10143 = &p10143Var -var p10157Var = "thunk from from >>" -var p10157 = &p10157Var -var p10162Var = "thunk from from >>>" -var p10162 = &p10162Var -var p10175Var = "thunk from from >>>" -var p10175 = &p10175Var -var p10184Var = "thunk from from >>>>" -var p10184 = &p10184Var -var p10194Var = "thunk from from >>>>" -var p10194 = &p10194Var -var p10210Var = "thunk from from >>>" -var p10210 = &p10210Var -var p10219Var = "thunk from from >>>>" -var p10219 = &p10219Var -var p10229Var = "thunk from from >>>>" -var p10229 = &p10229Var -var p10253Var = "thunk from from >>" -var p10253 = &p10253Var -var p10264Var = "thunk from from >>" -var p10264 = &p10264Var -var p10268Var = "thunk from from >>>" -var p10268 = &p10268Var -var p10280Var = "function " -var p10280 = &p10280Var -var p10284Var = "thunk from >" -var p10284 = &p10284Var -var p10293Var = "thunk from >" -var p10293 = &p10293Var -var p10299Var = "function " -var p10299 = &p10299Var -var p10303Var = "thunk from >" -var p10303 = &p10303Var -var p10337Var = "thunk from >" -var p10337 = &p10337Var -var p10346Var = "thunk from >>" -var p10346 = &p10346Var -var p10365Var = "thunk from >" -var p10365 = &p10365Var -var p10375Var = "thunk from >" -var p10375 = &p10375Var -var p10379Var = "thunk from from >>" -var p10379 = &p10379Var -var p10390Var = "thunk from from >>>" -var p10390 = &p10390Var -var p10410Var = "thunk from from >>" -var p10410 = &p10410Var -var p10415Var = "thunk from from >>>" -var p10415 = &p10415Var -var p10426Var = "thunk from from >>>>" -var p10426 = &p10426Var -var p10464Var = "thunk from from >>>" -var p10464 = &p10464Var -var p10473Var = "thunk from from >>>>" -var p10473 = &p10473Var -var p10494Var = "thunk from >" -var p10494 = &p10494Var -var p10503Var = "function " -var p10503 = &p10503Var -var p10507Var = "thunk from >" -var p10507 = &p10507Var -var p10516Var = "thunk from >" -var p10516 = &p10516Var -var p10524Var = "function " -var p10524 = &p10524Var -var p10528Var = "thunk from >" -var p10528 = &p10528Var -var p10537Var = "thunk from >" -var p10537 = &p10537Var -var p10553Var = "thunk from >" -var p10553 = &p10553Var -var p10576Var = "thunk from >" -var p10576 = &p10576Var -var p10580Var = "thunk from from >>" -var p10580 = &p10580Var -var p10589Var = "function " -var p10589 = &p10589Var -var p10650Var = "thunk from >" -var p10650 = &p10650Var -var p10654Var = "thunk from from >>" -var p10654 = &p10654Var -var p10689Var = "thunk from >" -var p10689 = &p10689Var -var p10717Var = "thunk from >" -var p10717 = &p10717Var -var p10728Var = "function " -var p10728 = &p10728Var -var p10737Var = "thunk from >" -var p10737 = &p10737Var -var p10750Var = "thunk from >>" -var p10750 = &p10750Var -var p10754Var = "thunk from >>>" -var p10754 = &p10754Var -var p10768Var = "thunk from >>" -var p10768 = &p10768Var -var p10788Var = "function " -var p10788 = &p10788Var -var p10792Var = "thunk from >" -var p10792 = &p10792Var -var p10806Var = "thunk from >" -var p10806 = &p10806Var -var p10810Var = "thunk from from >>" -var p10810 = &p10810Var -var p10819Var = "function " -var p10819 = &p10819Var -var p10832Var = "thunk from >" -var p10832 = &p10832Var -var p10842Var = "function " -var p10842 = &p10842Var -var p10851Var = "thunk from >" -var p10851 = &p10851Var -var p10864Var = "thunk from >>" -var p10864 = &p10864Var -var p10868Var = "thunk from >>>" -var p10868 = &p10868Var -var p10882Var = "thunk from >>" -var p10882 = &p10882Var -var p10903Var = "thunk from >" -var p10903 = &p10903Var -var p10907Var = "thunk from from >>" -var p10907 = &p10907Var -var p10916Var = "function " -var p10916 = &p10916Var -var p10929Var = "thunk from >" -var p10929 = &p10929Var -var p10936Var = "function " -var p10936 = &p10936Var -var p10943Var = "function " -var p10943 = &p10943Var -var p10947Var = "thunk from >" -var p10947 = &p10947Var -var p10954Var = "thunk from >" -var p10954 = &p10954Var -var p10964Var = "thunk from >>" -var p10964 = &p10964Var -var p10982Var = "function " -var p10982 = &p10982Var -var p10986Var = "thunk from >" -var p10986 = &p10986Var -var p10999Var = "function " -var p10999 = &p10999Var -var p11003Var = "thunk from >" -var p11003 = &p11003Var -var p11019Var = "function " -var p11019 = &p11019Var -var p11050Var = "thunk from >" -var p11050 = &p11050Var -var p11068Var = "thunk from >" -var p11068 = &p11068Var -var p11080Var = "thunk from >" -var p11080 = &p11080Var -var p11092Var = "thunk from >" -var p11092 = &p11092Var -var p11112Var = "thunk from >" -var p11112 = &p11112Var -var p11122Var = "thunk from >" -var p11122 = &p11122Var -var p11126Var = "thunk from from >>" -var p11126 = &p11126Var -var p11137Var = "thunk from from >>>" -var p11137 = &p11137Var -var p11146Var = "thunk from >" -var p11146 = &p11146Var -var p11158Var = "thunk from from >>" -var p11158 = &p11158Var -var p11166Var = "thunk from >" -var p11166 = &p11166Var -var p11180Var = "thunk from from >>>" -var p11180 = &p11180Var -var p11184Var = "thunk from from >>" -var p11184 = &p11184Var -var p11201Var = "thunk from from >>>>" -var p11201 = &p11201Var -var p11206Var = "thunk from from >>>>>" -var p11206 = &p11206Var -var p11215Var = "thunk from from >>>>>>" -var p11215 = &p11215Var -var p11228Var = "thunk from from >>>" -var p11228 = &p11228Var -var p11241Var = "thunk from from >>" -var p11241 = &p11241Var -var p11259Var = "thunk from >" -var p11259 = &p11259Var -var p11278Var = "thunk from >" -var p11278 = &p11278Var -var p11288Var = "thunk from from >>" -var p11288 = &p11288Var -var p11296Var = "thunk from >" -var p11296 = &p11296Var -var p11310Var = "thunk from from >>>" -var p11310 = &p11310Var -var p11314Var = "thunk from from >>" -var p11314 = &p11314Var -var p11331Var = "thunk from from >>>>" -var p11331 = &p11331Var -var p11336Var = "thunk from from >>>>>" -var p11336 = &p11336Var -var p11345Var = "thunk from from >>>>>>" -var p11345 = &p11345Var -var p11370Var = "thunk from from >>>>>" -var p11370 = &p11370Var -var p11384Var = "thunk from from >>>" -var p11384 = &p11384Var -var p11397Var = "thunk from from >>>" -var p11397 = &p11397Var -var p11406Var = "thunk from from >>" -var p11406 = &p11406Var -var p11424Var = "thunk from >" -var p11424 = &p11424Var -var p11448Var = "thunk from >" -var p11448 = &p11448Var -var p11453Var = "function " -var p11453 = &p11453Var -var p11457Var = "thunk from >" -var p11457 = &p11457Var -var p11480Var = "function " -var p11480 = &p11480Var -var p11484Var = "thunk from >" -var p11484 = &p11484Var -var p11499Var = "thunk from >" -var p11499 = &p11499Var -var p11503Var = "thunk from >>" -var p11503 = &p11503Var -var p11517Var = "thunk from >" -var p11517 = &p11517Var -var p11529Var = "thunk from from >>" -var p11529 = &p11529Var -var p11550Var = "thunk from >" -var p11550 = &p11550Var -var p11568Var = "thunk from >" -var p11568 = &p11568Var -var p11572Var = "thunk from from >>" -var p11572 = &p11572Var -var p11581Var = "thunk from from >>" -var p11581 = &p11581Var -var p11594Var = "function " -var p11594 = &p11594Var -var p11603Var = "thunk from >" -var p11603 = &p11603Var -var p11621Var = "thunk from >" -var p11621 = &p11621Var -var p11631Var = "function " -var p11631 = &p11631Var -var p11643Var = "thunk from >" -var p11643 = &p11643Var -var p11660Var = "thunk from >" -var p11660 = &p11660Var -var p11675Var = "thunk from >" -var p11675 = &p11675Var -var p11687Var = "thunk from >" -var p11687 = &p11687Var -var p11695Var = "thunk from from >>" -var p11695 = &p11695Var -var p11699Var = "thunk from from >>>" -var p11699 = &p11699Var -var p11709Var = "thunk from >" -var p11709 = &p11709Var -var p11717Var = "thunk from from >>" -var p11717 = &p11717Var -var p11721Var = "thunk from from >>>" -var p11721 = &p11721Var -var p11731Var = "thunk from >" -var p11731 = &p11731Var -var p11740Var = "thunk from from >>" -var p11740 = &p11740Var -var p11744Var = "thunk from from >>>" -var p11744 = &p11744Var -var p11757Var = "thunk from >" -var p11757 = &p11757Var -var p11766Var = "thunk from from >>" -var p11766 = &p11766Var -var p11770Var = "thunk from from >>>" -var p11770 = &p11770Var -var p11783Var = "thunk from >" -var p11783 = &p11783Var -var p11792Var = "thunk from from >>" -var p11792 = &p11792Var -var p11796Var = "thunk from from >>>" -var p11796 = &p11796Var -var p11809Var = "thunk from >" -var p11809 = &p11809Var -var p11818Var = "thunk from from >>" -var p11818 = &p11818Var -var p11822Var = "thunk from from >>>" -var p11822 = &p11822Var -var p11835Var = "thunk from >" -var p11835 = &p11835Var -var p11844Var = "thunk from from >>" -var p11844 = &p11844Var -var p11848Var = "thunk from from >>>" -var p11848 = &p11848Var -var p11861Var = "thunk from >" -var p11861 = &p11861Var -var p11866Var = "thunk from from >>" -var p11866 = &p11866Var -var p11879Var = "thunk from >" -var p11879 = &p11879Var -var p11883Var = "thunk from from >>" -var p11883 = &p11883Var -var p11893Var = "thunk from >" -var p11893 = &p11893Var -var p11897Var = "thunk from from >>" -var p11897 = &p11897Var -var p11907Var = "thunk from >" -var p11907 = &p11907Var -var p11911Var = "thunk from from >>" -var p11911 = &p11911Var -var p11921Var = "thunk from >" -var p11921 = &p11921Var -var p11929Var = "thunk from from >>" -var p11929 = &p11929Var -var p11933Var = "thunk from from >>>" -var p11933 = &p11933Var -var p11941Var = "function " -var p11941 = &p11941Var -var p11945Var = "thunk from >" -var p11945 = &p11945Var -var p11959Var = "thunk from >" -var p11959 = &p11959Var -var p11980Var = "thunk from >" -var p11980 = &p11980Var -var p11984Var = "thunk from >>" -var p11984 = &p11984Var -var p11995Var = "thunk from >" -var p11995 = &p11995Var -var p12020Var = "thunk from >" -var p12020 = &p12020Var -var p12024Var = "thunk from >>" -var p12024 = &p12024Var -var p12035Var = "thunk from >" -var p12035 = &p12035Var -var p12051Var = "thunk from >" -var p12051 = &p12051Var -var p12066Var = "thunk from >" -var p12066 = &p12066Var -var p12075Var = "thunk from >" -var p12075 = &p12075Var -var p12102Var = "thunk from >" -var p12102 = &p12102Var -var p12106Var = "thunk from >>" -var p12106 = &p12106Var -var p12127Var = "thunk from >" -var p12127 = &p12127Var -var p12131Var = "thunk from >>" -var p12131 = &p12131Var -var p12152Var = "thunk from >" -var p12152 = &p12152Var -var p12156Var = "thunk from >>" -var p12156 = &p12156Var -var p12167Var = "thunk from >" -var p12167 = &p12167Var -var p12187Var = "thunk from >" -var p12187 = &p12187Var -var p12202Var = "thunk from >" -var p12202 = &p12202Var -var p12221Var = "thunk from >" -var p12221 = &p12221Var -var p12225Var = "thunk from >>" -var p12225 = &p12225Var -var p12236Var = "thunk from >" -var p12236 = &p12236Var -var p12299Var = "thunk from >" -var p12299 = &p12299Var -var p12307Var = "function " -var p12307 = &p12307Var -var p12311Var = "thunk from >" -var p12311 = &p12311Var -var p12324Var = "thunk from >" -var p12324 = &p12324Var -var p12330Var = "thunk from >" -var p12330 = &p12330Var -var p12338Var = "function " -var p12338 = &p12338Var -var p12369Var = "thunk from >" -var p12369 = &p12369Var -var p12387Var = "thunk from >" -var p12387 = &p12387Var -var p12397Var = "thunk from >" -var p12397 = &p12397Var -var p12401Var = "thunk from from >>" -var p12401 = &p12401Var -var p12432Var = "thunk from >" -var p12432 = &p12432Var -var p12436Var = "thunk from from >>" -var p12436 = &p12436Var -var p12450Var = "thunk from >" -var p12450 = &p12450Var -var p12478Var = "thunk from >>" -var p12478 = &p12478Var -var p12487Var = "thunk from >>" -var p12487 = &p12487Var -var p12501Var = "thunk from >" -var p12501 = &p12501Var -var p12520Var = "thunk from >" -var p12520 = &p12520Var -var p12540Var = "thunk from >" -var p12540 = &p12540Var -var p12554Var = "thunk from >" -var p12554 = &p12554Var -var p12567Var = "function " -var p12567 = &p12567Var -var p12576Var = "thunk from >" -var p12576 = &p12576Var -var p12588Var = "thunk from >" -var p12588 = &p12588Var -var p12597Var = "object " -var p12597 = &p12597Var -var p12620Var = "thunk from >" -var p12620 = &p12620Var -var p12632Var = "thunk from >" -var p12632 = &p12632Var -var p12641Var = "object " -var p12641 = &p12641Var -var p12652Var = "object " -var p12652 = &p12652Var -var p12661Var = "thunk from >" -var p12661 = &p12661Var -var p12670Var = "thunk from >" -var p12670 = &p12670Var -var p12674Var = "thunk from from >>" -var p12674 = &p12674Var -var p12685Var = "thunk from from >>>" -var p12685 = &p12685Var -var p12713Var = "thunk from from >>" -var p12713 = &p12713Var -var p12718Var = "thunk from from >>>" -var p12718 = &p12718Var -var p12727Var = "thunk from from >>>>" -var p12727 = &p12727Var -var p12756Var = "thunk from from >>" -var p12756 = &p12756Var -var p12761Var = "thunk from from >>>" -var p12761 = &p12761Var -var p12767Var = "thunk from >" -var p12767 = &p12767Var -var p12785Var = "thunk from >" -var p12785 = &p12785Var -var p12810Var = "thunk from >" -var p12810 = &p12810Var -var p12824Var = "thunk from >" -var p12824 = &p12824Var -var p12837Var = "function " -var p12837 = &p12837Var -var p12846Var = "thunk from >" -var p12846 = &p12846Var -var p12858Var = "thunk from >" -var p12858 = &p12858Var -var p12867Var = "object " -var p12867 = &p12867Var -var p12896Var = "thunk from >" -var p12896 = &p12896Var -var p12908Var = "thunk from >" -var p12908 = &p12908Var -var p12917Var = "object " -var p12917 = &p12917Var -var p12932Var = "object " -var p12932 = &p12932Var -var p12941Var = "thunk from >" -var p12941 = &p12941Var -var p12966Var = "thunk from from >>" -var p12966 = &p12966Var -var p12971Var = "thunk from from >>>" -var p12971 = &p12971Var -var p12980Var = "thunk from from >>>>" -var p12980 = &p12980Var -var p13011Var = "thunk from from >>>" -var p13011 = &p13011Var -var p13019Var = "thunk from from >>>" -var p13019 = &p13019Var -var p13033Var = "thunk from from >>" -var p13033 = &p13033Var -var p13038Var = "thunk from from >>>" -var p13038 = &p13038Var -var p13044Var = "thunk from >" -var p13044 = &p13044Var -var p13057Var = "thunk from from >>" -var p13057 = &p13057Var -var p13071Var = "thunk from >" -var p13071 = &p13071Var -var p13103Var = "thunk from >" -var p13103 = &p13103Var -var p13108Var = "function " -var p13108 = &p13108Var -var p13112Var = "thunk from >" -var p13112 = &p13112Var -var p13142Var = "function " -var p13142 = &p13142Var -var p13146Var = "thunk from >" -var p13146 = &p13146Var -var p13160Var = "thunk from >" -var p13160 = &p13160Var -var p13184Var = "thunk from >" -var p13184 = &p13184Var -var p13200Var = "thunk from >>" -var p13200 = &p13200Var -var p13204Var = "thunk from >>>" -var p13204 = &p13204Var -var p13239Var = "function " -var p13239 = &p13239Var -var p13243Var = "thunk from >" -var p13243 = &p13243Var -var p13267Var = "thunk from from >>" -var p13267 = &p13267Var -var p13275Var = "thunk from from >>>" -var p13275 = &p13275Var -var p13279Var = "thunk from from >>>>" -var p13279 = &p13279Var -var p13291Var = "thunk from from >>>>" -var p13291 = &p13291Var -var p13307Var = "thunk from >" -var p13307 = &p13307Var -var p13311Var = "thunk from from >>" -var p13311 = &p13311Var -var p13331Var = "thunk from >" -var p13331 = &p13331Var -var p13335Var = "thunk from >>" -var p13335 = &p13335Var -var p13352Var = "thunk from >" -var p13352 = &p13352Var -var p13371Var = "thunk from >" -var p13371 = &p13371Var -var p13375Var = "thunk from >>" -var p13375 = &p13375Var -var p13391Var = "thunk from >>>" -var p13391 = &p13391Var -var p13395Var = "thunk from >>>>" -var p13395 = &p13395Var -var p13416Var = "thunk from >" -var p13416 = &p13416Var -var p13435Var = "thunk from >" -var p13435 = &p13435Var -var p13439Var = "thunk from >>" -var p13439 = &p13439Var -var p13453Var = "thunk from >" -var p13453 = &p13453Var -var p13468Var = "thunk from >" -var p13468 = &p13468Var -var p13480Var = "thunk from >" -var p13480 = &p13480Var -var p13548Var = "thunk from from >>" -var p13548 = &p13548Var -var p13552Var = "thunk from from >>>" -var p13552 = &p13552Var -var p13563Var = "thunk from from >>>>" -var p13563 = &p13563Var -var p13579Var = "thunk from >" -var p13579 = &p13579Var -var p13583Var = "thunk from from >>" -var p13583 = &p13583Var -var p13593Var = "function " -var p13593 = &p13593Var -var p13597Var = "thunk from >" -var p13597 = &p13597Var -var p13602Var = "thunk from >>" -var p13602 = &p13602Var -var p13620Var = "function " -var p13620 = &p13620Var -var p13624Var = "thunk from >" -var p13624 = &p13624Var -var p13645Var = "thunk from >" -var p13645 = &p13645Var -var p13660Var = "function " -var p13660 = &p13660Var -var p13664Var = "thunk from >" -var p13664 = &p13664Var -var p13674Var = "thunk from >" -var p13674 = &p13674Var -var p13686Var = "thunk from >" -var p13686 = &p13686Var -var p13691Var = "thunk from from >>" -var p13691 = &p13691Var -var p13706Var = "thunk from from >>" -var p13706 = &p13706Var -var p13715Var = "thunk from >" -var p13715 = &p13715Var -var p13728Var = "thunk from >" -var p13728 = &p13728Var -var p13765Var = "thunk from >" -var p13765 = &p13765Var -var p13769Var = "thunk from from >>" -var p13769 = &p13769Var -var p13788Var = "thunk from from >>>" -var p13788 = &p13788Var -var p13792Var = "thunk from from >>>>" -var p13792 = &p13792Var -var p13813Var = "thunk from from >>>" -var p13813 = &p13813Var -var p13829Var = "thunk from >>" -var p13829 = &p13829Var -var p13847Var = "thunk from >>>" -var p13847 = &p13847Var -var p13851Var = "thunk from >>>>" -var p13851 = &p13851Var -var p13864Var = "thunk from >" -var p13864 = &p13864Var -var p13881Var = "thunk from >" -var p13881 = &p13881Var -var p13889Var = "thunk from >" -var p13889 = &p13889Var -var p13909Var = "thunk from >" -var p13909 = &p13909Var -var p13913Var = "thunk from from >>" -var p13913 = &p13913Var -var p13928Var = "thunk from from >>" -var p13928 = &p13928Var -var p13949Var = "function " -var p13949 = &p13949Var -var p13953Var = "thunk from >" -var p13953 = &p13953Var -var p13972Var = "thunk from >" -var p13972 = &p13972Var -var p13986Var = "thunk from >" -var p13986 = &p13986Var -var p14032Var = "thunk from >" -var p14032 = &p14032Var -var p14058Var = "thunk from >" -var p14058 = &p14058Var -var p14072Var = "thunk from >" -var p14072 = &p14072Var -var p14158Var = "thunk from >" -var p14158 = &p14158Var -var p14181Var = "thunk from >" -var p14181 = &p14181Var -var p14298Var = "thunk from >" -var p14298 = &p14298Var -var p14322Var = "thunk from >" -var p14322 = &p14322Var -var p14331Var = "thunk from >" -var p14331 = &p14331Var -var p14346Var = "thunk from from >>>" -var p14346 = &p14346Var -var p14353Var = "thunk from from >>" -var p14353 = &p14353Var -var p14360Var = "function " -var p14360 = &p14360Var -var p14372Var = "thunk from >" -var p14372 = &p14372Var -var p14393Var = "function " -var p14393 = &p14393Var -var p14409Var = "thunk from >" -var p14409 = &p14409Var -var p14439Var = "function " -var p14439 = &p14439Var -var p14443Var = "thunk from >" -var p14443 = &p14443Var -var p14459Var = "thunk from from >>" -var p14459 = &p14459Var -var p14488Var = "thunk from >" -var p14488 = &p14488Var -var p14495Var = "thunk from >" -var p14495 = &p14495Var -var p14512Var = "thunk from from >>" -var p14512 = &p14512Var -var p14556Var = "thunk from >" -var p14556 = &p14556Var -var p14573Var = "thunk from from >>" -var p14573 = &p14573Var -var p14615Var = "thunk from >" -var p14615 = &p14615Var -var p14650Var = "thunk from >" -var p14650 = &p14650Var -var p14658Var = "thunk from >" -var p14658 = &p14658Var -var p14679Var = "thunk from >" -var p14679 = &p14679Var -var p14683Var = "thunk from from >>" -var p14683 = &p14683Var -var p14692Var = "function " -var p14692 = &p14692Var -var p14696Var = "thunk from >" -var p14696 = &p14696Var -var p14708Var = "thunk from >>" -var p14708 = &p14708Var -var p14727Var = "thunk from >" -var p14727 = &p14727Var -var p14731Var = "thunk from from >>" -var p14731 = &p14731Var -var p14740Var = "function " -var p14740 = &p14740Var -var p14744Var = "thunk from >" -var p14744 = &p14744Var -var p14749Var = "function " -var p14749 = &p14749Var -var p14780Var = "thunk from >" -var p14780 = &p14780Var -var p14784Var = "thunk from from >>" -var p14784 = &p14784Var -var p14790Var = "function " -var p14790 = &p14790Var -var p14799Var = "thunk from >" -var p14799 = &p14799Var -var p14809Var = "thunk from >" -var p14809 = &p14809Var -var p14814Var = "thunk from >" -var p14814 = &p14814Var -var p14819Var = "thunk from from >>" -var p14819 = &p14819Var -var p14832Var = "thunk from >" -var p14832 = &p14832Var -var p14837Var = "thunk from from >>" -var p14837 = &p14837Var -var p14845Var = "function " -var p14845 = &p14845Var -var p14876Var = "thunk from >" -var p14876 = &p14876Var -var p14882Var = "function " -var p14882 = &p14882Var -var p14889Var = "thunk from >" -var p14889 = &p14889Var -var p14894Var = "thunk from from >>" -var p14894 = &p14894Var -var p14906Var = "thunk from >" -var p14906 = &p14906Var -var p14912Var = "function " -var p14912 = &p14912Var -var p14919Var = "thunk from >" -var p14919 = &p14919Var -var p14924Var = "thunk from from >>" -var p14924 = &p14924Var -var p14935Var = "thunk from >" -var p14935 = &p14935Var -var p14945Var = "thunk from >" -var p14945 = &p14945Var -var p14957Var = "thunk from >" -var p14957 = &p14957Var -var p14982Var = "thunk from >" -var p14982 = &p14982Var -var p14994Var = "thunk from >" -var p14994 = &p14994Var -var p14998Var = "thunk from from >>" -var p14998 = &p14998Var -var p15006Var = "thunk from >" -var p15006 = &p15006Var -var p15010Var = "thunk from from >>" -var p15010 = &p15010Var -var p15019Var = "function " -var p15019 = &p15019Var -var p15077Var = "thunk from >" -var p15077 = &p15077Var -var p15089Var = "thunk from >" -var p15089 = &p15089Var -var p15103Var = "thunk from >" -var p15103 = &p15103Var -var p15114Var = "thunk from >>" -var p15114 = &p15114Var -var p15130Var = "thunk from >" -var p15130 = &p15130Var -var p15142Var = "thunk from >>" -var p15142 = &p15142Var -var p15161Var = "thunk from >" -var p15161 = &p15161Var -var p15166Var = "function " -var p15166 = &p15166Var -var p15170Var = "thunk from >" -var p15170 = &p15170Var -var p15179Var = "thunk from >" -var p15179 = &p15179Var -var p15188Var = "thunk from >" -var p15188 = &p15188Var -var p15192Var = "thunk from from >>" -var p15192 = &p15192Var -var p15198Var = "function " -var p15198 = &p15198Var -var p15207Var = "thunk from >" -var p15207 = &p15207Var -var p15217Var = "thunk from >" -var p15217 = &p15217Var -var p15230Var = "thunk from >" -var p15230 = &p15230Var -var p15235Var = "thunk from from >>" -var p15235 = &p15235Var -var p15250Var = "thunk from >" -var p15250 = &p15250Var -var p15265Var = "thunk from >" -var p15265 = &p15265Var -var p15282Var = "thunk from >" -var p15282 = &p15282Var -var p15286Var = "thunk from >>" -var p15286 = &p15286Var -var p15300Var = "thunk from >>" -var p15300 = &p15300Var -var p15332Var = "function " -var p15332 = &p15332Var -var p15341Var = "thunk from >" -var p15341 = &p15341Var -var p15348Var = "thunk from >" -var p15348 = &p15348Var -var p15359Var = "thunk from >" -var p15359 = &p15359Var -var p15368Var = "thunk from >" -var p15368 = &p15368Var -var p15380Var = "thunk from >>" -var p15380 = &p15380Var -var p15394Var = "thunk from >" -var p15394 = &p15394Var -var p15407Var = "thunk from >" -var p15407 = &p15407Var -var p15415Var = "function " -var p15415 = &p15415Var -var p15419Var = "thunk from >" -var p15419 = &p15419Var -var p15439Var = "function " -var p15439 = &p15439Var -var p15447Var = "thunk from >" -var p15447 = &p15447Var -var p15451Var = "thunk from >>" -var p15451 = &p15451Var -var p15467Var = "function " -var p15467 = &p15467Var -var p15482Var = "thunk from >" -var p15482 = &p15482Var -var p15488Var = "thunk from >>>" -var p15488 = &p15488Var -var p15490Var = "thunk from >>" -var p15490 = &p15490Var -var p15515Var = "function " -var p15515 = &p15515Var -var p15519Var = "thunk from >" -var p15519 = &p15519Var -var p15554Var = "thunk from >" -var p15554 = &p15554Var -var p15583Var = "thunk from >" -var p15583 = &p15583Var -var p15588Var = "thunk from from >>" -var p15588 = &p15588Var -var p15598Var = "thunk from >" -var p15598 = &p15598Var -var p15603Var = "thunk from from >>" -var p15603 = &p15603Var -var p15622Var = "thunk from >" -var p15622 = &p15622Var -var p15641Var = "thunk from >>" -var p15641 = &p15641Var -var p15664Var = "thunk from >" -var p15664 = &p15664Var -var p15680Var = "thunk from >>" -var p15680 = &p15680Var -var p15696Var = "thunk from >" -var p15696 = &p15696Var -var p15712Var = "thunk from >>" -var p15712 = &p15712Var -var p15737Var = "thunk from >" -var p15737 = &p15737Var -var p15742Var = "function " -var p15742 = &p15742Var -var p15746Var = "thunk from >" -var p15746 = &p15746Var -var p15774Var = "function " -var p15774 = &p15774Var -var p15778Var = "thunk from >" -var p15778 = &p15778Var -var p15793Var = "thunk from >" -var p15793 = &p15793Var -var p15811Var = "thunk from >" -var p15811 = &p15811Var -var p15823Var = "thunk from >" -var p15823 = &p15823Var -var p15836Var = "thunk from >" -var p15836 = &p15836Var -var p15855Var = "thunk from >>" -var p15855 = &p15855Var -var p15873Var = "thunk from >" -var p15873 = &p15873Var -var p15885Var = "thunk from >" -var p15885 = &p15885Var -var p15898Var = "thunk from >" -var p15898 = &p15898Var -var p15918Var = "thunk from >" -var p15918 = &p15918Var -var p15941Var = "thunk from >" -var p15941 = &p15941Var -var p15946Var = "function " -var p15946 = &p15946Var -var p15950Var = "thunk from >" -var p15950 = &p15950Var -var p15976Var = "function " -var p15976 = &p15976Var -var p15980Var = "thunk from >" -var p15980 = &p15980Var -var p15999Var = "thunk from >" -var p15999 = &p15999Var -var p16032Var = "thunk from >" -var p16032 = &p16032Var -var p16044Var = "thunk from >" -var p16044 = &p16044Var -var p16057Var = "thunk from >" -var p16057 = &p16057Var -var p16082Var = "thunk from >" -var p16082 = &p16082Var -var p16094Var = "thunk from >" -var p16094 = &p16094Var -var p16107Var = "thunk from >" -var p16107 = &p16107Var -var p16123Var = "thunk from >>" -var p16123 = &p16123Var -var p16139Var = "thunk from >" -var p16139 = &p16139Var -var p16164Var = "thunk from >" -var p16164 = &p16164Var -var p16169Var = "function " -var p16169 = &p16169Var -var p16173Var = "thunk from >" -var p16173 = &p16173Var -var p16195Var = "function " -var p16195 = &p16195Var -var p16199Var = "thunk from >" -var p16199 = &p16199Var -var p16210Var = "thunk from >" -var p16210 = &p16210Var -var p16214Var = "thunk from from >>" -var p16214 = &p16214Var -var p16230Var = "thunk from >" -var p16230 = &p16230Var -var p16234Var = "thunk from from >>" -var p16234 = &p16234Var -var p16245Var = "thunk from from >>" -var p16245 = &p16245Var -var p16264Var = "thunk from >" -var p16264 = &p16264Var -var p16275Var = "thunk from from >>" -var p16275 = &p16275Var -var p16290Var = "thunk from from >>" -var p16290 = &p16290Var -var p16301Var = "thunk from >" -var p16301 = &p16301Var -var p16305Var = "thunk from from >>" -var p16305 = &p16305Var -var p16315Var = "thunk from from >>>" -var p16315 = &p16315Var -var p16347Var = "object " -var p16347 = &p16347Var -var p16351Var = "thunk from >" -var p16351 = &p16351Var -var p16374Var = "thunk from >" -var p16374 = &p16374Var -var p16389Var = "thunk from >" -var p16389 = &p16389Var -var p16407Var = "thunk from >" -var p16407 = &p16407Var -var p16437Var = "thunk from >" -var p16437 = &p16437Var -var p16468Var = "function " -var p16468 = &p16468Var -var p16472Var = "thunk from >" -var p16472 = &p16472Var -var p16501Var = "function " -var p16501 = &p16501Var -var p16505Var = "thunk from >" -var p16505 = &p16505Var -var p16519Var = "function " -var p16519 = &p16519Var -var p16523Var = "thunk from >" -var p16523 = &p16523Var -var p16537Var = "function " -var p16537 = &p16537Var -var p16541Var = "thunk from >" -var p16541 = &p16541Var -var p16557Var = "function " -var p16557 = &p16557Var -var p16561Var = "thunk from >" -var p16561 = &p16561Var -var p16583Var = "thunk from >" -var p16583 = &p16583Var -var p16596Var = "function " -var p16596 = &p16596Var -var p16600Var = "thunk from >" -var p16600 = &p16600Var -var p16620Var = "thunk from >" -var p16620 = &p16620Var -var p16633Var = "function " -var p16633 = &p16633Var -var p16637Var = "thunk from >" -var p16637 = &p16637Var -var p16652Var = "thunk from >" -var p16652 = &p16652Var -var p16656Var = "thunk from from >>" -var p16656 = &p16656Var -var p16666Var = "thunk from >" -var p16666 = &p16666Var -var p16670Var = "thunk from from >>" -var p16670 = &p16670Var -var p16680Var = "function " -var p16680 = &p16680Var -var p16684Var = "thunk from >" -var p16684 = &p16684Var -var p16701Var = "thunk from >" -var p16701 = &p16701Var -var p16712Var = "thunk from >" -var p16712 = &p16712Var -var p16716Var = "thunk from from >>" -var p16716 = &p16716Var -var p16729Var = "thunk from >" -var p16729 = &p16729Var -var p16739Var = "thunk from >>" -var p16739 = &p16739Var -var p16752Var = "function " -var p16752 = &p16752Var -var p16782Var = "thunk from >" -var p16782 = &p16782Var -var p16798Var = "thunk from >" -var p16798 = &p16798Var -var p16806Var = "thunk from >" -var p16806 = &p16806Var -var p16828Var = "thunk from >" -var p16828 = &p16828Var -var p16839Var = "thunk from >" -var p16839 = &p16839Var -var p16843Var = "thunk from from >>" -var p16843 = &p16843Var -var p16853Var = "thunk from >" -var p16853 = &p16853Var -var p16857Var = "thunk from from >>" -var p16857 = &p16857Var -var p16870Var = "thunk from >" -var p16870 = &p16870Var -var p16884Var = "function " -var p16884 = &p16884Var -var p16896Var = "thunk from >" -var p16896 = &p16896Var -var p16924Var = "thunk from >" -var p16924 = &p16924Var -var p16940Var = "thunk from >" -var p16940 = &p16940Var -var p16948Var = "thunk from >" -var p16948 = &p16948Var -var p16972Var = "thunk from >" -var p16972 = &p16972Var -var p17000Var = "thunk from >" -var p17000 = &p17000Var -var p17004Var = "thunk from from >>" -var p17004 = &p17004Var -var p17014Var = "function " -var p17014 = &p17014Var -var p17018Var = "thunk from >" -var p17018 = &p17018Var -var p17023Var = "thunk from >>" -var p17023 = &p17023Var -var p17035Var = "thunk from >>" -var p17035 = &p17035Var -var p17044Var = "thunk from >>>" -var p17044 = &p17044Var -var p17051Var = "function " -var p17051 = &p17051Var -var p17073Var = "function " -var p17073 = &p17073Var -var p17088Var = "thunk from >" -var p17088 = &p17088Var -var p17102Var = "thunk from >" -var p17102 = &p17102Var -var p17115Var = "thunk from >" -var p17115 = &p17115Var -var p17129Var = "thunk from >" -var p17129 = &p17129Var -var p17143Var = "thunk from >" -var p17143 = &p17143Var -var p17151Var = "function " -var p17151 = &p17151Var -var p17155Var = "thunk from >" -var p17155 = &p17155Var -var p17176Var = "thunk from >" -var p17176 = &p17176Var -var p17180Var = "thunk from >>" -var p17180 = &p17180Var -var p17191Var = "thunk from >" -var p17191 = &p17191Var -var p17195Var = "thunk from >>" -var p17195 = &p17195Var -var p17215Var = "thunk from >" -var p17215 = &p17215Var -var p17243Var = "thunk from >" -var p17243 = &p17243Var -var p17248Var = "thunk from >>" -var p17248 = &p17248Var -var p17266Var = "object " -var p17266 = &p17266Var -var p17271Var = "thunk from >" -var p17271 = &p17271Var -var p17291Var = "thunk from >" -var p17291 = &p17291Var -var p17316Var = "function " -var p17316 = &p17316Var -var p17320Var = "thunk from >" -var p17320 = &p17320Var -var p17334Var = "thunk from >" -var p17334 = &p17334Var -var p17351Var = "thunk from >" -var p17351 = &p17351Var -var p17365Var = "thunk from >" -var p17365 = &p17365Var -var p17379Var = "thunk from >" -var p17379 = &p17379Var -var p17383Var = "thunk from from >>" -var p17383 = &p17383Var -var p17393Var = "thunk from >" -var p17393 = &p17393Var -var p17397Var = "thunk from from >>" -var p17397 = &p17397Var -var p17434Var = "function " -var p17434 = &p17434Var -var p17457Var = "thunk from >" -var p17457 = &p17457Var -var p17467Var = "thunk from >>" -var p17467 = &p17467Var -var p17499Var = "function " -var p17499 = &p17499Var -var p17503Var = "thunk from >" -var p17503 = &p17503Var -var p17517Var = "thunk from >" -var p17517 = &p17517Var -var p17535Var = "function " -var p17535 = &p17535Var -var p17545Var = "thunk from >" -var p17545 = &p17545Var -var p17555Var = "thunk from >>" -var p17555 = &p17555Var -var p17566Var = "thunk from >>>" -var p17566 = &p17566Var -var p17585Var = "function " -var p17585 = &p17585Var -var p17589Var = "thunk from >" -var p17589 = &p17589Var -var p17599Var = "thunk from >" -var p17599 = &p17599Var -var p17603Var = "thunk from from >>" -var p17603 = &p17603Var -var p17612Var = "function " -var p17612 = &p17612Var -var p17623Var = "thunk from >" -var p17623 = &p17623Var -var p17637Var = "thunk from >" -var p17637 = &p17637Var -var p17654Var = "thunk from >" -var p17654 = &p17654Var -var p17671Var = "thunk from >" -var p17671 = &p17671Var -var p17682Var = "thunk from >>" -var p17682 = &p17682Var -var p17694Var = "thunk from >" -var p17694 = &p17694Var -var p17702Var = "thunk from >" -var p17702 = &p17702Var -var p17718Var = "thunk from >" -var p17718 = &p17718Var -var p17735Var = "function " -var p17735 = &p17735Var -var p17739Var = "thunk from >" -var p17739 = &p17739Var -var p17749Var = "thunk from >" -var p17749 = &p17749Var -var p17753Var = "thunk from from >>" -var p17753 = &p17753Var -var p17762Var = "function " -var p17762 = &p17762Var -var p17773Var = "thunk from >" -var p17773 = &p17773Var -var p17787Var = "thunk from >" -var p17787 = &p17787Var -var p17802Var = "thunk from >" -var p17802 = &p17802Var -var p17819Var = "thunk from >" -var p17819 = &p17819Var -var p17830Var = "thunk from >>" -var p17830 = &p17830Var -var p17842Var = "thunk from >" -var p17842 = &p17842Var -var p17850Var = "thunk from >" -var p17850 = &p17850Var -var p17866Var = "thunk from >" -var p17866 = &p17866Var -var p17884Var = "thunk from >" -var p17884 = &p17884Var -var p17888Var = "thunk from from >>" -var p17888 = &p17888Var -var p17896Var = "thunk from >" -var p17896 = &p17896Var -var p17900Var = "thunk from from >>" -var p17900 = &p17900Var -var p17906Var = "function " -var p17906 = &p17906Var -var p17941Var = "thunk from >" -var p17941 = &p17941Var -var p18019Var = "thunk from >" -var p18019 = &p18019Var -var p18023Var = "thunk from from >>" -var p18023 = &p18023Var -var p18031Var = "thunk from >" -var p18031 = &p18031Var -var p18035Var = "thunk from from >>" -var p18035 = &p18035Var -var p18045Var = "thunk from >" -var p18045 = &p18045Var -var p18049Var = "thunk from from >>" -var p18049 = &p18049Var -var p18060Var = "function " -var p18060 = &p18060Var -var p18072Var = "thunk from >" -var p18072 = &p18072Var -var p18077Var = "thunk from from >>" -var p18077 = &p18077Var -var p18105Var = "thunk from >" -var p18105 = &p18105Var -var p18124Var = "thunk from >" -var p18124 = &p18124Var -var p18133Var = "thunk from >" -var p18133 = &p18133Var -var p18138Var = "function " -var p18138 = &p18138Var -var p18142Var = "thunk from >" -var p18142 = &p18142Var -var p18157Var = "function " -var p18157 = &p18157Var -var p18166Var = "thunk from >" -var p18166 = &p18166Var -var p18178Var = "function " -var p18178 = &p18178Var -var p18187Var = "thunk from >" -var p18187 = &p18187Var -var p18199Var = "function " -var p18199 = &p18199Var -var p18208Var = "thunk from >" -var p18208 = &p18208Var -var p18220Var = "function " -var p18220 = &p18220Var -var p18229Var = "thunk from >" -var p18229 = &p18229Var -var p18239Var = "object " -var p18239 = &p18239Var -var p18242Var = "function " -var p18242 = &p18242Var -var p18245Var = "object " -var p18245 = &p18245Var -var p18251Var = "function " -var p18251 = &p18251Var -var p18253Var = "function " -var p18253 = &p18253Var -var p18255Var = "function " -var p18255 = &p18255Var -var p18259Var = "function " -var p18259 = &p18259Var -var p18261Var = "function " -var p18261 = &p18261Var -var p18263Var = "function " -var p18263 = &p18263Var -var p18265Var = "function " -var p18265 = &p18265Var -var p18274Var = "thunk from >" -var p18274 = &p18274Var -var p18278Var = "thunk from from >>" -var p18278 = &p18278Var -var p18279Var = "thunk from >" -var p18279 = &p18279Var -var p18288Var = "thunk from >" -var p18288 = &p18288Var -var p18292Var = "thunk from from >>" -var p18292 = &p18292Var -var p18293Var = "thunk from >" -var p18293 = &p18293Var -var p18302Var = "thunk from >" -var p18302 = &p18302Var -var p18306Var = "thunk from from >>" -var p18306 = &p18306Var -var p18307Var = "thunk from >" -var p18307 = &p18307Var -var p18319Var = "thunk from >" -var p18319 = &p18319Var -var p18323Var = "thunk from from >>" -var p18323 = &p18323Var -var p18325Var = "thunk from >" -var p18325 = &p18325Var -var p18332Var = "thunk from >" -var p18332 = &p18332Var -var p18335Var = "thunk from >" -var p18335 = &p18335Var -var p18337Var = "thunk from >" -var p18337 = &p18337Var -var p18341Var = "thunk from >" -var p18341 = &p18341Var -var p18344Var = "thunk from >" -var p18344 = &p18344Var -var p18348Var = "thunk from >" -var p18348 = &p18348Var -var p18350Var = "thunk from >" -var p18350 = &p18350Var -var p18352Var = "thunk from >" -var p18352 = &p18352Var -var p18357Var = "thunk from >" -var p18357 = &p18357Var -var p18360Var = "thunk from >" -var p18360 = &p18360Var -var p18362Var = "thunk from >" -var p18362 = &p18362Var -var p18366Var = "thunk from >" -var p18366 = &p18366Var -var p18369Var = "thunk from >" -var p18369 = &p18369Var -var p18373Var = "thunk from >" -var p18373 = &p18373Var -var p18375Var = "thunk from >" -var p18375 = &p18375Var -var p18377Var = "thunk from >" -var p18377 = &p18377Var -var p18381Var = "thunk from >" -var p18381 = &p18381Var -var p18385Var = "thunk from >" -var p18385 = &p18385Var -var p18387Var = "thunk from >" -var p18387 = &p18387Var -var p18390Var = "thunk from >" -var p18390 = &p18390Var -var p18393Var = "thunk from >" -var p18393 = &p18393Var -var p18399Var = "function " -var p18399 = &p18399Var -var p18402Var = "function " -var p18402 = &p18402Var -var p18404Var = "function " -var p18404 = &p18404Var -var p18408Var = "function " -var p18408 = &p18408Var -var p18410Var = "function " -var p18410 = &p18410Var -var p18412Var = "function " -var p18412 = &p18412Var -var p18414Var = "function " -var p18414 = &p18414Var -var p18418Var = "function " -var p18418 = &p18418Var -var p18422Var = "function " -var p18422 = &p18422Var -var p18426Var = "function " -var p18426 = &p18426Var -var p18428Var = "function " -var p18428 = &p18428Var -var p18430Var = "function " -var p18430 = &p18430Var -var p18441Var = "function " -var p18441 = &p18441Var -var p18445Var = "thunk from >" -var p18445 = &p18445Var -var p18448Var = "thunk from >" -var p18448 = &p18448Var -var p18450Var = "function " -var p18450 = &p18450Var -var p18456Var = "function " -var p18456 = &p18456Var -var p18459Var = "function " -var p18459 = &p18459Var -var p18462Var = "thunk from >" -var p18462 = &p18462Var -var p18470Var = "function " -var p18470 = &p18470Var -var p18474Var = "thunk from >" -var p18474 = &p18474Var -var p18481Var = "thunk from >" -var p18481 = &p18481Var -var p18485Var = "thunk from >>" -var p18485 = &p18485Var -var p18487Var = "thunk from >" -var p18487 = &p18487Var -var p18490Var = "thunk from >" -var p18490 = &p18490Var -var p18491Var = "function " -var p18491 = &p18491Var -var p18494Var = "function " -var p18494 = &p18494Var -var p18497Var = "function " -var p18497 = &p18497Var -var p18500Var = "function " -var p18500 = &p18500Var -var p18504Var = "function " -var p18504 = &p18504Var -var p18515Var = "function " -var p18515 = &p18515Var -var p18517Var = "function " -var p18517 = &p18517Var -var p18523Var = "object " -var p18523 = &p18523Var -var p18526Var = "object " -var p18526 = &p18526Var -var p18548Var = "object " -var p18548 = &p18548Var -var p18551Var = "object " -var p18551 = &p18551Var -var p18553Var = "object " -var p18553 = &p18553Var -var p18556Var = "object " -var p18556 = &p18556Var -var p18558Var = "object " -var p18558 = &p18558Var -var p18568Var = "object " -var p18568 = &p18568Var -var p18572Var = "thunk from >" -var p18572 = &p18572Var -var p18574Var = "thunk from >" -var p18574 = &p18574Var -var p18575Var = "object " -var p18575 = &p18575Var -var p18583Var = "$" -var p18583 = &p18583Var -var p8 = &ast.Source{ - DiagnosticFileName: "", - Lines: []string{ - "/*\n", - "Copyright 2015 Google Inc. All rights reserved.\n", - "\n", - "Licensed under the Apache License, Version 2.0 (the \"License\");\n", - "you may not use this file except in compliance with the License.\n", - "You may obtain a copy of the License at\n", - "\n", - " http://www.apache.org/licenses/LICENSE-2.0\n", - "\n", - "Unless required by applicable law or agreed to in writing, software\n", - "distributed under the License is distributed on an \"AS IS\" BASIS,\n", - "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n", - "See the License for the specific language governing permissions and\n", - "limitations under the License.\n", - "*/\n", - "\n", - "/* This is the Jsonnet standard library, at least the parts of it that are written in Jsonnet.\n", - " *\n", - " * There are some native methods as well, which are defined in the interpreter and added to this\n", - " * file. It is never necessary to import std.jsonnet, it is embedded into the interpreter at\n", - " * compile-time and automatically imported into all other Jsonnet programs.\n", - " */\n", - "{\n", - "\n", - " local std = self,\n", - " local id = function(x) x,\n", - "\n", - " isString(v):: std.type(v) == 'string',\n", - " isNumber(v):: std.type(v) == 'number',\n", - " isBoolean(v):: std.type(v) == 'boolean',\n", - " isObject(v):: std.type(v) == 'object',\n", - " isArray(v):: std.type(v) == 'array',\n", - " isFunction(v):: std.type(v) == 'function',\n", - "\n", - " toString(a)::\n", - " if std.type(a) == 'string' then a else '' + a,\n", - "\n", - " substr(str, from, len)::\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", - " false\n", - " else\n", - " std.substr(a, 0, std.length(b)) == b,\n", - "\n", - " endsWith(a, b)::\n", - " if std.length(a) < std.length(b) then\n", - " false\n", - " 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) tailstrict\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) tailstrict\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", - " local parse_nat(str, base) =\n", - " assert base > 0 && base <= 16 : 'integer base %d invalid' % base;\n", - " // These codepoints are in ascending order:\n", - " local zero_code = std.codepoint('0');\n", - " local upper_a_code = std.codepoint('A');\n", - " local lower_a_code = std.codepoint('a');\n", - " local addDigit(aggregate, char) =\n", - " local code = std.codepoint(char);\n", - " local digit = if code >= lower_a_code then\n", - " code - lower_a_code + 10\n", - " else if code >= upper_a_code then\n", - " code - upper_a_code + 10\n", - " else\n", - " code - zero_code;\n", - " assert digit >= 0 && digit < base : '%s is not a base %d integer' % [str, base];\n", - " base * aggregate + digit;\n", - " std.foldl(addDigit, std.stringChars(str), 0),\n", - "\n", - " parseInt(str)::\n", - " assert std.isString(str) : 'Expected string, got ' + std.type(str);\n", - " assert std.length(str) > 0 && str != '-' : 'Not an integer: \"%s\"' % [str];\n", - " if str[0] == '-' then\n", - " -parse_nat(str[1:], 10)\n", - " else\n", - " parse_nat(str, 10),\n", - "\n", - " parseOctal(str)::\n", - " assert std.isString(str) : 'Expected string, got ' + std.type(str);\n", - " assert std.length(str) > 0 : 'Not an octal number: \"\"';\n", - " parse_nat(str, 8),\n", - "\n", - " parseHex(str)::\n", - " assert std.isString(str) : 'Expected string, got ' + std.type(str);\n", - " assert std.length(str) > 0 : 'Not hexadecimal: \"\"';\n", - " parse_nat(str, 16),\n", - "\n", - " split(str, c)::\n", - " assert std.isString(str) : 'std.split first parameter must be a String, got ' + std.type(str);\n", - " assert std.isString(c) : 'std.split second parameter must be a String, got ' + std.type(c);\n", - " assert std.length(c) >= 1 : 'std.split second parameter must have length 1 or greater, got ' + std.length(c);\n", - " std.splitLimit(str, c, -1),\n", - "\n", - " splitLimit(str, c, maxsplits)::\n", - " assert std.isString(str) : 'str.splitLimit first parameter must be a String, got ' + std.type(str);\n", - " assert std.isString(c) : 'str.splitLimit second parameter must be a String, got ' + std.type(c);\n", - " assert std.length(c) >= 1 : 'std.splitLimit second parameter must have length 1 or greater, got ' + std.length(c);\n", - " assert std.isNumber(maxsplits) : 'str.splitLimit third parameter must be a Number, got ' + std.type(maxsplits);\n", - " local strLen = std.length(str);\n", - " local cLen = std.length(c);\n", - " local aux(idx, ret, val) =\n", - " if idx >= strLen then\n", - " ret + [val]\n", - " else if str[idx : idx + cLen : 1] == c &&\n", - " (maxsplits == -1 || std.length(ret) < maxsplits) then\n", - " aux(idx + cLen, ret + [val], '')\n", - " else\n", - " aux(idx + 1, ret, val + str[idx]);\n", - " aux(0, [], ''),\n", - "\n", - " splitLimitR(str, c, maxsplits)::\n", - " assert std.isString(str) : 'str.splitLimitR first parameter must be a String, got ' + std.type(str);\n", - " assert std.isString(c) : 'str.splitLimitR second parameter must be a String, got ' + std.type(c);\n", - " assert std.length(c) >= 1 : 'std.splitLimitR second parameter must have length 1 or greater, got ' + std.length(c);\n", - " assert std.isNumber(maxsplits) : 'str.splitLimitR third parameter must be a Number, got ' + std.type(maxsplits);\n", - " if maxsplits == -1 then\n", - " std.splitLimit(str, c, -1)\n", - " else\n", - " local revStr(str) = std.join('', std.reverse(std.stringChars(str)));\n", - " std.map(function(e) revStr(e), std.reverse(std.splitLimit(revStr(str), revStr(c), maxsplits))),\n", - "\n", - " strReplace(str, from, to)::\n", - " assert std.isString(str);\n", - " 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", - " local str_len = std.length(str);\n", - " local from_len = std.length(from);\n", - "\n", - " // True if from is at str[i].\n", - " local found_at(i) = str[i:i + from_len] == from;\n", - "\n", - " // Return the remainder of 'str' starting with 'start_index' where\n", - " // all occurrences of 'from' after 'curr_index' are replaced with 'to'.\n", - " local replace_after(start_index, curr_index, acc) =\n", - " if curr_index > str_len then\n", - " acc + str[start_index:curr_index]\n", - " else if found_at(curr_index) then\n", - " local new_index = curr_index + std.length(from);\n", - " replace_after(new_index, new_index, acc + str[start_index:curr_index] + to) tailstrict\n", - " else\n", - " replace_after(start_index, curr_index + 1, acc) tailstrict;\n", - "\n", - " // if from_len==1, then we replace by splitting and rejoining the\n", - " // string which is much faster than recursing on replace_after\n", - " if from_len == 1 then\n", - " std.join(to, std.split(str, from))\n", - " else\n", - " replace_after(0, 0, ''),\n", - "\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(str))),\n", - "\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(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", - " {\n", - " indexable: indexable,\n", - " index:\n", - " if index == null then 0\n", - " else index,\n", - " end:\n", - " if end == null then std.length(indexable)\n", - " else end,\n", - " step:\n", - " if step == null then 1\n", - " else step,\n", - " length: std.length(indexable),\n", - " type: std.type(indexable),\n", - " };\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.isNumber(a) && std.isNumber(b) then\n", - " std.modulo(a, b)\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.isFunction(func) then\n", - " error ('std.map first param must be function, got ' + std.type(func))\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.isFunction(func) then\n", - " error ('std.mapWithIndex first param must be function, got ' + std.type(func))\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.isFunction(func) then\n", - " error ('std.mapWithKey first param must be function, got ' + std.type(func))\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", - " running\n", - " else if arr[i] == null then\n", - " aux(arr, i + 1, first, running) tailstrict\n", - " else if std.type(arr[i]) != std.type(sep) then\n", - " error 'expected %s but arr[%d] was %s ' % [std.type(sep), i, std.type(arr[i])]\n", - " else if first then\n", - " 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.isArray(arr) then\n", - " error 'join second parameter should be array, got ' + std.type(arr)\n", - " else if std.isString(sep) then\n", - " aux(arr, 0, true, '')\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", - "\n", - " lines(arr)::\n", - " std.join('\\n', arr + ['']),\n", - "\n", - " deepJoin(arr)::\n", - " if std.isString(arr) then\n", - " arr\n", - " else if std.isArray(arr) then\n", - " std.join('', [std.deepJoin(x) for x in arr])\n", - " else\n", - " error 'Expected string or array, got %s' % std.type(arr),\n", - "\n", - "\n", - " format(str, vals)::\n", - "\n", - " /////////////////////////////\n", - " // Parse the mini-language //\n", - " /////////////////////////////\n", - "\n", - " local try_parse_mapping_key(str, i) =\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", - " { 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", - " 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", - " { 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", - " 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", - " { i: j, v: v };\n", - " consume(str, i, 0);\n", - "\n", - " local try_parse_precision(str, i) =\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", - " { i: i, v: null };\n", - "\n", - " // Ignored, if it exists.\n", - " local try_parse_length_modifier(str, i) =\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", - " i;\n", - "\n", - " local parse_conv_type(str, i) =\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", - " error 'Unrecognised conversion type: ' + c;\n", - "\n", - "\n", - " // Parsed initial %, now the rest.\n", - " local parse_code(str, i) =\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", - " if i >= std.length(str) then\n", - " out + [cur]\n", - " else\n", - " local c = str[i];\n", - " if c == '%' then\n", - " local r = parse_code(str, i + 1);\n", - " parse_codes(str, r.i, out + [cur, r.code], '') tailstrict\n", - " else\n", - " parse_codes(str, i + 1, out, cur + c) tailstrict;\n", - "\n", - " local codes = parse_codes(str, 0, [], '');\n", - "\n", - "\n", - " ///////////////////////\n", - " // Format the values //\n", - " ///////////////////////\n", - "\n", - " // Useful utilities\n", - " local padding(w, s) =\n", - " local aux(w, v) =\n", - " if w <= 0 then\n", - " v\n", - " else\n", - " aux(w - 1, v + s);\n", - " aux(w, '');\n", - "\n", - " // Add s to the left of str so that its length is at least w.\n", - " local pad_left(str, w, s) =\n", - " padding(w - std.length(str), s) + str;\n", - "\n", - " // Add s to the right of str so that its length is at least w.\n", - " local pad_right(str, w, s) =\n", - " str + padding(w - std.length(str), s);\n", - "\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 positive 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", - " 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 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, 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", - " local n_ = std.abs(n__);\n", - " local aux(n) =\n", - " if n == 0 then\n", - " ''\n", - " else\n", - " 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 || 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 plus then '+' else if blank then ' ' else '') + hex2;\n", - "\n", - " local strip_trailing_zero(str) =\n", - " local aux(str, i) =\n", - " if i < 0 then\n", - " ''\n", - " else\n", - " if str[i] == '0' then\n", - " aux(str, i - 1)\n", - " else\n", - " std.substr(str, 0, i + 1);\n", - " aux(str, std.length(str) - 1);\n", - "\n", - " // Render floating point in decimal form\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", - " // Represent the rounded number as an integer * 1/10**prec.\n", - " // Note that it can also be equal to 10**prec and we'll need to carry\n", - " // over to the wholes. We operate on the absolute numbers, so that we\n", - " // don't have trouble with the rounding direction.\n", - " local denominator = std.pow(10, prec);\n", - " local numerator = std.abs(n_) * denominator + 0.5;\n", - " local whole = std.sign(n_) * std.floor(numerator / denominator);\n", - " local frac = std.floor(numerator) % denominator;\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(n__ < 0, whole, zp, 0, blank, plus, 10, '');\n", - " if prec == 0 then\n", - " str + if ensure_pt then '.' else ''\n", - " else\n", - " if trailing || frac > 0 then\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, 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 < 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", - " n__ * 10 / std.pow(10, exponent + 1)\n", - " else\n", - " n__ / std.pow(10, exponent);\n", - " local zp2 = zero_pad - std.length(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", - " local cflags = code.cflags;\n", - " local fpprec = if prec_or_null != null then prec_or_null else 6;\n", - " local iprec = if prec_or_null != null then prec_or_null else 0;\n", - " local zp = if cflags.zero && !cflags.left then fw else 0;\n", - " if code.ctype == 's' then\n", - " std.toString(val)\n", - " else if code.ctype == 'd' then\n", - " if std.type(val) != 'number' then\n", - " error 'Format required number at '\n", - " + i + ', got ' + std.type(val)\n", - " else\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 <= -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(std.floor(val),\n", - " zp,\n", - " iprec,\n", - " cflags.blank,\n", - " cflags.plus,\n", - " cflags.alt,\n", - " code.caps)\n", - " else if code.ctype == 'f' then\n", - " if std.type(val) != 'number' then\n", - " error 'Format required number at '\n", - " + i + ', got ' + std.type(val)\n", - " else\n", - " render_float_dec(val,\n", - " zp,\n", - " cflags.blank,\n", - " cflags.plus,\n", - " cflags.alt,\n", - " true,\n", - " fpprec)\n", - " else if code.ctype == 'e' then\n", - " if std.type(val) != 'number' then\n", - " error 'Format required number at '\n", - " + i + ', got ' + std.type(val)\n", - " else\n", - " render_float_sci(val,\n", - " zp,\n", - " cflags.blank,\n", - " cflags.plus,\n", - " cflags.alt,\n", - " true,\n", - " code.caps,\n", - " fpprec)\n", - " else if code.ctype == 'g' then\n", - " if std.type(val) != 'number' then\n", - " error 'Format required number at '\n", - " + i + ', got ' + std.type(val)\n", - " else\n", - " local exponent = std.floor(std.log(std.abs(val)) / std.log(10));\n", - " if exponent < -4 || exponent >= fpprec then\n", - " render_float_sci(val,\n", - " zp,\n", - " cflags.blank,\n", - " cflags.plus,\n", - " cflags.alt,\n", - " cflags.alt,\n", - " code.caps,\n", - " fpprec - 1)\n", - " else\n", - " local digits_before_pt = std.max(1, exponent + 1);\n", - " render_float_dec(val,\n", - " zp,\n", - " cflags.blank,\n", - " cflags.plus,\n", - " cflags.alt,\n", - " cflags.alt,\n", - " fpprec - digits_before_pt)\n", - " else if code.ctype == 'c' then\n", - " if std.type(val) == 'number' then\n", - " std.char(val)\n", - " else if std.type(val) == 'string' then\n", - " if std.length(val) == 1 then\n", - " val\n", - " else\n", - " error '%c expected 1-sized string got: ' + std.length(val)\n", - " else\n", - " error '%c expected number / string, got: ' + std.type(val)\n", - " else\n", - " error 'Unknown code: ' + code.ctype;\n", - "\n", - " // Render a parsed format string with an array of values.\n", - " local format_codes_arr(codes, arr, i, j, v) =\n", - " if i >= std.length(codes) then\n", - " if j < std.length(arr) then\n", - " error ('Too many values to format: ' + std.length(arr) + ', expected ' + j)\n", - " else\n", - " v\n", - " else\n", - " local code = codes[i];\n", - " if std.type(code) == 'string' then\n", - " format_codes_arr(codes, arr, i + 1, j, v + code) tailstrict\n", - " else\n", - " local tmp = if code.fw == '*' then {\n", - " j: j + 1,\n", - " fw: if j >= std.length(arr) then\n", - " error ('Not enough values to format: ' + std.length(arr) + ', expected at least ' + j)\n", - " else\n", - " arr[j],\n", - " } else {\n", - " j: j,\n", - " fw: code.fw,\n", - " };\n", - " local tmp2 = if code.prec == '*' then {\n", - " j: tmp.j + 1,\n", - " prec: if tmp.j >= std.length(arr) then\n", - " error ('Not enough values to format: ' + std.length(arr) + ', expected at least ' + tmp.j)\n", - " else\n", - " arr[tmp.j],\n", - " } else {\n", - " j: tmp.j,\n", - " prec: code.prec,\n", - " };\n", - " local j2 = tmp2.j;\n", - " local val =\n", - " if j2 < std.length(arr) then\n", - " arr[j2]\n", - " else\n", - " error ('Not enough values to format: ' + std.length(arr) + ', expected more than ' + j2);\n", - " local s =\n", - " if code.ctype == '%' then\n", - " '%'\n", - " else\n", - " format_code(val, code, tmp.fw, tmp2.prec, j2);\n", - " local s_padded =\n", - " if code.cflags.left then\n", - " pad_right(s, tmp.fw, ' ')\n", - " else\n", - " pad_left(s, tmp.fw, ' ');\n", - " local j3 =\n", - " if code.ctype == '%' then\n", - " j2\n", - " else\n", - " j2 + 1;\n", - " format_codes_arr(codes, arr, i + 1, j3, v + s_padded) tailstrict;\n", - "\n", - " // Render a parsed format string with an object of values.\n", - " local format_codes_obj(codes, obj, i, v) =\n", - " if i >= std.length(codes) then\n", - " v\n", - " else\n", - " local code = codes[i];\n", - " if std.type(code) == 'string' then\n", - " format_codes_obj(codes, obj, i + 1, v + code) tailstrict\n", - " else\n", - " local f =\n", - " if code.mkey == null then\n", - " error 'Mapping keys required.'\n", - " else\n", - " code.mkey;\n", - " local fw =\n", - " if code.fw == '*' then\n", - " error 'Cannot use * field width with object.'\n", - " else\n", - " code.fw;\n", - " local prec =\n", - " if code.prec == '*' then\n", - " error 'Cannot use * precision with object.'\n", - " else\n", - " code.prec;\n", - " local val =\n", - " if std.objectHasAll(obj, f) then\n", - " obj[f]\n", - " else\n", - " error 'No such field: ' + f;\n", - " local s =\n", - " if code.ctype == '%' then\n", - " '%'\n", - " else\n", - " format_code(val, code, fw, prec, f);\n", - " local s_padded =\n", - " if code.cflags.left then\n", - " pad_right(s, fw, ' ')\n", - " else\n", - " pad_left(s, fw, ' ');\n", - " format_codes_obj(codes, obj, i + 1, v + s_padded) tailstrict;\n", - "\n", - " if std.isArray(vals) then\n", - " format_codes_arr(codes, vals, 0, 0, '')\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", - "\n", - " foldr(func, arr, init)::\n", - " local aux(func, arr, running, idx) =\n", - " if idx < 0 then\n", - " running\n", - " else\n", - " aux(func, arr, func(arr[idx], running), idx - 1) tailstrict;\n", - " aux(func, arr, init, std.length(arr) - 1),\n", - "\n", - " foldl(func, arr, init)::\n", - " local aux(func, arr, running, idx) =\n", - " if idx >= std.length(arr) then\n", - " running\n", - " else\n", - " aux(func, arr, func(running, arr[idx]), idx + 1) tailstrict;\n", - " aux(func, arr, init, 0),\n", - "\n", - "\n", - " filterMap(filter_func, map_func, arr)::\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.isFunction(map_func) then\n", - " error ('std.filterMap second param must be function, got ' + std.type(map_func))\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", - "\n", - " assertEqual(a, b)::\n", - " if a == b then\n", - " true\n", - " else\n", - " error 'Assertion failed. ' + a + ' != ' + b,\n", - "\n", - " abs(n)::\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.isNumber(n) then\n", - " error 'std.sign expected number, got ' + std.type(n)\n", - " else\n", - " if n > 0 then\n", - " 1\n", - " else if n < 0 then\n", - " -1\n", - " else 0,\n", - "\n", - " max(a, b)::\n", - " if !std.isNumber(a) then\n", - " error 'std.max first param expected number, got ' + std.type(a)\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.isNumber(a) then\n", - " error 'std.min first param expected number, got ' + std.type(a)\n", - " else if !std.isNumber(b) then\n", - " error 'std.min 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", - " manifestIni(ini)::\n", - " local body_lines(body) =\n", - " std.join([], [\n", - " local value_or_values = body[k];\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", - "\n", - " for k in std.objectFields(body)\n", - " ]);\n", - "\n", - " local section_lines(sname, sbody) = ['[%s]' % [sname]] + body_lines(sbody),\n", - " main_body = if std.objectHas(ini, 'main') then body_lines(ini.main) else [],\n", - " all_sections = [\n", - " section_lines(k, ini.sections[k])\n", - " for k in std.objectFields(ini.sections)\n", - " ];\n", - " std.join('\\n', main_body + std.flattenArrays(all_sections) + ['']),\n", - "\n", - " manifestToml(value):: std.manifestTomlEx(value, ' '),\n", - "\n", - " manifestTomlEx(value, indent)::\n", - " local\n", - " escapeStringToml = std.escapeStringJson,\n", - " escapeKeyToml(key) =\n", - " local bare_allowed = std.set(std.stringChars(\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-\"));\n", - " if std.setUnion(std.set(std.stringChars(key)), bare_allowed) == bare_allowed then key else escapeStringToml(key),\n", - " isTableArray(v) = std.isArray(v) && std.length(v) > 0 && std.all(std.map(std.isObject, v)),\n", - " isSection(v) = std.isObject(v) || isTableArray(v),\n", - " renderValue(v, indexedPath, inline, cindent) =\n", - " if v == true then\n", - " 'true'\n", - " else if v == false then\n", - " 'false'\n", - " else if v == null then\n", - " error 'Tried to manifest \"null\" at ' + indexedPath\n", - " else if std.isNumber(v) then\n", - " '' + v\n", - " else if std.isString(v) then\n", - " escapeStringToml(v)\n", - " else if std.isFunction(v) then\n", - " error 'Tried to manifest function at ' + indexedPath\n", - " else if std.isArray(v) then\n", - " if std.length(v) == 0 then\n", - " '[]'\n", - " else\n", - " local range = std.range(0, std.length(v) - 1);\n", - " local new_indent = if inline then '' else cindent + indent;\n", - " local separator = if inline then ' ' else '\\n';\n", - " local lines = ['[' + separator]\n", - " + std.join([',' + separator],\n", - " [\n", - " [new_indent + renderValue(v[i], indexedPath + [i], true, '')]\n", - " for i in range\n", - " ])\n", - " + [separator + (if inline then '' else cindent) + ']'];\n", - " std.join('', lines)\n", - " else if std.isObject(v) then\n", - " local lines = ['{ ']\n", - " + std.join([', '],\n", - " [\n", - " [escapeKeyToml(k) + ' = ' + renderValue(v[k], indexedPath + [k], true, '')]\n", - " for k in std.objectFields(v)\n", - " ])\n", - " + [' }'];\n", - " std.join('', lines),\n", - " renderTableInternal(v, path, indexedPath, cindent) =\n", - " local kvp = std.flattenArrays([\n", - " [cindent + escapeKeyToml(k) + ' = ' + renderValue(v[k], indexedPath + [k], false, cindent)]\n", - " for k in std.objectFields(v)\n", - " if !isSection(v[k])\n", - " ]);\n", - " local sections = [std.join('\\n', kvp)] + [\n", - " (if std.isObject(v[k]) then\n", - " renderTable(v[k], path + [k], indexedPath + [k], cindent)\n", - " else\n", - " renderTableArray(v[k], path + [k], indexedPath + [k], cindent)\n", - " )\n", - " for k in std.objectFields(v)\n", - " if isSection(v[k])\n", - " ];\n", - " std.join('\\n\\n', sections),\n", - " renderTable(v, path, indexedPath, cindent) =\n", - " cindent + '[' + std.join('.', std.map(escapeKeyToml, path)) + ']'\n", - " + (if v == {} then '' else '\\n')\n", - " + renderTableInternal(v, path, indexedPath, cindent + indent),\n", - " renderTableArray(v, path, indexedPath, cindent) =\n", - " local range = std.range(0, std.length(v) - 1);\n", - " local sections = [\n", - " (cindent + '[[' + std.join('.', std.map(escapeKeyToml, path)) + ']]'\n", - " + (if v[i] == {} then '' else '\\n')\n", - " + renderTableInternal(v[i], path, indexedPath + [i], cindent + indent))\n", - " for i in range\n", - " ];\n", - " std.join('\\n\\n', sections);\n", - " if std.isObject(value) then\n", - " renderTableInternal(value, [], [], '')\n", - " else\n", - " error 'TOML body must be an object. Got ' + std.type(value),\n", - "\n", - " escapeStringJson(str_)::\n", - " local str = std.toString(str_);\n", - " local trans(ch) =\n", - " if ch == '\"' then\n", - " '\\\\\"'\n", - " else if ch == '\\\\' then\n", - " '\\\\\\\\'\n", - " else if ch == '\\b' then\n", - " '\\\\b'\n", - " else if ch == '\\f' then\n", - " '\\\\f'\n", - " else if ch == '\\n' then\n", - " '\\\\n'\n", - " else if ch == '\\r' then\n", - " '\\\\r'\n", - " else if ch == '\\t' then\n", - " '\\\\t'\n", - " else\n", - " local cp = std.codepoint(ch);\n", - " if cp < 32 || (cp >= 127 && cp <= 159) then\n", - " '\\\\u%04x' % [cp]\n", - " else\n", - " ch;\n", - " '\"%s\"' % std.join('', [trans(ch) for ch in std.stringChars(str)]),\n", - "\n", - " escapeStringPython(str)::\n", - " std.escapeStringJson(str),\n", - "\n", - " escapeStringBash(str_)::\n", - " local str = std.toString(str_);\n", - " local trans(ch) =\n", - " if ch == \"'\" then\n", - " \"'\\\"'\\\"'\"\n", - " else\n", - " ch;\n", - " \"'%s'\" % std.join('', [trans(ch) for ch in std.stringChars(str)]),\n", - "\n", - " escapeStringDollars(str_)::\n", - " local str = std.toString(str_);\n", - " local trans(ch) =\n", - " if ch == '$' then\n", - " '$$'\n", - " else\n", - " ch;\n", - " std.foldl(function(a, b) a + trans(b), std.stringChars(str), ''),\n", - "\n", - " manifestJson(value):: std.manifestJsonEx(value, ' '),\n", - "\n", - " manifestJsonMinified(value):: std.manifestJsonEx(value, '', '', ':'),\n", - "\n", - " manifestJsonEx(value, indent, newline='\\n', key_val_sep=': ')::\n", - " local aux(v, path, cindent) =\n", - " if v == true then\n", - " 'true'\n", - " else if v == false then\n", - " 'false'\n", - " else if v == null then\n", - " 'null'\n", - " else if std.isNumber(v) then\n", - " '' + v\n", - " else if std.isString(v) then\n", - " std.escapeStringJson(v)\n", - " else if std.isFunction(v) then\n", - " error 'Tried to manifest function at ' + path\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 = ['[' + newline]\n", - " + std.join([',' + newline],\n", - " [\n", - " [new_indent + aux(v[i], path + [i], new_indent)]\n", - " for i in range\n", - " ])\n", - " + [newline + cindent + ']'];\n", - " std.join('', lines)\n", - " else if std.isObject(v) then\n", - " local lines = ['{' + newline]\n", - " + std.join([',' + newline],\n", - " [\n", - " [cindent + indent + std.escapeStringJson(k) + key_val_sep\n", - " + aux(v[k], path + [k], cindent + indent)]\n", - " for k in std.objectFields(v)\n", - " ])\n", - " + [newline + cindent + '}'];\n", - " std.join('', lines);\n", - " aux(value, [], ''),\n", - "\n", - " manifestYamlDoc(value, indent_array_in_object=false, quote_keys=true)::\n", - " local onlyChars(charSet, strSet) =\n", - " if std.length(std.setInter(charSet, strSet)) == std.length(strSet) then\n", - " true\n", - " else false;\n", - " local isReserved(key) =\n", - " // NOTE: These values are checked for case insensitively.\n", - " // While this approach results in some false positives, it eliminates\n", - " // the risk of missing a permutation.\n", - " local reserved = [\n", - " // Boolean types taken from https://yaml.org/type/bool.html\n", - " 'true', 'false', 'yes', 'no', 'on', 'off', 'y', 'n',\n", - " // Numerical words taken from https://yaml.org/type/float.html\n", - " '.nan', '-.inf', '+.inf', '.inf', 'null', \n", - " // Invalid keys that contain no invalid characters\n", - " '-', '---', '',\n", - " ];\n", - " local bad = [word for word in reserved if word == std.asciiLower(key)];\n", - " if std.length(bad) > 0 then\n", - " true\n", - " else false;\n", - " local typeMatch(m_key, type) =\n", - " // Look for positive or negative numerical types (ex: 0x)\n", - " if std.substr(m_key, 0, 2) == type || std.substr(m_key, 0, 3) == '-' + type then\n", - " true\n", - " else false;\n", - " local bareSafe(key) =\n", - " /*\n", - " For a key to be considered safe to emit without quotes, the following must be true\n", - " - All characters must match [a-zA-Z0-9_/\\-]\n", - " - Not match the integer format defined in https://yaml.org/type/int.html\n", - " - Not match the float format defined in https://yaml.org/type/float.html\n", - " - Not match the timestamp format defined in https://yaml.org/type/timestamp.html\n", - " - Not match the boolean format defined in https://yaml.org/type/bool.html\n", - " - Not match the null format defined in https://yaml.org/type/null.html\n", - " - Not match (ignoring case) any reserved words which pass the above tests.\n", - " Reserved words are defined in isReserved() above.\n", - "\n", - " Since the remaining YAML types require characters outside the set chosen as valid\n", - " for the elimination of quotes from the YAML output, the remaining types listed at\n", - " https://yaml.org/type/ are by default always quoted.\n", - " */\n", - " local letters = std.set(std.stringChars('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_-/'));\n", - " local digits = std.set(std.stringChars('0123456789'));\n", - " local intChars = std.set(digits + std.stringChars('_-'));\n", - " local binChars = std.set(intChars + std.stringChars('b'));\n", - " local hexChars = std.set(digits + std.stringChars('abcdefx_-'));\n", - " local floatChars = std.set(digits + std.stringChars('e._-'));\n", - " local dateChars = std.set(digits + std.stringChars('-'));\n", - " local safeChars = std.set(letters + floatChars);\n", - " local keyLc = std.asciiLower(key);\n", - " local keyChars = std.stringChars(key);\n", - " local keySet = std.set(keyChars);\n", - " local keySetLc = std.set(std.stringChars(keyLc));\n", - " // Check for unsafe characters\n", - " if ! onlyChars(safeChars, keySet) then\n", - " false\n", - " // Check for reserved words\n", - " else if isReserved(key) then\n", - " false\n", - " /* Check for timestamp values. Since spaces and colons are already forbidden,\n", - " all that could potentially pass is the standard date format (ex MM-DD-YYYY, YYYY-DD-MM, etc).\n", - " This check is even more conservative: Keys that meet all of the following:\n", - " - all characters match [0-9\\-]\n", - " - has exactly 2 dashes\n", - " are considered dates.\n", - " */\n", - " else if onlyChars(dateChars, keySet) \n", - " && std.length(std.findSubstr('-', key)) == 2 then\n", - " false\n", - " /* Check for integers. Keys that meet all of the following:\n", - " - all characters match [0-9_\\-]\n", - " - has at most 1 dash\n", - " are considered integers.\n", - " */\n", - " else if onlyChars(intChars, keySetLc)\n", - " && std.length(std.findSubstr('-', key)) < 2 then\n", - " false\n", - " /* Check for binary integers. Keys that meet all of the following:\n", - " - all characters match [0-9b_\\-]\n", - " - has at least 3 characters\n", - " - starts with (-)0b\n", - " are considered binary integers.\n", - " */\n", - " else if onlyChars(binChars, keySetLc)\n", - " && std.length(key) > 2\n", - " && typeMatch(key, '0b') then\n", - " false\n", - " /* Check for floats. Keys that meet all of the following:\n", - " - all characters match [0-9e._\\-]\n", - " - has at most a single period\n", - " - has at most two dashes\n", - " - has at most 1 'e'\n", - " are considered floats.\n", - " */\n", - " else if onlyChars(floatChars, keySetLc)\n", - " && std.length(std.findSubstr('.', key)) == 1\n", - " && std.length(std.findSubstr('-', key)) < 3 \n", - " && std.length(std.findSubstr('e', keyLc)) < 2 then\n", - " false\n", - " /* Check for hexadecimals. Keys that meet all of the following:\n", - " - all characters match [0-9a-fx_\\-]\n", - " - has at most 1 dash\n", - " - has at least 3 characters\n", - " - starts with (-)0x\n", - " are considered hexadecimals.\n", - " */\n", - " else if onlyChars(hexChars, keySetLc) \n", - " && std.length(std.findSubstr('-', key)) < 2\n", - " && std.length(keyChars) > 2\n", - " && typeMatch(key, '0x') then\n", - " false\n", - " // All checks pass. Key is safe for emission without quotes.\n", - " else true;\n", - " local escapeKeyYaml(key) =\n", - " if bareSafe(key) then key else std.escapeStringJson(key);\n", - " local aux(v, path, cindent) =\n", - " if v == true then\n", - " 'true'\n", - " else if v == false then\n", - " 'false'\n", - " else if v == null then\n", - " 'null'\n", - " else if std.isNumber(v) then\n", - " '' + v\n", - " else if std.isString(v) then\n", - " local len = std.length(v);\n", - " if len == 0 then\n", - " '\"\"'\n", - " else if v[len - 1] == '\\n' then\n", - " local split = std.split(v, '\\n');\n", - " std.join('\\n' + cindent + ' ', ['|'] + split[0:std.length(split) - 1])\n", - " else\n", - " std.escapeStringJson(v)\n", - " else if std.isFunction(v) then\n", - " error 'Tried to manifest function at ' + path\n", - " else if std.isArray(v) then\n", - " if std.length(v) == 0 then\n", - " '[]'\n", - " else\n", - " local params(value) =\n", - " if std.isArray(value) && std.length(value) > 0 then {\n", - " // While we could avoid the new line, it yields YAML that is\n", - " // hard to read, e.g.:\n", - " // - - - 1\n", - " // - 2\n", - " // - - 3\n", - " // - 4\n", - " new_indent: cindent + ' ',\n", - " space: '\\n' + self.new_indent,\n", - " } else if std.isObject(value) && std.length(value) > 0 then {\n", - " new_indent: cindent + ' ',\n", - " // In this case we can start on the same line as the - because the indentation\n", - " // matches up then. The converse is not true, because fields are not always\n", - " // 1 character long.\n", - " space: ' ',\n", - " } else {\n", - " // In this case, new_indent is only used in the case of multi-line strings.\n", - " new_indent: cindent,\n", - " space: ' ',\n", - " };\n", - " local range = std.range(0, std.length(v) - 1);\n", - " local parts = [\n", - " '-' + param.space + aux(v[i], path + [i], param.new_indent)\n", - " for i in range\n", - " for param in [params(v[i])]\n", - " ];\n", - " std.join('\\n' + cindent, parts)\n", - " else if std.isObject(v) then\n", - " if std.length(v) == 0 then\n", - " '{}'\n", - " else\n", - " local params(value) =\n", - " if std.isArray(value) && std.length(value) > 0 then {\n", - " // Not indenting allows e.g.\n", - " // ports:\n", - " // - 80\n", - " // instead of\n", - " // ports:\n", - " // - 80\n", - " new_indent: if indent_array_in_object then cindent + ' ' else cindent,\n", - " space: '\\n' + self.new_indent,\n", - " } else if std.isObject(value) && std.length(value) > 0 then {\n", - " new_indent: cindent + ' ',\n", - " space: '\\n' + self.new_indent,\n", - " } else {\n", - " // In this case, new_indent is only used in the case of multi-line strings.\n", - " new_indent: cindent,\n", - " space: ' ',\n", - " };\n", - " local lines = [\n", - " (if quote_keys then std.escapeStringJson(k) else escapeKeyYaml(k)) + ':' + param.space + aux(v[k], path + [k], param.new_indent)\n", - " for k in std.objectFields(v)\n", - " for param in [params(v[k])]\n", - " ];\n", - " std.join('\\n' + cindent, lines);\n", - " aux(value, [], ''),\n", - "\n", - " manifestYamlStream(value, indent_array_in_object=false, c_document_end=true, quote_keys=true)::\n", - " if !std.isArray(value) then\n", - " error 'manifestYamlStream only takes arrays, got ' + std.type(value)\n", - " else\n", - " '---\\n' + std.join(\n", - " '\\n---\\n', [std.manifestYamlDoc(e, indent_array_in_object, quote_keys) for e in value]\n", - " ) + if c_document_end then '\\n...\\n' else '\\n',\n", - "\n", - "\n", - " manifestPython(v)::\n", - " if std.isObject(v) then\n", - " local fields = [\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.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.isNumber(v) then\n", - " std.toString(v)\n", - " else if v == true then\n", - " 'True'\n", - " else if v == false then\n", - " 'False'\n", - " else if v == null then\n", - " 'None',\n", - "\n", - " manifestPythonVars(conf)::\n", - " local vars = ['%s = %s' % [k, std.manifestPython(conf[k])] for k in std.objectFields(conf)];\n", - " std.join('\\n', vars + ['']),\n", - "\n", - " manifestXmlJsonml(value)::\n", - " if !std.isArray(value) then\n", - " error 'Expected a JSONML value (an array), got %s' % std.type(value)\n", - " else\n", - " local aux(v) =\n", - " if std.isString(v) then\n", - " v\n", - " else\n", - " local tag = v[0];\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", - " std.join('', [' %s=\"%s\"' % [k, attrs[k]] for k in std.objectFields(attrs)]);\n", - " std.deepJoin(['<', tag, attrs_str, '>', [aux(x) for x in children], '']);\n", - "\n", - " aux(value),\n", - "\n", - " local base64_table = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',\n", - " local base64_inv = { [base64_table[i]]: i for i in std.range(0, 63) },\n", - "\n", - " base64(input)::\n", - " local bytes =\n", - " if std.isString(input) then\n", - " std.map(std.codepoint, input)\n", - " else\n", - " input;\n", - "\n", - " local aux(arr, i, r) =\n", - " if i >= std.length(arr) then\n", - " r\n", - " else if i + 1 >= std.length(arr) then\n", - " local str =\n", - " // 6 MSB of i\n", - " base64_table[(arr[i] & 252) >> 2] +\n", - " // 2 LSB of i\n", - " base64_table[(arr[i] & 3) << 4] +\n", - " '==';\n", - " aux(arr, i + 3, r + str) tailstrict\n", - " else if i + 2 >= std.length(arr) then\n", - " local str =\n", - " // 6 MSB of i\n", - " base64_table[(arr[i] & 252) >> 2] +\n", - " // 2 LSB of i, 4 MSB of i+1\n", - " base64_table[(arr[i] & 3) << 4 | (arr[i + 1] & 240) >> 4] +\n", - " // 4 LSB of i+1\n", - " base64_table[(arr[i + 1] & 15) << 2] +\n", - " '=';\n", - " aux(arr, i + 3, r + str) tailstrict\n", - " else\n", - " local str =\n", - " // 6 MSB of i\n", - " base64_table[(arr[i] & 252) >> 2] +\n", - " // 2 LSB of i, 4 MSB of i+1\n", - " base64_table[(arr[i] & 3) << 4 | (arr[i + 1] & 240) >> 4] +\n", - " // 4 LSB of i+1, 2 MSB of i+2\n", - " base64_table[(arr[i + 1] & 15) << 2 | (arr[i + 2] & 192) >> 6] +\n", - " // 6 LSB of i+2\n", - " base64_table[(arr[i + 2] & 63)];\n", - " aux(arr, i + 3, r + str) tailstrict;\n", - "\n", - " local sanity = std.all([a < 256 for a in bytes]);\n", - " if !sanity then\n", - " error 'Can only base64 encode strings / arrays of single bytes.'\n", - " else\n", - " aux(bytes, 0, ''),\n", - "\n", - "\n", - " base64DecodeBytes(str)::\n", - " if std.length(str) % 4 != 0 then\n", - " error 'Not a base64 encoded string \"%s\"' % str\n", - " else\n", - " local aux(str, i, r) =\n", - " if i >= std.length(str) then\n", - " r\n", - " else\n", - " // all 6 bits of i, 2 MSB of i+1\n", - " local n1 = [base64_inv[str[i]] << 2 | (base64_inv[str[i + 1]] >> 4)];\n", - " // 4 LSB of i+1, 4MSB of i+2\n", - " local n2 =\n", - " if str[i + 2] == '=' then []\n", - " else [(base64_inv[str[i + 1]] & 15) << 4 | (base64_inv[str[i + 2]] >> 2)];\n", - " // 2 LSB of i+2, all 6 bits of i+3\n", - " local n3 =\n", - " if str[i + 3] == '=' then []\n", - " else [(base64_inv[str[i + 2]] & 3) << 6 | base64_inv[str[i + 3]]];\n", - " aux(str, i + 4, r + n1 + n2 + n3) tailstrict;\n", - " aux(str, 0, []),\n", - "\n", - " base64Decode(str)::\n", - " local bytes = std.base64DecodeBytes(str);\n", - " std.join('', std.map(std.char, bytes)),\n", - "\n", - " reverse(arr)::\n", - " local l = std.length(arr);\n", - " std.makeArray(l, function(i) arr[l - i - 1]),\n", - "\n", - " // Merge-sort for long arrays and naive quicksort for shorter ones\n", - " sort(arr, keyF=id)::\n", - " local quickSort(arr, keyF=id) =\n", - " local l = std.length(arr);\n", - " if std.length(arr) <= 1 then\n", - " arr\n", - " else\n", - " local pos = 0;\n", - " local pivot = keyF(arr[pos]);\n", - " local rest = std.makeArray(l - 1, function(i) if i < pos then arr[i] else arr[i + 1]);\n", - " local left = std.filter(function(x) keyF(x) < pivot, rest);\n", - " local right = std.filter(function(x) keyF(x) >= pivot, rest);\n", - " quickSort(left, keyF) + [arr[pos]] + quickSort(right, keyF);\n", - "\n", - " local merge(a, b) =\n", - " local la = std.length(a), lb = std.length(b);\n", - " local aux(i, j, prefix) =\n", - " if i == la then\n", - " prefix + b[j:]\n", - " else if j == lb then\n", - " prefix + a[i:]\n", - " else\n", - " if keyF(a[i]) <= keyF(b[j]) then\n", - " aux(i + 1, j, prefix + [a[i]]) tailstrict\n", - " else\n", - " aux(i, j + 1, prefix + [b[j]]) tailstrict;\n", - " aux(0, 0, []);\n", - "\n", - " local l = std.length(arr);\n", - " if std.length(arr) <= 30 then\n", - " quickSort(arr, keyF=keyF)\n", - " else\n", - " local mid = std.floor(l / 2);\n", - " local left = arr[:mid], right = arr[mid:];\n", - " merge(std.sort(left, keyF=keyF), std.sort(right, keyF=keyF)),\n", - "\n", - " uniq(arr, keyF=id)::\n", - " local f(a, b) =\n", - " if std.length(a) == 0 then\n", - " [b]\n", - " else if keyF(a[std.length(a) - 1]) == keyF(b) then\n", - " a\n", - " else\n", - " a + [b];\n", - " std.foldl(f, arr, []),\n", - "\n", - " set(arr, keyF=id)::\n", - " std.uniq(std.sort(arr, keyF), keyF),\n", - "\n", - " setMember(x, arr, keyF=id)::\n", - " // TODO(dcunnin): Binary chop for O(log n) complexity\n", - " std.length(std.setInter([x], arr, keyF)) > 0,\n", - "\n", - " setUnion(a, b, keyF=id)::\n", - " // NOTE: order matters, values in `a` win\n", - " local aux(a, b, i, j, acc) =\n", - " if i >= std.length(a) then\n", - " acc + b[j:]\n", - " else if j >= std.length(b) then\n", - " acc + a[i:]\n", - " else\n", - " local ak = keyF(a[i]);\n", - " local bk = keyF(b[j]);\n", - " if ak == bk then\n", - " aux(a, b, i + 1, j + 1, acc + [a[i]]) tailstrict\n", - " else if ak < bk then\n", - " aux(a, b, i + 1, j, acc + [a[i]]) tailstrict\n", - " else\n", - " aux(a, b, i, j + 1, acc + [b[j]]) tailstrict;\n", - " aux(a, b, 0, 0, []),\n", - "\n", - " setInter(a, b, keyF=id)::\n", - " local aux(a, b, i, j, acc) =\n", - " if i >= std.length(a) || j >= std.length(b) then\n", - " acc\n", - " else\n", - " if keyF(a[i]) == keyF(b[j]) then\n", - " aux(a, b, i + 1, j + 1, acc + [a[i]]) tailstrict\n", - " else if keyF(a[i]) < keyF(b[j]) then\n", - " aux(a, b, i + 1, j, acc) tailstrict\n", - " else\n", - " aux(a, b, i, j + 1, acc) tailstrict;\n", - " aux(a, b, 0, 0, []) tailstrict,\n", - "\n", - " setDiff(a, b, keyF=id)::\n", - " local aux(a, b, i, j, acc) =\n", - " if i >= std.length(a) then\n", - " acc\n", - " else if j >= std.length(b) then\n", - " acc + a[i:]\n", - " else\n", - " if keyF(a[i]) == keyF(b[j]) then\n", - " aux(a, b, i + 1, j + 1, acc) tailstrict\n", - " else if keyF(a[i]) < keyF(b[j]) then\n", - " aux(a, b, i + 1, j, acc + [a[i]]) tailstrict\n", - " else\n", - " aux(a, b, i, j + 1, acc) tailstrict;\n", - " aux(a, b, 0, 0, []) tailstrict,\n", - "\n", - " mergePatch(target, patch)::\n", - " if std.isObject(patch) then\n", - " local target_object =\n", - " if std.isObject(target) then target else {};\n", - "\n", - " local target_fields =\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", - "\n", - " {\n", - " [k]:\n", - " if !std.objectHas(patch, k) then\n", - " target_object[k]\n", - " else if !std.objectHas(target_object, k) then\n", - " std.mergePatch(null, patch[k]) tailstrict\n", - " else\n", - " std.mergePatch(target_object[k], patch[k]) tailstrict\n", - " for k in std.setDiff(both_fields, null_fields)\n", - " }\n", - " else\n", - " patch,\n", - "\n", - " get(o, f, default = null, inc_hidden = true)::\n", - " if std.objectHasEx(o, f, inc_hidden) then o[f] else default,\n", - "\n", - " objectFields(o)::\n", - " std.objectFieldsEx(o, false),\n", - "\n", - " objectFieldsAll(o)::\n", - " std.objectFieldsEx(o, true),\n", - "\n", - " objectHas(o, f)::\n", - " std.objectHasEx(o, f, false),\n", - "\n", - " 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", - " if !std.primitiveEquals(ta, tb) then\n", - " false\n", - " else\n", - " if std.primitiveEquals(ta, 'array') then\n", - " local la = std.length(a);\n", - " if !std.primitiveEquals(la, std.length(b)) then\n", - " false\n", - " else\n", - " local aux(a, b, i) =\n", - " if i >= la then\n", - " true\n", - " else if a[i] != b[i] then\n", - " false\n", - " else\n", - " aux(a, b, i + 1) tailstrict;\n", - " aux(a, b, 0)\n", - " else if std.primitiveEquals(ta, 'object') then\n", - " local fields = std.objectFields(a);\n", - " local lfields = std.length(fields);\n", - " if fields != std.objectFields(b) then\n", - " false\n", - " else\n", - " local aux(a, b, i) =\n", - " if i >= lfields then\n", - " true\n", - " else if local f = fields[i]; a[f] != b[f] then\n", - " false\n", - " else\n", - " aux(a, b, i + 1) tailstrict;\n", - " aux(a, b, 0)\n", - " else\n", - " std.primitiveEquals(a, b),\n", - "\n", - "\n", - " resolvePath(f, r)::\n", - " local arr = std.split(f, '/');\n", - " std.join('/', std.makeArray(std.length(arr) - 1, function(i) arr[i]) + [r]),\n", - "\n", - " prune(a)::\n", - " local isContent(b) =\n", - " if b == null then\n", - " false\n", - " else if std.isArray(b) then\n", - " std.length(b) > 0\n", - " else if std.isObject(b) then\n", - " std.length(b) > 0\n", - " else\n", - " true;\n", - " if std.isArray(a) then\n", - " [std.prune(x) for x in a if isContent($.prune(x))]\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", - " } else\n", - " a,\n", - "\n", - " findSubstr(pat, str)::\n", - " if !std.isString(pat) then\n", - " error 'findSubstr first parameter should be a string, got ' + std.type(pat)\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", - " local str_len = std.length(str);\n", - " if pat_len == 0 || str_len == 0 || pat_len > str_len then\n", - " []\n", - " else\n", - " 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.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", - " all(arr)::\n", - " assert std.isArray(arr) : 'all() parameter should be an array, got ' + std.type(arr);\n", - " local arrLen = std.length(arr);\n", - " local aux(idx) =\n", - " if idx >= arrLen then\n", - " true\n", - " else\n", - " local e = arr[idx];\n", - " assert std.isBoolean(e) : std.format('element \"%s\" of type %s is not a boolean', e, std.type(e));\n", - " if !e then\n", - " false\n", - " else\n", - " aux(idx + 1) tailstrict;\n", - " aux(0),\n", - "\n", - " any(arr)::\n", - " assert std.isArray(arr) : 'any() parameter should be an array, got ' + std.type(arr);\n", - " local arrLen = std.length(arr);\n", - " local aux(idx) =\n", - " if idx >= arrLen then\n", - " false\n", - " else\n", - " local e = arr[idx];\n", - " assert std.isBoolean(e) : std.format('element \"%s\" of type %s is not a boolean', e, std.type(e));\n", - " if e then\n", - " true\n", - " else\n", - " aux(idx + 1) tailstrict;\n", - " aux(0),\n", - "\n", - " // Three way comparison.\n", - " // TODO(sbarzowski): consider exposing and documenting it properly\n", - " __compare(v1, v2)::\n", - " local t1 = std.type(v1), t2 = std.type(v2);\n", - " if t1 != t2 then\n", - " error 'Comparison requires matching types. Got ' + t1 + ' and ' + t2\n", - " else if t1 == 'array' then\n", - " std.__compare_array(v1, v2)\n", - " else if t1 == 'function' || t1 == 'object' || t1 == 'boolean' then\n", - " error 'Values of type ' + t1 + ' are not comparable.'\n", - " else if v1 < v2 then -1\n", - " else if v1 > v2 then 1\n", - " else 0,\n", - "\n", - " __compare_array(arr1, arr2)::\n", - " local len1 = std.length(arr1), len2 = std.length(arr2);\n", - " 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", - }, -} - -// StdAst is the AST for the standard library. -var StdAst = _StdAst -var _StdAst = &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "string", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(32), - }, - End: ast.Location{ - Line: int(28), - Column: int(40), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(17), - }, - End: ast.Location{ - Line: int(28), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(17), - }, - End: ast.Location{ - Line: int(28), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(26), - }, - End: ast.Location{ - Line: int(28), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(17), - }, - End: ast.Location{ - Line: int(28), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(17), - }, - End: ast.Location{ - Line: int(28), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(12), - }, - End: ast.Location{ - Line: int(28), - Column: int(13), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(28), - Column: int(3), - }, - End: ast.Location{ - Line: int(28), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "number", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p29, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(32), - }, - End: ast.Location{ - Line: int(29), - Column: int(40), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(17), - }, - End: ast.Location{ - Line: int(29), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p29, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(17), - }, - End: ast.Location{ - Line: int(29), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p38, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(26), - }, - End: ast.Location{ - Line: int(29), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p29, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(17), - }, - End: ast.Location{ - Line: int(29), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p29, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(17), - }, - End: ast.Location{ - Line: int(29), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(12), - }, - End: ast.Location{ - Line: int(29), - Column: int(13), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(29), - Column: int(3), - }, - End: ast.Location{ - Line: int(29), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "isBoolean", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "boolean", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p48, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(33), - }, - End: ast.Location{ - Line: int(30), - Column: int(42), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(18), - }, - End: ast.Location{ - Line: int(30), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p48, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(18), - }, - End: ast.Location{ - Line: int(30), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p57, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(27), - }, - End: ast.Location{ - Line: int(30), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p48, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(18), - }, - End: ast.Location{ - Line: int(30), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p48, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(18), - }, - End: ast.Location{ - Line: int(30), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(13), - }, - End: ast.Location{ - Line: int(30), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(30), - Column: int(3), - }, - End: ast.Location{ - Line: int(30), - Column: int(42), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "object", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p67, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(32), - }, - End: ast.Location{ - Line: int(31), - Column: int(40), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(17), - }, - End: ast.Location{ - Line: int(31), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p67, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(17), - }, - End: ast.Location{ - Line: int(31), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p76, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(26), - }, - End: ast.Location{ - Line: int(31), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p67, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(17), - }, - End: ast.Location{ - Line: int(31), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p67, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(17), - }, - End: ast.Location{ - Line: int(31), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(12), - }, - End: ast.Location{ - Line: int(31), - Column: int(13), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(31), - Column: int(3), - }, - End: ast.Location{ - Line: int(31), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "array", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p86, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(31), - }, - End: ast.Location{ - Line: int(32), - Column: int(38), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(16), - }, - End: ast.Location{ - Line: int(32), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p86, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(16), - }, - End: ast.Location{ - Line: int(32), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p95, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(25), - }, - End: ast.Location{ - Line: int(32), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p86, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(16), - }, - End: ast.Location{ - Line: int(32), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p86, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(16), - }, - End: ast.Location{ - Line: int(32), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(11), - }, - End: ast.Location{ - Line: int(32), - Column: int(12), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(32), - Column: int(3), - }, - End: ast.Location{ - Line: int(32), - Column: int(38), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "function", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p105, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(34), - }, - End: ast.Location{ - Line: int(33), - Column: int(44), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(19), - }, - End: ast.Location{ - Line: int(33), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p105, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(19), - }, - End: ast.Location{ - Line: int(33), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p114, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(28), - }, - End: ast.Location{ - Line: int(33), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p105, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(19), - }, - End: ast.Location{ - Line: int(33), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p105, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(19), - }, - End: ast.Location{ - Line: int(33), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(14), - }, - End: ast.Location{ - Line: int(33), - Column: int(15), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(33), - Column: int(3), - }, - End: ast.Location{ - Line: int(33), - Column: int(44), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "toString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "string", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p125, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(23), - }, - End: ast.Location{ - Line: int(36), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(8), - }, - End: ast.Location{ - Line: int(36), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p125, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(8), - }, - End: ast.Location{ - Line: int(36), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p134, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(17), - }, - End: ast.Location{ - Line: int(36), - Column: int(18), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p125, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(8), - }, - End: ast.Location{ - Line: int(36), - Column: int(19), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p125, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(8), - }, - End: ast.Location{ - Line: int(36), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p125, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(37), - }, - End: ast.Location{ - Line: int(36), - Column: int(38), - }, - }, - }, - }, - BranchFalse: &ast.Binary{ - Right: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p125, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(49), - }, - End: ast.Location{ - Line: int(36), - Column: int(50), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p125, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(44), - }, - End: ast.Location{ - Line: int(36), - Column: int(46), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p125, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(44), - }, - End: ast.Location{ - Line: int(36), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p125, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(36), - Column: int(5), - }, - End: ast.Location{ - Line: int(36), - Column: int(50), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(35), - Column: int(12), - }, - End: ast.Location{ - Line: int(35), - Column: int(13), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(35), - Column: int(3), - }, - End: ast.Location{ - Line: int(36), - Column: int(50), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "substr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(12), - }, - End: ast.Location{ - Line: int(39), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(12), - }, - End: ast.Location{ - Line: int(39), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p161, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(25), - }, - End: ast.Location{ - Line: int(39), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(12), - }, - End: ast.Location{ - Line: int(39), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(12), - }, - End: ast.Location{ - Line: int(40), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(12), - }, - End: ast.Location{ - Line: int(40), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p173, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(25), - }, - End: ast.Location{ - Line: int(40), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(12), - }, - End: ast.Location{ - Line: int(40), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(12), - }, - End: ast.Location{ - Line: int(41), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(12), - }, - End: ast.Location{ - Line: int(41), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p185, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(25), - }, - End: ast.Location{ - Line: int(41), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(12), - }, - End: ast.Location{ - Line: int(41), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(19), - }, - End: ast.Location{ - Line: int(42), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(12), - }, - End: ast.Location{ - Line: int(42), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(12), - }, - End: ast.Location{ - Line: int(42), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p203, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(14), - }, - End: ast.Location{ - Line: int(43), - Column: int(16), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(18), - }, - End: ast.Location{ - Line: int(43), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p203, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(18), - }, - End: ast.Location{ - Line: int(43), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(32), - }, - End: ast.Location{ - Line: int(43), - Column: int(35), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "max", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p216, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(32), - }, - End: ast.Location{ - Line: int(43), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p220, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(40), - }, - End: ast.Location{ - Line: int(43), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(43), - }, - End: ast.Location{ - Line: int(43), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "min", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p220, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(43), - }, - End: ast.Location{ - Line: int(43), - Column: int(50), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p229, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(51), - }, - End: ast.Location{ - Line: int(43), - Column: int(54), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p229, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(74), - }, - End: ast.Location{ - Line: int(43), - Column: int(78), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(56), - }, - End: ast.Location{ - Line: int(43), - Column: int(59), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p229, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(56), - }, - End: ast.Location{ - Line: int(43), - Column: int(66), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p242, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(67), - }, - End: ast.Location{ - Line: int(43), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p229, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(56), - }, - End: ast.Location{ - Line: int(43), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p229, - FreeVars: ast.Identifiers{ - "from", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(56), - }, - End: ast.Location{ - Line: int(43), - Column: int(78), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p220, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(43), - }, - End: ast.Location{ - Line: int(43), - Column: int(79), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p216, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(32), - }, - End: ast.Location{ - Line: int(43), - Column: int(80), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p251, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(94), - }, - End: ast.Location{ - Line: int(43), - Column: int(97), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p251, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(102), - }, - End: ast.Location{ - Line: int(43), - Column: int(106), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p251, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(98), - }, - End: ast.Location{ - Line: int(43), - Column: int(99), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p251, - FreeVars: ast.Identifiers{ - "from", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(98), - }, - End: ast.Location{ - Line: int(43), - Column: int(106), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p251, - FreeVars: ast.Identifiers{ - "from", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(94), - }, - End: ast.Location{ - Line: int(43), - Column: int(107), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(91), - }, - End: ast.Location{ - Line: int(43), - Column: int(92), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p216, - FreeVars: ast.Identifiers{ - "from", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(82), - }, - End: ast.Location{ - Line: int(43), - Column: int(107), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p203, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(18), - }, - End: ast.Location{ - Line: int(43), - Column: int(108), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(43), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(84), - }, - End: ast.Location{ - Line: int(42), - Column: int(87), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "substr third parameter should be greater than zero, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(23), - }, - End: ast.Location{ - Line: int(42), - Column: int(81), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(23), - }, - End: ast.Location{ - Line: int(42), - Column: int(87), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(42), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(84), - }, - End: ast.Location{ - Line: int(41), - Column: int(87), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(84), - }, - End: ast.Location{ - Line: int(41), - Column: int(92), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p282, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(93), - }, - End: ast.Location{ - Line: int(41), - Column: int(96), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(84), - }, - End: ast.Location{ - Line: int(41), - Column: int(97), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "substr third parameter should be a string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(32), - }, - End: ast.Location{ - Line: int(41), - Column: int(81), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(32), - }, - End: ast.Location{ - Line: int(41), - Column: int(97), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "len", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(41), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(86), - }, - End: ast.Location{ - Line: int(40), - Column: int(89), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(86), - }, - End: ast.Location{ - Line: int(40), - Column: int(94), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p299, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(95), - }, - End: ast.Location{ - Line: int(40), - Column: int(99), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(86), - }, - End: ast.Location{ - Line: int(40), - Column: int(100), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "substr second parameter should be a string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(33), - }, - End: ast.Location{ - Line: int(40), - Column: int(83), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(33), - }, - End: ast.Location{ - Line: int(40), - Column: int(100), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(40), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(84), - }, - End: ast.Location{ - Line: int(39), - Column: int(87), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(84), - }, - End: ast.Location{ - Line: int(39), - Column: int(92), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p316, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(93), - }, - End: ast.Location{ - Line: int(39), - Column: int(96), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(84), - }, - End: ast.Location{ - Line: int(39), - Column: int(97), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "substr first parameter should be a string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(32), - }, - End: ast.Location{ - Line: int(39), - Column: int(81), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p157, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(32), - }, - End: ast.Location{ - Line: int(39), - Column: int(97), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(39), - Column: int(5), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "from", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(38), - Column: int(10), - }, - End: ast.Location{ - Line: int(38), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "from", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(38), - Column: int(15), - }, - End: ast.Location{ - Line: int(38), - Column: int(19), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "len", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(38), - Column: int(21), - }, - End: ast.Location{ - Line: int(38), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(38), - Column: int(3), - }, - End: ast.Location{ - Line: int(43), - Column: int(109), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "startsWith", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(24), - }, - End: ast.Location{ - Line: int(46), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p334, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(24), - }, - End: ast.Location{ - Line: int(46), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p338, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(35), - }, - End: ast.Location{ - Line: int(46), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p334, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(24), - }, - End: ast.Location{ - Line: int(46), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(8), - }, - End: ast.Location{ - Line: int(46), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p334, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(8), - }, - End: ast.Location{ - Line: int(46), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p349, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(19), - }, - End: ast.Location{ - Line: int(46), - Column: int(20), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p334, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(8), - }, - End: ast.Location{ - Line: int(46), - Column: int(21), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p334, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(8), - }, - End: ast.Location{ - Line: int(46), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p334, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(47), - Column: int(7), - }, - End: ast.Location{ - Line: int(47), - Column: int(12), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Binary{ - Right: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p334, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(42), - }, - End: ast.Location{ - Line: int(49), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(7), - }, - End: ast.Location{ - Line: int(49), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "substr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p334, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(7), - }, - End: ast.Location{ - Line: int(49), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p367, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(18), - }, - End: ast.Location{ - Line: int(49), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p367, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(21), - }, - End: ast.Location{ - Line: int(49), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(24), - }, - End: ast.Location{ - Line: int(49), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p367, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(24), - }, - End: ast.Location{ - Line: int(49), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p378, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(35), - }, - End: ast.Location{ - Line: int(49), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p367, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(24), - }, - End: ast.Location{ - Line: int(49), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p334, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(7), - }, - End: ast.Location{ - Line: int(49), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p334, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(49), - Column: int(7), - }, - End: ast.Location{ - Line: int(49), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p334, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(46), - Column: int(5), - }, - End: ast.Location{ - Line: int(49), - Column: int(43), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(45), - Column: int(14), - }, - End: ast.Location{ - Line: int(45), - Column: int(15), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(45), - Column: int(17), - }, - End: ast.Location{ - Line: int(45), - Column: int(18), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(45), - Column: int(3), - }, - End: ast.Location{ - Line: int(49), - Column: int(43), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "endsWith", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(24), - }, - End: ast.Location{ - Line: int(52), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p397, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(24), - }, - End: ast.Location{ - Line: int(52), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p401, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(35), - }, - End: ast.Location{ - Line: int(52), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p397, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(24), - }, - End: ast.Location{ - Line: int(52), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(8), - }, - End: ast.Location{ - Line: int(52), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p397, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(8), - }, - End: ast.Location{ - Line: int(52), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p412, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(19), - }, - End: ast.Location{ - Line: int(52), - Column: int(20), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p397, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(8), - }, - End: ast.Location{ - Line: int(52), - Column: int(21), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p397, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(8), - }, - End: ast.Location{ - Line: int(52), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p397, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(53), - Column: int(7), - }, - End: ast.Location{ - Line: int(53), - Column: int(12), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Binary{ - Right: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p397, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(70), - }, - End: ast.Location{ - Line: int(55), - Column: int(71), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(7), - }, - End: ast.Location{ - Line: int(55), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "substr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p397, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(7), - }, - End: ast.Location{ - Line: int(55), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p430, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(18), - }, - End: ast.Location{ - Line: int(55), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(37), - }, - End: ast.Location{ - Line: int(55), - Column: int(40), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p430, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(37), - }, - End: ast.Location{ - Line: int(55), - Column: int(47), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p441, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(48), - }, - End: ast.Location{ - Line: int(55), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p430, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(37), - }, - End: ast.Location{ - Line: int(55), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(21), - }, - End: ast.Location{ - Line: int(55), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p430, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(21), - }, - End: ast.Location{ - Line: int(55), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p452, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(32), - }, - End: ast.Location{ - Line: int(55), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p430, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(21), - }, - End: ast.Location{ - Line: int(55), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p430, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(21), - }, - End: ast.Location{ - Line: int(55), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(52), - }, - End: ast.Location{ - Line: int(55), - Column: int(55), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p430, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(52), - }, - End: ast.Location{ - Line: int(55), - Column: int(62), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p464, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(63), - }, - End: ast.Location{ - Line: int(55), - Column: int(64), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p430, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(52), - }, - End: ast.Location{ - Line: int(55), - Column: int(65), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p397, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(7), - }, - End: ast.Location{ - Line: int(55), - Column: int(66), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p397, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(55), - Column: int(7), - }, - End: ast.Location{ - Line: int(55), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p397, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(52), - Column: int(5), - }, - End: ast.Location{ - Line: int(55), - Column: int(71), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(12), - }, - End: ast.Location{ - Line: int(51), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(15), - }, - End: ast.Location{ - Line: int(51), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(51), - Column: int(3), - }, - End: ast.Location{ - Line: int(55), - Column: int(71), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "lstripChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(31), - }, - End: ast.Location{ - Line: int(58), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "member", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p483, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(31), - }, - End: ast.Location{ - Line: int(58), - Column: int(41), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "chars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p487, - FreeVars: ast.Identifiers{ - "chars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(42), - }, - End: ast.Location{ - Line: int(58), - Column: int(47), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p487, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(49), - }, - End: ast.Location{ - Line: int(58), - Column: int(52), - }, - }, - }, - }, - Index: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p487, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(53), - }, - End: ast.Location{ - Line: int(58), - Column: int(54), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p487, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(49), - }, - End: ast.Location{ - Line: int(58), - Column: int(55), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p483, - FreeVars: ast.Identifiers{ - "chars", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(31), - }, - End: ast.Location{ - Line: int(58), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p483, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(26), - }, - End: ast.Location{ - Line: int(58), - Column: int(27), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p483, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p505, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(19), - }, - End: ast.Location{ - Line: int(58), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p483, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p483, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p483, - FreeVars: ast.Identifiers{ - "chars", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(8), - }, - End: ast.Location{ - Line: int(58), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(7), - }, - End: ast.Location{ - Line: int(59), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "lstripChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p483, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(7), - }, - End: ast.Location{ - Line: int(59), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p526, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(23), - }, - End: ast.Location{ - Line: int(59), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p526, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(27), - }, - End: ast.Location{ - Line: int(59), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(23), - }, - End: ast.Location{ - Line: int(59), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "chars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p526, - FreeVars: ast.Identifiers{ - "chars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(32), - }, - End: ast.Location{ - Line: int(59), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p483, - FreeVars: ast.Identifiers{ - "$std", - "chars", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(59), - Column: int(7), - }, - End: ast.Location{ - Line: int(59), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p483, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(61), - Column: int(7), - }, - End: ast.Location{ - Line: int(61), - Column: int(10), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p483, - FreeVars: ast.Identifiers{ - "$std", - "chars", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(58), - Column: int(5), - }, - End: ast.Location{ - Line: int(61), - Column: int(10), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(57), - Column: int(15), - }, - End: ast.Location{ - Line: int(57), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "chars", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(57), - Column: int(20), - }, - End: ast.Location{ - Line: int(57), - Column: int(25), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(57), - Column: int(3), - }, - End: ast.Location{ - Line: int(61), - Column: int(10), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "rstripChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(64), - Column: int(17), - }, - End: ast.Location{ - Line: int(64), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p552, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(64), - Column: int(17), - }, - End: ast.Location{ - Line: int(64), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p556, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(64), - Column: int(28), - }, - End: ast.Location{ - Line: int(64), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p552, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(64), - Column: int(17), - }, - End: ast.Location{ - Line: int(64), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "len", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(64), - Column: int(11), - }, - End: ast.Location{ - Line: int(64), - Column: int(32), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(19), - }, - End: ast.Location{ - Line: int(65), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "member", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p566, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(19), - }, - End: ast.Location{ - Line: int(65), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "chars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p570, - FreeVars: ast.Identifiers{ - "chars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(30), - }, - End: ast.Location{ - Line: int(65), - Column: int(35), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p570, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(37), - }, - End: ast.Location{ - Line: int(65), - Column: int(40), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p570, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(47), - }, - End: ast.Location{ - Line: int(65), - Column: int(48), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p570, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(41), - }, - End: ast.Location{ - Line: int(65), - Column: int(44), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p570, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(41), - }, - End: ast.Location{ - Line: int(65), - Column: int(48), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p570, - FreeVars: ast.Identifiers{ - "len", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(37), - }, - End: ast.Location{ - Line: int(65), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p566, - FreeVars: ast.Identifiers{ - "chars", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(19), - }, - End: ast.Location{ - Line: int(65), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p566, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(14), - }, - End: ast.Location{ - Line: int(65), - Column: int(15), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p566, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(8), - }, - End: ast.Location{ - Line: int(65), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p566, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(8), - }, - End: ast.Location{ - Line: int(65), - Column: int(15), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p566, - FreeVars: ast.Identifiers{ - "chars", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(8), - }, - End: ast.Location{ - Line: int(65), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(7), - }, - End: ast.Location{ - Line: int(66), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "rstripChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p566, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(7), - }, - End: ast.Location{ - Line: int(66), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p604, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(23), - }, - End: ast.Location{ - Line: int(66), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p604, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(34), - }, - End: ast.Location{ - Line: int(66), - Column: int(35), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p604, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(28), - }, - End: ast.Location{ - Line: int(66), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p604, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(28), - }, - End: ast.Location{ - Line: int(66), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "len", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(23), - }, - End: ast.Location{ - Line: int(66), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "chars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p604, - FreeVars: ast.Identifiers{ - "chars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(38), - }, - End: ast.Location{ - Line: int(66), - Column: int(43), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p566, - FreeVars: ast.Identifiers{ - "$std", - "chars", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(66), - Column: int(7), - }, - End: ast.Location{ - Line: int(66), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p566, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(68), - Column: int(7), - }, - End: ast.Location{ - Line: int(68), - Column: int(10), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p566, - FreeVars: ast.Identifiers{ - "$std", - "chars", - "len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(65), - Column: int(5), - }, - End: ast.Location{ - Line: int(68), - Column: int(10), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p566, - FreeVars: ast.Identifiers{ - "$std", - "chars", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(64), - Column: int(5), - }, - End: ast.Location{ - Line: int(68), - Column: int(10), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(63), - Column: int(15), - }, - End: ast.Location{ - Line: int(63), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "chars", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(63), - Column: int(20), - }, - End: ast.Location{ - Line: int(63), - Column: int(25), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(63), - Column: int(3), - }, - End: ast.Location{ - Line: int(68), - Column: int(10), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "stripChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(5), - }, - End: ast.Location{ - Line: int(71), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "lstripChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p635, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(5), - }, - End: ast.Location{ - Line: int(71), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(21), - }, - End: ast.Location{ - Line: int(71), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "rstripChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p643, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(21), - }, - End: ast.Location{ - Line: int(71), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p647, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(37), - }, - End: ast.Location{ - Line: int(71), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "chars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p647, - FreeVars: ast.Identifiers{ - "chars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(42), - }, - End: ast.Location{ - Line: int(71), - Column: int(47), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p643, - FreeVars: ast.Identifiers{ - "chars", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(21), - }, - End: ast.Location{ - Line: int(71), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "chars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p643, - FreeVars: ast.Identifiers{ - "chars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(50), - }, - End: ast.Location{ - Line: int(71), - Column: int(55), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p635, - FreeVars: ast.Identifiers{ - "chars", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(71), - Column: int(5), - }, - End: ast.Location{ - Line: int(71), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(70), - Column: int(14), - }, - End: ast.Location{ - Line: int(70), - Column: int(17), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "chars", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(70), - Column: int(19), - }, - End: ast.Location{ - Line: int(70), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(70), - Column: int(3), - }, - End: ast.Location{ - Line: int(71), - Column: int(56), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(5), - }, - End: ast.Location{ - Line: int(74), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p665, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(5), - }, - End: ast.Location{ - Line: int(74), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(19), - }, - End: ast.Location{ - Line: int(74), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p673, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(19), - }, - End: ast.Location{ - Line: int(74), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p677, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(30), - }, - End: ast.Location{ - Line: int(74), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p673, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(19), - }, - End: ast.Location{ - Line: int(74), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p683, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(48), - }, - End: ast.Location{ - Line: int(74), - Column: int(51), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p683, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(52), - }, - End: ast.Location{ - Line: int(74), - Column: int(53), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p683, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(48), - }, - End: ast.Location{ - Line: int(74), - Column: int(54), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(45), - }, - End: ast.Location{ - Line: int(74), - Column: int(46), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p673, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(36), - }, - End: ast.Location{ - Line: int(74), - Column: int(54), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p665, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(74), - Column: int(5), - }, - End: ast.Location{ - Line: int(74), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(73), - Column: int(15), - }, - End: ast.Location{ - Line: int(73), - Column: int(18), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(73), - Column: int(3), - }, - End: ast.Location{ - Line: int(74), - Column: int(55), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "parseInt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(12), - }, - End: ast.Location{ - Line: int(95), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(12), - }, - End: ast.Location{ - Line: int(95), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p705, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(25), - }, - End: ast.Location{ - Line: int(95), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(12), - }, - End: ast.Location{ - Line: int(95), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(42), - }, - End: ast.Location{ - Line: int(96), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(35), - }, - End: ast.Location{ - Line: int(96), - Column: int(38), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(35), - }, - End: ast.Location{ - Line: int(96), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(30), - }, - End: ast.Location{ - Line: int(96), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p725, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(23), - }, - End: ast.Location{ - Line: int(96), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(12), - }, - End: ast.Location{ - Line: int(96), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(18), - }, - End: ast.Location{ - Line: int(97), - Column: int(21), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(8), - }, - End: ast.Location{ - Line: int(97), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(12), - }, - End: ast.Location{ - Line: int(97), - Column: int(13), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(8), - }, - End: ast.Location{ - Line: int(97), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(8), - }, - End: ast.Location{ - Line: int(97), - Column: int(21), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "parse_nat", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "parse_nat", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(8), - }, - End: ast.Location{ - Line: int(98), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p752, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(18), - }, - End: ast.Location{ - Line: int(98), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p752, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(22), - }, - End: ast.Location{ - Line: int(98), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(18), - }, - End: ast.Location{ - Line: int(98), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p752, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(27), - }, - End: ast.Location{ - Line: int(98), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(8), - }, - End: ast.Location{ - Line: int(98), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p701, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(98), - Column: int(7), - }, - End: ast.Location{ - Line: int(98), - Column: int(30), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "parse_nat", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p701, - FreeVars: ast.Identifiers{ - "parse_nat", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(100), - Column: int(7), - }, - End: ast.Location{ - Line: int(100), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p768, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(100), - Column: int(17), - }, - End: ast.Location{ - Line: int(100), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p768, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(100), - Column: int(22), - }, - End: ast.Location{ - Line: int(100), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "parse_nat", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(100), - Column: int(7), - }, - End: ast.Location{ - Line: int(100), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p701, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(97), - Column: int(5), - }, - End: ast.Location{ - Line: int(100), - Column: int(25), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "Not an integer: \"%s\"", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(48), - }, - End: ast.Location{ - Line: int(96), - Column: int(70), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p787, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(74), - }, - End: ast.Location{ - Line: int(96), - Column: int(77), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(73), - }, - End: ast.Location{ - Line: int(96), - Column: int(78), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(48), - }, - End: ast.Location{ - Line: int(96), - Column: int(78), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(96), - Column: int(5), - }, - End: ast.Location{ - Line: int(100), - Column: int(25), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(58), - }, - End: ast.Location{ - Line: int(95), - Column: int(61), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(58), - }, - End: ast.Location{ - Line: int(95), - Column: int(66), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p803, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(67), - }, - End: ast.Location{ - Line: int(95), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(58), - }, - End: ast.Location{ - Line: int(95), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "Expected string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(32), - }, - End: ast.Location{ - Line: int(95), - Column: int(55), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p701, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(32), - }, - End: ast.Location{ - Line: int(95), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(95), - Column: int(5), - }, - End: ast.Location{ - Line: int(100), - Column: int(25), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(94), - Column: int(12), - }, - End: ast.Location{ - Line: int(94), - Column: int(15), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "parse_nat", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(94), - Column: int(3), - }, - End: ast.Location{ - Line: int(100), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "parseOctal", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(12), - }, - End: ast.Location{ - Line: int(103), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(12), - }, - End: ast.Location{ - Line: int(103), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p824, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(25), - }, - End: ast.Location{ - Line: int(103), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(12), - }, - End: ast.Location{ - Line: int(103), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(30), - }, - End: ast.Location{ - Line: int(104), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(12), - }, - End: ast.Location{ - Line: int(104), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(12), - }, - End: ast.Location{ - Line: int(104), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p838, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(23), - }, - End: ast.Location{ - Line: int(104), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(12), - }, - End: ast.Location{ - Line: int(104), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(12), - }, - End: ast.Location{ - Line: int(104), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "parse_nat", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p820, - FreeVars: ast.Identifiers{ - "parse_nat", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(105), - Column: int(5), - }, - End: ast.Location{ - Line: int(105), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p848, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(105), - Column: int(15), - }, - End: ast.Location{ - Line: int(105), - Column: int(18), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "8", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p848, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(105), - Column: int(20), - }, - End: ast.Location{ - Line: int(105), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{ - "parse_nat", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(105), - Column: int(5), - }, - End: ast.Location{ - Line: int(105), - Column: int(22), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Not an octal number: \"\"", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(34), - }, - End: ast.Location{ - Line: int(104), - Column: int(59), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(104), - Column: int(5), - }, - End: ast.Location{ - Line: int(105), - Column: int(22), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(58), - }, - End: ast.Location{ - Line: int(103), - Column: int(61), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(58), - }, - End: ast.Location{ - Line: int(103), - Column: int(66), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p865, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(67), - }, - End: ast.Location{ - Line: int(103), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(58), - }, - End: ast.Location{ - Line: int(103), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "Expected string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(32), - }, - End: ast.Location{ - Line: int(103), - Column: int(55), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p820, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(32), - }, - End: ast.Location{ - Line: int(103), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(103), - Column: int(5), - }, - End: ast.Location{ - Line: int(105), - Column: int(22), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(102), - Column: int(14), - }, - End: ast.Location{ - Line: int(102), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(102), - Column: int(3), - }, - End: ast.Location{ - Line: int(105), - Column: int(22), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "parseHex", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(12), - }, - End: ast.Location{ - Line: int(108), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(12), - }, - End: ast.Location{ - Line: int(108), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p886, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(25), - }, - End: ast.Location{ - Line: int(108), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(12), - }, - End: ast.Location{ - Line: int(108), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(30), - }, - End: ast.Location{ - Line: int(109), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(12), - }, - End: ast.Location{ - Line: int(109), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(12), - }, - End: ast.Location{ - Line: int(109), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p900, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(23), - }, - End: ast.Location{ - Line: int(109), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(12), - }, - End: ast.Location{ - Line: int(109), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(12), - }, - End: ast.Location{ - Line: int(109), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "parse_nat", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p882, - FreeVars: ast.Identifiers{ - "parse_nat", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(110), - Column: int(5), - }, - End: ast.Location{ - Line: int(110), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p910, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(110), - Column: int(15), - }, - End: ast.Location{ - Line: int(110), - Column: int(18), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "16", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p910, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(110), - Column: int(20), - }, - End: ast.Location{ - Line: int(110), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{ - "parse_nat", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(110), - Column: int(5), - }, - End: ast.Location{ - Line: int(110), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Not hexadecimal: \"\"", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(34), - }, - End: ast.Location{ - Line: int(109), - Column: int(55), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(109), - Column: int(5), - }, - End: ast.Location{ - Line: int(110), - Column: int(23), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(58), - }, - End: ast.Location{ - Line: int(108), - Column: int(61), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(58), - }, - End: ast.Location{ - Line: int(108), - Column: int(66), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p927, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(67), - }, - End: ast.Location{ - Line: int(108), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(58), - }, - End: ast.Location{ - Line: int(108), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "Expected string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(32), - }, - End: ast.Location{ - Line: int(108), - Column: int(55), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p882, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(32), - }, - End: ast.Location{ - Line: int(108), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(108), - Column: int(5), - }, - End: ast.Location{ - Line: int(110), - Column: int(23), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(107), - Column: int(12), - }, - End: ast.Location{ - Line: int(107), - Column: int(15), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "parse_nat", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(107), - Column: int(3), - }, - End: ast.Location{ - Line: int(110), - Column: int(23), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "split", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(12), - }, - End: ast.Location{ - Line: int(113), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(12), - }, - End: ast.Location{ - Line: int(113), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p948, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(25), - }, - End: ast.Location{ - Line: int(113), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(12), - }, - End: ast.Location{ - Line: int(113), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(12), - }, - End: ast.Location{ - Line: int(114), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(12), - }, - End: ast.Location{ - Line: int(114), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p960, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(25), - }, - End: ast.Location{ - Line: int(114), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(12), - }, - End: ast.Location{ - Line: int(114), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(29), - }, - End: ast.Location{ - Line: int(115), - Column: int(30), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(12), - }, - End: ast.Location{ - Line: int(115), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(12), - }, - End: ast.Location{ - Line: int(115), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p974, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(23), - }, - End: ast.Location{ - Line: int(115), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(12), - }, - End: ast.Location{ - Line: int(115), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(12), - }, - End: ast.Location{ - Line: int(115), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(5), - }, - End: ast.Location{ - Line: int(116), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "splitLimit", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(5), - }, - End: ast.Location{ - Line: int(116), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p987, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(20), - }, - End: ast.Location{ - Line: int(116), - Column: int(23), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p987, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(25), - }, - End: ast.Location{ - Line: int(116), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p987, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(29), - }, - End: ast.Location{ - Line: int(116), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p987, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(28), - }, - End: ast.Location{ - Line: int(116), - Column: int(30), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "c", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(116), - Column: int(5), - }, - End: ast.Location{ - Line: int(116), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(100), - }, - End: ast.Location{ - Line: int(115), - Column: int(103), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(100), - }, - End: ast.Location{ - Line: int(115), - Column: int(110), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1004, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(111), - }, - End: ast.Location{ - Line: int(115), - Column: int(112), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(100), - }, - End: ast.Location{ - Line: int(115), - Column: int(113), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.split second parameter must have length 1 or greater, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(33), - }, - End: ast.Location{ - Line: int(115), - Column: int(97), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(33), - }, - End: ast.Location{ - Line: int(115), - Column: int(113), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(115), - Column: int(5), - }, - End: ast.Location{ - Line: int(116), - Column: int(31), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(84), - }, - End: ast.Location{ - Line: int(114), - Column: int(87), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(84), - }, - End: ast.Location{ - Line: int(114), - Column: int(92), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1021, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(93), - }, - End: ast.Location{ - Line: int(114), - Column: int(94), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(84), - }, - End: ast.Location{ - Line: int(114), - Column: int(95), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.split second parameter must be a String, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(30), - }, - End: ast.Location{ - Line: int(114), - Column: int(81), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(30), - }, - End: ast.Location{ - Line: int(114), - Column: int(95), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(114), - Column: int(5), - }, - End: ast.Location{ - Line: int(116), - Column: int(31), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(85), - }, - End: ast.Location{ - Line: int(113), - Column: int(88), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(85), - }, - End: ast.Location{ - Line: int(113), - Column: int(93), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1038, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(94), - }, - End: ast.Location{ - Line: int(113), - Column: int(97), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(85), - }, - End: ast.Location{ - Line: int(113), - Column: int(98), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.split first parameter must be a String, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(32), - }, - End: ast.Location{ - Line: int(113), - Column: int(82), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p944, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(32), - }, - End: ast.Location{ - Line: int(113), - Column: int(98), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(113), - Column: int(5), - }, - End: ast.Location{ - Line: int(116), - Column: int(31), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(112), - Column: int(9), - }, - End: ast.Location{ - Line: int(112), - Column: int(12), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(112), - Column: int(14), - }, - End: ast.Location{ - Line: int(112), - Column: int(15), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(112), - Column: int(3), - }, - End: ast.Location{ - Line: int(116), - Column: int(31), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "splitLimit", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(12), - }, - End: ast.Location{ - Line: int(119), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(12), - }, - End: ast.Location{ - Line: int(119), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1059, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(25), - }, - End: ast.Location{ - Line: int(119), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(12), - }, - End: ast.Location{ - Line: int(119), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(12), - }, - End: ast.Location{ - Line: int(120), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(12), - }, - End: ast.Location{ - Line: int(120), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1071, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(25), - }, - End: ast.Location{ - Line: int(120), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(12), - }, - End: ast.Location{ - Line: int(120), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(29), - }, - End: ast.Location{ - Line: int(121), - Column: int(30), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(12), - }, - End: ast.Location{ - Line: int(121), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(12), - }, - End: ast.Location{ - Line: int(121), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1085, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(23), - }, - End: ast.Location{ - Line: int(121), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(12), - }, - End: ast.Location{ - Line: int(121), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(12), - }, - End: ast.Location{ - Line: int(121), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(12), - }, - End: ast.Location{ - Line: int(122), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(12), - }, - End: ast.Location{ - Line: int(122), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "maxsplits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1098, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(25), - }, - End: ast.Location{ - Line: int(122), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(12), - }, - End: ast.Location{ - Line: int(122), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(20), - }, - End: ast.Location{ - Line: int(123), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1108, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(20), - }, - End: ast.Location{ - Line: int(123), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1112, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(31), - }, - End: ast.Location{ - Line: int(123), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1108, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(20), - }, - End: ast.Location{ - Line: int(123), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "strLen", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(11), - }, - End: ast.Location{ - Line: int(123), - Column: int(35), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(18), - }, - End: ast.Location{ - Line: int(124), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(18), - }, - End: ast.Location{ - Line: int(124), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1126, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(29), - }, - End: ast.Location{ - Line: int(124), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1122, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(18), - }, - End: ast.Location{ - Line: int(124), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "cLen", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(11), - }, - End: ast.Location{ - Line: int(124), - Column: int(31), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "strLen", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "strLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(17), - }, - End: ast.Location{ - Line: int(126), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(10), - }, - End: ast.Location{ - Line: int(126), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "idx", - "strLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(10), - }, - End: ast.Location{ - Line: int(126), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1144, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(16), - }, - End: ast.Location{ - Line: int(127), - Column: int(19), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(15), - }, - End: ast.Location{ - Line: int(127), - Column: int(20), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "ret", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "ret", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(9), - }, - End: ast.Location{ - Line: int(127), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "ret", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(127), - Column: int(9), - }, - End: ast.Location{ - Line: int(127), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Var{ - Id: "maxsplits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(53), - }, - End: ast.Location{ - Line: int(129), - Column: int(62), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(35), - }, - End: ast.Location{ - Line: int(129), - Column: int(38), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(35), - }, - End: ast.Location{ - Line: int(129), - Column: int(45), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ret", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1165, - FreeVars: ast.Identifiers{ - "ret", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(46), - }, - End: ast.Location{ - Line: int(129), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "ret", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(35), - }, - End: ast.Location{ - Line: int(129), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "maxsplits", - "ret", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(35), - }, - End: ast.Location{ - Line: int(129), - Column: int(62), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - Left: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(30), - }, - End: ast.Location{ - Line: int(129), - Column: int(31), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(29), - }, - End: ast.Location{ - Line: int(129), - Column: int(31), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - Left: &ast.Var{ - Id: "maxsplits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(16), - }, - End: ast.Location{ - Line: int(129), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(16), - }, - End: ast.Location{ - Line: int(129), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "maxsplits", - "ret", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(129), - Column: int(16), - }, - End: ast.Location{ - Line: int(129), - Column: int(62), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(44), - }, - End: ast.Location{ - Line: int(128), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(15), - }, - End: ast.Location{ - Line: int(128), - Column: int(18), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(19), - }, - End: ast.Location{ - Line: int(128), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "cLen", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "cLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(31), - }, - End: ast.Location{ - Line: int(128), - Column: int(35), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(25), - }, - End: ast.Location{ - Line: int(128), - Column: int(28), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "cLen", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(25), - }, - End: ast.Location{ - Line: int(128), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(38), - }, - End: ast.Location{ - Line: int(128), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "cLen", - "idx", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(15), - }, - End: ast.Location{ - Line: int(128), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "$std", - "c", - "cLen", - "idx", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(15), - }, - End: ast.Location{ - Line: int(128), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "$std", - "c", - "cLen", - "idx", - "maxsplits", - "ret", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(15), - }, - End: ast.Location{ - Line: int(129), - Column: int(63), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(9), - }, - End: ast.Location{ - Line: int(130), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "cLen", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1207, - FreeVars: ast.Identifiers{ - "cLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(19), - }, - End: ast.Location{ - Line: int(130), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1207, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(13), - }, - End: ast.Location{ - Line: int(130), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1207, - FreeVars: ast.Identifiers{ - "cLen", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(13), - }, - End: ast.Location{ - Line: int(130), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1216, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(32), - }, - End: ast.Location{ - Line: int(130), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1207, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(31), - }, - End: ast.Location{ - Line: int(130), - Column: int(36), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "ret", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1207, - FreeVars: ast.Identifiers{ - "ret", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(25), - }, - End: ast.Location{ - Line: int(130), - Column: int(28), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1207, - FreeVars: ast.Identifiers{ - "ret", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(25), - }, - End: ast.Location{ - Line: int(130), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1207, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(38), - }, - End: ast.Location{ - Line: int(130), - Column: int(40), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "aux", - "cLen", - "idx", - "ret", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(130), - Column: int(9), - }, - End: ast.Location{ - Line: int(130), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(9), - }, - End: ast.Location{ - Line: int(132), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1231, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(19), - }, - End: ast.Location{ - Line: int(132), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1231, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(13), - }, - End: ast.Location{ - Line: int(132), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1231, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(13), - }, - End: ast.Location{ - Line: int(132), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ret", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1231, - FreeVars: ast.Identifiers{ - "ret", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(22), - }, - End: ast.Location{ - Line: int(132), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1231, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(33), - }, - End: ast.Location{ - Line: int(132), - Column: int(36), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1231, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(37), - }, - End: ast.Location{ - Line: int(132), - Column: int(40), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1231, - FreeVars: ast.Identifiers{ - "idx", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(33), - }, - End: ast.Location{ - Line: int(132), - Column: int(41), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1231, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(27), - }, - End: ast.Location{ - Line: int(132), - Column: int(30), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1231, - FreeVars: ast.Identifiers{ - "idx", - "str", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(27), - }, - End: ast.Location{ - Line: int(132), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "aux", - "idx", - "ret", - "str", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(132), - Column: int(9), - }, - End: ast.Location{ - Line: int(132), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "c", - "cLen", - "idx", - "maxsplits", - "ret", - "std", - "str", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(128), - Column: int(12), - }, - End: ast.Location{ - Line: int(132), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p1135, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "c", - "cLen", - "idx", - "maxsplits", - "ret", - "std", - "str", - "strLen", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(126), - Column: int(7), - }, - End: ast.Location{ - Line: int(132), - Column: int(42), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "idx", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(15), - }, - End: ast.Location{ - Line: int(125), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ret", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(20), - }, - End: ast.Location{ - Line: int(125), - Column: int(23), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "val", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(25), - }, - End: ast.Location{ - Line: int(125), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p1254, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "c", - "cLen", - "maxsplits", - "std", - "str", - "strLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(11), - }, - End: ast.Location{ - Line: int(132), - Column: int(42), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(133), - Column: int(5), - }, - End: ast.Location{ - Line: int(133), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1262, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(133), - Column: int(9), - }, - End: ast.Location{ - Line: int(133), - Column: int(10), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1262, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(133), - Column: int(12), - }, - End: ast.Location{ - Line: int(133), - Column: int(14), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1262, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(133), - Column: int(16), - }, - End: ast.Location{ - Line: int(133), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(133), - Column: int(5), - }, - End: ast.Location{ - Line: int(133), - Column: int(19), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "$std", - "c", - "cLen", - "maxsplits", - "std", - "str", - "strLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(125), - Column: int(5), - }, - End: ast.Location{ - Line: int(133), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "$std", - "c", - "maxsplits", - "std", - "str", - "strLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(124), - Column: int(5), - }, - End: ast.Location{ - Line: int(133), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "$std", - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(123), - Column: int(5), - }, - End: ast.Location{ - Line: int(133), - Column: int(19), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(96), - }, - End: ast.Location{ - Line: int(122), - Column: int(99), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(96), - }, - End: ast.Location{ - Line: int(122), - Column: int(104), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "maxsplits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1282, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(105), - }, - End: ast.Location{ - Line: int(122), - Column: int(114), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(96), - }, - End: ast.Location{ - Line: int(122), - Column: int(115), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "str.splitLimit third parameter must be a Number, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(38), - }, - End: ast.Location{ - Line: int(122), - Column: int(93), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(38), - }, - End: ast.Location{ - Line: int(122), - Column: int(115), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(122), - Column: int(5), - }, - End: ast.Location{ - Line: int(133), - Column: int(19), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(105), - }, - End: ast.Location{ - Line: int(121), - Column: int(108), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(105), - }, - End: ast.Location{ - Line: int(121), - Column: int(115), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1299, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(116), - }, - End: ast.Location{ - Line: int(121), - Column: int(117), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(105), - }, - End: ast.Location{ - Line: int(121), - Column: int(118), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.splitLimit second parameter must have length 1 or greater, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(33), - }, - End: ast.Location{ - Line: int(121), - Column: int(102), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(33), - }, - End: ast.Location{ - Line: int(121), - Column: int(118), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(121), - Column: int(5), - }, - End: ast.Location{ - Line: int(133), - Column: int(19), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(89), - }, - End: ast.Location{ - Line: int(120), - Column: int(92), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(89), - }, - End: ast.Location{ - Line: int(120), - Column: int(97), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1316, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(98), - }, - End: ast.Location{ - Line: int(120), - Column: int(99), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(89), - }, - End: ast.Location{ - Line: int(120), - Column: int(100), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "str.splitLimit second parameter must be a String, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(30), - }, - End: ast.Location{ - Line: int(120), - Column: int(86), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(30), - }, - End: ast.Location{ - Line: int(120), - Column: int(100), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(120), - Column: int(5), - }, - End: ast.Location{ - Line: int(133), - Column: int(19), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(90), - }, - End: ast.Location{ - Line: int(119), - Column: int(93), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(90), - }, - End: ast.Location{ - Line: int(119), - Column: int(98), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1333, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(99), - }, - End: ast.Location{ - Line: int(119), - Column: int(102), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(90), - }, - End: ast.Location{ - Line: int(119), - Column: int(103), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "str.splitLimit first parameter must be a String, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(32), - }, - End: ast.Location{ - Line: int(119), - Column: int(87), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1055, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(32), - }, - End: ast.Location{ - Line: int(119), - Column: int(103), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(119), - Column: int(5), - }, - End: ast.Location{ - Line: int(133), - Column: int(19), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(118), - Column: int(14), - }, - End: ast.Location{ - Line: int(118), - Column: int(17), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(118), - Column: int(19), - }, - End: ast.Location{ - Line: int(118), - Column: int(20), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "maxsplits", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(118), - Column: int(22), - }, - End: ast.Location{ - Line: int(118), - Column: int(31), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(118), - Column: int(3), - }, - End: ast.Location{ - Line: int(133), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "splitLimitR", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(12), - }, - End: ast.Location{ - Line: int(136), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(12), - }, - End: ast.Location{ - Line: int(136), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1354, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(25), - }, - End: ast.Location{ - Line: int(136), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(12), - }, - End: ast.Location{ - Line: int(136), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(12), - }, - End: ast.Location{ - Line: int(137), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(12), - }, - End: ast.Location{ - Line: int(137), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1366, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(25), - }, - End: ast.Location{ - Line: int(137), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(12), - }, - End: ast.Location{ - Line: int(137), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(29), - }, - End: ast.Location{ - Line: int(138), - Column: int(30), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(12), - }, - End: ast.Location{ - Line: int(138), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(12), - }, - End: ast.Location{ - Line: int(138), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1380, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(23), - }, - End: ast.Location{ - Line: int(138), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(12), - }, - End: ast.Location{ - Line: int(138), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(12), - }, - End: ast.Location{ - Line: int(138), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(12), - }, - End: ast.Location{ - Line: int(139), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(12), - }, - End: ast.Location{ - Line: int(139), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "maxsplits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1393, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(25), - }, - End: ast.Location{ - Line: int(139), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(12), - }, - End: ast.Location{ - Line: int(139), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(140), - Column: int(22), - }, - End: ast.Location{ - Line: int(140), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(140), - Column: int(21), - }, - End: ast.Location{ - Line: int(140), - Column: int(23), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - Left: &ast.Var{ - Id: "maxsplits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(140), - Column: int(8), - }, - End: ast.Location{ - Line: int(140), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(140), - Column: int(8), - }, - End: ast.Location{ - Line: int(140), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(7), - }, - End: ast.Location{ - Line: int(141), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "splitLimit", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(7), - }, - End: ast.Location{ - Line: int(141), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1412, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(22), - }, - End: ast.Location{ - Line: int(141), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1412, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(27), - }, - End: ast.Location{ - Line: int(141), - Column: int(28), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1412, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(31), - }, - End: ast.Location{ - Line: int(141), - Column: int(32), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1412, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(30), - }, - End: ast.Location{ - Line: int(141), - Column: int(32), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(141), - Column: int(7), - }, - End: ast.Location{ - Line: int(141), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(27), - }, - End: ast.Location{ - Line: int(143), - Column: int(30), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1427, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(27), - }, - End: ast.Location{ - Line: int(143), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1431, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(36), - }, - End: ast.Location{ - Line: int(143), - Column: int(38), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(40), - }, - End: ast.Location{ - Line: int(143), - Column: int(43), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "reverse", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1431, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(40), - }, - End: ast.Location{ - Line: int(143), - Column: int(51), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(52), - }, - End: ast.Location{ - Line: int(143), - Column: int(55), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1444, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(52), - }, - End: ast.Location{ - Line: int(143), - Column: int(67), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1448, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(68), - }, - End: ast.Location{ - Line: int(143), - Column: int(71), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1444, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(52), - }, - End: ast.Location{ - Line: int(143), - Column: int(72), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1431, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(40), - }, - End: ast.Location{ - Line: int(143), - Column: int(73), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1427, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(27), - }, - End: ast.Location{ - Line: int(143), - Column: int(74), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(20), - }, - End: ast.Location{ - Line: int(143), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p1454, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(13), - }, - End: ast.Location{ - Line: int(143), - Column: int(74), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "revStr", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(7), - }, - End: ast.Location{ - Line: int(144), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(7), - }, - End: ast.Location{ - Line: int(144), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "revStr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1467, - FreeVars: ast.Identifiers{ - "revStr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(27), - }, - End: ast.Location{ - Line: int(144), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1471, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(34), - }, - End: ast.Location{ - Line: int(144), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1467, - FreeVars: ast.Identifiers{ - "e", - "revStr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(27), - }, - End: ast.Location{ - Line: int(144), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "e", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(24), - }, - End: ast.Location{ - Line: int(144), - Column: int(25), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1475, - FreeVars: ast.Identifiers{ - "revStr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(15), - }, - End: ast.Location{ - Line: int(144), - Column: int(36), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(38), - }, - End: ast.Location{ - Line: int(144), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "reverse", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1475, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(38), - }, - End: ast.Location{ - Line: int(144), - Column: int(49), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(50), - }, - End: ast.Location{ - Line: int(144), - Column: int(53), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "splitLimit", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1489, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(50), - }, - End: ast.Location{ - Line: int(144), - Column: int(64), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "revStr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1494, - FreeVars: ast.Identifiers{ - "revStr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(65), - }, - End: ast.Location{ - Line: int(144), - Column: int(71), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1498, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(72), - }, - End: ast.Location{ - Line: int(144), - Column: int(75), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1494, - FreeVars: ast.Identifiers{ - "revStr", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(65), - }, - End: ast.Location{ - Line: int(144), - Column: int(76), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "revStr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1494, - FreeVars: ast.Identifiers{ - "revStr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(78), - }, - End: ast.Location{ - Line: int(144), - Column: int(84), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1506, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(85), - }, - End: ast.Location{ - Line: int(144), - Column: int(86), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1494, - FreeVars: ast.Identifiers{ - "c", - "revStr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(78), - }, - End: ast.Location{ - Line: int(144), - Column: int(87), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "maxsplits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1494, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(89), - }, - End: ast.Location{ - Line: int(144), - Column: int(98), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1489, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "revStr", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(50), - }, - End: ast.Location{ - Line: int(144), - Column: int(99), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1475, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "revStr", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(38), - }, - End: ast.Location{ - Line: int(144), - Column: int(100), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "revStr", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(144), - Column: int(7), - }, - End: ast.Location{ - Line: int(144), - Column: int(101), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(143), - Column: int(7), - }, - End: ast.Location{ - Line: int(144), - Column: int(101), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(140), - Column: int(5), - }, - End: ast.Location{ - Line: int(144), - Column: int(101), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(97), - }, - End: ast.Location{ - Line: int(139), - Column: int(100), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(97), - }, - End: ast.Location{ - Line: int(139), - Column: int(105), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "maxsplits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1529, - FreeVars: ast.Identifiers{ - "maxsplits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(106), - }, - End: ast.Location{ - Line: int(139), - Column: int(115), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(97), - }, - End: ast.Location{ - Line: int(139), - Column: int(116), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "str.splitLimitR third parameter must be a Number, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(38), - }, - End: ast.Location{ - Line: int(139), - Column: int(94), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(38), - }, - End: ast.Location{ - Line: int(139), - Column: int(116), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "maxsplits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(139), - Column: int(5), - }, - End: ast.Location{ - Line: int(144), - Column: int(101), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(106), - }, - End: ast.Location{ - Line: int(138), - Column: int(109), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(106), - }, - End: ast.Location{ - Line: int(138), - Column: int(116), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1546, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(117), - }, - End: ast.Location{ - Line: int(138), - Column: int(118), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(106), - }, - End: ast.Location{ - Line: int(138), - Column: int(119), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.splitLimitR second parameter must have length 1 or greater, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(33), - }, - End: ast.Location{ - Line: int(138), - Column: int(103), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(33), - }, - End: ast.Location{ - Line: int(138), - Column: int(119), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(138), - Column: int(5), - }, - End: ast.Location{ - Line: int(144), - Column: int(101), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(90), - }, - End: ast.Location{ - Line: int(137), - Column: int(93), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(90), - }, - End: ast.Location{ - Line: int(137), - Column: int(98), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1563, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(99), - }, - End: ast.Location{ - Line: int(137), - Column: int(100), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(90), - }, - End: ast.Location{ - Line: int(137), - Column: int(101), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "str.splitLimitR second parameter must be a String, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(30), - }, - End: ast.Location{ - Line: int(137), - Column: int(87), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(30), - }, - End: ast.Location{ - Line: int(137), - Column: int(101), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(137), - Column: int(5), - }, - End: ast.Location{ - Line: int(144), - Column: int(101), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(91), - }, - End: ast.Location{ - Line: int(136), - Column: int(94), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(91), - }, - End: ast.Location{ - Line: int(136), - Column: int(99), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1580, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(100), - }, - End: ast.Location{ - Line: int(136), - Column: int(103), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(91), - }, - End: ast.Location{ - Line: int(136), - Column: int(104), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "str.splitLimitR first parameter must be a String, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(32), - }, - End: ast.Location{ - Line: int(136), - Column: int(88), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1350, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(32), - }, - End: ast.Location{ - Line: int(136), - Column: int(104), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(136), - Column: int(5), - }, - End: ast.Location{ - Line: int(144), - Column: int(101), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "c", - "maxsplits", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(15), - }, - End: ast.Location{ - Line: int(135), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(20), - }, - End: ast.Location{ - Line: int(135), - Column: int(21), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "maxsplits", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(23), - }, - End: ast.Location{ - Line: int(135), - Column: int(32), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(135), - Column: int(3), - }, - End: ast.Location{ - Line: int(144), - Column: int(101), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "strReplace", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(147), - Column: int(12), - }, - End: ast.Location{ - Line: int(147), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(147), - Column: int(12), - }, - End: ast.Location{ - Line: int(147), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1601, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(147), - Column: int(25), - }, - End: ast.Location{ - Line: int(147), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(147), - Column: int(12), - }, - End: ast.Location{ - Line: int(147), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(148), - Column: int(12), - }, - End: ast.Location{ - Line: int(148), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(148), - Column: int(12), - }, - End: ast.Location{ - Line: int(148), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1613, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(148), - Column: int(25), - }, - End: ast.Location{ - Line: int(148), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(148), - Column: int(12), - }, - End: ast.Location{ - Line: int(148), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(12), - }, - End: ast.Location{ - Line: int(149), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(12), - }, - End: ast.Location{ - Line: int(149), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "to", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1625, - FreeVars: ast.Identifiers{ - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(25), - }, - End: ast.Location{ - Line: int(149), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "std", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(12), - }, - End: ast.Location{ - Line: int(149), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(20), - }, - End: ast.Location{ - Line: int(150), - Column: int(22), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(12), - }, - End: ast.Location{ - Line: int(150), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(12), - }, - End: ast.Location{ - Line: int(150), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(21), - }, - End: ast.Location{ - Line: int(153), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1641, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(21), - }, - End: ast.Location{ - Line: int(153), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1645, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(32), - }, - End: ast.Location{ - Line: int(153), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1641, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(21), - }, - End: ast.Location{ - Line: int(153), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "str_len", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(11), - }, - End: ast.Location{ - Line: int(153), - Column: int(36), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(22), - }, - End: ast.Location{ - Line: int(154), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1655, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(22), - }, - End: ast.Location{ - Line: int(154), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1659, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(33), - }, - End: ast.Location{ - Line: int(154), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1655, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(22), - }, - End: ast.Location{ - Line: int(154), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "from_len", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(11), - }, - End: ast.Location{ - Line: int(154), - Column: int(38), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1667, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(48), - }, - End: ast.Location{ - Line: int(157), - Column: int(52), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1667, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(25), - }, - End: ast.Location{ - Line: int(157), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1667, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(29), - }, - End: ast.Location{ - Line: int(157), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "from_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1667, - FreeVars: ast.Identifiers{ - "from_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(35), - }, - End: ast.Location{ - Line: int(157), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1667, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(31), - }, - End: ast.Location{ - Line: int(157), - Column: int(32), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1667, - FreeVars: ast.Identifiers{ - "from_len", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(31), - }, - End: ast.Location{ - Line: int(157), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "from_len", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(25), - }, - End: ast.Location{ - Line: int(157), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1667, - FreeVars: ast.Identifiers{ - "$std", - "from", - "from_len", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(25), - }, - End: ast.Location{ - Line: int(157), - Column: int(52), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(20), - }, - End: ast.Location{ - Line: int(157), - Column: int(21), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p1690, - FreeVars: ast.Identifiers{ - "$std", - "from", - "from_len", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(11), - }, - End: ast.Location{ - Line: int(157), - Column: int(52), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "found_at", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "str_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(162), - Column: int(23), - }, - End: ast.Location{ - Line: int(162), - Column: int(30), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "curr_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "curr_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(162), - Column: int(10), - }, - End: ast.Location{ - Line: int(162), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "curr_index", - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(162), - Column: int(10), - }, - End: ast.Location{ - Line: int(162), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(15), - }, - End: ast.Location{ - Line: int(163), - Column: int(18), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "start_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "start_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(19), - }, - End: ast.Location{ - Line: int(163), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "curr_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "curr_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(31), - }, - End: ast.Location{ - Line: int(163), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "curr_index", - "start_index", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(15), - }, - End: ast.Location{ - Line: int(163), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(9), - }, - End: ast.Location{ - Line: int(163), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "start_index", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(163), - Column: int(9), - }, - End: ast.Location{ - Line: int(163), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Var{ - Id: "found_at", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "found_at", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(164), - Column: int(15), - }, - End: ast.Location{ - Line: int(164), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "curr_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1729, - FreeVars: ast.Identifiers{ - "curr_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(164), - Column: int(24), - }, - End: ast.Location{ - Line: int(164), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "curr_index", - "found_at", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(164), - Column: int(15), - }, - End: ast.Location{ - Line: int(164), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(40), - }, - End: ast.Location{ - Line: int(165), - Column: int(43), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1740, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(40), - }, - End: ast.Location{ - Line: int(165), - Column: int(50), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1744, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(51), - }, - End: ast.Location{ - Line: int(165), - Column: int(55), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1740, - FreeVars: ast.Identifiers{ - "from", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(40), - }, - End: ast.Location{ - Line: int(165), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "curr_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1740, - FreeVars: ast.Identifiers{ - "curr_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(27), - }, - End: ast.Location{ - Line: int(165), - Column: int(37), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1740, - FreeVars: ast.Identifiers{ - "curr_index", - "from", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(27), - }, - End: ast.Location{ - Line: int(165), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "new_index", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(15), - }, - End: ast.Location{ - Line: int(165), - Column: int(56), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "replace_after", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "replace_after", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(9), - }, - End: ast.Location{ - Line: int(166), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "new_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1756, - FreeVars: ast.Identifiers{ - "new_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(23), - }, - End: ast.Location{ - Line: int(166), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "new_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1756, - FreeVars: ast.Identifiers{ - "new_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(34), - }, - End: ast.Location{ - Line: int(166), - Column: int(43), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "to", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1756, - FreeVars: ast.Identifiers{ - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(81), - }, - End: ast.Location{ - Line: int(166), - Column: int(83), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1756, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(51), - }, - End: ast.Location{ - Line: int(166), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "start_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1756, - FreeVars: ast.Identifiers{ - "start_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(55), - }, - End: ast.Location{ - Line: int(166), - Column: int(66), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "curr_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1756, - FreeVars: ast.Identifiers{ - "curr_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(67), - }, - End: ast.Location{ - Line: int(166), - Column: int(77), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "curr_index", - "start_index", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(51), - }, - End: ast.Location{ - Line: int(166), - Column: int(78), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1756, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(45), - }, - End: ast.Location{ - Line: int(166), - Column: int(48), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1756, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "start_index", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(45), - }, - End: ast.Location{ - Line: int(166), - Column: int(78), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1756, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "start_index", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(45), - }, - End: ast.Location{ - Line: int(166), - Column: int(83), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "new_index", - "replace_after", - "start_index", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(166), - Column: int(9), - }, - End: ast.Location{ - Line: int(166), - Column: int(84), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "from", - "replace_after", - "start_index", - "std", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(165), - Column: int(9), - }, - End: ast.Location{ - Line: int(166), - Column: int(84), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "replace_after", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "replace_after", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(9), - }, - End: ast.Location{ - Line: int(168), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "start_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1792, - FreeVars: ast.Identifiers{ - "start_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(23), - }, - End: ast.Location{ - Line: int(168), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1792, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(49), - }, - End: ast.Location{ - Line: int(168), - Column: int(50), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "curr_index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1792, - FreeVars: ast.Identifiers{ - "curr_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(36), - }, - End: ast.Location{ - Line: int(168), - Column: int(46), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1792, - FreeVars: ast.Identifiers{ - "curr_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(36), - }, - End: ast.Location{ - Line: int(168), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1792, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(52), - }, - End: ast.Location{ - Line: int(168), - Column: int(55), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "acc", - "curr_index", - "replace_after", - "start_index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(168), - Column: int(9), - }, - End: ast.Location{ - Line: int(168), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "found_at", - "from", - "replace_after", - "start_index", - "std", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(164), - Column: int(12), - }, - End: ast.Location{ - Line: int(168), - Column: int(56), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p1698, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "curr_index", - "found_at", - "from", - "replace_after", - "start_index", - "std", - "str", - "str_len", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(162), - Column: int(7), - }, - End: ast.Location{ - Line: int(168), - Column: int(56), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "start_index", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(25), - }, - End: ast.Location{ - Line: int(161), - Column: int(36), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "curr_index", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(38), - }, - End: ast.Location{ - Line: int(161), - Column: int(48), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "acc", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(50), - }, - End: ast.Location{ - Line: int(161), - Column: int(53), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p1808, - FreeVars: ast.Identifiers{ - "$std", - "found_at", - "from", - "replace_after", - "std", - "str", - "str_len", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(11), - }, - End: ast.Location{ - Line: int(168), - Column: int(56), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "replace_after", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(172), - Column: int(20), - }, - End: ast.Location{ - Line: int(172), - Column: int(21), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "from_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "from_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(172), - Column: int(8), - }, - End: ast.Location{ - Line: int(172), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "from_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(172), - Column: int(8), - }, - End: ast.Location{ - Line: int(172), - Column: int(21), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(7), - }, - End: ast.Location{ - Line: int(173), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(7), - }, - End: ast.Location{ - Line: int(173), - Column: int(15), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "to", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1825, - FreeVars: ast.Identifiers{ - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(16), - }, - End: ast.Location{ - Line: int(173), - Column: int(18), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(20), - }, - End: ast.Location{ - Line: int(173), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "split", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1825, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(20), - }, - End: ast.Location{ - Line: int(173), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1835, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(30), - }, - End: ast.Location{ - Line: int(173), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1835, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(35), - }, - End: ast.Location{ - Line: int(173), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1825, - FreeVars: ast.Identifiers{ - "from", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(20), - }, - End: ast.Location{ - Line: int(173), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "from", - "std", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(173), - Column: int(7), - }, - End: ast.Location{ - Line: int(173), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "replace_after", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "replace_after", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(7), - }, - End: ast.Location{ - Line: int(175), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1847, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(21), - }, - End: ast.Location{ - Line: int(175), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1847, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(24), - }, - End: ast.Location{ - Line: int(175), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1847, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(27), - }, - End: ast.Location{ - Line: int(175), - Column: int(29), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "replace_after", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(175), - Column: int(7), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// if from_len==1, then we replace by splitting and rejoining the", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// string which is much faster than recursing on replace_after", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "from", - "from_len", - "replace_after", - "std", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(172), - Column: int(5), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Return the remainder of 'str' starting with 'start_index' where", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// all occurrences of 'from' after 'curr_index' are replaced with 'to'.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "$std", - "found_at", - "from", - "from_len", - "std", - "str", - "str_len", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(161), - Column: int(5), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// True if from is at str[i].", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "$std", - "from", - "from_len", - "std", - "str", - "str_len", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(157), - Column: int(5), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "str_len", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(154), - Column: int(5), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Cache for performance.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1597, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(153), - Column: int(5), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "'from' string must not be zero length.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1597, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(25), - }, - End: ast.Location{ - Line: int(150), - Column: int(65), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(150), - Column: int(5), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Assertion failed", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(149), - Column: int(5), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Assertion failed", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(148), - Column: int(5), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Assertion failed", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(147), - Column: int(5), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "from", - "std", - "str", - "to", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(146), - Column: int(14), - }, - End: ast.Location{ - Line: int(146), - Column: int(17), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "from", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(146), - Column: int(19), - }, - End: ast.Location{ - Line: int(146), - Column: int(23), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "to", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(146), - Column: int(25), - }, - End: ast.Location{ - Line: int(146), - Column: int(27), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(146), - Column: int(3), - }, - End: ast.Location{ - Line: int(175), - Column: int(30), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "asciiUpper", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(178), - Column: int(16), - }, - End: ast.Location{ - Line: int(178), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "codepoint", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1890, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(178), - Column: int(16), - }, - End: ast.Location{ - Line: int(178), - Column: int(29), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "cp", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(178), - Column: int(11), - }, - End: ast.Location{ - Line: int(178), - Column: int(29), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "123", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(52), - }, - End: ast.Location{ - Line: int(179), - Column: int(55), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(44), - }, - End: ast.Location{ - Line: int(179), - Column: int(46), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1905, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(47), - }, - End: ast.Location{ - Line: int(179), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(44), - }, - End: ast.Location{ - Line: int(179), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(44), - }, - End: ast.Location{ - Line: int(179), - Column: int(55), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "97", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(38), - }, - End: ast.Location{ - Line: int(179), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(29), - }, - End: ast.Location{ - Line: int(179), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1916, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(32), - }, - End: ast.Location{ - Line: int(179), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(29), - }, - End: ast.Location{ - Line: int(179), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(29), - }, - End: ast.Location{ - Line: int(179), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(29), - }, - End: ast.Location{ - Line: int(179), - Column: int(55), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(180), - Column: int(7), - }, - End: ast.Location{ - Line: int(180), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "char", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(180), - Column: int(7), - }, - End: ast.Location{ - Line: int(180), - Column: int(15), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "32", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1931, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(180), - Column: int(24), - }, - End: ast.Location{ - Line: int(180), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1931, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(180), - Column: int(16), - }, - End: ast.Location{ - Line: int(180), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1937, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(180), - Column: int(19), - }, - End: ast.Location{ - Line: int(180), - Column: int(20), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1931, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(180), - Column: int(16), - }, - End: ast.Location{ - Line: int(180), - Column: int(21), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1931, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(180), - Column: int(16), - }, - End: ast.Location{ - Line: int(180), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "c", - "cp", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(180), - Column: int(7), - }, - End: ast.Location{ - Line: int(180), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(182), - Column: int(7), - }, - End: ast.Location{ - Line: int(182), - Column: int(8), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1899, - FreeVars: ast.Identifiers{ - "c", - "cp", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(26), - }, - End: ast.Location{ - Line: int(182), - Column: int(8), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(21), - }, - End: ast.Location{ - Line: int(179), - Column: int(22), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p1948, - FreeVars: ast.Identifiers{ - "cp", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(11), - }, - End: ast.Location{ - Line: int(182), - Column: int(8), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "up_letter", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(5), - }, - End: ast.Location{ - Line: int(183), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1956, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(5), - }, - End: ast.Location{ - Line: int(183), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1960, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(14), - }, - End: ast.Location{ - Line: int(183), - Column: int(16), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(18), - }, - End: ast.Location{ - Line: int(183), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1960, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(18), - }, - End: ast.Location{ - Line: int(183), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "up_letter", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1969, - FreeVars: ast.Identifiers{ - "up_letter", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(26), - }, - End: ast.Location{ - Line: int(183), - Column: int(35), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(37), - }, - End: ast.Location{ - Line: int(183), - Column: int(40), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1969, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(37), - }, - End: ast.Location{ - Line: int(183), - Column: int(52), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1979, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(53), - }, - End: ast.Location{ - Line: int(183), - Column: int(56), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1969, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(37), - }, - End: ast.Location{ - Line: int(183), - Column: int(57), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1960, - FreeVars: ast.Identifiers{ - "std", - "str", - "up_letter", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(18), - }, - End: ast.Location{ - Line: int(183), - Column: int(58), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1956, - FreeVars: ast.Identifiers{ - "std", - "str", - "up_letter", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(183), - Column: int(5), - }, - End: ast.Location{ - Line: int(183), - Column: int(59), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1956, - FreeVars: ast.Identifiers{ - "cp", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(179), - Column: int(5), - }, - End: ast.Location{ - Line: int(183), - Column: int(59), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p1956, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(178), - Column: int(5), - }, - End: ast.Location{ - Line: int(183), - Column: int(59), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(177), - Column: int(14), - }, - End: ast.Location{ - Line: int(177), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(177), - Column: int(3), - }, - End: ast.Location{ - Line: int(183), - Column: int(59), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "asciiLower", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(16), - }, - End: ast.Location{ - Line: int(186), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "codepoint", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p1998, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(16), - }, - End: ast.Location{ - Line: int(186), - Column: int(29), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "cp", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(11), - }, - End: ast.Location{ - Line: int(186), - Column: int(29), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "91", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(54), - }, - End: ast.Location{ - Line: int(187), - Column: int(56), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(46), - }, - End: ast.Location{ - Line: int(187), - Column: int(48), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2013, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(49), - }, - End: ast.Location{ - Line: int(187), - Column: int(50), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(46), - }, - End: ast.Location{ - Line: int(187), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(46), - }, - End: ast.Location{ - Line: int(187), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "65", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(40), - }, - End: ast.Location{ - Line: int(187), - Column: int(42), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(31), - }, - End: ast.Location{ - Line: int(187), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2024, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(34), - }, - End: ast.Location{ - Line: int(187), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(31), - }, - End: ast.Location{ - Line: int(187), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(31), - }, - End: ast.Location{ - Line: int(187), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(31), - }, - End: ast.Location{ - Line: int(187), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(188), - Column: int(7), - }, - End: ast.Location{ - Line: int(188), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "char", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(188), - Column: int(7), - }, - End: ast.Location{ - Line: int(188), - Column: int(15), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "32", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2039, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(188), - Column: int(24), - }, - End: ast.Location{ - Line: int(188), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2039, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(188), - Column: int(16), - }, - End: ast.Location{ - Line: int(188), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2045, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(188), - Column: int(19), - }, - End: ast.Location{ - Line: int(188), - Column: int(20), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2039, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(188), - Column: int(16), - }, - End: ast.Location{ - Line: int(188), - Column: int(21), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2039, - FreeVars: ast.Identifiers{ - "c", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(188), - Column: int(16), - }, - End: ast.Location{ - Line: int(188), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "c", - "cp", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(188), - Column: int(7), - }, - End: ast.Location{ - Line: int(188), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(190), - Column: int(7), - }, - End: ast.Location{ - Line: int(190), - Column: int(8), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2007, - FreeVars: ast.Identifiers{ - "c", - "cp", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(28), - }, - End: ast.Location{ - Line: int(190), - Column: int(8), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(23), - }, - End: ast.Location{ - Line: int(187), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p2056, - FreeVars: ast.Identifiers{ - "cp", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(11), - }, - End: ast.Location{ - Line: int(190), - Column: int(8), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "down_letter", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(5), - }, - End: ast.Location{ - Line: int(191), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2064, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(5), - }, - End: ast.Location{ - Line: int(191), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2068, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(14), - }, - End: ast.Location{ - Line: int(191), - Column: int(16), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(18), - }, - End: ast.Location{ - Line: int(191), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2068, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(18), - }, - End: ast.Location{ - Line: int(191), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "down_letter", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2077, - FreeVars: ast.Identifiers{ - "down_letter", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(26), - }, - End: ast.Location{ - Line: int(191), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(39), - }, - End: ast.Location{ - Line: int(191), - Column: int(42), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2077, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(39), - }, - End: ast.Location{ - Line: int(191), - Column: int(54), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2087, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(55), - }, - End: ast.Location{ - Line: int(191), - Column: int(58), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2077, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(39), - }, - End: ast.Location{ - Line: int(191), - Column: int(59), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2068, - FreeVars: ast.Identifiers{ - "down_letter", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(18), - }, - End: ast.Location{ - Line: int(191), - Column: int(60), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2064, - FreeVars: ast.Identifiers{ - "down_letter", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(191), - Column: int(5), - }, - End: ast.Location{ - Line: int(191), - Column: int(61), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2064, - FreeVars: ast.Identifiers{ - "cp", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(187), - Column: int(5), - }, - End: ast.Location{ - Line: int(191), - Column: int(61), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2064, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(186), - Column: int(5), - }, - End: ast.Location{ - Line: int(191), - Column: int(61), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(185), - Column: int(14), - }, - End: ast.Location{ - Line: int(185), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(185), - Column: int(3), - }, - End: ast.Location{ - Line: int(191), - Column: int(61), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "range", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(5), - }, - End: ast.Location{ - Line: int(194), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2106, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(5), - }, - End: ast.Location{ - Line: int(194), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2111, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(31), - }, - End: ast.Location{ - Line: int(194), - Column: int(32), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2111, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(24), - }, - End: ast.Location{ - Line: int(194), - Column: int(28), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "to", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2111, - FreeVars: ast.Identifiers{ - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(19), - }, - End: ast.Location{ - Line: int(194), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2111, - FreeVars: ast.Identifiers{ - "from", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(19), - }, - End: ast.Location{ - Line: int(194), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2111, - FreeVars: ast.Identifiers{ - "from", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(19), - }, - End: ast.Location{ - Line: int(194), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "from", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2122, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(50), - }, - End: ast.Location{ - Line: int(194), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2122, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(46), - }, - End: ast.Location{ - Line: int(194), - Column: int(47), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2122, - FreeVars: ast.Identifiers{ - "from", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(46), - }, - End: ast.Location{ - Line: int(194), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(43), - }, - End: ast.Location{ - Line: int(194), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2111, - FreeVars: ast.Identifiers{ - "from", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(34), - }, - End: ast.Location{ - Line: int(194), - Column: int(54), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2106, - FreeVars: ast.Identifiers{ - "from", - "std", - "to", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(194), - Column: int(5), - }, - End: ast.Location{ - Line: int(194), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "from", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(193), - Column: int(9), - }, - End: ast.Location{ - Line: int(193), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "to", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(193), - Column: int(15), - }, - End: ast.Location{ - Line: int(193), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(193), - Column: int(3), - }, - End: ast.Location{ - Line: int(194), - Column: int(55), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "repeat", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(198), - Column: int(10), - }, - End: ast.Location{ - Line: int(198), - Column: int(13), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2142, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(198), - Column: int(10), - }, - End: ast.Location{ - Line: int(198), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "what", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2146, - FreeVars: ast.Identifiers{ - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(198), - Column: int(23), - }, - End: ast.Location{ - Line: int(198), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2142, - FreeVars: ast.Identifiers{ - "std", - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(198), - Column: int(10), - }, - End: ast.Location{ - Line: int(198), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(198), - Column: int(34), - }, - End: ast.Location{ - Line: int(198), - Column: int(36), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(199), - Column: int(15), - }, - End: ast.Location{ - Line: int(199), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2142, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(199), - Column: int(15), - }, - End: ast.Location{ - Line: int(199), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "what", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2159, - FreeVars: ast.Identifiers{ - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(199), - Column: int(27), - }, - End: ast.Location{ - Line: int(199), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2142, - FreeVars: ast.Identifiers{ - "std", - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(199), - Column: int(15), - }, - End: ast.Location{ - Line: int(199), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(199), - Column: int(38), - }, - End: ast.Location{ - Line: int(199), - Column: int(40), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "std.repeat first argument must be an array or a string", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(18), - }, - End: ast.Location{ - Line: int(200), - Column: int(74), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(200), - Column: int(12), - }, - End: ast.Location{ - Line: int(200), - Column: int(74), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2142, - FreeVars: ast.Identifiers{ - "std", - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(199), - Column: int(12), - }, - End: ast.Location{ - Line: int(200), - Column: int(74), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p2142, - FreeVars: ast.Identifiers{ - "std", - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(198), - Column: int(7), - }, - End: ast.Location{ - Line: int(200), - Column: int(74), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "joiner", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(197), - Column: int(11), - }, - End: ast.Location{ - Line: int(200), - Column: int(74), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(5), - }, - End: ast.Location{ - Line: int(201), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2176, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(5), - }, - End: ast.Location{ - Line: int(201), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "joiner", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2180, - FreeVars: ast.Identifiers{ - "joiner", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(14), - }, - End: ast.Location{ - Line: int(201), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(22), - }, - End: ast.Location{ - Line: int(201), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2180, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(22), - }, - End: ast.Location{ - Line: int(201), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "count", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2190, - FreeVars: ast.Identifiers{ - "count", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(36), - }, - End: ast.Location{ - Line: int(201), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Var{ - Id: "what", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2194, - FreeVars: ast.Identifiers{ - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(55), - }, - End: ast.Location{ - Line: int(201), - Column: int(59), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(52), - }, - End: ast.Location{ - Line: int(201), - Column: int(53), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2190, - FreeVars: ast.Identifiers{ - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(43), - }, - End: ast.Location{ - Line: int(201), - Column: int(59), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2180, - FreeVars: ast.Identifiers{ - "count", - "std", - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(22), - }, - End: ast.Location{ - Line: int(201), - Column: int(60), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2176, - FreeVars: ast.Identifiers{ - "count", - "joiner", - "std", - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(201), - Column: int(5), - }, - End: ast.Location{ - Line: int(201), - Column: int(61), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2176, - FreeVars: ast.Identifiers{ - "count", - "std", - "what", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(197), - Column: int(5), - }, - End: ast.Location{ - Line: int(201), - Column: int(61), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "what", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(196), - Column: int(10), - }, - End: ast.Location{ - Line: int(196), - Column: int(14), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "count", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(196), - Column: int(16), - }, - End: ast.Location{ - Line: int(196), - Column: int(21), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(196), - Column: int(3), - }, - End: ast.Location{ - Line: int(201), - Column: int(61), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "indexable", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "indexable", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "indexable", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(207), - Column: int(20), - }, - End: ast.Location{ - Line: int(207), - Column: int(29), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(207), - Column: int(9), - }, - End: ast.Location{ - Line: int(207), - Column: int(29), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "index", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(23), - }, - End: ast.Location{ - Line: int(209), - Column: int(27), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(14), - }, - End: ast.Location{ - Line: int(209), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(14), - }, - End: ast.Location{ - Line: int(209), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(33), - }, - End: ast.Location{ - Line: int(209), - Column: int(34), - }, - }, - }, - }, - BranchFalse: &ast.Var{ - Id: "index", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(210), - Column: int(16), - }, - End: ast.Location{ - Line: int(210), - Column: int(21), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "index", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(209), - Column: int(11), - }, - End: ast.Location{ - Line: int(210), - Column: int(21), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(208), - Column: int(9), - }, - End: ast.Location{ - Line: int(210), - Column: int(21), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "end", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(21), - }, - End: ast.Location{ - Line: int(212), - Column: int(25), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "end", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "end", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(14), - }, - End: ast.Location{ - Line: int(212), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "end", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(14), - }, - End: ast.Location{ - Line: int(212), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(31), - }, - End: ast.Location{ - Line: int(212), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(31), - }, - End: ast.Location{ - Line: int(212), - Column: int(41), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "indexable", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2242, - FreeVars: ast.Identifiers{ - "indexable", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(42), - }, - End: ast.Location{ - Line: int(212), - Column: int(51), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(31), - }, - End: ast.Location{ - Line: int(212), - Column: int(52), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - Id: "end", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "end", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(213), - Column: int(16), - }, - End: ast.Location{ - Line: int(213), - Column: int(19), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "end", - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(212), - Column: int(11), - }, - End: ast.Location{ - Line: int(213), - Column: int(19), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(211), - Column: int(9), - }, - End: ast.Location{ - Line: int(213), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "step", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(215), - Column: int(22), - }, - End: ast.Location{ - Line: int(215), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "step", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(215), - Column: int(14), - }, - End: ast.Location{ - Line: int(215), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(215), - Column: int(14), - }, - End: ast.Location{ - Line: int(215), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(215), - Column: int(32), - }, - End: ast.Location{ - Line: int(215), - Column: int(33), - }, - }, - }, - }, - BranchFalse: &ast.Var{ - Id: "step", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(216), - Column: int(16), - }, - End: ast.Location{ - Line: int(216), - Column: int(20), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(215), - Column: int(11), - }, - End: ast.Location{ - Line: int(216), - Column: int(20), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(214), - Column: int(9), - }, - End: ast.Location{ - Line: int(216), - Column: int(20), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(17), - }, - End: ast.Location{ - Line: int(217), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(17), - }, - End: ast.Location{ - Line: int(217), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "indexable", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2272, - FreeVars: ast.Identifiers{ - "indexable", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(28), - }, - End: ast.Location{ - Line: int(217), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(17), - }, - End: ast.Location{ - Line: int(217), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(217), - Column: int(9), - }, - End: ast.Location{ - Line: int(217), - Column: int(38), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(218), - Column: int(15), - }, - End: ast.Location{ - Line: int(218), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(218), - Column: int(15), - }, - End: ast.Location{ - Line: int(218), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "indexable", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2284, - FreeVars: ast.Identifiers{ - "indexable", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(218), - Column: int(24), - }, - End: ast.Location{ - Line: int(218), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2212, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(218), - Column: int(15), - }, - End: ast.Location{ - Line: int(218), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(218), - Column: int(9), - }, - End: ast.Location{ - Line: int(218), - Column: int(34), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// loop invariant with defaults applied", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p2289, - FreeVars: ast.Identifiers{ - "end", - "index", - "indexable", - "std", - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(206), - Column: int(7), - }, - End: ast.Location{ - Line: int(219), - Column: int(8), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "invar", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(204), - Column: int(11), - }, - End: ast.Location{ - Line: int(219), - Column: int(8), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(64), - }, - End: ast.Location{ - Line: int(220), - Column: int(65), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(50), - }, - End: ast.Location{ - Line: int(220), - Column: int(55), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "step", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(50), - }, - End: ast.Location{ - Line: int(220), - Column: int(60), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(50), - }, - End: ast.Location{ - Line: int(220), - Column: int(65), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(45), - }, - End: ast.Location{ - Line: int(220), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(32), - }, - End: ast.Location{ - Line: int(220), - Column: int(37), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "end", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(32), - }, - End: ast.Location{ - Line: int(220), - Column: int(41), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(32), - }, - End: ast.Location{ - Line: int(220), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(27), - }, - End: ast.Location{ - Line: int(220), - Column: int(28), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(12), - }, - End: ast.Location{ - Line: int(220), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "index", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(12), - }, - End: ast.Location{ - Line: int(220), - Column: int(23), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(12), - }, - End: ast.Location{ - Line: int(220), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(12), - }, - End: ast.Location{ - Line: int(220), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(12), - }, - End: ast.Location{ - Line: int(220), - Column: int(65), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(20), - }, - End: ast.Location{ - Line: int(221), - Column: int(21), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "step", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(12), - }, - End: ast.Location{ - Line: int(221), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(12), - }, - End: ast.Location{ - Line: int(221), - Column: int(21), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(39), - }, - End: ast.Location{ - Line: int(222), - Column: int(42), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(39), - }, - End: ast.Location{ - Line: int(222), - Column: int(50), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "indexable", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2337, - FreeVars: ast.Identifiers{ - "indexable", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(51), - }, - End: ast.Location{ - Line: int(222), - Column: int(60), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(39), - }, - End: ast.Location{ - Line: int(222), - Column: int(61), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(12), - }, - End: ast.Location{ - Line: int(222), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(12), - }, - End: ast.Location{ - Line: int(222), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "indexable", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2348, - FreeVars: ast.Identifiers{ - "indexable", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(25), - }, - End: ast.Location{ - Line: int(222), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(12), - }, - End: ast.Location{ - Line: int(222), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(12), - }, - End: ast.Location{ - Line: int(222), - Column: int(61), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(37), - }, - End: ast.Location{ - Line: int(224), - Column: int(42), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(37), - }, - End: ast.Location{ - Line: int(224), - Column: int(49), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cur", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(30), - }, - End: ast.Location{ - Line: int(224), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(30), - }, - End: ast.Location{ - Line: int(224), - Column: int(49), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - Left: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(17), - }, - End: ast.Location{ - Line: int(224), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "end", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(17), - }, - End: ast.Location{ - Line: int(224), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cur", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(10), - }, - End: ast.Location{ - Line: int(224), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(10), - }, - End: ast.Location{ - Line: int(224), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(10), - }, - End: ast.Location{ - Line: int(224), - Column: int(49), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.Var{ - Id: "slice", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "slice", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(225), - Column: int(9), - }, - End: ast.Location{ - Line: int(225), - Column: int(14), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "build", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "build", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(227), - Column: int(9), - }, - End: ast.Location{ - Line: int(227), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "string", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(28), - }, - End: ast.Location{ - Line: int(228), - Column: int(36), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(14), - }, - End: ast.Location{ - Line: int(228), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(14), - }, - End: ast.Location{ - Line: int(228), - Column: int(24), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(14), - }, - End: ast.Location{ - Line: int(228), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(21), - }, - End: ast.Location{ - Line: int(229), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "indexable", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(21), - }, - End: ast.Location{ - Line: int(229), - Column: int(36), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "cur", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(37), - }, - End: ast.Location{ - Line: int(229), - Column: int(40), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(21), - }, - End: ast.Location{ - Line: int(229), - Column: int(41), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "slice", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "slice", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(13), - }, - End: ast.Location{ - Line: int(229), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "cur", - "invar", - "slice", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(229), - Column: int(13), - }, - End: ast.Location{ - Line: int(229), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(22), - }, - End: ast.Location{ - Line: int(231), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "indexable", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2417, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(22), - }, - End: ast.Location{ - Line: int(231), - Column: int(37), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "cur", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2417, - FreeVars: ast.Identifiers{ - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(38), - }, - End: ast.Location{ - Line: int(231), - Column: int(41), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2417, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(22), - }, - End: ast.Location{ - Line: int(231), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(21), - }, - End: ast.Location{ - Line: int(231), - Column: int(43), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "slice", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "slice", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(13), - }, - End: ast.Location{ - Line: int(231), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "cur", - "invar", - "slice", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(231), - Column: int(13), - }, - End: ast.Location{ - Line: int(231), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "cur", - "invar", - "slice", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(228), - Column: int(11), - }, - End: ast.Location{ - Line: int(231), - Column: int(43), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(232), - Column: int(17), - }, - End: ast.Location{ - Line: int(232), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "step", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(232), - Column: int(17), - }, - End: ast.Location{ - Line: int(232), - Column: int(27), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cur", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(232), - Column: int(11), - }, - End: ast.Location{ - Line: int(232), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2388, - FreeVars: ast.Identifiers{ - "cur", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(232), - Column: int(11), - }, - End: ast.Location{ - Line: int(232), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "build", - "cur", - "invar", - "slice", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(227), - Column: int(9), - }, - End: ast.Location{ - Line: int(233), - Column: int(10), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p2362, - FreeVars: ast.Identifiers{ - "build", - "cur", - "invar", - "slice", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(224), - Column: int(7), - }, - End: ast.Location{ - Line: int(233), - Column: int(10), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "slice", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(223), - Column: int(17), - }, - End: ast.Location{ - Line: int(223), - Column: int(22), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cur", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(223), - Column: int(24), - }, - End: ast.Location{ - Line: int(223), - Column: int(27), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p2446, - FreeVars: ast.Identifiers{ - "build", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(223), - Column: int(11), - }, - End: ast.Location{ - Line: int(233), - Column: int(10), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "build", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "build", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "build", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(5), - }, - End: ast.Location{ - Line: int(234), - Column: int(10), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "string", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2456, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(28), - }, - End: ast.Location{ - Line: int(234), - Column: int(36), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(14), - }, - End: ast.Location{ - Line: int(234), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2456, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(14), - }, - End: ast.Location{ - Line: int(234), - Column: int(24), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2456, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(14), - }, - End: ast.Location{ - Line: int(234), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2456, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(42), - }, - End: ast.Location{ - Line: int(234), - Column: int(44), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2456, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(50), - }, - End: ast.Location{ - Line: int(234), - Column: int(52), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2456, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(11), - }, - End: ast.Location{ - Line: int(234), - Column: int(52), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(54), - }, - End: ast.Location{ - Line: int(234), - Column: int(59), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "index", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2456, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(54), - }, - End: ast.Location{ - Line: int(234), - Column: int(65), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "build", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(234), - Column: int(5), - }, - End: ast.Location{ - Line: int(234), - Column: int(66), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(223), - Column: int(5), - }, - End: ast.Location{ - Line: int(234), - Column: int(66), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "std.slice accepts a string or an array, but got: %s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(64), - }, - End: ast.Location{ - Line: int(222), - Column: int(117), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(120), - }, - End: ast.Location{ - Line: int(222), - Column: int(123), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(120), - }, - End: ast.Location{ - Line: int(222), - Column: int(128), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "indexable", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2491, - FreeVars: ast.Identifiers{ - "indexable", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(129), - }, - End: ast.Location{ - Line: int(222), - Column: int(138), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(120), - }, - End: ast.Location{ - Line: int(222), - Column: int(139), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(64), - }, - End: ast.Location{ - Line: int(222), - Column: int(139), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexable", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(222), - Column: int(5), - }, - End: ast.Location{ - Line: int(234), - Column: int(66), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexable", - "invar", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "got %s but step must be greater than 0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(24), - }, - End: ast.Location{ - Line: int(221), - Column: int(64), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "step", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(67), - }, - End: ast.Location{ - Line: int(221), - Column: int(71), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(24), - }, - End: ast.Location{ - Line: int(221), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(221), - Column: int(5), - }, - End: ast.Location{ - Line: int(234), - Column: int(66), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexable", - "invar", - "std", - "step", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "got [%s:%s:%s] but negative index, end, and steps are not supported", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(68), - }, - End: ast.Location{ - Line: int(220), - Column: int(137), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(141), - }, - End: ast.Location{ - Line: int(220), - Column: int(146), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "index", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2526, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(141), - }, - End: ast.Location{ - Line: int(220), - Column: int(152), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(154), - }, - End: ast.Location{ - Line: int(220), - Column: int(159), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "end", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2526, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(154), - }, - End: ast.Location{ - Line: int(220), - Column: int(163), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "invar", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(165), - }, - End: ast.Location{ - Line: int(220), - Column: int(170), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "step", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2526, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(165), - }, - End: ast.Location{ - Line: int(220), - Column: int(175), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(140), - }, - End: ast.Location{ - Line: int(220), - Column: int(176), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(68), - }, - End: ast.Location{ - Line: int(220), - Column: int(176), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "invar", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(220), - Column: int(5), - }, - End: ast.Location{ - Line: int(234), - Column: int(66), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexable", - "invar", - "std", - "step", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2295, - FreeVars: ast.Identifiers{ - "$std", - "end", - "index", - "indexable", - "std", - "step", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(204), - Column: int(5), - }, - End: ast.Location{ - Line: int(234), - Column: int(66), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indexable", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(9), - }, - End: ast.Location{ - Line: int(203), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "index", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(20), - }, - End: ast.Location{ - Line: int(203), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "end", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(27), - }, - End: ast.Location{ - Line: int(203), - Column: int(30), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "step", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(32), - }, - End: ast.Location{ - Line: int(203), - Column: int(36), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(203), - Column: int(3), - }, - End: ast.Location{ - Line: int(234), - Column: int(66), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "member", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(8), - }, - End: ast.Location{ - Line: int(237), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(8), - }, - End: ast.Location{ - Line: int(237), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2558, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(20), - }, - End: ast.Location{ - Line: int(237), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(8), - }, - End: ast.Location{ - Line: int(237), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(238), - Column: int(27), - }, - End: ast.Location{ - Line: int(238), - Column: int(28), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(238), - Column: int(7), - }, - End: ast.Location{ - Line: int(238), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "count", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(238), - Column: int(7), - }, - End: ast.Location{ - Line: int(238), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2572, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(238), - Column: int(17), - }, - End: ast.Location{ - Line: int(238), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2572, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(238), - Column: int(22), - }, - End: ast.Location{ - Line: int(238), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(238), - Column: int(7), - }, - End: ast.Location{ - Line: int(238), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(238), - Column: int(7), - }, - End: ast.Location{ - Line: int(238), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(13), - }, - End: ast.Location{ - Line: int(239), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(13), - }, - End: ast.Location{ - Line: int(239), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2587, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(26), - }, - End: ast.Location{ - Line: int(239), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(13), - }, - End: ast.Location{ - Line: int(239), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(44), - }, - End: ast.Location{ - Line: int(240), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(7), - }, - End: ast.Location{ - Line: int(240), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(7), - }, - End: ast.Location{ - Line: int(240), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(18), - }, - End: ast.Location{ - Line: int(240), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "findSubstr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2605, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(18), - }, - End: ast.Location{ - Line: int(240), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2609, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(33), - }, - End: ast.Location{ - Line: int(240), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2609, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(36), - }, - End: ast.Location{ - Line: int(240), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2605, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(18), - }, - End: ast.Location{ - Line: int(240), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(7), - }, - End: ast.Location{ - Line: int(240), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(240), - Column: int(7), - }, - End: ast.Location{ - Line: int(240), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "std.member first argument must be an array or a string", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(241), - Column: int(16), - }, - End: ast.Location{ - Line: int(241), - Column: int(72), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(241), - Column: int(10), - }, - End: ast.Location{ - Line: int(241), - Column: int(72), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(239), - Column: int(10), - }, - End: ast.Location{ - Line: int(241), - Column: int(72), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2554, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(237), - Column: int(5), - }, - End: ast.Location{ - Line: int(241), - Column: int(72), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(236), - Column: int(10), - }, - End: ast.Location{ - Line: int(236), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(236), - Column: int(15), - }, - End: ast.Location{ - Line: int(236), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(236), - Column: int(3), - }, - End: ast.Location{ - Line: int(241), - Column: int(72), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "count", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(19), - }, - End: ast.Location{ - Line: int(243), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2632, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(19), - }, - End: ast.Location{ - Line: int(243), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(30), - }, - End: ast.Location{ - Line: int(243), - Column: int(33), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "filter", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2640, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(30), - }, - End: ast.Location{ - Line: int(243), - Column: int(40), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2646, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(58), - }, - End: ast.Location{ - Line: int(243), - Column: int(59), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2646, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(53), - }, - End: ast.Location{ - Line: int(243), - Column: int(54), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2646, - FreeVars: ast.Identifiers{ - "v", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(53), - }, - End: ast.Location{ - Line: int(243), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(50), - }, - End: ast.Location{ - Line: int(243), - Column: int(51), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2652, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(41), - }, - End: ast.Location{ - Line: int(243), - Column: int(59), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2652, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(61), - }, - End: ast.Location{ - Line: int(243), - Column: int(64), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2640, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(30), - }, - End: ast.Location{ - Line: int(243), - Column: int(65), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2632, - FreeVars: ast.Identifiers{ - "arr", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(19), - }, - End: ast.Location{ - Line: int(243), - Column: int(66), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(9), - }, - End: ast.Location{ - Line: int(243), - Column: int(12), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(14), - }, - End: ast.Location{ - Line: int(243), - Column: int(15), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(243), - Column: int(3), - }, - End: ast.Location{ - Line: int(243), - Column: int(66), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(27), - }, - End: ast.Location{ - Line: int(246), - Column: int(30), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(27), - }, - End: ast.Location{ - Line: int(246), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2673, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(40), - }, - End: ast.Location{ - Line: int(246), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(27), - }, - End: ast.Location{ - Line: int(246), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(8), - }, - End: ast.Location{ - Line: int(246), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(8), - }, - End: ast.Location{ - Line: int(246), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2684, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(21), - }, - End: ast.Location{ - Line: int(246), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(8), - }, - End: ast.Location{ - Line: int(246), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(8), - }, - End: ast.Location{ - Line: int(246), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(7), - }, - End: ast.Location{ - Line: int(247), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "modulo", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(7), - }, - End: ast.Location{ - Line: int(247), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2697, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(18), - }, - End: ast.Location{ - Line: int(247), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2697, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(21), - }, - End: ast.Location{ - Line: int(247), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(247), - Column: int(7), - }, - End: ast.Location{ - Line: int(247), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(248), - Column: int(13), - }, - End: ast.Location{ - Line: int(248), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(248), - Column: int(13), - }, - End: ast.Location{ - Line: int(248), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2711, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(248), - Column: int(26), - }, - End: ast.Location{ - Line: int(248), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(248), - Column: int(13), - }, - End: ast.Location{ - Line: int(248), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(249), - Column: int(7), - }, - End: ast.Location{ - Line: int(249), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "format", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(249), - Column: int(7), - }, - End: ast.Location{ - Line: int(249), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2723, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(249), - Column: int(18), - }, - End: ast.Location{ - Line: int(249), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2723, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(249), - Column: int(21), - }, - End: ast.Location{ - Line: int(249), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(249), - Column: int(7), - }, - End: ast.Location{ - Line: int(249), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ".", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(91), - }, - End: ast.Location{ - Line: int(251), - Column: int(94), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(77), - }, - End: ast.Location{ - Line: int(251), - Column: int(80), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(77), - }, - End: ast.Location{ - Line: int(251), - Column: int(85), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2740, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(86), - }, - End: ast.Location{ - Line: int(251), - Column: int(87), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(77), - }, - End: ast.Location{ - Line: int(251), - Column: int(88), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " and ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(67), - }, - End: ast.Location{ - Line: int(251), - Column: int(74), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(53), - }, - End: ast.Location{ - Line: int(251), - Column: int(56), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(53), - }, - End: ast.Location{ - Line: int(251), - Column: int(61), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2754, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(62), - }, - End: ast.Location{ - Line: int(251), - Column: int(63), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(53), - }, - End: ast.Location{ - Line: int(251), - Column: int(64), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "Operator % cannot be used on types ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(13), - }, - End: ast.Location{ - Line: int(251), - Column: int(50), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(13), - }, - End: ast.Location{ - Line: int(251), - Column: int(64), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(13), - }, - End: ast.Location{ - Line: int(251), - Column: int(74), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(13), - }, - End: ast.Location{ - Line: int(251), - Column: int(88), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(13), - }, - End: ast.Location{ - Line: int(251), - Column: int(94), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(251), - Column: int(7), - }, - End: ast.Location{ - Line: int(251), - Column: int(94), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(248), - Column: int(10), - }, - End: ast.Location{ - Line: int(251), - Column: int(94), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2669, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(246), - Column: int(5), - }, - End: ast.Location{ - Line: int(251), - Column: int(94), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(7), - }, - End: ast.Location{ - Line: int(245), - Column: int(8), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(10), - }, - End: ast.Location{ - Line: int(245), - Column: int(11), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(245), - Column: int(3), - }, - End: ast.Location{ - Line: int(251), - Column: int(94), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(254), - Column: int(9), - }, - End: ast.Location{ - Line: int(254), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(254), - Column: int(9), - }, - End: ast.Location{ - Line: int(254), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2784, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(254), - Column: int(24), - }, - End: ast.Location{ - Line: int(254), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(254), - Column: int(9), - }, - End: ast.Location{ - Line: int(254), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(254), - Column: int(8), - }, - End: ast.Location{ - Line: int(254), - Column: int(29), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(61), - }, - End: ast.Location{ - Line: int(255), - Column: int(64), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(61), - }, - End: ast.Location{ - Line: int(255), - Column: int(69), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2798, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(70), - }, - End: ast.Location{ - Line: int(255), - Column: int(74), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(61), - }, - End: ast.Location{ - Line: int(255), - Column: int(75), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.map first param must be function, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(14), - }, - End: ast.Location{ - Line: int(255), - Column: int(58), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(14), - }, - End: ast.Location{ - Line: int(255), - Column: int(75), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(255), - Column: int(7), - }, - End: ast.Location{ - Line: int(255), - Column: int(76), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(35), - }, - End: ast.Location{ - Line: int(256), - Column: int(38), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(35), - }, - End: ast.Location{ - Line: int(256), - Column: int(47), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2816, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(48), - }, - End: ast.Location{ - Line: int(256), - Column: int(51), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(35), - }, - End: ast.Location{ - Line: int(256), - Column: int(52), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(34), - }, - End: ast.Location{ - Line: int(256), - Column: int(52), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - Left: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(14), - }, - End: ast.Location{ - Line: int(256), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(14), - }, - End: ast.Location{ - Line: int(256), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2829, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(26), - }, - End: ast.Location{ - Line: int(256), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(14), - }, - End: ast.Location{ - Line: int(256), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(13), - }, - End: ast.Location{ - Line: int(256), - Column: int(30), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(13), - }, - End: ast.Location{ - Line: int(256), - Column: int(52), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(68), - }, - End: ast.Location{ - Line: int(257), - Column: int(71), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(68), - }, - End: ast.Location{ - Line: int(257), - Column: int(76), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2844, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(77), - }, - End: ast.Location{ - Line: int(257), - Column: int(80), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(68), - }, - End: ast.Location{ - Line: int(257), - Column: int(81), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.map second param must be array / string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(14), - }, - End: ast.Location{ - Line: int(257), - Column: int(65), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(14), - }, - End: ast.Location{ - Line: int(257), - Column: int(81), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(257), - Column: int(7), - }, - End: ast.Location{ - Line: int(257), - Column: int(82), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(7), - }, - End: ast.Location{ - Line: int(259), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(7), - }, - End: ast.Location{ - Line: int(259), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(21), - }, - End: ast.Location{ - Line: int(259), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2864, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(21), - }, - End: ast.Location{ - Line: int(259), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2868, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(32), - }, - End: ast.Location{ - Line: int(259), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2864, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(21), - }, - End: ast.Location{ - Line: int(259), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2874, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(50), - }, - End: ast.Location{ - Line: int(259), - Column: int(54), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2879, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(55), - }, - End: ast.Location{ - Line: int(259), - Column: int(58), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2879, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(59), - }, - End: ast.Location{ - Line: int(259), - Column: int(60), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2879, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(55), - }, - End: ast.Location{ - Line: int(259), - Column: int(61), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2874, - FreeVars: ast.Identifiers{ - "arr", - "func", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(50), - }, - End: ast.Location{ - Line: int(259), - Column: int(62), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(47), - }, - End: ast.Location{ - Line: int(259), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2864, - FreeVars: ast.Identifiers{ - "arr", - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(38), - }, - End: ast.Location{ - Line: int(259), - Column: int(62), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(259), - Column: int(7), - }, - End: ast.Location{ - Line: int(259), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(256), - Column: int(10), - }, - End: ast.Location{ - Line: int(259), - Column: int(63), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2780, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(254), - Column: int(5), - }, - End: ast.Location{ - Line: int(259), - Column: int(63), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(7), - }, - End: ast.Location{ - Line: int(253), - Column: int(11), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(13), - }, - End: ast.Location{ - Line: int(253), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(253), - Column: int(3), - }, - End: ast.Location{ - Line: int(259), - Column: int(63), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "mapWithIndex", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(9), - }, - End: ast.Location{ - Line: int(262), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(9), - }, - End: ast.Location{ - Line: int(262), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2908, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(24), - }, - End: ast.Location{ - Line: int(262), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(9), - }, - End: ast.Location{ - Line: int(262), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(8), - }, - End: ast.Location{ - Line: int(262), - Column: int(29), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(70), - }, - End: ast.Location{ - Line: int(263), - Column: int(73), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(70), - }, - End: ast.Location{ - Line: int(263), - Column: int(78), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2922, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(79), - }, - End: ast.Location{ - Line: int(263), - Column: int(83), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(70), - }, - End: ast.Location{ - Line: int(263), - Column: int(84), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.mapWithIndex first param must be function, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(14), - }, - End: ast.Location{ - Line: int(263), - Column: int(67), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(14), - }, - End: ast.Location{ - Line: int(263), - Column: int(84), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(263), - Column: int(7), - }, - End: ast.Location{ - Line: int(263), - Column: int(85), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(35), - }, - End: ast.Location{ - Line: int(264), - Column: int(38), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(35), - }, - End: ast.Location{ - Line: int(264), - Column: int(47), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2940, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(48), - }, - End: ast.Location{ - Line: int(264), - Column: int(51), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(35), - }, - End: ast.Location{ - Line: int(264), - Column: int(52), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(34), - }, - End: ast.Location{ - Line: int(264), - Column: int(52), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - Left: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(14), - }, - End: ast.Location{ - Line: int(264), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(14), - }, - End: ast.Location{ - Line: int(264), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2953, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(26), - }, - End: ast.Location{ - Line: int(264), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(14), - }, - End: ast.Location{ - Line: int(264), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(13), - }, - End: ast.Location{ - Line: int(264), - Column: int(30), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(13), - }, - End: ast.Location{ - Line: int(264), - Column: int(52), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(265), - Column: int(68), - }, - End: ast.Location{ - Line: int(265), - Column: int(71), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(265), - Column: int(68), - }, - End: ast.Location{ - Line: int(265), - Column: int(76), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2968, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(265), - Column: int(77), - }, - End: ast.Location{ - Line: int(265), - Column: int(80), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(265), - Column: int(68), - }, - End: ast.Location{ - Line: int(265), - Column: int(81), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.mapWithIndex second param must be array, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(265), - Column: int(14), - }, - End: ast.Location{ - Line: int(265), - Column: int(65), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(265), - Column: int(14), - }, - End: ast.Location{ - Line: int(265), - Column: int(81), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(265), - Column: int(7), - }, - End: ast.Location{ - Line: int(265), - Column: int(82), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(7), - }, - End: ast.Location{ - Line: int(267), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(7), - }, - End: ast.Location{ - Line: int(267), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(21), - }, - End: ast.Location{ - Line: int(267), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2988, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(21), - }, - End: ast.Location{ - Line: int(267), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2992, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(32), - }, - End: ast.Location{ - Line: int(267), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2988, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(21), - }, - End: ast.Location{ - Line: int(267), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2998, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(50), - }, - End: ast.Location{ - Line: int(267), - Column: int(54), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3002, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(55), - }, - End: ast.Location{ - Line: int(267), - Column: int(56), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3002, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(58), - }, - End: ast.Location{ - Line: int(267), - Column: int(61), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3002, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(62), - }, - End: ast.Location{ - Line: int(267), - Column: int(63), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3002, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(58), - }, - End: ast.Location{ - Line: int(267), - Column: int(64), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2998, - FreeVars: ast.Identifiers{ - "arr", - "func", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(50), - }, - End: ast.Location{ - Line: int(267), - Column: int(65), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(47), - }, - End: ast.Location{ - Line: int(267), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2988, - FreeVars: ast.Identifiers{ - "arr", - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(38), - }, - End: ast.Location{ - Line: int(267), - Column: int(65), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(267), - Column: int(7), - }, - End: ast.Location{ - Line: int(267), - Column: int(66), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(264), - Column: int(10), - }, - End: ast.Location{ - Line: int(267), - Column: int(66), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p2904, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(262), - Column: int(5), - }, - End: ast.Location{ - Line: int(267), - Column: int(66), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(16), - }, - End: ast.Location{ - Line: int(261), - Column: int(20), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(22), - }, - End: ast.Location{ - Line: int(261), - Column: int(25), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(261), - Column: int(3), - }, - End: ast.Location{ - Line: int(267), - Column: int(66), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "mapWithKey", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(9), - }, - End: ast.Location{ - Line: int(270), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(9), - }, - End: ast.Location{ - Line: int(270), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3034, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(24), - }, - End: ast.Location{ - Line: int(270), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(9), - }, - End: ast.Location{ - Line: int(270), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(8), - }, - End: ast.Location{ - Line: int(270), - Column: int(29), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(68), - }, - End: ast.Location{ - Line: int(271), - Column: int(71), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(68), - }, - End: ast.Location{ - Line: int(271), - Column: int(76), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3048, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(77), - }, - End: ast.Location{ - Line: int(271), - Column: int(81), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(68), - }, - End: ast.Location{ - Line: int(271), - Column: int(82), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.mapWithKey first param must be function, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(14), - }, - End: ast.Location{ - Line: int(271), - Column: int(65), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(14), - }, - End: ast.Location{ - Line: int(271), - Column: int(82), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(271), - Column: int(7), - }, - End: ast.Location{ - Line: int(271), - Column: int(83), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(14), - }, - End: ast.Location{ - Line: int(272), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(14), - }, - End: ast.Location{ - Line: int(272), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3065, - FreeVars: ast.Identifiers{ - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(27), - }, - End: ast.Location{ - Line: int(272), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(14), - }, - End: ast.Location{ - Line: int(272), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(13), - }, - End: ast.Location{ - Line: int(272), - Column: int(31), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(273), - Column: int(67), - }, - End: ast.Location{ - Line: int(273), - Column: int(70), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(273), - Column: int(67), - }, - End: ast.Location{ - Line: int(273), - Column: int(75), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3079, - FreeVars: ast.Identifiers{ - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(273), - Column: int(76), - }, - End: ast.Location{ - Line: int(273), - Column: int(79), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(273), - Column: int(67), - }, - End: ast.Location{ - Line: int(273), - Column: int(80), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.mapWithKey second param must be object, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(273), - Column: int(14), - }, - End: ast.Location{ - Line: int(273), - Column: int(64), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(273), - Column: int(14), - }, - End: ast.Location{ - Line: int(273), - Column: int(80), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(273), - Column: int(7), - }, - End: ast.Location{ - Line: int(273), - Column: int(81), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "$objectFlatMerge", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(10), - }, - End: ast.Location{ - Line: int(275), - Column: int(11), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3109, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(14), - }, - End: ast.Location{ - Line: int(275), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3113, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(19), - }, - End: ast.Location{ - Line: int(275), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3113, - FreeVars: ast.Identifiers{ - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(22), - }, - End: ast.Location{ - Line: int(275), - Column: int(25), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3113, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(26), - }, - End: ast.Location{ - Line: int(275), - Column: int(27), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3113, - FreeVars: ast.Identifiers{ - "k", - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(22), - }, - End: ast.Location{ - Line: int(275), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3109, - FreeVars: ast.Identifiers{ - "func", - "k", - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(14), - }, - End: ast.Location{ - Line: int(275), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(9), - }, - End: ast.Location{ - Line: int(275), - Column: int(29), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "func", - "k", - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(7), - }, - End: ast.Location{ - Line: int(275), - Column: int(62), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "func", - "k", - "obj", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "func", - "obj", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(39), - }, - End: ast.Location{ - Line: int(275), - Column: int(42), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(39), - }, - End: ast.Location{ - Line: int(275), - Column: int(55), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3135, - FreeVars: ast.Identifiers{ - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(56), - }, - End: ast.Location{ - Line: int(275), - Column: int(59), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(39), - }, - End: ast.Location{ - Line: int(275), - Column: int(60), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "func", - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(7), - }, - End: ast.Location{ - Line: int(275), - Column: int(62), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "func", - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(275), - Column: int(7), - }, - End: ast.Location{ - Line: int(275), - Column: int(62), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "$std", - "func", - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(272), - Column: int(10), - }, - End: ast.Location{ - Line: int(275), - Column: int(62), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p3030, - FreeVars: ast.Identifiers{ - "$std", - "func", - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(270), - Column: int(5), - }, - End: ast.Location{ - Line: int(275), - Column: int(62), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(14), - }, - End: ast.Location{ - Line: int(269), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "obj", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(20), - }, - End: ast.Location{ - Line: int(269), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(269), - Column: int(3), - }, - End: ast.Location{ - Line: int(275), - Column: int(62), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(9), - }, - End: ast.Location{ - Line: int(278), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(9), - }, - End: ast.Location{ - Line: int(278), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3160, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(24), - }, - End: ast.Location{ - Line: int(278), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(9), - }, - End: ast.Location{ - Line: int(278), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(8), - }, - End: ast.Location{ - Line: int(278), - Column: int(29), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(65), - }, - End: ast.Location{ - Line: int(279), - Column: int(68), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(65), - }, - End: ast.Location{ - Line: int(279), - Column: int(73), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3174, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(74), - }, - End: ast.Location{ - Line: int(279), - Column: int(78), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(65), - }, - End: ast.Location{ - Line: int(279), - Column: int(79), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.flatMap first param must be function, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(14), - }, - End: ast.Location{ - Line: int(279), - Column: int(62), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(14), - }, - End: ast.Location{ - Line: int(279), - Column: int(79), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(279), - Column: int(7), - }, - End: ast.Location{ - Line: int(279), - Column: int(80), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(13), - }, - End: ast.Location{ - Line: int(280), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(13), - }, - End: ast.Location{ - Line: int(280), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3190, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(25), - }, - End: ast.Location{ - Line: int(280), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(13), - }, - End: ast.Location{ - Line: int(280), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(7), - }, - End: ast.Location{ - Line: int(281), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flattenArrays", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(7), - }, - End: ast.Location{ - Line: int(281), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(25), - }, - End: ast.Location{ - Line: int(281), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3206, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(25), - }, - End: ast.Location{ - Line: int(281), - Column: int(38), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(39), - }, - End: ast.Location{ - Line: int(281), - Column: int(42), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3214, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(39), - }, - End: ast.Location{ - Line: int(281), - Column: int(49), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3218, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(50), - }, - End: ast.Location{ - Line: int(281), - Column: int(53), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3214, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(39), - }, - End: ast.Location{ - Line: int(281), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3224, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(68), - }, - End: ast.Location{ - Line: int(281), - Column: int(72), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3229, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(73), - }, - End: ast.Location{ - Line: int(281), - Column: int(76), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3229, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(77), - }, - End: ast.Location{ - Line: int(281), - Column: int(78), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3229, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(73), - }, - End: ast.Location{ - Line: int(281), - Column: int(79), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3224, - FreeVars: ast.Identifiers{ - "arr", - "func", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(68), - }, - End: ast.Location{ - Line: int(281), - Column: int(80), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(65), - }, - End: ast.Location{ - Line: int(281), - Column: int(66), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3214, - FreeVars: ast.Identifiers{ - "arr", - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(56), - }, - End: ast.Location{ - Line: int(281), - Column: int(80), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3206, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(25), - }, - End: ast.Location{ - Line: int(281), - Column: int(81), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(281), - Column: int(7), - }, - End: ast.Location{ - Line: int(281), - Column: int(82), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(13), - }, - End: ast.Location{ - Line: int(282), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(13), - }, - End: ast.Location{ - Line: int(282), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3248, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(26), - }, - End: ast.Location{ - Line: int(282), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(13), - }, - End: ast.Location{ - Line: int(282), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(7), - }, - End: ast.Location{ - Line: int(283), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(7), - }, - End: ast.Location{ - Line: int(283), - Column: int(15), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3260, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(16), - }, - End: ast.Location{ - Line: int(283), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(20), - }, - End: ast.Location{ - Line: int(283), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3260, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(20), - }, - End: ast.Location{ - Line: int(283), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(34), - }, - End: ast.Location{ - Line: int(283), - Column: int(37), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3273, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(34), - }, - End: ast.Location{ - Line: int(283), - Column: int(44), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3277, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(45), - }, - End: ast.Location{ - Line: int(283), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3273, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(34), - }, - End: ast.Location{ - Line: int(283), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3283, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(63), - }, - End: ast.Location{ - Line: int(283), - Column: int(67), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3288, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(68), - }, - End: ast.Location{ - Line: int(283), - Column: int(71), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3288, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(72), - }, - End: ast.Location{ - Line: int(283), - Column: int(73), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3288, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(68), - }, - End: ast.Location{ - Line: int(283), - Column: int(74), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3283, - FreeVars: ast.Identifiers{ - "arr", - "func", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(63), - }, - End: ast.Location{ - Line: int(283), - Column: int(75), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(60), - }, - End: ast.Location{ - Line: int(283), - Column: int(61), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3273, - FreeVars: ast.Identifiers{ - "arr", - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(51), - }, - End: ast.Location{ - Line: int(283), - Column: int(75), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3260, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(20), - }, - End: ast.Location{ - Line: int(283), - Column: int(76), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(283), - Column: int(7), - }, - End: ast.Location{ - Line: int(283), - Column: int(77), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(284), - Column: int(75), - }, - End: ast.Location{ - Line: int(284), - Column: int(78), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(284), - Column: int(75), - }, - End: ast.Location{ - Line: int(284), - Column: int(83), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3308, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(284), - Column: int(84), - }, - End: ast.Location{ - Line: int(284), - Column: int(87), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(284), - Column: int(75), - }, - End: ast.Location{ - Line: int(284), - Column: int(88), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.flatMap second param must be array / string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(284), - Column: int(17), - }, - End: ast.Location{ - Line: int(284), - Column: int(72), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(284), - Column: int(17), - }, - End: ast.Location{ - Line: int(284), - Column: int(88), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(284), - Column: int(10), - }, - End: ast.Location{ - Line: int(284), - Column: int(89), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(282), - Column: int(10), - }, - End: ast.Location{ - Line: int(284), - Column: int(89), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(280), - Column: int(10), - }, - End: ast.Location{ - Line: int(284), - Column: int(89), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p3156, - FreeVars: ast.Identifiers{ - "arr", - "func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(278), - Column: int(5), - }, - End: ast.Location{ - Line: int(284), - Column: int(89), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(11), - }, - End: ast.Location{ - Line: int(277), - Column: int(15), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(17), - }, - End: ast.Location{ - Line: int(277), - Column: int(20), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(277), - Column: int(3), - }, - End: ast.Location{ - Line: int(284), - Column: int(89), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(15), - }, - End: ast.Location{ - Line: int(288), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(15), - }, - End: ast.Location{ - Line: int(288), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3339, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(26), - }, - End: ast.Location{ - Line: int(288), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(15), - }, - End: ast.Location{ - Line: int(288), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(10), - }, - End: ast.Location{ - Line: int(288), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(10), - }, - End: ast.Location{ - Line: int(288), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Var{ - Id: "running", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(289), - Column: int(9), - }, - End: ast.Location{ - Line: int(289), - Column: int(16), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(25), - }, - End: ast.Location{ - Line: int(290), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(15), - }, - End: ast.Location{ - Line: int(290), - Column: int(18), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(19), - }, - End: ast.Location{ - Line: int(290), - Column: int(20), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(15), - }, - End: ast.Location{ - Line: int(290), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(15), - }, - End: ast.Location{ - Line: int(290), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(9), - }, - End: ast.Location{ - Line: int(291), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3364, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(13), - }, - End: ast.Location{ - Line: int(291), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3364, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(22), - }, - End: ast.Location{ - Line: int(291), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3364, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(18), - }, - End: ast.Location{ - Line: int(291), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3364, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(18), - }, - End: ast.Location{ - Line: int(291), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "first", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3364, - FreeVars: ast.Identifiers{ - "first", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(25), - }, - End: ast.Location{ - Line: int(291), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "running", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3364, - FreeVars: ast.Identifiers{ - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(32), - }, - End: ast.Location{ - Line: int(291), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "first", - "i", - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(291), - Column: int(9), - }, - End: ast.Location{ - Line: int(291), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(35), - }, - End: ast.Location{ - Line: int(292), - Column: int(38), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(35), - }, - End: ast.Location{ - Line: int(292), - Column: int(43), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "sep", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3386, - FreeVars: ast.Identifiers{ - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(44), - }, - End: ast.Location{ - Line: int(292), - Column: int(47), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(35), - }, - End: ast.Location{ - Line: int(292), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(15), - }, - End: ast.Location{ - Line: int(292), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(15), - }, - End: ast.Location{ - Line: int(292), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3398, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(24), - }, - End: ast.Location{ - Line: int(292), - Column: int(27), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3398, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(28), - }, - End: ast.Location{ - Line: int(292), - Column: int(29), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3398, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(24), - }, - End: ast.Location{ - Line: int(292), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(15), - }, - End: ast.Location{ - Line: int(292), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "i", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(15), - }, - End: ast.Location{ - Line: int(292), - Column: int(48), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "expected %s but arr[%d] was %s ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(15), - }, - End: ast.Location{ - Line: int(293), - Column: int(48), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(52), - }, - End: ast.Location{ - Line: int(293), - Column: int(55), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3421, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(52), - }, - End: ast.Location{ - Line: int(293), - Column: int(60), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "sep", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3425, - FreeVars: ast.Identifiers{ - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(61), - }, - End: ast.Location{ - Line: int(293), - Column: int(64), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3421, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(52), - }, - End: ast.Location{ - Line: int(293), - Column: int(65), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3421, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(67), - }, - End: ast.Location{ - Line: int(293), - Column: int(68), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(70), - }, - End: ast.Location{ - Line: int(293), - Column: int(73), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3421, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(70), - }, - End: ast.Location{ - Line: int(293), - Column: int(78), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3439, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(79), - }, - End: ast.Location{ - Line: int(293), - Column: int(82), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3439, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(83), - }, - End: ast.Location{ - Line: int(293), - Column: int(84), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3439, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(79), - }, - End: ast.Location{ - Line: int(293), - Column: int(85), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3421, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(70), - }, - End: ast.Location{ - Line: int(293), - Column: int(86), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "i", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(51), - }, - End: ast.Location{ - Line: int(293), - Column: int(87), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "i", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(15), - }, - End: ast.Location{ - Line: int(293), - Column: int(87), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "i", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(293), - Column: int(9), - }, - End: ast.Location{ - Line: int(293), - Column: int(87), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Var{ - Id: "first", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "first", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(294), - Column: int(15), - }, - End: ast.Location{ - Line: int(294), - Column: int(20), - }, - }, - }, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(9), - }, - End: ast.Location{ - Line: int(295), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(13), - }, - End: ast.Location{ - Line: int(295), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(22), - }, - End: ast.Location{ - Line: int(295), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(18), - }, - End: ast.Location{ - Line: int(295), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(18), - }, - End: ast.Location{ - Line: int(295), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(25), - }, - End: ast.Location{ - Line: int(295), - Column: int(30), - }, - }, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(42), - }, - End: ast.Location{ - Line: int(295), - Column: int(45), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(46), - }, - End: ast.Location{ - Line: int(295), - Column: int(47), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(42), - }, - End: ast.Location{ - Line: int(295), - Column: int(48), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "running", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(32), - }, - End: ast.Location{ - Line: int(295), - Column: int(39), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3458, - FreeVars: ast.Identifiers{ - "arr", - "i", - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(32), - }, - End: ast.Location{ - Line: int(295), - Column: int(48), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(295), - Column: int(9), - }, - End: ast.Location{ - Line: int(295), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(9), - }, - End: ast.Location{ - Line: int(297), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(13), - }, - End: ast.Location{ - Line: int(297), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(22), - }, - End: ast.Location{ - Line: int(297), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(18), - }, - End: ast.Location{ - Line: int(297), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(18), - }, - End: ast.Location{ - Line: int(297), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(25), - }, - End: ast.Location{ - Line: int(297), - Column: int(30), - }, - }, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(48), - }, - End: ast.Location{ - Line: int(297), - Column: int(51), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(52), - }, - End: ast.Location{ - Line: int(297), - Column: int(53), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(48), - }, - End: ast.Location{ - Line: int(297), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "sep", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(42), - }, - End: ast.Location{ - Line: int(297), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "running", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(32), - }, - End: ast.Location{ - Line: int(297), - Column: int(39), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "running", - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(32), - }, - End: ast.Location{ - Line: int(297), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3483, - FreeVars: ast.Identifiers{ - "arr", - "i", - "running", - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(32), - }, - End: ast.Location{ - Line: int(297), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "running", - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(297), - Column: int(9), - }, - End: ast.Location{ - Line: int(297), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "first", - "i", - "running", - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(294), - Column: int(12), - }, - End: ast.Location{ - Line: int(297), - Column: int(55), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "aux", - "first", - "i", - "running", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(292), - Column: int(12), - }, - End: ast.Location{ - Line: int(297), - Column: int(55), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "aux", - "first", - "i", - "running", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(290), - Column: int(12), - }, - End: ast.Location{ - Line: int(297), - Column: int(55), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3335, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "aux", - "first", - "i", - "running", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(288), - Column: int(7), - }, - End: ast.Location{ - Line: int(297), - Column: int(55), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(15), - }, - End: ast.Location{ - Line: int(287), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(20), - }, - End: ast.Location{ - Line: int(287), - Column: int(21), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "first", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(23), - }, - End: ast.Location{ - Line: int(287), - Column: int(28), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "running", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(30), - }, - End: ast.Location{ - Line: int(287), - Column: int(37), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p3516, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(11), - }, - End: ast.Location{ - Line: int(297), - Column: int(55), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(298), - Column: int(9), - }, - End: ast.Location{ - Line: int(298), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(298), - Column: int(9), - }, - End: ast.Location{ - Line: int(298), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3529, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(298), - Column: int(21), - }, - End: ast.Location{ - Line: int(298), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(298), - Column: int(9), - }, - End: ast.Location{ - Line: int(298), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(298), - Column: int(8), - }, - End: ast.Location{ - Line: int(298), - Column: int(25), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(61), - }, - End: ast.Location{ - Line: int(299), - Column: int(64), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(61), - }, - End: ast.Location{ - Line: int(299), - Column: int(69), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3543, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(70), - }, - End: ast.Location{ - Line: int(299), - Column: int(73), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(61), - }, - End: ast.Location{ - Line: int(299), - Column: int(74), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "join second parameter should be array, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(13), - }, - End: ast.Location{ - Line: int(299), - Column: int(58), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(13), - }, - End: ast.Location{ - Line: int(299), - Column: int(74), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(299), - Column: int(7), - }, - End: ast.Location{ - Line: int(299), - Column: int(74), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(300), - Column: int(13), - }, - End: ast.Location{ - Line: int(300), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(300), - Column: int(13), - }, - End: ast.Location{ - Line: int(300), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "sep", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3559, - FreeVars: ast.Identifiers{ - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(300), - Column: int(26), - }, - End: ast.Location{ - Line: int(300), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(300), - Column: int(13), - }, - End: ast.Location{ - Line: int(300), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(7), - }, - End: ast.Location{ - Line: int(301), - Column: int(10), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3568, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(11), - }, - End: ast.Location{ - Line: int(301), - Column: int(14), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3568, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(16), - }, - End: ast.Location{ - Line: int(301), - Column: int(17), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3568, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(19), - }, - End: ast.Location{ - Line: int(301), - Column: int(23), - }, - }, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3568, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(25), - }, - End: ast.Location{ - Line: int(301), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(301), - Column: int(7), - }, - End: ast.Location{ - Line: int(301), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(13), - }, - End: ast.Location{ - Line: int(302), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(13), - }, - End: ast.Location{ - Line: int(302), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "sep", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3583, - FreeVars: ast.Identifiers{ - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(25), - }, - End: ast.Location{ - Line: int(302), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(13), - }, - End: ast.Location{ - Line: int(302), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(303), - Column: int(7), - }, - End: ast.Location{ - Line: int(303), - Column: int(10), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3592, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(303), - Column: int(11), - }, - End: ast.Location{ - Line: int(303), - Column: int(14), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3592, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(303), - Column: int(16), - }, - End: ast.Location{ - Line: int(303), - Column: int(17), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3592, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(303), - Column: int(19), - }, - End: ast.Location{ - Line: int(303), - Column: int(23), - }, - }, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3592, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(303), - Column: int(25), - }, - End: ast.Location{ - Line: int(303), - Column: int(27), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(303), - Column: int(7), - }, - End: ast.Location{ - Line: int(303), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(305), - Column: int(70), - }, - End: ast.Location{ - Line: int(305), - Column: int(73), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(305), - Column: int(70), - }, - End: ast.Location{ - Line: int(305), - Column: int(78), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "sep", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3608, - FreeVars: ast.Identifiers{ - "sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(305), - Column: int(79), - }, - End: ast.Location{ - Line: int(305), - Column: int(82), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(305), - Column: int(70), - }, - End: ast.Location{ - Line: int(305), - Column: int(83), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "join first parameter should be string or array, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(305), - Column: int(13), - }, - End: ast.Location{ - Line: int(305), - Column: int(67), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(305), - Column: int(13), - }, - End: ast.Location{ - Line: int(305), - Column: int(83), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(305), - Column: int(7), - }, - End: ast.Location{ - Line: int(305), - Column: int(83), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(302), - Column: int(10), - }, - End: ast.Location{ - Line: int(305), - Column: int(83), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(300), - Column: int(10), - }, - End: ast.Location{ - Line: int(305), - Column: int(83), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(298), - Column: int(5), - }, - End: ast.Location{ - Line: int(305), - Column: int(83), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p3525, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(287), - Column: int(5), - }, - End: ast.Location{ - Line: int(305), - Column: int(83), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "sep", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(286), - Column: int(8), - }, - End: ast.Location{ - Line: int(286), - Column: int(11), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(286), - Column: int(13), - }, - End: ast.Location{ - Line: int(286), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(286), - Column: int(3), - }, - End: ast.Location{ - Line: int(305), - Column: int(83), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "lines", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(5), - }, - End: ast.Location{ - Line: int(308), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3634, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(5), - }, - End: ast.Location{ - Line: int(308), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3638, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(14), - }, - End: ast.Location{ - Line: int(308), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3643, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(27), - }, - End: ast.Location{ - Line: int(308), - Column: int(29), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3638, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(26), - }, - End: ast.Location{ - Line: int(308), - Column: int(30), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3638, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(20), - }, - End: ast.Location{ - Line: int(308), - Column: int(23), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3638, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(20), - }, - End: ast.Location{ - Line: int(308), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3634, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(308), - Column: int(5), - }, - End: ast.Location{ - Line: int(308), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(307), - Column: int(9), - }, - End: ast.Location{ - Line: int(307), - Column: int(12), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(307), - Column: int(3), - }, - End: ast.Location{ - Line: int(308), - Column: int(31), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "deepJoin", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(311), - Column: int(8), - }, - End: ast.Location{ - Line: int(311), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(311), - Column: int(8), - }, - End: ast.Location{ - Line: int(311), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3662, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(311), - Column: int(21), - }, - End: ast.Location{ - Line: int(311), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(311), - Column: int(8), - }, - End: ast.Location{ - Line: int(311), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(312), - Column: int(7), - }, - End: ast.Location{ - Line: int(312), - Column: int(10), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(13), - }, - End: ast.Location{ - Line: int(313), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(13), - }, - End: ast.Location{ - Line: int(313), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3677, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(25), - }, - End: ast.Location{ - Line: int(313), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(13), - }, - End: ast.Location{ - Line: int(313), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(7), - }, - End: ast.Location{ - Line: int(314), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(7), - }, - End: ast.Location{ - Line: int(314), - Column: int(15), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3689, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(16), - }, - End: ast.Location{ - Line: int(314), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(21), - }, - End: ast.Location{ - Line: int(314), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "deepJoin", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3705, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(21), - }, - End: ast.Location{ - Line: int(314), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3709, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(34), - }, - End: ast.Location{ - Line: int(314), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3705, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(21), - }, - End: ast.Location{ - Line: int(314), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "x", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3689, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(46), - }, - End: ast.Location{ - Line: int(314), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(20), - }, - End: ast.Location{ - Line: int(314), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(314), - Column: int(7), - }, - End: ast.Location{ - Line: int(314), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "Expected string or array, got %s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(13), - }, - End: ast.Location{ - Line: int(316), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(50), - }, - End: ast.Location{ - Line: int(316), - Column: int(53), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(50), - }, - End: ast.Location{ - Line: int(316), - Column: int(58), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3736, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(59), - }, - End: ast.Location{ - Line: int(316), - Column: int(62), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(50), - }, - End: ast.Location{ - Line: int(316), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(13), - }, - End: ast.Location{ - Line: int(316), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(316), - Column: int(7), - }, - End: ast.Location{ - Line: int(316), - Column: int(63), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(313), - Column: int(10), - }, - End: ast.Location{ - Line: int(316), - Column: int(63), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p3658, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(311), - Column: int(5), - }, - End: ast.Location{ - Line: int(316), - Column: int(63), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(310), - Column: int(12), - }, - End: ast.Location{ - Line: int(310), - Column: int(15), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(310), - Column: int(3), - }, - End: ast.Location{ - Line: int(316), - Column: int(63), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "format", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(18), - }, - End: ast.Location{ - Line: int(326), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(18), - }, - End: ast.Location{ - Line: int(326), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3765, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(29), - }, - End: ast.Location{ - Line: int(326), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(18), - }, - End: ast.Location{ - Line: int(326), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(14), - }, - End: ast.Location{ - Line: int(326), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(14), - }, - End: ast.Location{ - Line: int(326), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3775, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(327), - Column: int(17), - }, - End: ast.Location{ - Line: int(327), - Column: int(20), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3775, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(327), - Column: int(21), - }, - End: ast.Location{ - Line: int(327), - Column: int(22), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3775, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(327), - Column: int(17), - }, - End: ast.Location{ - Line: int(327), - Column: int(23), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "c", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(327), - Column: int(13), - }, - End: ast.Location{ - Line: int(327), - Column: int(23), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "(", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3761, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(15), - }, - End: ast.Location{ - Line: int(328), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(10), - }, - End: ast.Location{ - Line: int(328), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(10), - }, - End: ast.Location{ - Line: int(328), - Column: int(18), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(19), - }, - End: ast.Location{ - Line: int(330), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(19), - }, - End: ast.Location{ - Line: int(330), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3800, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(30), - }, - End: ast.Location{ - Line: int(330), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(19), - }, - End: ast.Location{ - Line: int(330), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(14), - }, - End: ast.Location{ - Line: int(330), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "j", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(14), - }, - End: ast.Location{ - Line: int(330), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Truncated format code.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3796, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(19), - }, - End: ast.Location{ - Line: int(331), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p3796, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(331), - Column: int(13), - }, - End: ast.Location{ - Line: int(331), - Column: int(43), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3813, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(23), - }, - End: ast.Location{ - Line: int(333), - Column: int(26), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3813, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(27), - }, - End: ast.Location{ - Line: int(333), - Column: int(28), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3813, - FreeVars: ast.Identifiers{ - "j", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(23), - }, - End: ast.Location{ - Line: int(333), - Column: int(29), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "c", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(19), - }, - End: ast.Location{ - Line: int(333), - Column: int(29), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ")", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3796, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(21), - }, - End: ast.Location{ - Line: int(334), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(16), - }, - End: ast.Location{ - Line: int(334), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(16), - }, - End: ast.Location{ - Line: int(334), - Column: int(24), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(15), - }, - End: ast.Location{ - Line: int(335), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3830, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(23), - }, - End: ast.Location{ - Line: int(335), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3830, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(32), - }, - End: ast.Location{ - Line: int(335), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3830, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(28), - }, - End: ast.Location{ - Line: int(335), - Column: int(29), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3830, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(28), - }, - End: ast.Location{ - Line: int(335), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3830, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(39), - }, - End: ast.Location{ - Line: int(335), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3830, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(35), - }, - End: ast.Location{ - Line: int(335), - Column: int(36), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3830, - FreeVars: ast.Identifiers{ - "c", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(35), - }, - End: ast.Location{ - Line: int(335), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(335), - Column: int(15), - }, - End: ast.Location{ - Line: int(335), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3849, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(24), - }, - End: ast.Location{ - Line: int(337), - Column: int(25), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3849, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(20), - }, - End: ast.Location{ - Line: int(337), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3849, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(20), - }, - End: ast.Location{ - Line: int(337), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(17), - }, - End: ast.Location{ - Line: int(337), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3849, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(30), - }, - End: ast.Location{ - Line: int(337), - Column: int(31), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(27), - }, - End: ast.Location{ - Line: int(337), - Column: int(31), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "j", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(337), - Column: int(15), - }, - End: ast.Location{ - Line: int(337), - Column: int(33), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(334), - Column: int(13), - }, - End: ast.Location{ - Line: int(337), - Column: int(33), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(333), - Column: int(13), - }, - End: ast.Location{ - Line: int(337), - Column: int(33), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p3796, - FreeVars: ast.Identifiers{ - "consume", - "j", - "std", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(330), - Column: int(11), - }, - End: ast.Location{ - Line: int(337), - Column: int(33), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(329), - Column: int(23), - }, - End: ast.Location{ - Line: int(329), - Column: int(26), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(329), - Column: int(28), - }, - End: ast.Location{ - Line: int(329), - Column: int(29), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(329), - Column: int(31), - }, - End: ast.Location{ - Line: int(329), - Column: int(32), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p3867, - FreeVars: ast.Identifiers{ - "consume", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(329), - Column: int(15), - }, - End: ast.Location{ - Line: int(337), - Column: int(33), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "consume", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(9), - }, - End: ast.Location{ - Line: int(338), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3875, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(17), - }, - End: ast.Location{ - Line: int(338), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3875, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(26), - }, - End: ast.Location{ - Line: int(338), - Column: int(27), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3875, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(22), - }, - End: ast.Location{ - Line: int(338), - Column: int(23), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3875, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(22), - }, - End: ast.Location{ - Line: int(338), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3875, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(29), - }, - End: ast.Location{ - Line: int(338), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "consume", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(338), - Column: int(9), - }, - End: ast.Location{ - Line: int(338), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(329), - Column: int(9), - }, - End: ast.Location{ - Line: int(338), - Column: int(32), - }, - }, - }, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3890, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(340), - Column: int(14), - }, - End: ast.Location{ - Line: int(340), - Column: int(15), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(340), - Column: int(11), - }, - End: ast.Location{ - Line: int(340), - Column: int(15), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3890, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(340), - Column: int(20), - }, - End: ast.Location{ - Line: int(340), - Column: int(24), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(340), - Column: int(17), - }, - End: ast.Location{ - Line: int(340), - Column: int(24), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(340), - Column: int(9), - }, - End: ast.Location{ - Line: int(340), - Column: int(26), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "c", - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(328), - Column: int(7), - }, - End: ast.Location{ - Line: int(340), - Column: int(26), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p3761, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(327), - Column: int(7), - }, - End: ast.Location{ - Line: int(340), - Column: int(26), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Truncated format code.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3761, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(36), - }, - End: ast.Location{ - Line: int(326), - Column: int(60), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(326), - Column: int(7), - }, - End: ast.Location{ - Line: int(340), - Column: int(26), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(33), - }, - End: ast.Location{ - Line: int(325), - Column: int(36), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(38), - }, - End: ast.Location{ - Line: int(325), - Column: int(39), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p3905, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(11), - }, - End: ast.Location{ - Line: int(340), - Column: int(26), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "try_parse_mapping_key", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(20), - }, - End: ast.Location{ - Line: int(344), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(20), - }, - End: ast.Location{ - Line: int(344), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3924, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(31), - }, - End: ast.Location{ - Line: int(344), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(20), - }, - End: ast.Location{ - Line: int(344), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(16), - }, - End: ast.Location{ - Line: int(344), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "j", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(16), - }, - End: ast.Location{ - Line: int(344), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3934, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(19), - }, - End: ast.Location{ - Line: int(345), - Column: int(22), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3934, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(23), - }, - End: ast.Location{ - Line: int(345), - Column: int(24), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3934, - FreeVars: ast.Identifiers{ - "j", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(19), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "c", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(15), - }, - End: ast.Location{ - Line: int(345), - Column: int(25), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "#", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(17), - }, - End: ast.Location{ - Line: int(346), - Column: int(20), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(12), - }, - End: ast.Location{ - Line: int(346), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(12), - }, - End: ast.Location{ - Line: int(346), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(11), - }, - End: ast.Location{ - Line: int(347), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3951, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(19), - }, - End: ast.Location{ - Line: int(347), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3951, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(28), - }, - End: ast.Location{ - Line: int(347), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3951, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(24), - }, - End: ast.Location{ - Line: int(347), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3951, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(24), - }, - End: ast.Location{ - Line: int(347), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3963, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(40), - }, - End: ast.Location{ - Line: int(347), - Column: int(44), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(35), - }, - End: ast.Location{ - Line: int(347), - Column: int(44), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3951, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(33), - }, - End: ast.Location{ - Line: int(347), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3951, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(31), - }, - End: ast.Location{ - Line: int(347), - Column: int(32), - }, - }, - }, - }, - OpFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3951, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(31), - }, - End: ast.Location{ - Line: int(347), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(347), - Column: int(11), - }, - End: ast.Location{ - Line: int(347), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(348), - Column: int(22), - }, - End: ast.Location{ - Line: int(348), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(348), - Column: int(17), - }, - End: ast.Location{ - Line: int(348), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(348), - Column: int(17), - }, - End: ast.Location{ - Line: int(348), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(11), - }, - End: ast.Location{ - Line: int(349), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3980, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(19), - }, - End: ast.Location{ - Line: int(349), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3980, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(28), - }, - End: ast.Location{ - Line: int(349), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3980, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(24), - }, - End: ast.Location{ - Line: int(349), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3980, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(24), - }, - End: ast.Location{ - Line: int(349), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "zero", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3992, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(41), - }, - End: ast.Location{ - Line: int(349), - Column: int(45), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(35), - }, - End: ast.Location{ - Line: int(349), - Column: int(45), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3980, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(33), - }, - End: ast.Location{ - Line: int(349), - Column: int(47), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3980, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(31), - }, - End: ast.Location{ - Line: int(349), - Column: int(32), - }, - }, - }, - }, - OpFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3980, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(31), - }, - End: ast.Location{ - Line: int(349), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(349), - Column: int(11), - }, - End: ast.Location{ - Line: int(349), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(22), - }, - End: ast.Location{ - Line: int(350), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(17), - }, - End: ast.Location{ - Line: int(350), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(17), - }, - End: ast.Location{ - Line: int(350), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(11), - }, - End: ast.Location{ - Line: int(351), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4009, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(19), - }, - End: ast.Location{ - Line: int(351), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4009, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(28), - }, - End: ast.Location{ - Line: int(351), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4009, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(24), - }, - End: ast.Location{ - Line: int(351), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4009, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(24), - }, - End: ast.Location{ - Line: int(351), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "left", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4021, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(41), - }, - End: ast.Location{ - Line: int(351), - Column: int(45), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(35), - }, - End: ast.Location{ - Line: int(351), - Column: int(45), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4009, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(33), - }, - End: ast.Location{ - Line: int(351), - Column: int(47), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4009, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(31), - }, - End: ast.Location{ - Line: int(351), - Column: int(32), - }, - }, - }, - }, - OpFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4009, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(31), - }, - End: ast.Location{ - Line: int(351), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(351), - Column: int(11), - }, - End: ast.Location{ - Line: int(351), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(22), - }, - End: ast.Location{ - Line: int(352), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(17), - }, - End: ast.Location{ - Line: int(352), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(17), - }, - End: ast.Location{ - Line: int(352), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(11), - }, - End: ast.Location{ - Line: int(353), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4038, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(19), - }, - End: ast.Location{ - Line: int(353), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4038, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(28), - }, - End: ast.Location{ - Line: int(353), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4038, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(24), - }, - End: ast.Location{ - Line: int(353), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4038, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(24), - }, - End: ast.Location{ - Line: int(353), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "blank", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4050, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(42), - }, - End: ast.Location{ - Line: int(353), - Column: int(46), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(35), - }, - End: ast.Location{ - Line: int(353), - Column: int(46), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4038, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(33), - }, - End: ast.Location{ - Line: int(353), - Column: int(48), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4038, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(31), - }, - End: ast.Location{ - Line: int(353), - Column: int(32), - }, - }, - }, - }, - OpFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4038, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(31), - }, - End: ast.Location{ - Line: int(353), - Column: int(48), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(353), - Column: int(11), - }, - End: ast.Location{ - Line: int(353), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "+", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(22), - }, - End: ast.Location{ - Line: int(354), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(17), - }, - End: ast.Location{ - Line: int(354), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(17), - }, - End: ast.Location{ - Line: int(354), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(11), - }, - End: ast.Location{ - Line: int(355), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4067, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(19), - }, - End: ast.Location{ - Line: int(355), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4067, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(28), - }, - End: ast.Location{ - Line: int(355), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4067, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(24), - }, - End: ast.Location{ - Line: int(355), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4067, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(24), - }, - End: ast.Location{ - Line: int(355), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "plus", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4079, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(41), - }, - End: ast.Location{ - Line: int(355), - Column: int(45), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(35), - }, - End: ast.Location{ - Line: int(355), - Column: int(45), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4067, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(33), - }, - End: ast.Location{ - Line: int(355), - Column: int(47), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4067, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(31), - }, - End: ast.Location{ - Line: int(355), - Column: int(32), - }, - }, - }, - }, - OpFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4067, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(31), - }, - End: ast.Location{ - Line: int(355), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(355), - Column: int(11), - }, - End: ast.Location{ - Line: int(355), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(16), - }, - End: ast.Location{ - Line: int(357), - Column: int(17), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(13), - }, - End: ast.Location{ - Line: int(357), - Column: int(17), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4088, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(22), - }, - End: ast.Location{ - Line: int(357), - Column: int(23), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(19), - }, - End: ast.Location{ - Line: int(357), - Column: int(23), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "j", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(357), - Column: int(11), - }, - End: ast.Location{ - Line: int(357), - Column: int(25), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(354), - Column: int(14), - }, - End: ast.Location{ - Line: int(357), - Column: int(25), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(352), - Column: int(14), - }, - End: ast.Location{ - Line: int(357), - Column: int(25), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(350), - Column: int(14), - }, - End: ast.Location{ - Line: int(357), - Column: int(25), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(348), - Column: int(14), - }, - End: ast.Location{ - Line: int(357), - Column: int(25), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(346), - Column: int(9), - }, - End: ast.Location{ - Line: int(357), - Column: int(25), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p3920, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(345), - Column: int(9), - }, - End: ast.Location{ - Line: int(357), - Column: int(25), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Truncated format code.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p3920, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(38), - }, - End: ast.Location{ - Line: int(344), - Column: int(62), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(344), - Column: int(9), - }, - End: ast.Location{ - Line: int(357), - Column: int(25), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "consume", - "j", - "std", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(21), - }, - End: ast.Location{ - Line: int(343), - Column: int(24), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(26), - }, - End: ast.Location{ - Line: int(343), - Column: int(27), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(29), - }, - End: ast.Location{ - Line: int(343), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p4112, - FreeVars: ast.Identifiers{ - "consume", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(13), - }, - End: ast.Location{ - Line: int(357), - Column: int(25), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "consume", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p4117, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(7), - }, - End: ast.Location{ - Line: int(358), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4121, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(15), - }, - End: ast.Location{ - Line: int(358), - Column: int(18), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4121, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(20), - }, - End: ast.Location{ - Line: int(358), - Column: int(21), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4129, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(30), - }, - End: ast.Location{ - Line: int(358), - Column: int(35), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(25), - }, - End: ast.Location{ - Line: int(358), - Column: int(35), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "zero", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4129, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(43), - }, - End: ast.Location{ - Line: int(358), - Column: int(48), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(37), - }, - End: ast.Location{ - Line: int(358), - Column: int(48), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "left", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4129, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(56), - }, - End: ast.Location{ - Line: int(358), - Column: int(61), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(50), - }, - End: ast.Location{ - Line: int(358), - Column: int(61), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "blank", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4129, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(70), - }, - End: ast.Location{ - Line: int(358), - Column: int(75), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(63), - }, - End: ast.Location{ - Line: int(358), - Column: int(75), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "plus", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4129, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(83), - }, - End: ast.Location{ - Line: int(358), - Column: int(88), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(77), - }, - End: ast.Location{ - Line: int(358), - Column: int(88), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4121, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(23), - }, - End: ast.Location{ - Line: int(358), - Column: int(90), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4117, - FreeVars: ast.Identifiers{ - "consume", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(358), - Column: int(7), - }, - End: ast.Location{ - Line: int(358), - Column: int(91), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p4117, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(343), - Column: int(7), - }, - End: ast.Location{ - Line: int(358), - Column: int(91), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(28), - }, - End: ast.Location{ - Line: int(342), - Column: int(31), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(33), - }, - End: ast.Location{ - Line: int(342), - Column: int(34), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p4142, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(11), - }, - End: ast.Location{ - Line: int(358), - Column: int(91), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "try_parse_cflags", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "*", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(43), - }, - End: ast.Location{ - Line: int(361), - Column: int(46), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(33), - }, - End: ast.Location{ - Line: int(361), - Column: int(36), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(37), - }, - End: ast.Location{ - Line: int(361), - Column: int(38), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(33), - }, - End: ast.Location{ - Line: int(361), - Column: int(39), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(33), - }, - End: ast.Location{ - Line: int(361), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(14), - }, - End: ast.Location{ - Line: int(361), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(14), - }, - End: ast.Location{ - Line: int(361), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4168, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(25), - }, - End: ast.Location{ - Line: int(361), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(14), - }, - End: ast.Location{ - Line: int(361), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(10), - }, - End: ast.Location{ - Line: int(361), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(10), - }, - End: ast.Location{ - Line: int(361), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(10), - }, - End: ast.Location{ - Line: int(361), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4180, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(18), - }, - End: ast.Location{ - Line: int(362), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4180, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(14), - }, - End: ast.Location{ - Line: int(362), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4180, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(14), - }, - End: ast.Location{ - Line: int(362), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(11), - }, - End: ast.Location{ - Line: int(362), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "*", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4180, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(24), - }, - End: ast.Location{ - Line: int(362), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(21), - }, - End: ast.Location{ - Line: int(362), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(362), - Column: int(9), - }, - End: ast.Location{ - Line: int(362), - Column: int(29), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(22), - }, - End: ast.Location{ - Line: int(365), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(22), - }, - End: ast.Location{ - Line: int(365), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4202, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(33), - }, - End: ast.Location{ - Line: int(365), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(22), - }, - End: ast.Location{ - Line: int(365), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(18), - }, - End: ast.Location{ - Line: int(365), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "j", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(18), - }, - End: ast.Location{ - Line: int(365), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4212, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(21), - }, - End: ast.Location{ - Line: int(366), - Column: int(24), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4212, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(25), - }, - End: ast.Location{ - Line: int(366), - Column: int(26), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4212, - FreeVars: ast.Identifiers{ - "j", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(21), - }, - End: ast.Location{ - Line: int(366), - Column: int(27), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "c", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(17), - }, - End: ast.Location{ - Line: int(366), - Column: int(27), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(367), - Column: int(19), - }, - End: ast.Location{ - Line: int(367), - Column: int(22), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(367), - Column: int(14), - }, - End: ast.Location{ - Line: int(367), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(367), - Column: int(14), - }, - End: ast.Location{ - Line: int(367), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(13), - }, - End: ast.Location{ - Line: int(368), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4229, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(21), - }, - End: ast.Location{ - Line: int(368), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4229, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(30), - }, - End: ast.Location{ - Line: int(368), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4229, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(26), - }, - End: ast.Location{ - Line: int(368), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4229, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(26), - }, - End: ast.Location{ - Line: int(368), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4229, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(42), - }, - End: ast.Location{ - Line: int(368), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4229, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(37), - }, - End: ast.Location{ - Line: int(368), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4229, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(33), - }, - End: ast.Location{ - Line: int(368), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4229, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(33), - }, - End: ast.Location{ - Line: int(368), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4229, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(33), - }, - End: ast.Location{ - Line: int(368), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(368), - Column: int(13), - }, - End: ast.Location{ - Line: int(368), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "1", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(369), - Column: int(24), - }, - End: ast.Location{ - Line: int(369), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(369), - Column: int(19), - }, - End: ast.Location{ - Line: int(369), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(369), - Column: int(19), - }, - End: ast.Location{ - Line: int(369), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(13), - }, - End: ast.Location{ - Line: int(370), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4257, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(21), - }, - End: ast.Location{ - Line: int(370), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4257, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(30), - }, - End: ast.Location{ - Line: int(370), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4257, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(26), - }, - End: ast.Location{ - Line: int(370), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4257, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(26), - }, - End: ast.Location{ - Line: int(370), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4257, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(42), - }, - End: ast.Location{ - Line: int(370), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4257, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(37), - }, - End: ast.Location{ - Line: int(370), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4257, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(33), - }, - End: ast.Location{ - Line: int(370), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4257, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(33), - }, - End: ast.Location{ - Line: int(370), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4257, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(33), - }, - End: ast.Location{ - Line: int(370), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(370), - Column: int(13), - }, - End: ast.Location{ - Line: int(370), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "2", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(24), - }, - End: ast.Location{ - Line: int(371), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(19), - }, - End: ast.Location{ - Line: int(371), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(19), - }, - End: ast.Location{ - Line: int(371), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(13), - }, - End: ast.Location{ - Line: int(372), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4285, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(21), - }, - End: ast.Location{ - Line: int(372), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4285, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(30), - }, - End: ast.Location{ - Line: int(372), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4285, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(26), - }, - End: ast.Location{ - Line: int(372), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4285, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(26), - }, - End: ast.Location{ - Line: int(372), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4285, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(42), - }, - End: ast.Location{ - Line: int(372), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4285, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(37), - }, - End: ast.Location{ - Line: int(372), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4285, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(33), - }, - End: ast.Location{ - Line: int(372), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4285, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(33), - }, - End: ast.Location{ - Line: int(372), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4285, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(33), - }, - End: ast.Location{ - Line: int(372), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(372), - Column: int(13), - }, - End: ast.Location{ - Line: int(372), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "3", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(373), - Column: int(24), - }, - End: ast.Location{ - Line: int(373), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(373), - Column: int(19), - }, - End: ast.Location{ - Line: int(373), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(373), - Column: int(19), - }, - End: ast.Location{ - Line: int(373), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(13), - }, - End: ast.Location{ - Line: int(374), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4313, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(21), - }, - End: ast.Location{ - Line: int(374), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4313, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(30), - }, - End: ast.Location{ - Line: int(374), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4313, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(26), - }, - End: ast.Location{ - Line: int(374), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4313, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(26), - }, - End: ast.Location{ - Line: int(374), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4313, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(42), - }, - End: ast.Location{ - Line: int(374), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4313, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(37), - }, - End: ast.Location{ - Line: int(374), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4313, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(33), - }, - End: ast.Location{ - Line: int(374), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4313, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(33), - }, - End: ast.Location{ - Line: int(374), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4313, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(33), - }, - End: ast.Location{ - Line: int(374), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(374), - Column: int(13), - }, - End: ast.Location{ - Line: int(374), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "4", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(375), - Column: int(24), - }, - End: ast.Location{ - Line: int(375), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(375), - Column: int(19), - }, - End: ast.Location{ - Line: int(375), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(375), - Column: int(19), - }, - End: ast.Location{ - Line: int(375), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(13), - }, - End: ast.Location{ - Line: int(376), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4341, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(21), - }, - End: ast.Location{ - Line: int(376), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4341, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(30), - }, - End: ast.Location{ - Line: int(376), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4341, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(26), - }, - End: ast.Location{ - Line: int(376), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4341, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(26), - }, - End: ast.Location{ - Line: int(376), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4341, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(42), - }, - End: ast.Location{ - Line: int(376), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4341, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(37), - }, - End: ast.Location{ - Line: int(376), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4341, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(33), - }, - End: ast.Location{ - Line: int(376), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4341, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(33), - }, - End: ast.Location{ - Line: int(376), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4341, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(33), - }, - End: ast.Location{ - Line: int(376), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(376), - Column: int(13), - }, - End: ast.Location{ - Line: int(376), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "5", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(377), - Column: int(24), - }, - End: ast.Location{ - Line: int(377), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(377), - Column: int(19), - }, - End: ast.Location{ - Line: int(377), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(377), - Column: int(19), - }, - End: ast.Location{ - Line: int(377), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(13), - }, - End: ast.Location{ - Line: int(378), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4369, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(21), - }, - End: ast.Location{ - Line: int(378), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4369, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(30), - }, - End: ast.Location{ - Line: int(378), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4369, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(26), - }, - End: ast.Location{ - Line: int(378), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4369, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(26), - }, - End: ast.Location{ - Line: int(378), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "5", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4369, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(42), - }, - End: ast.Location{ - Line: int(378), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4369, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(37), - }, - End: ast.Location{ - Line: int(378), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4369, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(33), - }, - End: ast.Location{ - Line: int(378), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4369, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(33), - }, - End: ast.Location{ - Line: int(378), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4369, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(33), - }, - End: ast.Location{ - Line: int(378), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(378), - Column: int(13), - }, - End: ast.Location{ - Line: int(378), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "6", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(24), - }, - End: ast.Location{ - Line: int(379), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(19), - }, - End: ast.Location{ - Line: int(379), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(19), - }, - End: ast.Location{ - Line: int(379), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(13), - }, - End: ast.Location{ - Line: int(380), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4397, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(21), - }, - End: ast.Location{ - Line: int(380), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4397, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(30), - }, - End: ast.Location{ - Line: int(380), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4397, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(26), - }, - End: ast.Location{ - Line: int(380), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4397, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(26), - }, - End: ast.Location{ - Line: int(380), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "6", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4397, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(42), - }, - End: ast.Location{ - Line: int(380), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4397, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(37), - }, - End: ast.Location{ - Line: int(380), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4397, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(33), - }, - End: ast.Location{ - Line: int(380), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4397, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(33), - }, - End: ast.Location{ - Line: int(380), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4397, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(33), - }, - End: ast.Location{ - Line: int(380), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(380), - Column: int(13), - }, - End: ast.Location{ - Line: int(380), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "7", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(24), - }, - End: ast.Location{ - Line: int(381), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(19), - }, - End: ast.Location{ - Line: int(381), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(19), - }, - End: ast.Location{ - Line: int(381), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(13), - }, - End: ast.Location{ - Line: int(382), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4425, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(21), - }, - End: ast.Location{ - Line: int(382), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4425, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(30), - }, - End: ast.Location{ - Line: int(382), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4425, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(26), - }, - End: ast.Location{ - Line: int(382), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4425, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(26), - }, - End: ast.Location{ - Line: int(382), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "7", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4425, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(42), - }, - End: ast.Location{ - Line: int(382), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4425, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(37), - }, - End: ast.Location{ - Line: int(382), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4425, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(33), - }, - End: ast.Location{ - Line: int(382), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4425, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(33), - }, - End: ast.Location{ - Line: int(382), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4425, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(33), - }, - End: ast.Location{ - Line: int(382), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(382), - Column: int(13), - }, - End: ast.Location{ - Line: int(382), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "8", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(24), - }, - End: ast.Location{ - Line: int(383), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(19), - }, - End: ast.Location{ - Line: int(383), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(19), - }, - End: ast.Location{ - Line: int(383), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(13), - }, - End: ast.Location{ - Line: int(384), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4453, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(21), - }, - End: ast.Location{ - Line: int(384), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4453, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(30), - }, - End: ast.Location{ - Line: int(384), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4453, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(26), - }, - End: ast.Location{ - Line: int(384), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4453, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(26), - }, - End: ast.Location{ - Line: int(384), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "8", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4453, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(42), - }, - End: ast.Location{ - Line: int(384), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4453, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(37), - }, - End: ast.Location{ - Line: int(384), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4453, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(33), - }, - End: ast.Location{ - Line: int(384), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4453, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(33), - }, - End: ast.Location{ - Line: int(384), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4453, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(33), - }, - End: ast.Location{ - Line: int(384), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(384), - Column: int(13), - }, - End: ast.Location{ - Line: int(384), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "9", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(385), - Column: int(24), - }, - End: ast.Location{ - Line: int(385), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(385), - Column: int(19), - }, - End: ast.Location{ - Line: int(385), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(385), - Column: int(19), - }, - End: ast.Location{ - Line: int(385), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(13), - }, - End: ast.Location{ - Line: int(386), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4481, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(21), - }, - End: ast.Location{ - Line: int(386), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4481, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(30), - }, - End: ast.Location{ - Line: int(386), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4481, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(26), - }, - End: ast.Location{ - Line: int(386), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4481, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(26), - }, - End: ast.Location{ - Line: int(386), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "9", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4481, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(42), - }, - End: ast.Location{ - Line: int(386), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4481, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(37), - }, - End: ast.Location{ - Line: int(386), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4481, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(33), - }, - End: ast.Location{ - Line: int(386), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4481, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(33), - }, - End: ast.Location{ - Line: int(386), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4481, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(33), - }, - End: ast.Location{ - Line: int(386), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(386), - Column: int(13), - }, - End: ast.Location{ - Line: int(386), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4501, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(18), - }, - End: ast.Location{ - Line: int(388), - Column: int(19), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(15), - }, - End: ast.Location{ - Line: int(388), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4501, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(24), - }, - End: ast.Location{ - Line: int(388), - Column: int(25), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(21), - }, - End: ast.Location{ - Line: int(388), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "j", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(388), - Column: int(13), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(385), - Column: int(16), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(383), - Column: int(16), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(381), - Column: int(16), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(379), - Column: int(16), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(377), - Column: int(16), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(375), - Column: int(16), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(373), - Column: int(16), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(371), - Column: int(16), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(369), - Column: int(16), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "c", - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(367), - Column: int(11), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p4198, - FreeVars: ast.Identifiers{ - "consume", - "j", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(366), - Column: int(11), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Truncated format code.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(40), - }, - End: ast.Location{ - Line: int(365), - Column: int(64), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(365), - Column: int(11), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "consume", - "j", - "std", - "str", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(23), - }, - End: ast.Location{ - Line: int(364), - Column: int(26), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(28), - }, - End: ast.Location{ - Line: int(364), - Column: int(29), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(31), - }, - End: ast.Location{ - Line: int(364), - Column: int(32), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p4535, - FreeVars: ast.Identifiers{ - "consume", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(15), - }, - End: ast.Location{ - Line: int(388), - Column: int(27), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "consume", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "consume", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "consume", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(9), - }, - End: ast.Location{ - Line: int(389), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4543, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(17), - }, - End: ast.Location{ - Line: int(389), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4543, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(22), - }, - End: ast.Location{ - Line: int(389), - Column: int(23), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4543, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(25), - }, - End: ast.Location{ - Line: int(389), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "consume", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(389), - Column: int(9), - }, - End: ast.Location{ - Line: int(389), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(364), - Column: int(9), - }, - End: ast.Location{ - Line: int(389), - Column: int(27), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p4151, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(361), - Column: int(7), - }, - End: ast.Location{ - Line: int(389), - Column: int(27), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(33), - }, - End: ast.Location{ - Line: int(360), - Column: int(36), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(38), - }, - End: ast.Location{ - Line: int(360), - Column: int(39), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p4555, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(11), - }, - End: ast.Location{ - Line: int(389), - Column: int(27), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "try_parse_field_width", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(18), - }, - End: ast.Location{ - Line: int(392), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(18), - }, - End: ast.Location{ - Line: int(392), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4571, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(29), - }, - End: ast.Location{ - Line: int(392), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(18), - }, - End: ast.Location{ - Line: int(392), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(14), - }, - End: ast.Location{ - Line: int(392), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(14), - }, - End: ast.Location{ - Line: int(392), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4581, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(393), - Column: int(17), - }, - End: ast.Location{ - Line: int(393), - Column: int(20), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4581, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(393), - Column: int(21), - }, - End: ast.Location{ - Line: int(393), - Column: int(22), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4581, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(393), - Column: int(17), - }, - End: ast.Location{ - Line: int(393), - Column: int(23), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "c", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(393), - Column: int(13), - }, - End: ast.Location{ - Line: int(393), - Column: int(23), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ".", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4567, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(394), - Column: int(15), - }, - End: ast.Location{ - Line: int(394), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(394), - Column: int(10), - }, - End: ast.Location{ - Line: int(394), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(394), - Column: int(10), - }, - End: ast.Location{ - Line: int(394), - Column: int(18), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "try_parse_field_width", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "try_parse_field_width", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(9), - }, - End: ast.Location{ - Line: int(395), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4598, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(31), - }, - End: ast.Location{ - Line: int(395), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4598, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(40), - }, - End: ast.Location{ - Line: int(395), - Column: int(41), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4598, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(36), - }, - End: ast.Location{ - Line: int(395), - Column: int(37), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4598, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(36), - }, - End: ast.Location{ - Line: int(395), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "i", - "str", - "try_parse_field_width", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(395), - Column: int(9), - }, - End: ast.Location{ - Line: int(395), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4610, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(14), - }, - End: ast.Location{ - Line: int(397), - Column: int(15), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(11), - }, - End: ast.Location{ - Line: int(397), - Column: int(15), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4610, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(20), - }, - End: ast.Location{ - Line: int(397), - Column: int(24), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(17), - }, - End: ast.Location{ - Line: int(397), - Column: int(24), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(397), - Column: int(9), - }, - End: ast.Location{ - Line: int(397), - Column: int(26), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "c", - "i", - "str", - "try_parse_field_width", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(394), - Column: int(7), - }, - End: ast.Location{ - Line: int(397), - Column: int(26), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p4567, - FreeVars: ast.Identifiers{ - "i", - "str", - "try_parse_field_width", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(393), - Column: int(7), - }, - End: ast.Location{ - Line: int(397), - Column: int(26), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Truncated format code.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4567, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(36), - }, - End: ast.Location{ - Line: int(392), - Column: int(60), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(392), - Column: int(7), - }, - End: ast.Location{ - Line: int(397), - Column: int(26), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - "try_parse_field_width", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(31), - }, - End: ast.Location{ - Line: int(391), - Column: int(34), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(36), - }, - End: ast.Location{ - Line: int(391), - Column: int(37), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p4625, - FreeVars: ast.Identifiers{ - "std", - "try_parse_field_width", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(11), - }, - End: ast.Location{ - Line: int(397), - Column: int(26), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "try_parse_precision", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(18), - }, - End: ast.Location{ - Line: int(401), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(18), - }, - End: ast.Location{ - Line: int(401), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4641, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(29), - }, - End: ast.Location{ - Line: int(401), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(18), - }, - End: ast.Location{ - Line: int(401), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(14), - }, - End: ast.Location{ - Line: int(401), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(14), - }, - End: ast.Location{ - Line: int(401), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4651, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(17), - }, - End: ast.Location{ - Line: int(402), - Column: int(20), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4651, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(21), - }, - End: ast.Location{ - Line: int(402), - Column: int(22), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4651, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(17), - }, - End: ast.Location{ - Line: int(402), - Column: int(23), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "c", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(13), - }, - End: ast.Location{ - Line: int(402), - Column: int(23), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "L", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(39), - }, - End: ast.Location{ - Line: int(403), - Column: int(42), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(34), - }, - End: ast.Location{ - Line: int(403), - Column: int(35), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(34), - }, - End: ast.Location{ - Line: int(403), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "l", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(27), - }, - End: ast.Location{ - Line: int(403), - Column: int(30), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(22), - }, - End: ast.Location{ - Line: int(403), - Column: int(23), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(22), - }, - End: ast.Location{ - Line: int(403), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "h", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(15), - }, - End: ast.Location{ - Line: int(403), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(10), - }, - End: ast.Location{ - Line: int(403), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(10), - }, - End: ast.Location{ - Line: int(403), - Column: int(18), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(10), - }, - End: ast.Location{ - Line: int(403), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(10), - }, - End: ast.Location{ - Line: int(403), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(13), - }, - End: ast.Location{ - Line: int(404), - Column: int(14), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(9), - }, - End: ast.Location{ - Line: int(404), - Column: int(10), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(404), - Column: int(9), - }, - End: ast.Location{ - Line: int(404), - Column: int(14), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(406), - Column: int(9), - }, - End: ast.Location{ - Line: int(406), - Column: int(10), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(403), - Column: int(7), - }, - End: ast.Location{ - Line: int(406), - Column: int(10), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p4637, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(402), - Column: int(7), - }, - End: ast.Location{ - Line: int(406), - Column: int(10), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Truncated format code.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4637, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(36), - }, - End: ast.Location{ - Line: int(401), - Column: int(60), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(401), - Column: int(7), - }, - End: ast.Location{ - Line: int(406), - Column: int(10), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(37), - }, - End: ast.Location{ - Line: int(400), - Column: int(40), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(42), - }, - End: ast.Location{ - Line: int(400), - Column: int(43), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p4694, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(11), - }, - End: ast.Location{ - Line: int(406), - Column: int(10), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "try_parse_length_modifier", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(18), - }, - End: ast.Location{ - Line: int(409), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(18), - }, - End: ast.Location{ - Line: int(409), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4710, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(29), - }, - End: ast.Location{ - Line: int(409), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(18), - }, - End: ast.Location{ - Line: int(409), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(14), - }, - End: ast.Location{ - Line: int(409), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(14), - }, - End: ast.Location{ - Line: int(409), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4720, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(17), - }, - End: ast.Location{ - Line: int(410), - Column: int(20), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4720, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(21), - }, - End: ast.Location{ - Line: int(410), - Column: int(22), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4720, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(17), - }, - End: ast.Location{ - Line: int(410), - Column: int(23), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "c", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(13), - }, - End: ast.Location{ - Line: int(410), - Column: int(23), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "u", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(39), - }, - End: ast.Location{ - Line: int(411), - Column: int(42), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(34), - }, - End: ast.Location{ - Line: int(411), - Column: int(35), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(34), - }, - End: ast.Location{ - Line: int(411), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(27), - }, - End: ast.Location{ - Line: int(411), - Column: int(30), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(22), - }, - End: ast.Location{ - Line: int(411), - Column: int(23), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(22), - }, - End: ast.Location{ - Line: int(411), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "d", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(15), - }, - End: ast.Location{ - Line: int(411), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(10), - }, - End: ast.Location{ - Line: int(411), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(10), - }, - End: ast.Location{ - Line: int(411), - Column: int(18), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(10), - }, - End: ast.Location{ - Line: int(411), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(10), - }, - End: ast.Location{ - Line: int(411), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4750, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(18), - }, - End: ast.Location{ - Line: int(412), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4750, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(14), - }, - End: ast.Location{ - Line: int(412), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4750, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(14), - }, - End: ast.Location{ - Line: int(412), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(11), - }, - End: ast.Location{ - Line: int(412), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "d", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4750, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(24), - }, - End: ast.Location{ - Line: int(412), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(21), - }, - End: ast.Location{ - Line: int(412), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4750, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(35), - }, - End: ast.Location{ - Line: int(412), - Column: int(40), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(29), - }, - End: ast.Location{ - Line: int(412), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(412), - Column: int(9), - }, - End: ast.Location{ - Line: int(412), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "o", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(20), - }, - End: ast.Location{ - Line: int(413), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(15), - }, - End: ast.Location{ - Line: int(413), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(15), - }, - End: ast.Location{ - Line: int(413), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(18), - }, - End: ast.Location{ - Line: int(414), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(14), - }, - End: ast.Location{ - Line: int(414), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(14), - }, - End: ast.Location{ - Line: int(414), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(11), - }, - End: ast.Location{ - Line: int(414), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "o", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(24), - }, - End: ast.Location{ - Line: int(414), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(21), - }, - End: ast.Location{ - Line: int(414), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4771, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(35), - }, - End: ast.Location{ - Line: int(414), - Column: int(40), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(29), - }, - End: ast.Location{ - Line: int(414), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(414), - Column: int(9), - }, - End: ast.Location{ - Line: int(414), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "x", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(20), - }, - End: ast.Location{ - Line: int(415), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(15), - }, - End: ast.Location{ - Line: int(415), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(15), - }, - End: ast.Location{ - Line: int(415), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4792, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(18), - }, - End: ast.Location{ - Line: int(416), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4792, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(14), - }, - End: ast.Location{ - Line: int(416), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4792, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(14), - }, - End: ast.Location{ - Line: int(416), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(11), - }, - End: ast.Location{ - Line: int(416), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "x", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4792, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(24), - }, - End: ast.Location{ - Line: int(416), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(21), - }, - End: ast.Location{ - Line: int(416), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4792, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(35), - }, - End: ast.Location{ - Line: int(416), - Column: int(40), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(29), - }, - End: ast.Location{ - Line: int(416), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(416), - Column: int(9), - }, - End: ast.Location{ - Line: int(416), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "X", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(20), - }, - End: ast.Location{ - Line: int(417), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(15), - }, - End: ast.Location{ - Line: int(417), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(15), - }, - End: ast.Location{ - Line: int(417), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4813, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(18), - }, - End: ast.Location{ - Line: int(418), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4813, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(14), - }, - End: ast.Location{ - Line: int(418), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4813, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(14), - }, - End: ast.Location{ - Line: int(418), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(11), - }, - End: ast.Location{ - Line: int(418), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "x", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4813, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(24), - }, - End: ast.Location{ - Line: int(418), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(21), - }, - End: ast.Location{ - Line: int(418), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4813, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(35), - }, - End: ast.Location{ - Line: int(418), - Column: int(39), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(29), - }, - End: ast.Location{ - Line: int(418), - Column: int(39), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(418), - Column: int(9), - }, - End: ast.Location{ - Line: int(418), - Column: int(41), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "e", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(20), - }, - End: ast.Location{ - Line: int(419), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(15), - }, - End: ast.Location{ - Line: int(419), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(15), - }, - End: ast.Location{ - Line: int(419), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4834, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(18), - }, - End: ast.Location{ - Line: int(420), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4834, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(14), - }, - End: ast.Location{ - Line: int(420), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4834, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(14), - }, - End: ast.Location{ - Line: int(420), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(11), - }, - End: ast.Location{ - Line: int(420), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "e", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4834, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(24), - }, - End: ast.Location{ - Line: int(420), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(21), - }, - End: ast.Location{ - Line: int(420), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4834, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(35), - }, - End: ast.Location{ - Line: int(420), - Column: int(40), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(29), - }, - End: ast.Location{ - Line: int(420), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(420), - Column: int(9), - }, - End: ast.Location{ - Line: int(420), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "E", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(421), - Column: int(20), - }, - End: ast.Location{ - Line: int(421), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(421), - Column: int(15), - }, - End: ast.Location{ - Line: int(421), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(421), - Column: int(15), - }, - End: ast.Location{ - Line: int(421), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4855, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(18), - }, - End: ast.Location{ - Line: int(422), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4855, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(14), - }, - End: ast.Location{ - Line: int(422), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4855, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(14), - }, - End: ast.Location{ - Line: int(422), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(11), - }, - End: ast.Location{ - Line: int(422), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "e", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4855, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(24), - }, - End: ast.Location{ - Line: int(422), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(21), - }, - End: ast.Location{ - Line: int(422), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4855, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(35), - }, - End: ast.Location{ - Line: int(422), - Column: int(39), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(29), - }, - End: ast.Location{ - Line: int(422), - Column: int(39), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(422), - Column: int(9), - }, - End: ast.Location{ - Line: int(422), - Column: int(41), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "f", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(423), - Column: int(20), - }, - End: ast.Location{ - Line: int(423), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(423), - Column: int(15), - }, - End: ast.Location{ - Line: int(423), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(423), - Column: int(15), - }, - End: ast.Location{ - Line: int(423), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4876, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(18), - }, - End: ast.Location{ - Line: int(424), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4876, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(14), - }, - End: ast.Location{ - Line: int(424), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4876, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(14), - }, - End: ast.Location{ - Line: int(424), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(11), - }, - End: ast.Location{ - Line: int(424), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "f", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4876, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(24), - }, - End: ast.Location{ - Line: int(424), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(21), - }, - End: ast.Location{ - Line: int(424), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4876, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(35), - }, - End: ast.Location{ - Line: int(424), - Column: int(40), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(29), - }, - End: ast.Location{ - Line: int(424), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(424), - Column: int(9), - }, - End: ast.Location{ - Line: int(424), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "F", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(425), - Column: int(20), - }, - End: ast.Location{ - Line: int(425), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(425), - Column: int(15), - }, - End: ast.Location{ - Line: int(425), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(425), - Column: int(15), - }, - End: ast.Location{ - Line: int(425), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4897, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(18), - }, - End: ast.Location{ - Line: int(426), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4897, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(14), - }, - End: ast.Location{ - Line: int(426), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4897, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(14), - }, - End: ast.Location{ - Line: int(426), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(11), - }, - End: ast.Location{ - Line: int(426), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "f", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4897, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(24), - }, - End: ast.Location{ - Line: int(426), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(21), - }, - End: ast.Location{ - Line: int(426), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4897, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(35), - }, - End: ast.Location{ - Line: int(426), - Column: int(39), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(29), - }, - End: ast.Location{ - Line: int(426), - Column: int(39), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(426), - Column: int(9), - }, - End: ast.Location{ - Line: int(426), - Column: int(41), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "g", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(427), - Column: int(20), - }, - End: ast.Location{ - Line: int(427), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(427), - Column: int(15), - }, - End: ast.Location{ - Line: int(427), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(427), - Column: int(15), - }, - End: ast.Location{ - Line: int(427), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4918, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(18), - }, - End: ast.Location{ - Line: int(428), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4918, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(14), - }, - End: ast.Location{ - Line: int(428), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4918, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(14), - }, - End: ast.Location{ - Line: int(428), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(11), - }, - End: ast.Location{ - Line: int(428), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "g", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4918, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(24), - }, - End: ast.Location{ - Line: int(428), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(21), - }, - End: ast.Location{ - Line: int(428), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4918, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(35), - }, - End: ast.Location{ - Line: int(428), - Column: int(40), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(29), - }, - End: ast.Location{ - Line: int(428), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(428), - Column: int(9), - }, - End: ast.Location{ - Line: int(428), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "G", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(429), - Column: int(20), - }, - End: ast.Location{ - Line: int(429), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(429), - Column: int(15), - }, - End: ast.Location{ - Line: int(429), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(429), - Column: int(15), - }, - End: ast.Location{ - Line: int(429), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4939, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(18), - }, - End: ast.Location{ - Line: int(430), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4939, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(14), - }, - End: ast.Location{ - Line: int(430), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4939, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(14), - }, - End: ast.Location{ - Line: int(430), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(11), - }, - End: ast.Location{ - Line: int(430), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "g", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4939, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(24), - }, - End: ast.Location{ - Line: int(430), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(21), - }, - End: ast.Location{ - Line: int(430), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4939, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(35), - }, - End: ast.Location{ - Line: int(430), - Column: int(39), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(29), - }, - End: ast.Location{ - Line: int(430), - Column: int(39), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(430), - Column: int(9), - }, - End: ast.Location{ - Line: int(430), - Column: int(41), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "c", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(20), - }, - End: ast.Location{ - Line: int(431), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(15), - }, - End: ast.Location{ - Line: int(431), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(15), - }, - End: ast.Location{ - Line: int(431), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(18), - }, - End: ast.Location{ - Line: int(432), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(14), - }, - End: ast.Location{ - Line: int(432), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(14), - }, - End: ast.Location{ - Line: int(432), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(11), - }, - End: ast.Location{ - Line: int(432), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "c", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(24), - }, - End: ast.Location{ - Line: int(432), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(21), - }, - End: ast.Location{ - Line: int(432), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4960, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(35), - }, - End: ast.Location{ - Line: int(432), - Column: int(40), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(29), - }, - End: ast.Location{ - Line: int(432), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(432), - Column: int(9), - }, - End: ast.Location{ - Line: int(432), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(20), - }, - End: ast.Location{ - Line: int(433), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(15), - }, - End: ast.Location{ - Line: int(433), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(15), - }, - End: ast.Location{ - Line: int(433), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4981, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(18), - }, - End: ast.Location{ - Line: int(434), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4981, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(14), - }, - End: ast.Location{ - Line: int(434), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4981, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(14), - }, - End: ast.Location{ - Line: int(434), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(11), - }, - End: ast.Location{ - Line: int(434), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4981, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(24), - }, - End: ast.Location{ - Line: int(434), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(21), - }, - End: ast.Location{ - Line: int(434), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4981, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(35), - }, - End: ast.Location{ - Line: int(434), - Column: int(40), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(29), - }, - End: ast.Location{ - Line: int(434), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(434), - Column: int(9), - }, - End: ast.Location{ - Line: int(434), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "%", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(20), - }, - End: ast.Location{ - Line: int(435), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(15), - }, - End: ast.Location{ - Line: int(435), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(15), - }, - End: ast.Location{ - Line: int(435), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5002, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(18), - }, - End: ast.Location{ - Line: int(436), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5002, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(14), - }, - End: ast.Location{ - Line: int(436), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5002, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(14), - }, - End: ast.Location{ - Line: int(436), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(11), - }, - End: ast.Location{ - Line: int(436), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: "%", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5002, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(24), - }, - End: ast.Location{ - Line: int(436), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(21), - }, - End: ast.Location{ - Line: int(436), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5002, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(35), - }, - End: ast.Location{ - Line: int(436), - Column: int(40), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(29), - }, - End: ast.Location{ - Line: int(436), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(436), - Column: int(9), - }, - End: ast.Location{ - Line: int(436), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(438), - Column: int(50), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Unrecognised conversion type: ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(438), - Column: int(15), - }, - End: ast.Location{ - Line: int(438), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(438), - Column: int(15), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(438), - Column: int(9), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(435), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(433), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(431), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(429), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(427), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(425), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(423), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(421), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(419), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(417), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(415), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(413), - Column: int(12), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "c", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(411), - Column: int(7), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p4706, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(410), - Column: int(7), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Truncated format code.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p4706, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(36), - }, - End: ast.Location{ - Line: int(409), - Column: int(60), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(409), - Column: int(7), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(27), - }, - End: ast.Location{ - Line: int(408), - Column: int(30), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(32), - }, - End: ast.Location{ - Line: int(408), - Column: int(33), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5053, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(11), - }, - End: ast.Location{ - Line: int(438), - Column: int(51), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "parse_conv_type", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(18), - }, - End: ast.Location{ - Line: int(443), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(18), - }, - End: ast.Location{ - Line: int(443), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5069, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(29), - }, - End: ast.Location{ - Line: int(443), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(18), - }, - End: ast.Location{ - Line: int(443), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(14), - }, - End: ast.Location{ - Line: int(443), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(14), - }, - End: ast.Location{ - Line: int(443), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "try_parse_mapping_key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5079, - FreeVars: ast.Identifiers{ - "try_parse_mapping_key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(444), - Column: int(20), - }, - End: ast.Location{ - Line: int(444), - Column: int(41), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5083, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(444), - Column: int(42), - }, - End: ast.Location{ - Line: int(444), - Column: int(45), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5083, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(444), - Column: int(47), - }, - End: ast.Location{ - Line: int(444), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5079, - FreeVars: ast.Identifiers{ - "i", - "str", - "try_parse_mapping_key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(444), - Column: int(20), - }, - End: ast.Location{ - Line: int(444), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "mkey", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(444), - Column: int(13), - }, - End: ast.Location{ - Line: int(444), - Column: int(49), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "try_parse_cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5092, - FreeVars: ast.Identifiers{ - "try_parse_cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(22), - }, - End: ast.Location{ - Line: int(445), - Column: int(38), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5096, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(39), - }, - End: ast.Location{ - Line: int(445), - Column: int(42), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "mkey", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "mkey", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(44), - }, - End: ast.Location{ - Line: int(445), - Column: int(48), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5096, - FreeVars: ast.Identifiers{ - "mkey", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(44), - }, - End: ast.Location{ - Line: int(445), - Column: int(50), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5092, - FreeVars: ast.Identifiers{ - "mkey", - "str", - "try_parse_cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(22), - }, - End: ast.Location{ - Line: int(445), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "cflags", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(13), - }, - End: ast.Location{ - Line: int(445), - Column: int(51), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "try_parse_field_width", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5108, - FreeVars: ast.Identifiers{ - "try_parse_field_width", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(18), - }, - End: ast.Location{ - Line: int(446), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(40), - }, - End: ast.Location{ - Line: int(446), - Column: int(43), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(45), - }, - End: ast.Location{ - Line: int(446), - Column: int(51), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5112, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(45), - }, - End: ast.Location{ - Line: int(446), - Column: int(53), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5108, - FreeVars: ast.Identifiers{ - "cflags", - "str", - "try_parse_field_width", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(18), - }, - End: ast.Location{ - Line: int(446), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "fw", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(13), - }, - End: ast.Location{ - Line: int(446), - Column: int(54), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "try_parse_precision", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5124, - FreeVars: ast.Identifiers{ - "try_parse_precision", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(447), - Column: int(20), - }, - End: ast.Location{ - Line: int(447), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5128, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(447), - Column: int(40), - }, - End: ast.Location{ - Line: int(447), - Column: int(43), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "fw", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "fw", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(447), - Column: int(45), - }, - End: ast.Location{ - Line: int(447), - Column: int(47), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5128, - FreeVars: ast.Identifiers{ - "fw", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(447), - Column: int(45), - }, - End: ast.Location{ - Line: int(447), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5124, - FreeVars: ast.Identifiers{ - "fw", - "str", - "try_parse_precision", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(447), - Column: int(20), - }, - End: ast.Location{ - Line: int(447), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "prec", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(447), - Column: int(13), - }, - End: ast.Location{ - Line: int(447), - Column: int(50), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "try_parse_length_modifier", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5140, - FreeVars: ast.Identifiers{ - "try_parse_length_modifier", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(448), - Column: int(23), - }, - End: ast.Location{ - Line: int(448), - Column: int(48), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5144, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(448), - Column: int(49), - }, - End: ast.Location{ - Line: int(448), - Column: int(52), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "prec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(448), - Column: int(54), - }, - End: ast.Location{ - Line: int(448), - Column: int(58), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5144, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(448), - Column: int(54), - }, - End: ast.Location{ - Line: int(448), - Column: int(60), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5140, - FreeVars: ast.Identifiers{ - "prec", - "str", - "try_parse_length_modifier", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(448), - Column: int(23), - }, - End: ast.Location{ - Line: int(448), - Column: int(61), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "len_mod", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(448), - Column: int(13), - }, - End: ast.Location{ - Line: int(448), - Column: int(61), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "parse_conv_type", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5156, - FreeVars: ast.Identifiers{ - "parse_conv_type", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(449), - Column: int(21), - }, - End: ast.Location{ - Line: int(449), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5160, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(449), - Column: int(37), - }, - End: ast.Location{ - Line: int(449), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "len_mod", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5160, - FreeVars: ast.Identifiers{ - "len_mod", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(449), - Column: int(42), - }, - End: ast.Location{ - Line: int(449), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5156, - FreeVars: ast.Identifiers{ - "len_mod", - "parse_conv_type", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(449), - Column: int(21), - }, - End: ast.Location{ - Line: int(449), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "ctype", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(449), - Column: int(13), - }, - End: ast.Location{ - Line: int(449), - Column: int(50), - }, - }, - }, - }, - Body: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "ctype", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ctype", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(12), - }, - End: ast.Location{ - Line: int(451), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5172, - FreeVars: ast.Identifiers{ - "ctype", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(12), - }, - End: ast.Location{ - Line: int(451), - Column: int(19), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(451), - Column: int(9), - }, - End: ast.Location{ - Line: int(451), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "code", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "mkey", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "mkey", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "mkey", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(17), - }, - End: ast.Location{ - Line: int(453), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5182, - FreeVars: ast.Identifiers{ - "mkey", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(17), - }, - End: ast.Location{ - Line: int(453), - Column: int(23), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(453), - Column: int(11), - }, - End: ast.Location{ - Line: int(453), - Column: int(23), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "cflags", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(454), - Column: int(19), - }, - End: ast.Location{ - Line: int(454), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5182, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(454), - Column: int(19), - }, - End: ast.Location{ - Line: int(454), - Column: int(27), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(454), - Column: int(11), - }, - End: ast.Location{ - Line: int(454), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "fw", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "fw", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(15), - }, - End: ast.Location{ - Line: int(455), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5182, - FreeVars: ast.Identifiers{ - "fw", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(15), - }, - End: ast.Location{ - Line: int(455), - Column: int(19), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(455), - Column: int(11), - }, - End: ast.Location{ - Line: int(455), - Column: int(19), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "prec", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "prec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(456), - Column: int(17), - }, - End: ast.Location{ - Line: int(456), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5182, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(456), - Column: int(17), - }, - End: ast.Location{ - Line: int(456), - Column: int(23), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(456), - Column: int(11), - }, - End: ast.Location{ - Line: int(456), - Column: int(23), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "ctype", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ctype", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(18), - }, - End: ast.Location{ - Line: int(457), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "v", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5182, - FreeVars: ast.Identifiers{ - "ctype", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(18), - }, - End: ast.Location{ - Line: int(457), - Column: int(25), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(457), - Column: int(11), - }, - End: ast.Location{ - Line: int(457), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "ctype", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ctype", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(17), - }, - End: ast.Location{ - Line: int(458), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5182, - FreeVars: ast.Identifiers{ - "ctype", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(17), - }, - End: ast.Location{ - Line: int(458), - Column: int(27), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(458), - Column: int(11), - }, - End: ast.Location{ - Line: int(458), - Column: int(27), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5172, - FreeVars: ast.Identifiers{ - "cflags", - "ctype", - "fw", - "mkey", - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(15), - }, - End: ast.Location{ - Line: int(459), - Column: int(10), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(452), - Column: int(9), - }, - End: ast.Location{ - Line: int(459), - Column: int(10), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "cflags", - "ctype", - "fw", - "mkey", - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(450), - Column: int(7), - }, - End: ast.Location{ - Line: int(460), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - "len_mod", - "mkey", - "parse_conv_type", - "prec", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(449), - Column: int(7), - }, - End: ast.Location{ - Line: int(460), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - "mkey", - "parse_conv_type", - "prec", - "str", - "try_parse_length_modifier", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(448), - Column: int(7), - }, - End: ast.Location{ - Line: int(460), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - "mkey", - "parse_conv_type", - "str", - "try_parse_length_modifier", - "try_parse_precision", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(447), - Column: int(7), - }, - End: ast.Location{ - Line: int(460), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "cflags", - "mkey", - "parse_conv_type", - "str", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_precision", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(446), - Column: int(7), - }, - End: ast.Location{ - Line: int(460), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "mkey", - "parse_conv_type", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_precision", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(445), - Column: int(7), - }, - End: ast.Location{ - Line: int(460), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5065, - FreeVars: ast.Identifiers{ - "i", - "parse_conv_type", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(444), - Column: int(7), - }, - End: ast.Location{ - Line: int(460), - Column: int(8), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Truncated format code.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5065, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(36), - }, - End: ast.Location{ - Line: int(443), - Column: int(60), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(443), - Column: int(7), - }, - End: ast.Location{ - Line: int(460), - Column: int(8), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "parse_conv_type", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(442), - Column: int(22), - }, - End: ast.Location{ - Line: int(442), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(442), - Column: int(27), - }, - End: ast.Location{ - Line: int(442), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5233, - FreeVars: ast.Identifiers{ - "parse_conv_type", - "std", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(442), - Column: int(11), - }, - End: ast.Location{ - Line: int(460), - Column: int(8), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "parse_code", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(464), - Column: int(15), - }, - End: ast.Location{ - Line: int(464), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(464), - Column: int(15), - }, - End: ast.Location{ - Line: int(464), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5249, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(464), - Column: int(26), - }, - End: ast.Location{ - Line: int(464), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(464), - Column: int(15), - }, - End: ast.Location{ - Line: int(464), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(464), - Column: int(10), - }, - End: ast.Location{ - Line: int(464), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(464), - Column: int(10), - }, - End: ast.Location{ - Line: int(464), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "cur", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5259, - FreeVars: ast.Identifiers{ - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(465), - Column: int(16), - }, - End: ast.Location{ - Line: int(465), - Column: int(19), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(465), - Column: int(15), - }, - End: ast.Location{ - Line: int(465), - Column: int(20), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "out", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "out", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(465), - Column: int(9), - }, - End: ast.Location{ - Line: int(465), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "cur", - "out", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(465), - Column: int(9), - }, - End: ast.Location{ - Line: int(465), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5270, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(467), - Column: int(19), - }, - End: ast.Location{ - Line: int(467), - Column: int(22), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5270, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(467), - Column: int(23), - }, - End: ast.Location{ - Line: int(467), - Column: int(24), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5270, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(467), - Column: int(19), - }, - End: ast.Location{ - Line: int(467), - Column: int(25), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "c", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(467), - Column: int(15), - }, - End: ast.Location{ - Line: int(467), - Column: int(25), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "%", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(468), - Column: int(17), - }, - End: ast.Location{ - Line: int(468), - Column: int(20), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(468), - Column: int(12), - }, - End: ast.Location{ - Line: int(468), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(468), - Column: int(12), - }, - End: ast.Location{ - Line: int(468), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "parse_code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5285, - FreeVars: ast.Identifiers{ - "parse_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(469), - Column: int(21), - }, - End: ast.Location{ - Line: int(469), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5289, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(469), - Column: int(32), - }, - End: ast.Location{ - Line: int(469), - Column: int(35), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5289, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(469), - Column: int(41), - }, - End: ast.Location{ - Line: int(469), - Column: int(42), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5289, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(469), - Column: int(37), - }, - End: ast.Location{ - Line: int(469), - Column: int(38), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5289, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(469), - Column: int(37), - }, - End: ast.Location{ - Line: int(469), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5285, - FreeVars: ast.Identifiers{ - "i", - "parse_code", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(469), - Column: int(21), - }, - End: ast.Location{ - Line: int(469), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "r", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(469), - Column: int(17), - }, - End: ast.Location{ - Line: int(469), - Column: int(43), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "parse_codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "parse_codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(11), - }, - End: ast.Location{ - Line: int(470), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5303, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(23), - }, - End: ast.Location{ - Line: int(470), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "r", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(28), - }, - End: ast.Location{ - Line: int(470), - Column: int(29), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "i", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5303, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(28), - }, - End: ast.Location{ - Line: int(470), - Column: int(31), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "cur", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5314, - FreeVars: ast.Identifiers{ - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(40), - }, - End: ast.Location{ - Line: int(470), - Column: int(43), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "r", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(45), - }, - End: ast.Location{ - Line: int(470), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "code", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5314, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(45), - }, - End: ast.Location{ - Line: int(470), - Column: int(51), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5303, - FreeVars: ast.Identifiers{ - "cur", - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(39), - }, - End: ast.Location{ - Line: int(470), - Column: int(52), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "out", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5303, - FreeVars: ast.Identifiers{ - "out", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(33), - }, - End: ast.Location{ - Line: int(470), - Column: int(36), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5303, - FreeVars: ast.Identifiers{ - "cur", - "out", - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(33), - }, - End: ast.Location{ - Line: int(470), - Column: int(52), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5303, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(54), - }, - End: ast.Location{ - Line: int(470), - Column: int(56), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "cur", - "out", - "parse_codes", - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(470), - Column: int(11), - }, - End: ast.Location{ - Line: int(470), - Column: int(57), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "cur", - "i", - "out", - "parse_code", - "parse_codes", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(469), - Column: int(11), - }, - End: ast.Location{ - Line: int(470), - Column: int(57), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "parse_codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "parse_codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(11), - }, - End: ast.Location{ - Line: int(472), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5335, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(23), - }, - End: ast.Location{ - Line: int(472), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5335, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(32), - }, - End: ast.Location{ - Line: int(472), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5335, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(28), - }, - End: ast.Location{ - Line: int(472), - Column: int(29), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5335, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(28), - }, - End: ast.Location{ - Line: int(472), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "out", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5335, - FreeVars: ast.Identifiers{ - "out", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(35), - }, - End: ast.Location{ - Line: int(472), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "c", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5335, - FreeVars: ast.Identifiers{ - "c", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(46), - }, - End: ast.Location{ - Line: int(472), - Column: int(47), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cur", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5335, - FreeVars: ast.Identifiers{ - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(40), - }, - End: ast.Location{ - Line: int(472), - Column: int(43), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5335, - FreeVars: ast.Identifiers{ - "c", - "cur", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(40), - }, - End: ast.Location{ - Line: int(472), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "c", - "cur", - "i", - "out", - "parse_codes", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(472), - Column: int(11), - }, - End: ast.Location{ - Line: int(472), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "c", - "cur", - "i", - "out", - "parse_code", - "parse_codes", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(468), - Column: int(9), - }, - End: ast.Location{ - Line: int(472), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "cur", - "i", - "out", - "parse_code", - "parse_codes", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(467), - Column: int(9), - }, - End: ast.Location{ - Line: int(472), - Column: int(48), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5245, - FreeVars: ast.Identifiers{ - "cur", - "i", - "out", - "parse_code", - "parse_codes", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(464), - Column: int(7), - }, - End: ast.Location{ - Line: int(472), - Column: int(48), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(463), - Column: int(23), - }, - End: ast.Location{ - Line: int(463), - Column: int(26), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(463), - Column: int(28), - }, - End: ast.Location{ - Line: int(463), - Column: int(29), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "out", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(463), - Column: int(31), - }, - End: ast.Location{ - Line: int(463), - Column: int(34), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cur", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(463), - Column: int(36), - }, - End: ast.Location{ - Line: int(463), - Column: int(39), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5360, - FreeVars: ast.Identifiers{ - "parse_code", - "parse_codes", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(463), - Column: int(11), - }, - End: ast.Location{ - Line: int(472), - Column: int(48), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "parse_codes", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "parse_codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5366, - FreeVars: ast.Identifiers{ - "parse_codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(19), - }, - End: ast.Location{ - Line: int(474), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5370, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(31), - }, - End: ast.Location{ - Line: int(474), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5370, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(36), - }, - End: ast.Location{ - Line: int(474), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5370, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(39), - }, - End: ast.Location{ - Line: int(474), - Column: int(41), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5370, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(43), - }, - End: ast.Location{ - Line: int(474), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5366, - FreeVars: ast.Identifiers{ - "parse_codes", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(19), - }, - End: ast.Location{ - Line: int(474), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "codes", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(11), - }, - End: ast.Location{ - Line: int(474), - Column: int(46), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5385, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(17), - }, - End: ast.Location{ - Line: int(484), - Column: int(18), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "w", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5385, - FreeVars: ast.Identifiers{ - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(12), - }, - End: ast.Location{ - Line: int(484), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5385, - FreeVars: ast.Identifiers{ - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(12), - }, - End: ast.Location{ - Line: int(484), - Column: int(18), - }, - }, - }, - Op: ast.BinaryOp(10), - }, - BranchTrue: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5385, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(485), - Column: int(11), - }, - End: ast.Location{ - Line: int(485), - Column: int(12), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5385, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(487), - Column: int(11), - }, - End: ast.Location{ - Line: int(487), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5399, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(487), - Column: int(19), - }, - End: ast.Location{ - Line: int(487), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "w", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5399, - FreeVars: ast.Identifiers{ - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(487), - Column: int(15), - }, - End: ast.Location{ - Line: int(487), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5399, - FreeVars: ast.Identifiers{ - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(487), - Column: int(15), - }, - End: ast.Location{ - Line: int(487), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "s", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5399, - FreeVars: ast.Identifiers{ - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(487), - Column: int(26), - }, - End: ast.Location{ - Line: int(487), - Column: int(27), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5399, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(487), - Column: int(22), - }, - End: ast.Location{ - Line: int(487), - Column: int(23), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5399, - FreeVars: ast.Identifiers{ - "s", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(487), - Column: int(22), - }, - End: ast.Location{ - Line: int(487), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5385, - FreeVars: ast.Identifiers{ - "aux", - "s", - "v", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(487), - Column: int(11), - }, - End: ast.Location{ - Line: int(487), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p5385, - FreeVars: ast.Identifiers{ - "aux", - "s", - "v", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(484), - Column: int(9), - }, - End: ast.Location{ - Line: int(487), - Column: int(28), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "w", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(17), - }, - End: ast.Location{ - Line: int(483), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(20), - }, - End: ast.Location{ - Line: int(483), - Column: int(21), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5414, - FreeVars: ast.Identifiers{ - "aux", - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(13), - }, - End: ast.Location{ - Line: int(487), - Column: int(28), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5419, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(7), - }, - End: ast.Location{ - Line: int(488), - Column: int(10), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "w", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5423, - FreeVars: ast.Identifiers{ - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(11), - }, - End: ast.Location{ - Line: int(488), - Column: int(12), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5423, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(14), - }, - End: ast.Location{ - Line: int(488), - Column: int(16), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5419, - FreeVars: ast.Identifiers{ - "aux", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(488), - Column: int(7), - }, - End: ast.Location{ - Line: int(488), - Column: int(17), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5419, - FreeVars: ast.Identifiers{ - "s", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(483), - Column: int(7), - }, - End: ast.Location{ - Line: int(488), - Column: int(17), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "w", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(482), - Column: int(19), - }, - End: ast.Location{ - Line: int(482), - Column: int(20), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "s", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(482), - Column: int(22), - }, - End: ast.Location{ - Line: int(482), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5430, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(482), - Column: int(11), - }, - End: ast.Location{ - Line: int(488), - Column: int(17), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "padding", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5436, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(41), - }, - End: ast.Location{ - Line: int(492), - Column: int(44), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "padding", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5436, - FreeVars: ast.Identifiers{ - "padding", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(7), - }, - End: ast.Location{ - Line: int(492), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(19), - }, - End: ast.Location{ - Line: int(492), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5449, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(19), - }, - End: ast.Location{ - Line: int(492), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5453, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(30), - }, - End: ast.Location{ - Line: int(492), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5449, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(19), - }, - End: ast.Location{ - Line: int(492), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "w", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5449, - FreeVars: ast.Identifiers{ - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(15), - }, - End: ast.Location{ - Line: int(492), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5449, - FreeVars: ast.Identifiers{ - "std", - "str", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(15), - }, - End: ast.Location{ - Line: int(492), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "s", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5449, - FreeVars: ast.Identifiers{ - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(36), - }, - End: ast.Location{ - Line: int(492), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5436, - FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(7), - }, - End: ast.Location{ - Line: int(492), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5436, - FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(492), - Column: int(7), - }, - End: ast.Location{ - Line: int(492), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(20), - }, - End: ast.Location{ - Line: int(491), - Column: int(23), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "w", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(25), - }, - End: ast.Location{ - Line: int(491), - Column: int(26), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "s", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(28), - }, - End: ast.Location{ - Line: int(491), - Column: int(29), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5464, - FreeVars: ast.Identifiers{ - "padding", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(11), - }, - End: ast.Location{ - Line: int(492), - Column: int(44), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "pad_left", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "padding", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5472, - FreeVars: ast.Identifiers{ - "padding", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(13), - }, - End: ast.Location{ - Line: int(496), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(25), - }, - End: ast.Location{ - Line: int(496), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5481, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(25), - }, - End: ast.Location{ - Line: int(496), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5485, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(36), - }, - End: ast.Location{ - Line: int(496), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5481, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(25), - }, - End: ast.Location{ - Line: int(496), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "w", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5481, - FreeVars: ast.Identifiers{ - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(21), - }, - End: ast.Location{ - Line: int(496), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5481, - FreeVars: ast.Identifiers{ - "std", - "str", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(21), - }, - End: ast.Location{ - Line: int(496), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "s", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5481, - FreeVars: ast.Identifiers{ - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(42), - }, - End: ast.Location{ - Line: int(496), - Column: int(43), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5472, - FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(13), - }, - End: ast.Location{ - Line: int(496), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5472, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(7), - }, - End: ast.Location{ - Line: int(496), - Column: int(10), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5472, - FreeVars: ast.Identifiers{ - "padding", - "s", - "std", - "str", - "w", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(496), - Column: int(7), - }, - End: ast.Location{ - Line: int(496), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(495), - Column: int(21), - }, - End: ast.Location{ - Line: int(495), - Column: int(24), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "w", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(495), - Column: int(26), - }, - End: ast.Location{ - Line: int(495), - Column: int(27), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "s", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(495), - Column: int(29), - }, - End: ast.Location{ - Line: int(495), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5499, - FreeVars: ast.Identifiers{ - "padding", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(495), - Column: int(11), - }, - End: ast.Location{ - Line: int(496), - Column: int(44), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "pad_right", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5509, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(19), - }, - End: ast.Location{ - Line: int(514), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "mag", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5509, - FreeVars: ast.Identifiers{ - "mag", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(12), - }, - End: ast.Location{ - Line: int(514), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5509, - FreeVars: ast.Identifiers{ - "mag", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(12), - }, - End: ast.Location{ - Line: int(514), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5509, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(515), - Column: int(11), - }, - End: ast.Location{ - Line: int(515), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5521, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(21), - }, - End: ast.Location{ - Line: int(518), - Column: int(22), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(16), - }, - End: ast.Location{ - Line: int(518), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(16), - }, - End: ast.Location{ - Line: int(518), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Var{ - Id: "zero_prefix", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "zero_prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(519), - Column: int(15), - }, - End: ast.Location{ - Line: int(519), - Column: int(26), - }, - }, - }, - }, - BranchFalse: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(44), - }, - End: ast.Location{ - Line: int(521), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "radix", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "radix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(48), - }, - End: ast.Location{ - Line: int(521), - Column: int(53), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "n", - "radix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(44), - }, - End: ast.Location{ - Line: int(521), - Column: int(53), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(15), - }, - End: ast.Location{ - Line: int(521), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(19), - }, - End: ast.Location{ - Line: int(521), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5551, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(19), - }, - End: ast.Location{ - Line: int(521), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "radix", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5556, - FreeVars: ast.Identifiers{ - "radix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(33), - }, - End: ast.Location{ - Line: int(521), - Column: int(38), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5556, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(29), - }, - End: ast.Location{ - Line: int(521), - Column: int(30), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5556, - FreeVars: ast.Identifiers{ - "n", - "radix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(29), - }, - End: ast.Location{ - Line: int(521), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5551, - FreeVars: ast.Identifiers{ - "n", - "radix", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(19), - }, - End: ast.Location{ - Line: int(521), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "aux", - "n", - "radix", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(15), - }, - End: ast.Location{ - Line: int(521), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "n", - "radix", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(521), - Column: int(15), - }, - End: ast.Location{ - Line: int(521), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p5521, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "n", - "radix", - "std", - "zero_prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(518), - Column: int(13), - }, - End: ast.Location{ - Line: int(521), - Column: int(54), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(21), - }, - End: ast.Location{ - Line: int(517), - Column: int(22), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5568, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "radix", - "std", - "zero_prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(17), - }, - End: ast.Location{ - Line: int(521), - Column: int(54), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5509, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(11), - }, - End: ast.Location{ - Line: int(522), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "mag", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5576, - FreeVars: ast.Identifiers{ - "mag", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(15), - }, - End: ast.Location{ - Line: int(522), - Column: int(18), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5509, - FreeVars: ast.Identifiers{ - "aux", - "mag", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(522), - Column: int(11), - }, - End: ast.Location{ - Line: int(522), - Column: int(19), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5509, - FreeVars: ast.Identifiers{ - "$std", - "mag", - "radix", - "std", - "zero_prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(517), - Column: int(11), - }, - End: ast.Location{ - Line: int(522), - Column: int(19), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p5509, - FreeVars: ast.Identifiers{ - "$std", - "mag", - "radix", - "std", - "zero_prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(514), - Column: int(9), - }, - End: ast.Location{ - Line: int(522), - Column: int(19), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "dec", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(13), - }, - End: ast.Location{ - Line: int(522), - Column: int(19), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "plus", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{ - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(50), - }, - End: ast.Location{ - Line: int(523), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "blank", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{ - "blank", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(41), - }, - End: ast.Location{ - Line: int(523), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "neg", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{ - "neg", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(34), - }, - End: ast.Location{ - Line: int(523), - Column: int(37), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{ - "blank", - "neg", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(34), - }, - End: ast.Location{ - Line: int(523), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(34), - }, - End: ast.Location{ - Line: int(523), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(60), - }, - End: ast.Location{ - Line: int(523), - Column: int(61), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(67), - }, - End: ast.Location{ - Line: int(523), - Column: int(68), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(31), - }, - End: ast.Location{ - Line: int(523), - Column: int(68), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "min_chars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{ - "min_chars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(18), - }, - End: ast.Location{ - Line: int(523), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5590, - FreeVars: ast.Identifiers{ - "blank", - "min_chars", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(18), - }, - End: ast.Location{ - Line: int(523), - Column: int(69), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - EqFodder: ast.Fodder{}, - Variable: "zp", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(13), - }, - End: ast.Location{ - Line: int(523), - Column: int(69), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(19), - }, - End: ast.Location{ - Line: int(524), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "max", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5612, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(19), - }, - End: ast.Location{ - Line: int(524), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5616, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(27), - }, - End: ast.Location{ - Line: int(524), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "min_digits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5616, - FreeVars: ast.Identifiers{ - "min_digits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(31), - }, - End: ast.Location{ - Line: int(524), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5612, - FreeVars: ast.Identifiers{ - "min_digits", - "std", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(19), - }, - End: ast.Location{ - Line: int(524), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "zp2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(13), - }, - End: ast.Location{ - Line: int(524), - Column: int(42), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "pad_left", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5625, - FreeVars: ast.Identifiers{ - "pad_left", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(20), - }, - End: ast.Location{ - Line: int(525), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "dec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5629, - FreeVars: ast.Identifiers{ - "dec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(29), - }, - End: ast.Location{ - Line: int(525), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5629, - FreeVars: ast.Identifiers{ - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(34), - }, - End: ast.Location{ - Line: int(525), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5629, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(39), - }, - End: ast.Location{ - Line: int(525), - Column: int(42), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5625, - FreeVars: ast.Identifiers{ - "dec", - "pad_left", - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(20), - }, - End: ast.Location{ - Line: int(525), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "dec2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(13), - }, - End: ast.Location{ - Line: int(525), - Column: int(43), - }, - }, - }, - }, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "dec2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "dec2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(80), - }, - End: ast.Location{ - Line: int(526), - Column: int(84), - }, - }, - }, - }, - Left: &ast.Conditional{ - Cond: &ast.Var{ - Id: "neg", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "neg", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(11), - }, - End: ast.Location{ - Line: int(526), - Column: int(14), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(20), - }, - End: ast.Location{ - Line: int(526), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Var{ - Id: "plus", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(32), - }, - End: ast.Location{ - Line: int(526), - Column: int(36), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "+", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(42), - }, - End: ast.Location{ - Line: int(526), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Var{ - Id: "blank", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "blank", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(54), - }, - End: ast.Location{ - Line: int(526), - Column: int(59), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(65), - }, - End: ast.Location{ - Line: int(526), - Column: int(68), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(74), - }, - End: ast.Location{ - Line: int(526), - Column: int(76), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "blank", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(51), - }, - End: ast.Location{ - Line: int(526), - Column: int(76), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "blank", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(29), - }, - End: ast.Location{ - Line: int(526), - Column: int(76), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(8), - }, - End: ast.Location{ - Line: int(526), - Column: int(76), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "blank", - "dec2", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(526), - Column: int(7), - }, - End: ast.Location{ - Line: int(526), - Column: int(84), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "blank", - "dec", - "neg", - "pad_left", - "plus", - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(525), - Column: int(7), - }, - End: ast.Location{ - Line: int(526), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "blank", - "dec", - "min_digits", - "neg", - "pad_left", - "plus", - "std", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(524), - Column: int(7), - }, - End: ast.Location{ - Line: int(526), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "blank", - "dec", - "min_chars", - "min_digits", - "neg", - "pad_left", - "plus", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(523), - Column: int(7), - }, - End: ast.Location{ - Line: int(526), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// dec is the minimal string needed to represent the number as text.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5637, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "mag", - "min_chars", - "min_digits", - "neg", - "pad_left", - "plus", - "radix", - "std", - "zero_prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(513), - Column: int(7), - }, - End: ast.Location{ - Line: int(526), - Column: int(84), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "neg", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(22), - }, - End: ast.Location{ - Line: int(511), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "mag", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(27), - }, - End: ast.Location{ - Line: int(511), - Column: int(30), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "min_chars", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(32), - }, - End: ast.Location{ - Line: int(511), - Column: int(41), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "min_digits", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(43), - }, - End: ast.Location{ - Line: int(511), - Column: int(53), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "blank", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(55), - }, - End: ast.Location{ - Line: int(511), - Column: int(60), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "plus", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(62), - }, - End: ast.Location{ - Line: int(511), - Column: int(66), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "radix", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(68), - }, - End: ast.Location{ - Line: int(511), - Column: int(73), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "zero_prefix", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(75), - }, - End: ast.Location{ - Line: int(511), - Column: int(86), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5666, - FreeVars: ast.Identifiers{ - "$std", - "pad_left", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(11), - }, - End: ast.Location{ - Line: int(526), - Column: int(84), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "render_int", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Var{ - Id: "capitals", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5676, - FreeVars: ast.Identifiers{ - "capitals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(29), - }, - End: ast.Location{ - Line: int(531), - Column: int(37), - }, - }, - }, - }, - BranchTrue: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "A", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5681, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(44), - }, - End: ast.Location{ - Line: int(531), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "B", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5681, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(49), - }, - End: ast.Location{ - Line: int(531), - Column: int(52), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "C", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5681, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(54), - }, - End: ast.Location{ - Line: int(531), - Column: int(57), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "D", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5681, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(59), - }, - End: ast.Location{ - Line: int(531), - Column: int(62), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "E", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5681, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(64), - }, - End: ast.Location{ - Line: int(531), - Column: int(67), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "F", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5681, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(69), - }, - End: ast.Location{ - Line: int(531), - Column: int(72), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5676, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(43), - }, - End: ast.Location{ - Line: int(531), - Column: int(73), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "a", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5690, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(30), - }, - End: ast.Location{ - Line: int(532), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "b", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5690, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(35), - }, - End: ast.Location{ - Line: int(532), - Column: int(38), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "c", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5690, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(40), - }, - End: ast.Location{ - Line: int(532), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "d", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5690, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(45), - }, - End: ast.Location{ - Line: int(532), - Column: int(48), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "e", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5690, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(50), - }, - End: ast.Location{ - Line: int(532), - Column: int(53), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "f", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5690, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(55), - }, - End: ast.Location{ - Line: int(532), - Column: int(58), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5676, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(532), - Column: int(29), - }, - End: ast.Location{ - Line: int(532), - Column: int(59), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(23), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5676, - FreeVars: ast.Identifiers{ - "capitals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(531), - Column: int(26), - }, - End: ast.Location{ - Line: int(532), - Column: int(59), - }, - }, - }, - }, - Left: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(25), - }, - End: ast.Location{ - Line: int(530), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(28), - }, - End: ast.Location{ - Line: int(530), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(31), - }, - End: ast.Location{ - Line: int(530), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(34), - }, - End: ast.Location{ - Line: int(530), - Column: int(35), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(37), - }, - End: ast.Location{ - Line: int(530), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "5", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(40), - }, - End: ast.Location{ - Line: int(530), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "6", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(43), - }, - End: ast.Location{ - Line: int(530), - Column: int(44), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "7", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(46), - }, - End: ast.Location{ - Line: int(530), - Column: int(47), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "8", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(49), - }, - End: ast.Location{ - Line: int(530), - Column: int(50), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "9", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(52), - }, - End: ast.Location{ - Line: int(530), - Column: int(53), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5676, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(24), - }, - End: ast.Location{ - Line: int(530), - Column: int(54), - }, - }, - }, - TrailingComma: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(23), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5676, - FreeVars: ast.Identifiers{ - "capitals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(24), - }, - End: ast.Location{ - Line: int(532), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "numerals", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(13), - }, - End: ast.Location{ - Line: int(532), - Column: int(59), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(18), - }, - End: ast.Location{ - Line: int(533), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "abs", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5720, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(18), - }, - End: ast.Location{ - Line: int(533), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n__", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5724, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(26), - }, - End: ast.Location{ - Line: int(533), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5720, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(18), - }, - End: ast.Location{ - Line: int(533), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "n_", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(13), - }, - End: ast.Location{ - Line: int(533), - Column: int(30), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5733, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(17), - }, - End: ast.Location{ - Line: int(535), - Column: int(18), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5733, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(12), - }, - End: ast.Location{ - Line: int(535), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5733, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(12), - }, - End: ast.Location{ - Line: int(535), - Column: int(18), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5733, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(536), - Column: int(11), - }, - End: ast.Location{ - Line: int(536), - Column: int(13), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "numerals", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5733, - FreeVars: ast.Identifiers{ - "numerals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(36), - }, - End: ast.Location{ - Line: int(538), - Column: int(44), - }, - }, - }, - }, - Index: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5733, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(45), - }, - End: ast.Location{ - Line: int(538), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "16", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5733, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(49), - }, - End: ast.Location{ - Line: int(538), - Column: int(51), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(45), - }, - End: ast.Location{ - Line: int(538), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5733, - FreeVars: ast.Identifiers{ - "$std", - "n", - "numerals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(36), - }, - End: ast.Location{ - Line: int(538), - Column: int(52), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5733, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(11), - }, - End: ast.Location{ - Line: int(538), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(15), - }, - End: ast.Location{ - Line: int(538), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5765, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(15), - }, - End: ast.Location{ - Line: int(538), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "16", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5770, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(29), - }, - End: ast.Location{ - Line: int(538), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5770, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(25), - }, - End: ast.Location{ - Line: int(538), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5770, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(25), - }, - End: ast.Location{ - Line: int(538), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5765, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(15), - }, - End: ast.Location{ - Line: int(538), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5733, - FreeVars: ast.Identifiers{ - "aux", - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(11), - }, - End: ast.Location{ - Line: int(538), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5733, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "n", - "numerals", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(538), - Column: int(11), - }, - End: ast.Location{ - Line: int(538), - Column: int(52), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p5733, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "n", - "numerals", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(535), - Column: int(9), - }, - End: ast.Location{ - Line: int(538), - Column: int(52), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(17), - }, - End: ast.Location{ - Line: int(534), - Column: int(18), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5781, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "numerals", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(13), - }, - End: ast.Location{ - Line: int(538), - Column: int(52), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5788, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(39), - }, - End: ast.Location{ - Line: int(539), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(22), - }, - End: ast.Location{ - Line: int(539), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5788, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(22), - }, - End: ast.Location{ - Line: int(539), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n_", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5797, - FreeVars: ast.Identifiers{ - "n_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(32), - }, - End: ast.Location{ - Line: int(539), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5788, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(22), - }, - End: ast.Location{ - Line: int(539), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5788, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(22), - }, - End: ast.Location{ - Line: int(539), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5788, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(46), - }, - End: ast.Location{ - Line: int(539), - Column: int(49), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5788, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(55), - }, - End: ast.Location{ - Line: int(539), - Column: int(58), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(59), - }, - End: ast.Location{ - Line: int(539), - Column: int(62), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5811, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(59), - }, - End: ast.Location{ - Line: int(539), - Column: int(68), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n_", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5815, - FreeVars: ast.Identifiers{ - "n_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(69), - }, - End: ast.Location{ - Line: int(539), - Column: int(71), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5811, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(59), - }, - End: ast.Location{ - Line: int(539), - Column: int(72), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5788, - FreeVars: ast.Identifiers{ - "aux", - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(55), - }, - End: ast.Location{ - Line: int(539), - Column: int(73), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5788, - FreeVars: ast.Identifiers{ - "aux", - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(19), - }, - End: ast.Location{ - Line: int(539), - Column: int(73), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "hex", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(13), - }, - End: ast.Location{ - Line: int(539), - Column: int(73), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5824, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(25), - }, - End: ast.Location{ - Line: int(540), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n__", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5824, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(19), - }, - End: ast.Location{ - Line: int(540), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5824, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(19), - }, - End: ast.Location{ - Line: int(540), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - EqFodder: ast.Fodder{}, - Variable: "neg", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(13), - }, - End: ast.Location{ - Line: int(540), - Column: int(26), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Var{ - Id: "add_zerox", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "add_zerox", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(24), - }, - End: ast.Location{ - Line: int(542), - Column: int(33), - }, - }, - }, - }, - BranchTrue: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(39), - }, - End: ast.Location{ - Line: int(542), - Column: int(40), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(46), - }, - End: ast.Location{ - Line: int(542), - Column: int(47), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "add_zerox", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(542), - Column: int(21), - }, - End: ast.Location{ - Line: int(542), - Column: int(47), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "plus", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(50), - }, - End: ast.Location{ - Line: int(541), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "blank", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "blank", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(41), - }, - End: ast.Location{ - Line: int(541), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "neg", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "neg", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(34), - }, - End: ast.Location{ - Line: int(541), - Column: int(37), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "blank", - "neg", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(34), - }, - End: ast.Location{ - Line: int(541), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(34), - }, - End: ast.Location{ - Line: int(541), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(60), - }, - End: ast.Location{ - Line: int(541), - Column: int(61), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(67), - }, - End: ast.Location{ - Line: int(541), - Column: int(68), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(31), - }, - End: ast.Location{ - Line: int(541), - Column: int(68), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "min_chars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "min_chars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(18), - }, - End: ast.Location{ - Line: int(541), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "blank", - "min_chars", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(18), - }, - End: ast.Location{ - Line: int(541), - Column: int(69), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(17), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5833, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "min_chars", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(18), - }, - End: ast.Location{ - Line: int(542), - Column: int(48), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - EqFodder: ast.Fodder{}, - Variable: "zp", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(13), - }, - End: ast.Location{ - Line: int(542), - Column: int(48), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(543), - Column: int(19), - }, - End: ast.Location{ - Line: int(543), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "max", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5865, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(543), - Column: int(19), - }, - End: ast.Location{ - Line: int(543), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5869, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(543), - Column: int(27), - }, - End: ast.Location{ - Line: int(543), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "min_digits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5869, - FreeVars: ast.Identifiers{ - "min_digits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(543), - Column: int(31), - }, - End: ast.Location{ - Line: int(543), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5865, - FreeVars: ast.Identifiers{ - "min_digits", - "std", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(543), - Column: int(19), - }, - End: ast.Location{ - Line: int(543), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "zp2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(543), - Column: int(13), - }, - End: ast.Location{ - Line: int(543), - Column: int(42), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "pad_left", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{ - "pad_left", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(22), - }, - End: ast.Location{ - Line: int(545), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "hex", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5883, - FreeVars: ast.Identifiers{ - "hex", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(31), - }, - End: ast.Location{ - Line: int(545), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5883, - FreeVars: ast.Identifiers{ - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(36), - }, - End: ast.Location{ - Line: int(545), - Column: int(39), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5883, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(41), - }, - End: ast.Location{ - Line: int(545), - Column: int(44), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{ - "hex", - "pad_left", - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(545), - Column: int(22), - }, - End: ast.Location{ - Line: int(545), - Column: int(45), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Conditional{ - Cond: &ast.Var{ - Id: "add_zerox", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{ - "add_zerox", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(24), - }, - End: ast.Location{ - Line: int(544), - Column: int(33), - }, - }, - }, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Var{ - Id: "capitals", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{ - "capitals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(43), - }, - End: ast.Location{ - Line: int(544), - Column: int(51), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "0X", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(57), - }, - End: ast.Location{ - Line: int(544), - Column: int(61), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "0x", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(67), - }, - End: ast.Location{ - Line: int(544), - Column: int(71), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{ - "capitals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(40), - }, - End: ast.Location{ - Line: int(544), - Column: int(71), - }, - }, - }, - }, - BranchFalse: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(78), - }, - End: ast.Location{ - Line: int(544), - Column: int(80), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{ - "add_zerox", - "capitals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(21), - }, - End: ast.Location{ - Line: int(544), - Column: int(80), - }, - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(19), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5879, - FreeVars: ast.Identifiers{ - "add_zerox", - "capitals", - "hex", - "pad_left", - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(20), - }, - End: ast.Location{ - Line: int(545), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "hex2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(13), - }, - End: ast.Location{ - Line: int(545), - Column: int(45), - }, - }, - }, - }, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "hex2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "hex2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(80), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - }, - Left: &ast.Conditional{ - Cond: &ast.Var{ - Id: "neg", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "neg", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(11), - }, - End: ast.Location{ - Line: int(546), - Column: int(14), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(20), - }, - End: ast.Location{ - Line: int(546), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Var{ - Id: "plus", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(32), - }, - End: ast.Location{ - Line: int(546), - Column: int(36), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "+", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(42), - }, - End: ast.Location{ - Line: int(546), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Var{ - Id: "blank", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "blank", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(54), - }, - End: ast.Location{ - Line: int(546), - Column: int(59), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(65), - }, - End: ast.Location{ - Line: int(546), - Column: int(68), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(74), - }, - End: ast.Location{ - Line: int(546), - Column: int(76), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "blank", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(51), - }, - End: ast.Location{ - Line: int(546), - Column: int(76), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "blank", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(29), - }, - End: ast.Location{ - Line: int(546), - Column: int(76), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "blank", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(8), - }, - End: ast.Location{ - Line: int(546), - Column: int(76), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "blank", - "hex2", - "neg", - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(546), - Column: int(7), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "neg", - "pad_left", - "plus", - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(544), - Column: int(7), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "min_digits", - "neg", - "pad_left", - "plus", - "std", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(543), - Column: int(7), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "min_chars", - "min_digits", - "neg", - "pad_left", - "plus", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(541), - Column: int(7), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "add_zerox", - "blank", - "capitals", - "hex", - "min_chars", - "min_digits", - "n__", - "pad_left", - "plus", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(540), - Column: int(7), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "add_zerox", - "aux", - "blank", - "capitals", - "min_chars", - "min_digits", - "n_", - "n__", - "pad_left", - "plus", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(539), - Column: int(7), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "$std", - "add_zerox", - "blank", - "capitals", - "min_chars", - "min_digits", - "n_", - "n__", - "numerals", - "pad_left", - "plus", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(534), - Column: int(7), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "$std", - "add_zerox", - "blank", - "capitals", - "min_chars", - "min_digits", - "n__", - "numerals", - "pad_left", - "plus", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(533), - Column: int(7), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p5904, - FreeVars: ast.Identifiers{ - "$std", - "add_zerox", - "blank", - "capitals", - "min_chars", - "min_digits", - "n__", - "pad_left", - "plus", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(530), - Column: int(7), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n__", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(22), - }, - End: ast.Location{ - Line: int(529), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "min_chars", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(27), - }, - End: ast.Location{ - Line: int(529), - Column: int(36), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "min_digits", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(38), - }, - End: ast.Location{ - Line: int(529), - Column: int(48), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "blank", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(50), - }, - End: ast.Location{ - Line: int(529), - Column: int(55), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "plus", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(57), - }, - End: ast.Location{ - Line: int(529), - Column: int(61), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "add_zerox", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(63), - }, - End: ast.Location{ - Line: int(529), - Column: int(72), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "capitals", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(74), - }, - End: ast.Location{ - Line: int(529), - Column: int(82), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p5940, - FreeVars: ast.Identifiers{ - "$std", - "pad_left", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(11), - }, - End: ast.Location{ - Line: int(546), - Column: int(84), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "render_hex", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(550), - Column: int(16), - }, - End: ast.Location{ - Line: int(550), - Column: int(17), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(550), - Column: int(12), - }, - End: ast.Location{ - Line: int(550), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(550), - Column: int(12), - }, - End: ast.Location{ - Line: int(550), - Column: int(17), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5951, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(551), - Column: int(11), - }, - End: ast.Location{ - Line: int(551), - Column: int(13), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(553), - Column: int(24), - }, - End: ast.Location{ - Line: int(553), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(553), - Column: int(14), - }, - End: ast.Location{ - Line: int(553), - Column: int(17), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(553), - Column: int(18), - }, - End: ast.Location{ - Line: int(553), - Column: int(19), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(553), - Column: int(14), - }, - End: ast.Location{ - Line: int(553), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(553), - Column: int(14), - }, - End: ast.Location{ - Line: int(553), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(13), - }, - End: ast.Location{ - Line: int(554), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5973, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(17), - }, - End: ast.Location{ - Line: int(554), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5973, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(26), - }, - End: ast.Location{ - Line: int(554), - Column: int(27), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5973, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(22), - }, - End: ast.Location{ - Line: int(554), - Column: int(23), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5973, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(22), - }, - End: ast.Location{ - Line: int(554), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "aux", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(554), - Column: int(13), - }, - End: ast.Location{ - Line: int(554), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(13), - }, - End: ast.Location{ - Line: int(556), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "substr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(13), - }, - End: ast.Location{ - Line: int(556), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5990, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(24), - }, - End: ast.Location{ - Line: int(556), - Column: int(27), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5990, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(29), - }, - End: ast.Location{ - Line: int(556), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5990, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(36), - }, - End: ast.Location{ - Line: int(556), - Column: int(37), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5990, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(32), - }, - End: ast.Location{ - Line: int(556), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5990, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(32), - }, - End: ast.Location{ - Line: int(556), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(556), - Column: int(13), - }, - End: ast.Location{ - Line: int(556), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "aux", - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(553), - Column: int(11), - }, - End: ast.Location{ - Line: int(556), - Column: int(38), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p5951, - FreeVars: ast.Identifiers{ - "aux", - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(550), - Column: int(9), - }, - End: ast.Location{ - Line: int(556), - Column: int(38), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(17), - }, - End: ast.Location{ - Line: int(549), - Column: int(20), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(22), - }, - End: ast.Location{ - Line: int(549), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p6006, - FreeVars: ast.Identifiers{ - "aux", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(13), - }, - End: ast.Location{ - Line: int(556), - Column: int(38), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6011, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(7), - }, - End: ast.Location{ - Line: int(557), - Column: int(10), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6015, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(11), - }, - End: ast.Location{ - Line: int(557), - Column: int(14), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6015, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(34), - }, - End: ast.Location{ - Line: int(557), - Column: int(35), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(16), - }, - End: ast.Location{ - Line: int(557), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6015, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(16), - }, - End: ast.Location{ - Line: int(557), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6027, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(27), - }, - End: ast.Location{ - Line: int(557), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6015, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(16), - }, - End: ast.Location{ - Line: int(557), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6015, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(16), - }, - End: ast.Location{ - Line: int(557), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6011, - FreeVars: ast.Identifiers{ - "aux", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(557), - Column: int(7), - }, - End: ast.Location{ - Line: int(557), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6011, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(549), - Column: int(7), - }, - End: ast.Location{ - Line: int(557), - Column: int(36), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(31), - }, - End: ast.Location{ - Line: int(548), - Column: int(34), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p6035, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(11), - }, - End: ast.Location{ - Line: int(557), - Column: int(36), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "strip_trailing_zero", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(18), - }, - End: ast.Location{ - Line: int(561), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "abs", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6047, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(18), - }, - End: ast.Location{ - Line: int(561), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n__", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6051, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(26), - }, - End: ast.Location{ - Line: int(561), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6047, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(18), - }, - End: ast.Location{ - Line: int(561), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "n_", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(13), - }, - End: ast.Location{ - Line: int(561), - Column: int(30), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(21), - }, - End: ast.Location{ - Line: int(562), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6061, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(21), - }, - End: ast.Location{ - Line: int(562), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n_", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6065, - FreeVars: ast.Identifiers{ - "n_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(31), - }, - End: ast.Location{ - Line: int(562), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6061, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(21), - }, - End: ast.Location{ - Line: int(562), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "whole", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(13), - }, - End: ast.Location{ - Line: int(562), - Column: int(34), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(27), - }, - End: ast.Location{ - Line: int(567), - Column: int(30), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "pow", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6075, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(27), - }, - End: ast.Location{ - Line: int(567), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6079, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(35), - }, - End: ast.Location{ - Line: int(567), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "prec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6079, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(39), - }, - End: ast.Location{ - Line: int(567), - Column: int(43), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6075, - FreeVars: ast.Identifiers{ - "prec", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(27), - }, - End: ast.Location{ - Line: int(567), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "denominator", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(13), - }, - End: ast.Location{ - Line: int(567), - Column: int(44), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0.5", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6087, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(53), - }, - End: ast.Location{ - Line: int(568), - Column: int(56), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "denominator", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6087, - FreeVars: ast.Identifiers{ - "denominator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(39), - }, - End: ast.Location{ - Line: int(568), - Column: int(50), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(25), - }, - End: ast.Location{ - Line: int(568), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "abs", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6087, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(25), - }, - End: ast.Location{ - Line: int(568), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n_", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6099, - FreeVars: ast.Identifiers{ - "n_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(33), - }, - End: ast.Location{ - Line: int(568), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6087, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(25), - }, - End: ast.Location{ - Line: int(568), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6087, - FreeVars: ast.Identifiers{ - "denominator", - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(25), - }, - End: ast.Location{ - Line: int(568), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6087, - FreeVars: ast.Identifiers{ - "denominator", - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(25), - }, - End: ast.Location{ - Line: int(568), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "numerator", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(13), - }, - End: ast.Location{ - Line: int(568), - Column: int(56), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(36), - }, - End: ast.Location{ - Line: int(569), - Column: int(39), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6112, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(36), - }, - End: ast.Location{ - Line: int(569), - Column: int(45), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "denominator", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6117, - FreeVars: ast.Identifiers{ - "denominator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(58), - }, - End: ast.Location{ - Line: int(569), - Column: int(69), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "numerator", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6117, - FreeVars: ast.Identifiers{ - "numerator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(46), - }, - End: ast.Location{ - Line: int(569), - Column: int(55), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6117, - FreeVars: ast.Identifiers{ - "denominator", - "numerator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(46), - }, - End: ast.Location{ - Line: int(569), - Column: int(69), - }, - }, - }, - Op: ast.BinaryOp(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6112, - FreeVars: ast.Identifiers{ - "denominator", - "numerator", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(36), - }, - End: ast.Location{ - Line: int(569), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(21), - }, - End: ast.Location{ - Line: int(569), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "sign", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6112, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(21), - }, - End: ast.Location{ - Line: int(569), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n_", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6131, - FreeVars: ast.Identifiers{ - "n_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(30), - }, - End: ast.Location{ - Line: int(569), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6112, - FreeVars: ast.Identifiers{ - "n_", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(21), - }, - End: ast.Location{ - Line: int(569), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6112, - FreeVars: ast.Identifiers{ - "denominator", - "n_", - "numerator", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(21), - }, - End: ast.Location{ - Line: int(569), - Column: int(70), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - EqFodder: ast.Fodder{}, - Variable: "whole", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(13), - }, - End: ast.Location{ - Line: int(569), - Column: int(70), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(570), - Column: int(20), - }, - End: ast.Location{ - Line: int(570), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6149, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(570), - Column: int(20), - }, - End: ast.Location{ - Line: int(570), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "numerator", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6153, - FreeVars: ast.Identifiers{ - "numerator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(570), - Column: int(30), - }, - End: ast.Location{ - Line: int(570), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6149, - FreeVars: ast.Identifiers{ - "numerator", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(570), - Column: int(20), - }, - End: ast.Location{ - Line: int(570), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "denominator", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6149, - FreeVars: ast.Identifiers{ - "denominator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(570), - Column: int(43), - }, - End: ast.Location{ - Line: int(570), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "denominator", - "numerator", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(570), - Column: int(20), - }, - End: ast.Location{ - Line: int(570), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "frac", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(570), - Column: int(13), - }, - End: ast.Location{ - Line: int(570), - Column: int(54), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.Var{ - Id: "ensure_pt", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6165, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(41), - }, - End: ast.Location{ - Line: int(571), - Column: int(50), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6165, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(40), - }, - End: ast.Location{ - Line: int(571), - Column: int(50), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6165, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(35), - }, - End: ast.Location{ - Line: int(571), - Column: int(36), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "prec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6165, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(27), - }, - End: ast.Location{ - Line: int(571), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6165, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(27), - }, - End: ast.Location{ - Line: int(571), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6165, - FreeVars: ast.Identifiers{ - "ensure_pt", - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(27), - }, - End: ast.Location{ - Line: int(571), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6165, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(56), - }, - End: ast.Location{ - Line: int(571), - Column: int(57), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6165, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(63), - }, - End: ast.Location{ - Line: int(571), - Column: int(64), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6165, - FreeVars: ast.Identifiers{ - "ensure_pt", - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(24), - }, - End: ast.Location{ - Line: int(571), - Column: int(64), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "dot_size", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(13), - }, - End: ast.Location{ - Line: int(571), - Column: int(64), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "dot_size", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6181, - FreeVars: ast.Identifiers{ - "dot_size", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(36), - }, - End: ast.Location{ - Line: int(572), - Column: int(44), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "prec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6181, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(29), - }, - End: ast.Location{ - Line: int(572), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "zero_pad", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6181, - FreeVars: ast.Identifiers{ - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(18), - }, - End: ast.Location{ - Line: int(572), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6181, - FreeVars: ast.Identifiers{ - "prec", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(18), - }, - End: ast.Location{ - Line: int(572), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6181, - FreeVars: ast.Identifiers{ - "dot_size", - "prec", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(18), - }, - End: ast.Location{ - Line: int(572), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - EqFodder: ast.Fodder{}, - Variable: "zp", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(13), - }, - End: ast.Location{ - Line: int(572), - Column: int(44), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "render_int", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6194, - FreeVars: ast.Identifiers{ - "render_int", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(19), - }, - End: ast.Location{ - Line: int(573), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(36), - }, - End: ast.Location{ - Line: int(573), - Column: int(37), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n__", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(30), - }, - End: ast.Location{ - Line: int(573), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(30), - }, - End: ast.Location{ - Line: int(573), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "whole", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{ - "whole", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(39), - }, - End: ast.Location{ - Line: int(573), - Column: int(44), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(46), - }, - End: ast.Location{ - Line: int(573), - Column: int(48), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(50), - }, - End: ast.Location{ - Line: int(573), - Column: int(51), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "blank", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{ - "blank", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(53), - }, - End: ast.Location{ - Line: int(573), - Column: int(58), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "plus", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{ - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(60), - }, - End: ast.Location{ - Line: int(573), - Column: int(64), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(66), - }, - End: ast.Location{ - Line: int(573), - Column: int(68), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6199, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(70), - }, - End: ast.Location{ - Line: int(573), - Column: int(72), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6194, - FreeVars: ast.Identifiers{ - "blank", - "n__", - "plus", - "render_int", - "whole", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(19), - }, - End: ast.Location{ - Line: int(573), - Column: int(73), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "str", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(13), - }, - End: ast.Location{ - Line: int(573), - Column: int(73), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(18), - }, - End: ast.Location{ - Line: int(574), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "prec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(10), - }, - End: ast.Location{ - Line: int(574), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(10), - }, - End: ast.Location{ - Line: int(574), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Var{ - Id: "ensure_pt", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(18), - }, - End: ast.Location{ - Line: int(575), - Column: int(27), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: ".", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(33), - }, - End: ast.Location{ - Line: int(575), - Column: int(36), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(42), - }, - End: ast.Location{ - Line: int(575), - Column: int(44), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(15), - }, - End: ast.Location{ - Line: int(575), - Column: int(44), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(9), - }, - End: ast.Location{ - Line: int(575), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "ensure_pt", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(575), - Column: int(9), - }, - End: ast.Location{ - Line: int(575), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(31), - }, - End: ast.Location{ - Line: int(577), - Column: int(32), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "frac", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "frac", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(24), - }, - End: ast.Location{ - Line: int(577), - Column: int(28), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "frac", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(24), - }, - End: ast.Location{ - Line: int(577), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Left: &ast.Var{ - Id: "trailing", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(12), - }, - End: ast.Location{ - Line: int(577), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "frac", - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(12), - }, - End: ast.Location{ - Line: int(577), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "render_int", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6247, - FreeVars: ast.Identifiers{ - "render_int", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(28), - }, - End: ast.Location{ - Line: int(578), - Column: int(38), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6251, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(39), - }, - End: ast.Location{ - Line: int(578), - Column: int(44), - }, - }, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "frac", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6251, - FreeVars: ast.Identifiers{ - "frac", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(46), - }, - End: ast.Location{ - Line: int(578), - Column: int(50), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "prec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6251, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(52), - }, - End: ast.Location{ - Line: int(578), - Column: int(56), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6251, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(58), - }, - End: ast.Location{ - Line: int(578), - Column: int(59), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6251, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(61), - }, - End: ast.Location{ - Line: int(578), - Column: int(66), - }, - }, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6251, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(68), - }, - End: ast.Location{ - Line: int(578), - Column: int(73), - }, - }, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6251, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(75), - }, - End: ast.Location{ - Line: int(578), - Column: int(77), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6251, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(79), - }, - End: ast.Location{ - Line: int(578), - Column: int(81), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6247, - FreeVars: ast.Identifiers{ - "frac", - "prec", - "render_int", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(28), - }, - End: ast.Location{ - Line: int(578), - Column: int(82), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "frac_str", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(17), - }, - End: ast.Location{ - Line: int(578), - Column: int(82), - }, - }, - }, - }, - Body: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Var{ - Id: "trailing", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(27), - }, - End: ast.Location{ - Line: int(579), - Column: int(35), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(26), - }, - End: ast.Location{ - Line: int(579), - Column: int(35), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "strip_trailing_zero", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "strip_trailing_zero", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(41), - }, - End: ast.Location{ - Line: int(579), - Column: int(60), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "frac_str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6273, - FreeVars: ast.Identifiers{ - "frac_str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(61), - }, - End: ast.Location{ - Line: int(579), - Column: int(69), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "frac_str", - "strip_trailing_zero", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(41), - }, - End: ast.Location{ - Line: int(579), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - Id: "frac_str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "frac_str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(76), - }, - End: ast.Location{ - Line: int(579), - Column: int(84), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "frac_str", - "strip_trailing_zero", - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(23), - }, - End: ast.Location{ - Line: int(579), - Column: int(84), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ".", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(17), - }, - End: ast.Location{ - Line: int(579), - Column: int(20), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(11), - }, - End: ast.Location{ - Line: int(579), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(11), - }, - End: ast.Location{ - Line: int(579), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "frac_str", - "str", - "strip_trailing_zero", - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(579), - Column: int(11), - }, - End: ast.Location{ - Line: int(579), - Column: int(84), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "frac", - "prec", - "render_int", - "str", - "strip_trailing_zero", - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(578), - Column: int(11), - }, - End: ast.Location{ - Line: int(579), - Column: int(84), - }, - }, - }, - }, - BranchFalse: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(581), - Column: int(11), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "frac", - "prec", - "render_int", - "str", - "strip_trailing_zero", - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(577), - Column: int(9), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "ensure_pt", - "frac", - "prec", - "render_int", - "str", - "strip_trailing_zero", - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(574), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "frac", - "n__", - "plus", - "prec", - "render_int", - "strip_trailing_zero", - "trailing", - "whole", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(573), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "blank", - "dot_size", - "ensure_pt", - "frac", - "n__", - "plus", - "prec", - "render_int", - "strip_trailing_zero", - "trailing", - "whole", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(572), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "frac", - "n__", - "plus", - "prec", - "render_int", - "strip_trailing_zero", - "trailing", - "whole", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(571), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "denominator", - "ensure_pt", - "n__", - "numerator", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "whole", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(570), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "denominator", - "ensure_pt", - "n_", - "n__", - "numerator", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(569), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "denominator", - "ensure_pt", - "n_", - "n__", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(568), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// Represent the rounded number as an integer * 1/10**prec.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// Note that it can also be equal to 10**prec and we'll need to carry", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// over to the wholes. We operate on the absolute numbers, so that we", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// don't have trouble with the rounding direction.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "ensure_pt", - "n_", - "n__", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(567), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "ensure_pt", - "n_", - "n__", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(562), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6218, - FreeVars: ast.Identifiers{ - "$std", - "blank", - "ensure_pt", - "n__", - "plus", - "prec", - "render_int", - "std", - "strip_trailing_zero", - "trailing", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(561), - Column: int(7), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n__", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(28), - }, - End: ast.Location{ - Line: int(560), - Column: int(31), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "zero_pad", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(33), - }, - End: ast.Location{ - Line: int(560), - Column: int(41), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "blank", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(43), - }, - End: ast.Location{ - Line: int(560), - Column: int(48), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "plus", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(50), - }, - End: ast.Location{ - Line: int(560), - Column: int(54), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ensure_pt", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(56), - }, - End: ast.Location{ - Line: int(560), - Column: int(65), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "trailing", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(67), - }, - End: ast.Location{ - Line: int(560), - Column: int(75), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "prec", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(77), - }, - End: ast.Location{ - Line: int(560), - Column: int(81), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p6320, - FreeVars: ast.Identifiers{ - "$std", - "render_int", - "std", - "strip_trailing_zero", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(11), - }, - End: ast.Location{ - Line: int(581), - Column: int(14), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "render_float_dec", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6330, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(34), - }, - End: ast.Location{ - Line: int(585), - Column: int(35), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n__", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6330, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(27), - }, - End: ast.Location{ - Line: int(585), - Column: int(30), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6330, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(27), - }, - End: ast.Location{ - Line: int(585), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6330, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(41), - }, - End: ast.Location{ - Line: int(585), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(48), - }, - End: ast.Location{ - Line: int(585), - Column: int(51), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6330, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(48), - }, - End: ast.Location{ - Line: int(585), - Column: int(57), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(82), - }, - End: ast.Location{ - Line: int(585), - Column: int(85), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "log", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6348, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(82), - }, - End: ast.Location{ - Line: int(585), - Column: int(89), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6352, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(90), - }, - End: ast.Location{ - Line: int(585), - Column: int(92), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6348, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(82), - }, - End: ast.Location{ - Line: int(585), - Column: int(93), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(58), - }, - End: ast.Location{ - Line: int(585), - Column: int(61), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "log", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6348, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(58), - }, - End: ast.Location{ - Line: int(585), - Column: int(65), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(66), - }, - End: ast.Location{ - Line: int(585), - Column: int(69), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "abs", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6366, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(66), - }, - End: ast.Location{ - Line: int(585), - Column: int(73), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n__", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6370, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(74), - }, - End: ast.Location{ - Line: int(585), - Column: int(77), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6366, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(66), - }, - End: ast.Location{ - Line: int(585), - Column: int(78), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6348, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(58), - }, - End: ast.Location{ - Line: int(585), - Column: int(79), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6348, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(58), - }, - End: ast.Location{ - Line: int(585), - Column: int(93), - }, - }, - }, - Op: ast.BinaryOp(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6330, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(48), - }, - End: ast.Location{ - Line: int(585), - Column: int(94), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6330, - FreeVars: ast.Identifiers{ - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(24), - }, - End: ast.Location{ - Line: int(585), - Column: int(94), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "exponent", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(13), - }, - End: ast.Location{ - Line: int(585), - Column: int(94), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "render_int", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6382, - FreeVars: ast.Identifiers{ - "render_int", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(22), - }, - End: ast.Location{ - Line: int(587), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(44), - }, - End: ast.Location{ - Line: int(587), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "exponent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(33), - }, - End: ast.Location{ - Line: int(587), - Column: int(41), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(33), - }, - End: ast.Location{ - Line: int(587), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(47), - }, - End: ast.Location{ - Line: int(587), - Column: int(50), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "abs", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(47), - }, - End: ast.Location{ - Line: int(587), - Column: int(54), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "exponent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6399, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(55), - }, - End: ast.Location{ - Line: int(587), - Column: int(63), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(47), - }, - End: ast.Location{ - Line: int(587), - Column: int(64), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(66), - }, - End: ast.Location{ - Line: int(587), - Column: int(67), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(69), - }, - End: ast.Location{ - Line: int(587), - Column: int(70), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(72), - }, - End: ast.Location{ - Line: int(587), - Column: int(77), - }, - }, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(79), - }, - End: ast.Location{ - Line: int(587), - Column: int(83), - }, - }, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(85), - }, - End: ast.Location{ - Line: int(587), - Column: int(87), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6387, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(89), - }, - End: ast.Location{ - Line: int(587), - Column: int(91), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6382, - FreeVars: ast.Identifiers{ - "exponent", - "render_int", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(587), - Column: int(22), - }, - End: ast.Location{ - Line: int(587), - Column: int(92), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Conditional{ - Cond: &ast.Var{ - Id: "caps", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6382, - FreeVars: ast.Identifiers{ - "caps", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(24), - }, - End: ast.Location{ - Line: int(586), - Column: int(28), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "E", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6382, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(34), - }, - End: ast.Location{ - Line: int(586), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "e", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6382, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(43), - }, - End: ast.Location{ - Line: int(586), - Column: int(46), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6382, - FreeVars: ast.Identifiers{ - "caps", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(21), - }, - End: ast.Location{ - Line: int(586), - Column: int(46), - }, - }, - }, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(19), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6382, - FreeVars: ast.Identifiers{ - "caps", - "exponent", - "render_int", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(20), - }, - End: ast.Location{ - Line: int(587), - Column: int(92), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "suff", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(13), - }, - End: ast.Location{ - Line: int(587), - Column: int(92), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "324", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(40), - }, - End: ast.Location{ - Line: int(588), - Column: int(43), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(39), - }, - End: ast.Location{ - Line: int(588), - Column: int(43), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - Left: &ast.Var{ - Id: "exponent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(27), - }, - End: ast.Location{ - Line: int(588), - Column: int(35), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(27), - }, - End: ast.Location{ - Line: int(588), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(20), - }, - End: ast.Location{ - Line: int(591), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "pow", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(20), - }, - End: ast.Location{ - Line: int(591), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6436, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(28), - }, - End: ast.Location{ - Line: int(591), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6436, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(43), - }, - End: ast.Location{ - Line: int(591), - Column: int(44), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "exponent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6436, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(32), - }, - End: ast.Location{ - Line: int(591), - Column: int(40), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6436, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(32), - }, - End: ast.Location{ - Line: int(591), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(20), - }, - End: ast.Location{ - Line: int(591), - Column: int(45), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(15), - }, - End: ast.Location{ - Line: int(591), - Column: int(17), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n__", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - ast.FodderElement{ - Comment: []string{ - "// Avoid a rounding error where std.pow(10, -324) is 0", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(8), - }, - ast.FodderElement{ - Comment: []string{ - "// -324 is the smallest exponent possible.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(9), - }, - End: ast.Location{ - Line: int(591), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(9), - }, - End: ast.Location{ - Line: int(591), - Column: int(17), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "exponent", - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(591), - Column: int(9), - }, - End: ast.Location{ - Line: int(591), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(1), - }, - BranchFalse: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(15), - }, - End: ast.Location{ - Line: int(593), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "pow", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(15), - }, - End: ast.Location{ - Line: int(593), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6461, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(23), - }, - End: ast.Location{ - Line: int(593), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "exponent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6461, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(27), - }, - End: ast.Location{ - Line: int(593), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(15), - }, - End: ast.Location{ - Line: int(593), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "n__", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "n__", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(9), - }, - End: ast.Location{ - Line: int(593), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "exponent", - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(593), - Column: int(9), - }, - End: ast.Location{ - Line: int(593), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6423, - FreeVars: ast.Identifiers{ - "exponent", - "n__", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(24), - }, - End: ast.Location{ - Line: int(593), - Column: int(36), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "mantissa", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(13), - }, - End: ast.Location{ - Line: int(593), - Column: int(36), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(30), - }, - End: ast.Location{ - Line: int(594), - Column: int(33), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6479, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(30), - }, - End: ast.Location{ - Line: int(594), - Column: int(40), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "suff", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6483, - FreeVars: ast.Identifiers{ - "suff", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(41), - }, - End: ast.Location{ - Line: int(594), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6479, - FreeVars: ast.Identifiers{ - "std", - "suff", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(30), - }, - End: ast.Location{ - Line: int(594), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "zero_pad", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6479, - FreeVars: ast.Identifiers{ - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(19), - }, - End: ast.Location{ - Line: int(594), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6479, - FreeVars: ast.Identifiers{ - "std", - "suff", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(19), - }, - End: ast.Location{ - Line: int(594), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - EqFodder: ast.Fodder{}, - Variable: "zp2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(13), - }, - End: ast.Location{ - Line: int(594), - Column: int(46), - }, - }, - }, - }, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "suff", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6491, - FreeVars: ast.Identifiers{ - "suff", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(81), - }, - End: ast.Location{ - Line: int(595), - Column: int(85), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "render_float_dec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6491, - FreeVars: ast.Identifiers{ - "render_float_dec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(7), - }, - End: ast.Location{ - Line: int(595), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "mantissa", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6499, - FreeVars: ast.Identifiers{ - "mantissa", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(24), - }, - End: ast.Location{ - Line: int(595), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6499, - FreeVars: ast.Identifiers{ - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(34), - }, - End: ast.Location{ - Line: int(595), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "blank", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6499, - FreeVars: ast.Identifiers{ - "blank", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(39), - }, - End: ast.Location{ - Line: int(595), - Column: int(44), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "plus", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6499, - FreeVars: ast.Identifiers{ - "plus", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(46), - }, - End: ast.Location{ - Line: int(595), - Column: int(50), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ensure_pt", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6499, - FreeVars: ast.Identifiers{ - "ensure_pt", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(52), - }, - End: ast.Location{ - Line: int(595), - Column: int(61), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "trailing", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6499, - FreeVars: ast.Identifiers{ - "trailing", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(63), - }, - End: ast.Location{ - Line: int(595), - Column: int(71), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "prec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6499, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(73), - }, - End: ast.Location{ - Line: int(595), - Column: int(77), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6491, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "mantissa", - "plus", - "prec", - "render_float_dec", - "trailing", - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(7), - }, - End: ast.Location{ - Line: int(595), - Column: int(78), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6491, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "mantissa", - "plus", - "prec", - "render_float_dec", - "suff", - "trailing", - "zp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(595), - Column: int(7), - }, - End: ast.Location{ - Line: int(595), - Column: int(85), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6491, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "mantissa", - "plus", - "prec", - "render_float_dec", - "std", - "suff", - "trailing", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(594), - Column: int(7), - }, - End: ast.Location{ - Line: int(595), - Column: int(85), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6491, - FreeVars: ast.Identifiers{ - "blank", - "ensure_pt", - "exponent", - "n__", - "plus", - "prec", - "render_float_dec", - "std", - "suff", - "trailing", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(588), - Column: int(7), - }, - End: ast.Location{ - Line: int(595), - Column: int(85), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6491, - FreeVars: ast.Identifiers{ - "blank", - "caps", - "ensure_pt", - "exponent", - "n__", - "plus", - "prec", - "render_float_dec", - "render_int", - "std", - "trailing", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(586), - Column: int(7), - }, - End: ast.Location{ - Line: int(595), - Column: int(85), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6491, - FreeVars: ast.Identifiers{ - "blank", - "caps", - "ensure_pt", - "n__", - "plus", - "prec", - "render_float_dec", - "render_int", - "std", - "trailing", - "zero_pad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(585), - Column: int(7), - }, - End: ast.Location{ - Line: int(595), - Column: int(85), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n__", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(28), - }, - End: ast.Location{ - Line: int(584), - Column: int(31), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "zero_pad", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(33), - }, - End: ast.Location{ - Line: int(584), - Column: int(41), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "blank", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(43), - }, - End: ast.Location{ - Line: int(584), - Column: int(48), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "plus", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(50), - }, - End: ast.Location{ - Line: int(584), - Column: int(54), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ensure_pt", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(56), - }, - End: ast.Location{ - Line: int(584), - Column: int(65), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "trailing", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(67), - }, - End: ast.Location{ - Line: int(584), - Column: int(75), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "caps", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(77), - }, - End: ast.Location{ - Line: int(584), - Column: int(81), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "prec", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(83), - }, - End: ast.Location{ - Line: int(584), - Column: int(87), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p6524, - FreeVars: ast.Identifiers{ - "render_float_dec", - "render_int", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(11), - }, - End: ast.Location{ - Line: int(595), - Column: int(85), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "render_float_sci", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(22), - }, - End: ast.Location{ - Line: int(599), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "cflags", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6535, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(22), - }, - End: ast.Location{ - Line: int(599), - Column: int(33), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "cflags", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(13), - }, - End: ast.Location{ - Line: int(599), - Column: int(33), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6542, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(41), - }, - End: ast.Location{ - Line: int(600), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "prec_or_null", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6542, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(25), - }, - End: ast.Location{ - Line: int(600), - Column: int(37), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6542, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(25), - }, - End: ast.Location{ - Line: int(600), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Var{ - Id: "prec_or_null", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6542, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(51), - }, - End: ast.Location{ - Line: int(600), - Column: int(63), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNumber{ - OriginalString: "6", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6542, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(69), - }, - End: ast.Location{ - Line: int(600), - Column: int(70), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6542, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(22), - }, - End: ast.Location{ - Line: int(600), - Column: int(70), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "fpprec", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(13), - }, - End: ast.Location{ - Line: int(600), - Column: int(70), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6555, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(40), - }, - End: ast.Location{ - Line: int(601), - Column: int(44), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "prec_or_null", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6555, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(24), - }, - End: ast.Location{ - Line: int(601), - Column: int(36), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6555, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(24), - }, - End: ast.Location{ - Line: int(601), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Var{ - Id: "prec_or_null", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6555, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(50), - }, - End: ast.Location{ - Line: int(601), - Column: int(62), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6555, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(68), - }, - End: ast.Location{ - Line: int(601), - Column: int(69), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6555, - FreeVars: ast.Identifiers{ - "prec_or_null", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(21), - }, - End: ast.Location{ - Line: int(601), - Column: int(69), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "iprec", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(13), - }, - End: ast.Location{ - Line: int(601), - Column: int(69), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(37), - }, - End: ast.Location{ - Line: int(602), - Column: int(43), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "left", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6572, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(37), - }, - End: ast.Location{ - Line: int(602), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6572, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(36), - }, - End: ast.Location{ - Line: int(602), - Column: int(48), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(21), - }, - End: ast.Location{ - Line: int(602), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "zero", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6572, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(21), - }, - End: ast.Location{ - Line: int(602), - Column: int(32), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6572, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(21), - }, - End: ast.Location{ - Line: int(602), - Column: int(48), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Var{ - Id: "fw", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6572, - FreeVars: ast.Identifiers{ - "fw", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(54), - }, - End: ast.Location{ - Line: int(602), - Column: int(56), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6572, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(62), - }, - End: ast.Location{ - Line: int(602), - Column: int(63), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6572, - FreeVars: ast.Identifiers{ - "cflags", - "fw", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(18), - }, - End: ast.Location{ - Line: int(602), - Column: int(63), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "zp", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(13), - }, - End: ast.Location{ - Line: int(602), - Column: int(63), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(603), - Column: int(24), - }, - End: ast.Location{ - Line: int(603), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(603), - Column: int(10), - }, - End: ast.Location{ - Line: int(603), - Column: int(14), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(603), - Column: int(10), - }, - End: ast.Location{ - Line: int(603), - Column: int(20), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(603), - Column: int(10), - }, - End: ast.Location{ - Line: int(603), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(9), - }, - End: ast.Location{ - Line: int(604), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "toString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(9), - }, - End: ast.Location{ - Line: int(604), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6604, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(22), - }, - End: ast.Location{ - Line: int(604), - Column: int(25), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(604), - Column: int(9), - }, - End: ast.Location{ - Line: int(604), - Column: int(26), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "d", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(29), - }, - End: ast.Location{ - Line: int(605), - Column: int(32), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(15), - }, - End: ast.Location{ - Line: int(605), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(15), - }, - End: ast.Location{ - Line: int(605), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(15), - }, - End: ast.Location{ - Line: int(605), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "number", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(29), - }, - End: ast.Location{ - Line: int(606), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(12), - }, - End: ast.Location{ - Line: int(606), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(12), - }, - End: ast.Location{ - Line: int(606), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6627, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(21), - }, - End: ast.Location{ - Line: int(606), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(12), - }, - End: ast.Location{ - Line: int(606), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(12), - }, - End: ast.Location{ - Line: int(606), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(34), - }, - End: ast.Location{ - Line: int(608), - Column: int(37), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(34), - }, - End: ast.Location{ - Line: int(608), - Column: int(42), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6641, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(43), - }, - End: ast.Location{ - Line: int(608), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(34), - }, - End: ast.Location{ - Line: int(608), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(23), - }, - End: ast.Location{ - Line: int(608), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(608), - Column: int(19), - }, - End: ast.Location{ - Line: int(608), - Column: int(20), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Format required number at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(17), - }, - End: ast.Location{ - Line: int(607), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(17), - }, - End: ast.Location{ - Line: int(608), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(17), - }, - End: ast.Location{ - Line: int(608), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(17), - }, - End: ast.Location{ - Line: int(608), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(607), - Column: int(11), - }, - End: ast.Location{ - Line: int(608), - Column: int(47), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "render_int", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "render_int", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(11), - }, - End: ast.Location{ - Line: int(610), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(30), - }, - End: ast.Location{ - Line: int(610), - Column: int(31), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(29), - }, - End: ast.Location{ - Line: int(610), - Column: int(31), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - Left: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(22), - }, - End: ast.Location{ - Line: int(610), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(22), - }, - End: ast.Location{ - Line: int(610), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(10), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(33), - }, - End: ast.Location{ - Line: int(610), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(33), - }, - End: ast.Location{ - Line: int(610), - Column: int(42), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(43), - }, - End: ast.Location{ - Line: int(610), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "abs", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6680, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(43), - }, - End: ast.Location{ - Line: int(610), - Column: int(50), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6684, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(51), - }, - End: ast.Location{ - Line: int(610), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6680, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(43), - }, - End: ast.Location{ - Line: int(610), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(33), - }, - End: ast.Location{ - Line: int(610), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(58), - }, - End: ast.Location{ - Line: int(610), - Column: int(60), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "iprec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{ - "iprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(62), - }, - End: ast.Location{ - Line: int(610), - Column: int(67), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(69), - }, - End: ast.Location{ - Line: int(610), - Column: int(75), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "blank", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(69), - }, - End: ast.Location{ - Line: int(610), - Column: int(81), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(83), - }, - End: ast.Location{ - Line: int(610), - Column: int(89), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "plus", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(83), - }, - End: ast.Location{ - Line: int(610), - Column: int(94), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(96), - }, - End: ast.Location{ - Line: int(610), - Column: int(98), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6664, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(100), - }, - End: ast.Location{ - Line: int(610), - Column: int(102), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "iprec", - "render_int", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(610), - Column: int(11), - }, - End: ast.Location{ - Line: int(610), - Column: int(103), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "i", - "iprec", - "render_int", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(606), - Column: int(9), - }, - End: ast.Location{ - Line: int(610), - Column: int(103), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "o", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(29), - }, - End: ast.Location{ - Line: int(611), - Column: int(32), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(15), - }, - End: ast.Location{ - Line: int(611), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(15), - }, - End: ast.Location{ - Line: int(611), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(15), - }, - End: ast.Location{ - Line: int(611), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "number", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(612), - Column: int(29), - }, - End: ast.Location{ - Line: int(612), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(612), - Column: int(12), - }, - End: ast.Location{ - Line: int(612), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(612), - Column: int(12), - }, - End: ast.Location{ - Line: int(612), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6728, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(612), - Column: int(21), - }, - End: ast.Location{ - Line: int(612), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(612), - Column: int(12), - }, - End: ast.Location{ - Line: int(612), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(612), - Column: int(12), - }, - End: ast.Location{ - Line: int(612), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(614), - Column: int(34), - }, - End: ast.Location{ - Line: int(614), - Column: int(37), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(614), - Column: int(34), - }, - End: ast.Location{ - Line: int(614), - Column: int(42), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6742, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(614), - Column: int(43), - }, - End: ast.Location{ - Line: int(614), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(614), - Column: int(34), - }, - End: ast.Location{ - Line: int(614), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(614), - Column: int(23), - }, - End: ast.Location{ - Line: int(614), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(614), - Column: int(19), - }, - End: ast.Location{ - Line: int(614), - Column: int(20), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Format required number at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(613), - Column: int(17), - }, - End: ast.Location{ - Line: int(613), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(613), - Column: int(17), - }, - End: ast.Location{ - Line: int(614), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(613), - Column: int(17), - }, - End: ast.Location{ - Line: int(614), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(613), - Column: int(17), - }, - End: ast.Location{ - Line: int(614), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(613), - Column: int(11), - }, - End: ast.Location{ - Line: int(614), - Column: int(47), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(616), - Column: int(34), - }, - End: ast.Location{ - Line: int(616), - Column: int(40), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6764, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(616), - Column: int(34), - }, - End: ast.Location{ - Line: int(616), - Column: int(44), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6764, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(616), - Column: int(50), - }, - End: ast.Location{ - Line: int(616), - Column: int(53), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6764, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(616), - Column: int(59), - }, - End: ast.Location{ - Line: int(616), - Column: int(61), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6764, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(616), - Column: int(31), - }, - End: ast.Location{ - Line: int(616), - Column: int(61), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "zero_prefix", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(616), - Column: int(17), - }, - End: ast.Location{ - Line: int(616), - Column: int(61), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "render_int", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "render_int", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(11), - }, - End: ast.Location{ - Line: int(617), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(30), - }, - End: ast.Location{ - Line: int(617), - Column: int(31), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(29), - }, - End: ast.Location{ - Line: int(617), - Column: int(31), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - Left: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(22), - }, - End: ast.Location{ - Line: int(617), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(22), - }, - End: ast.Location{ - Line: int(617), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(10), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(33), - }, - End: ast.Location{ - Line: int(617), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(33), - }, - End: ast.Location{ - Line: int(617), - Column: int(42), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(43), - }, - End: ast.Location{ - Line: int(617), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "abs", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6793, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(43), - }, - End: ast.Location{ - Line: int(617), - Column: int(50), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6797, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(51), - }, - End: ast.Location{ - Line: int(617), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6793, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(43), - }, - End: ast.Location{ - Line: int(617), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(33), - }, - End: ast.Location{ - Line: int(617), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(58), - }, - End: ast.Location{ - Line: int(617), - Column: int(60), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "iprec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{ - "iprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(62), - }, - End: ast.Location{ - Line: int(617), - Column: int(67), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(69), - }, - End: ast.Location{ - Line: int(617), - Column: int(75), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "blank", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(69), - }, - End: ast.Location{ - Line: int(617), - Column: int(81), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(83), - }, - End: ast.Location{ - Line: int(617), - Column: int(89), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "plus", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(83), - }, - End: ast.Location{ - Line: int(617), - Column: int(94), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "8", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(96), - }, - End: ast.Location{ - Line: int(617), - Column: int(97), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zero_prefix", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6777, - FreeVars: ast.Identifiers{ - "zero_prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(99), - }, - End: ast.Location{ - Line: int(617), - Column: int(110), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "iprec", - "render_int", - "std", - "val", - "zero_prefix", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(617), - Column: int(11), - }, - End: ast.Location{ - Line: int(617), - Column: int(111), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "iprec", - "render_int", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(616), - Column: int(11), - }, - End: ast.Location{ - Line: int(617), - Column: int(111), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "i", - "iprec", - "render_int", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(612), - Column: int(9), - }, - End: ast.Location{ - Line: int(617), - Column: int(111), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "x", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(29), - }, - End: ast.Location{ - Line: int(618), - Column: int(32), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(15), - }, - End: ast.Location{ - Line: int(618), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(15), - }, - End: ast.Location{ - Line: int(618), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(15), - }, - End: ast.Location{ - Line: int(618), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "number", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(29), - }, - End: ast.Location{ - Line: int(619), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(12), - }, - End: ast.Location{ - Line: int(619), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(12), - }, - End: ast.Location{ - Line: int(619), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6844, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(21), - }, - End: ast.Location{ - Line: int(619), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(12), - }, - End: ast.Location{ - Line: int(619), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(12), - }, - End: ast.Location{ - Line: int(619), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(34), - }, - End: ast.Location{ - Line: int(621), - Column: int(37), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(34), - }, - End: ast.Location{ - Line: int(621), - Column: int(42), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6858, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(43), - }, - End: ast.Location{ - Line: int(621), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(34), - }, - End: ast.Location{ - Line: int(621), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(23), - }, - End: ast.Location{ - Line: int(621), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(621), - Column: int(19), - }, - End: ast.Location{ - Line: int(621), - Column: int(20), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Format required number at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(17), - }, - End: ast.Location{ - Line: int(620), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(17), - }, - End: ast.Location{ - Line: int(621), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(17), - }, - End: ast.Location{ - Line: int(621), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(17), - }, - End: ast.Location{ - Line: int(621), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(620), - Column: int(11), - }, - End: ast.Location{ - Line: int(621), - Column: int(47), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "render_hex", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "render_hex", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(11), - }, - End: ast.Location{ - Line: int(623), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(22), - }, - End: ast.Location{ - Line: int(623), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6883, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(22), - }, - End: ast.Location{ - Line: int(623), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6887, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(32), - }, - End: ast.Location{ - Line: int(623), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6883, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(22), - }, - End: ast.Location{ - Line: int(623), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - }, - }, - Ctx: p6883, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(624), - Column: int(22), - }, - End: ast.Location{ - Line: int(624), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "iprec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - }, - }, - Ctx: p6883, - FreeVars: ast.Identifiers{ - "iprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(625), - Column: int(22), - }, - End: ast.Location{ - Line: int(625), - Column: int(27), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(626), - Column: int(22), - }, - End: ast.Location{ - Line: int(626), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "blank", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6883, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(626), - Column: int(22), - }, - End: ast.Location{ - Line: int(626), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(627), - Column: int(22), - }, - End: ast.Location{ - Line: int(627), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "plus", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6883, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(627), - Column: int(22), - }, - End: ast.Location{ - Line: int(627), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(628), - Column: int(22), - }, - End: ast.Location{ - Line: int(628), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6883, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(628), - Column: int(22), - }, - End: ast.Location{ - Line: int(628), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(21), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(629), - Column: int(22), - }, - End: ast.Location{ - Line: int(629), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6883, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(629), - Column: int(22), - }, - End: ast.Location{ - Line: int(629), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "iprec", - "render_hex", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(623), - Column: int(11), - }, - End: ast.Location{ - Line: int(629), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "i", - "iprec", - "render_hex", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(619), - Column: int(9), - }, - End: ast.Location{ - Line: int(629), - Column: int(32), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "f", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(29), - }, - End: ast.Location{ - Line: int(630), - Column: int(32), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(15), - }, - End: ast.Location{ - Line: int(630), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(15), - }, - End: ast.Location{ - Line: int(630), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(15), - }, - End: ast.Location{ - Line: int(630), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "number", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(29), - }, - End: ast.Location{ - Line: int(631), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(12), - }, - End: ast.Location{ - Line: int(631), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(12), - }, - End: ast.Location{ - Line: int(631), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6944, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(21), - }, - End: ast.Location{ - Line: int(631), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(12), - }, - End: ast.Location{ - Line: int(631), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(12), - }, - End: ast.Location{ - Line: int(631), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(34), - }, - End: ast.Location{ - Line: int(633), - Column: int(37), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(34), - }, - End: ast.Location{ - Line: int(633), - Column: int(42), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6958, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(43), - }, - End: ast.Location{ - Line: int(633), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(34), - }, - End: ast.Location{ - Line: int(633), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(23), - }, - End: ast.Location{ - Line: int(633), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(633), - Column: int(19), - }, - End: ast.Location{ - Line: int(633), - Column: int(20), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Format required number at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(17), - }, - End: ast.Location{ - Line: int(632), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(17), - }, - End: ast.Location{ - Line: int(633), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(17), - }, - End: ast.Location{ - Line: int(633), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(17), - }, - End: ast.Location{ - Line: int(633), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(632), - Column: int(11), - }, - End: ast.Location{ - Line: int(633), - Column: int(47), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "render_float_dec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "render_float_dec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(635), - Column: int(11), - }, - End: ast.Location{ - Line: int(635), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6979, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(635), - Column: int(28), - }, - End: ast.Location{ - Line: int(635), - Column: int(31), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: p6979, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(636), - Column: int(28), - }, - End: ast.Location{ - Line: int(636), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(637), - Column: int(28), - }, - End: ast.Location{ - Line: int(637), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "blank", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6979, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(637), - Column: int(28), - }, - End: ast.Location{ - Line: int(637), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(638), - Column: int(28), - }, - End: ast.Location{ - Line: int(638), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "plus", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6979, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(638), - Column: int(28), - }, - End: ast.Location{ - Line: int(638), - Column: int(39), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(639), - Column: int(28), - }, - End: ast.Location{ - Line: int(639), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6979, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(639), - Column: int(28), - }, - End: ast.Location{ - Line: int(639), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: p6979, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(640), - Column: int(28), - }, - End: ast.Location{ - Line: int(640), - Column: int(32), - }, - }, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "fpprec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: p6979, - FreeVars: ast.Identifiers{ - "fpprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(641), - Column: int(28), - }, - End: ast.Location{ - Line: int(641), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "fpprec", - "render_float_dec", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(635), - Column: int(11), - }, - End: ast.Location{ - Line: int(641), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "fpprec", - "i", - "render_float_dec", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(631), - Column: int(9), - }, - End: ast.Location{ - Line: int(641), - Column: int(35), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "e", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(642), - Column: int(29), - }, - End: ast.Location{ - Line: int(642), - Column: int(32), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(642), - Column: int(15), - }, - End: ast.Location{ - Line: int(642), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(642), - Column: int(15), - }, - End: ast.Location{ - Line: int(642), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(642), - Column: int(15), - }, - End: ast.Location{ - Line: int(642), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "number", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(29), - }, - End: ast.Location{ - Line: int(643), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(12), - }, - End: ast.Location{ - Line: int(643), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(12), - }, - End: ast.Location{ - Line: int(643), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7031, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(21), - }, - End: ast.Location{ - Line: int(643), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(12), - }, - End: ast.Location{ - Line: int(643), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(12), - }, - End: ast.Location{ - Line: int(643), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(34), - }, - End: ast.Location{ - Line: int(645), - Column: int(37), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(34), - }, - End: ast.Location{ - Line: int(645), - Column: int(42), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7045, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(43), - }, - End: ast.Location{ - Line: int(645), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(34), - }, - End: ast.Location{ - Line: int(645), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(23), - }, - End: ast.Location{ - Line: int(645), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(645), - Column: int(19), - }, - End: ast.Location{ - Line: int(645), - Column: int(20), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Format required number at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(17), - }, - End: ast.Location{ - Line: int(644), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(17), - }, - End: ast.Location{ - Line: int(645), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(17), - }, - End: ast.Location{ - Line: int(645), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(17), - }, - End: ast.Location{ - Line: int(645), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(644), - Column: int(11), - }, - End: ast.Location{ - Line: int(645), - Column: int(47), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "render_float_sci", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "render_float_sci", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(647), - Column: int(11), - }, - End: ast.Location{ - Line: int(647), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7066, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(647), - Column: int(28), - }, - End: ast.Location{ - Line: int(647), - Column: int(31), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: p7066, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(648), - Column: int(28), - }, - End: ast.Location{ - Line: int(648), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(28), - }, - End: ast.Location{ - Line: int(649), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "blank", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7066, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(649), - Column: int(28), - }, - End: ast.Location{ - Line: int(649), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(650), - Column: int(28), - }, - End: ast.Location{ - Line: int(650), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "plus", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7066, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(650), - Column: int(28), - }, - End: ast.Location{ - Line: int(650), - Column: int(39), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(651), - Column: int(28), - }, - End: ast.Location{ - Line: int(651), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7066, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(651), - Column: int(28), - }, - End: ast.Location{ - Line: int(651), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: p7066, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(652), - Column: int(28), - }, - End: ast.Location{ - Line: int(652), - Column: int(32), - }, - }, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(653), - Column: int(28), - }, - End: ast.Location{ - Line: int(653), - Column: int(32), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7066, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(653), - Column: int(28), - }, - End: ast.Location{ - Line: int(653), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "fpprec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(27), - }, - }, - Ctx: p7066, - FreeVars: ast.Identifiers{ - "fpprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(654), - Column: int(28), - }, - End: ast.Location{ - Line: int(654), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "render_float_sci", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(647), - Column: int(11), - }, - End: ast.Location{ - Line: int(654), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_sci", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(643), - Column: int(9), - }, - End: ast.Location{ - Line: int(654), - Column: int(35), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "g", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(655), - Column: int(29), - }, - End: ast.Location{ - Line: int(655), - Column: int(32), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(655), - Column: int(15), - }, - End: ast.Location{ - Line: int(655), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(655), - Column: int(15), - }, - End: ast.Location{ - Line: int(655), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(655), - Column: int(15), - }, - End: ast.Location{ - Line: int(655), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "number", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(29), - }, - End: ast.Location{ - Line: int(656), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(12), - }, - End: ast.Location{ - Line: int(656), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(12), - }, - End: ast.Location{ - Line: int(656), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7124, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(21), - }, - End: ast.Location{ - Line: int(656), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(12), - }, - End: ast.Location{ - Line: int(656), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(12), - }, - End: ast.Location{ - Line: int(656), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(658), - Column: int(34), - }, - End: ast.Location{ - Line: int(658), - Column: int(37), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(658), - Column: int(34), - }, - End: ast.Location{ - Line: int(658), - Column: int(42), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7138, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(658), - Column: int(43), - }, - End: ast.Location{ - Line: int(658), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(658), - Column: int(34), - }, - End: ast.Location{ - Line: int(658), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(658), - Column: int(23), - }, - End: ast.Location{ - Line: int(658), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(658), - Column: int(19), - }, - End: ast.Location{ - Line: int(658), - Column: int(20), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Format required number at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(657), - Column: int(17), - }, - End: ast.Location{ - Line: int(657), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(16), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(657), - Column: int(17), - }, - End: ast.Location{ - Line: int(658), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(657), - Column: int(17), - }, - End: ast.Location{ - Line: int(658), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(657), - Column: int(17), - }, - End: ast.Location{ - Line: int(658), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "i", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(657), - Column: int(11), - }, - End: ast.Location{ - Line: int(658), - Column: int(47), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(28), - }, - End: ast.Location{ - Line: int(660), - Column: int(31), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7160, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(28), - }, - End: ast.Location{ - Line: int(660), - Column: int(37), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(62), - }, - End: ast.Location{ - Line: int(660), - Column: int(65), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "log", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7169, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(62), - }, - End: ast.Location{ - Line: int(660), - Column: int(69), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7173, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(70), - }, - End: ast.Location{ - Line: int(660), - Column: int(72), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7169, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(62), - }, - End: ast.Location{ - Line: int(660), - Column: int(73), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(38), - }, - End: ast.Location{ - Line: int(660), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "log", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7169, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(38), - }, - End: ast.Location{ - Line: int(660), - Column: int(45), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(46), - }, - End: ast.Location{ - Line: int(660), - Column: int(49), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "abs", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7187, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(46), - }, - End: ast.Location{ - Line: int(660), - Column: int(53), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7191, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(54), - }, - End: ast.Location{ - Line: int(660), - Column: int(57), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7187, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(46), - }, - End: ast.Location{ - Line: int(660), - Column: int(58), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7169, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(38), - }, - End: ast.Location{ - Line: int(660), - Column: int(59), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7169, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(38), - }, - End: ast.Location{ - Line: int(660), - Column: int(73), - }, - }, - }, - Op: ast.BinaryOp(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7160, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(28), - }, - End: ast.Location{ - Line: int(660), - Column: int(74), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "exponent", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(17), - }, - End: ast.Location{ - Line: int(660), - Column: int(74), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Var{ - Id: "fpprec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "fpprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(43), - }, - End: ast.Location{ - Line: int(661), - Column: int(49), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "exponent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(31), - }, - End: ast.Location{ - Line: int(661), - Column: int(39), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "exponent", - "fpprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(31), - }, - End: ast.Location{ - Line: int(661), - Column: int(49), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - Left: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(26), - }, - End: ast.Location{ - Line: int(661), - Column: int(27), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(25), - }, - End: ast.Location{ - Line: int(661), - Column: int(27), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - Left: &ast.Var{ - Id: "exponent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(14), - }, - End: ast.Location{ - Line: int(661), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(14), - }, - End: ast.Location{ - Line: int(661), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "exponent", - "fpprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(14), - }, - End: ast.Location{ - Line: int(661), - Column: int(49), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "render_float_sci", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "render_float_sci", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(662), - Column: int(13), - }, - End: ast.Location{ - Line: int(662), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(662), - Column: int(30), - }, - End: ast.Location{ - Line: int(662), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(663), - Column: int(30), - }, - End: ast.Location{ - Line: int(663), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(664), - Column: int(30), - }, - End: ast.Location{ - Line: int(664), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "blank", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(664), - Column: int(30), - }, - End: ast.Location{ - Line: int(664), - Column: int(42), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(665), - Column: int(30), - }, - End: ast.Location{ - Line: int(665), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "plus", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(665), - Column: int(30), - }, - End: ast.Location{ - Line: int(665), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(666), - Column: int(30), - }, - End: ast.Location{ - Line: int(666), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(666), - Column: int(30), - }, - End: ast.Location{ - Line: int(666), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(667), - Column: int(30), - }, - End: ast.Location{ - Line: int(667), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(667), - Column: int(30), - }, - End: ast.Location{ - Line: int(667), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(30), - }, - End: ast.Location{ - Line: int(668), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "caps", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(668), - Column: int(30), - }, - End: ast.Location{ - Line: int(668), - Column: int(39), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7218, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(669), - Column: int(39), - }, - End: ast.Location{ - Line: int(669), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "fpprec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "fpprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(669), - Column: int(30), - }, - End: ast.Location{ - Line: int(669), - Column: int(36), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7218, - FreeVars: ast.Identifiers{ - "fpprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(669), - Column: int(30), - }, - End: ast.Location{ - Line: int(669), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "render_float_sci", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(662), - Column: int(13), - }, - End: ast.Location{ - Line: int(669), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(38), - }, - End: ast.Location{ - Line: int(671), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "max", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7267, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(38), - }, - End: ast.Location{ - Line: int(671), - Column: int(45), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7271, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(46), - }, - End: ast.Location{ - Line: int(671), - Column: int(47), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7271, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(60), - }, - End: ast.Location{ - Line: int(671), - Column: int(61), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "exponent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7271, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(49), - }, - End: ast.Location{ - Line: int(671), - Column: int(57), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7271, - FreeVars: ast.Identifiers{ - "exponent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(49), - }, - End: ast.Location{ - Line: int(671), - Column: int(61), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7267, - FreeVars: ast.Identifiers{ - "exponent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(38), - }, - End: ast.Location{ - Line: int(671), - Column: int(62), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "digits_before_pt", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(19), - }, - End: ast.Location{ - Line: int(671), - Column: int(62), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "render_float_dec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "render_float_dec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(672), - Column: int(13), - }, - End: ast.Location{ - Line: int(672), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7284, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(672), - Column: int(30), - }, - End: ast.Location{ - Line: int(672), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "zp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: p7284, - FreeVars: ast.Identifiers{ - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(673), - Column: int(30), - }, - End: ast.Location{ - Line: int(673), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(674), - Column: int(30), - }, - End: ast.Location{ - Line: int(674), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "blank", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7284, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(674), - Column: int(30), - }, - End: ast.Location{ - Line: int(674), - Column: int(42), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(675), - Column: int(30), - }, - End: ast.Location{ - Line: int(675), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "plus", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7284, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(675), - Column: int(30), - }, - End: ast.Location{ - Line: int(675), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(676), - Column: int(30), - }, - End: ast.Location{ - Line: int(676), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7284, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(676), - Column: int(30), - }, - End: ast.Location{ - Line: int(676), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "cflags", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(677), - Column: int(30), - }, - End: ast.Location{ - Line: int(677), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "alt", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7284, - FreeVars: ast.Identifiers{ - "cflags", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(677), - Column: int(30), - }, - End: ast.Location{ - Line: int(677), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "digits_before_pt", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7284, - FreeVars: ast.Identifiers{ - "digits_before_pt", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(678), - Column: int(39), - }, - End: ast.Location{ - Line: int(678), - Column: int(55), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "fpprec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(29), - }, - }, - Ctx: p7284, - FreeVars: ast.Identifiers{ - "fpprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(678), - Column: int(30), - }, - End: ast.Location{ - Line: int(678), - Column: int(36), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7284, - FreeVars: ast.Identifiers{ - "digits_before_pt", - "fpprec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(678), - Column: int(30), - }, - End: ast.Location{ - Line: int(678), - Column: int(55), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "digits_before_pt", - "fpprec", - "render_float_dec", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(672), - Column: int(13), - }, - End: ast.Location{ - Line: int(678), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "exponent", - "fpprec", - "render_float_dec", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(671), - Column: int(13), - }, - End: ast.Location{ - Line: int(678), - Column: int(56), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "exponent", - "fpprec", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(661), - Column: int(11), - }, - End: ast.Location{ - Line: int(678), - Column: int(56), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(660), - Column: int(11), - }, - End: ast.Location{ - Line: int(678), - Column: int(56), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(656), - Column: int(9), - }, - End: ast.Location{ - Line: int(678), - Column: int(56), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "c", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(679), - Column: int(29), - }, - End: ast.Location{ - Line: int(679), - Column: int(32), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(679), - Column: int(15), - }, - End: ast.Location{ - Line: int(679), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(679), - Column: int(15), - }, - End: ast.Location{ - Line: int(679), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(679), - Column: int(15), - }, - End: ast.Location{ - Line: int(679), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "number", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(680), - Column: int(29), - }, - End: ast.Location{ - Line: int(680), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(680), - Column: int(12), - }, - End: ast.Location{ - Line: int(680), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(680), - Column: int(12), - }, - End: ast.Location{ - Line: int(680), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7351, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(680), - Column: int(21), - }, - End: ast.Location{ - Line: int(680), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(680), - Column: int(12), - }, - End: ast.Location{ - Line: int(680), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(680), - Column: int(12), - }, - End: ast.Location{ - Line: int(680), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(11), - }, - End: ast.Location{ - Line: int(681), - Column: int(14), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "char", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(11), - }, - End: ast.Location{ - Line: int(681), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7364, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(20), - }, - End: ast.Location{ - Line: int(681), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(681), - Column: int(11), - }, - End: ast.Location{ - Line: int(681), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "string", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(34), - }, - End: ast.Location{ - Line: int(682), - Column: int(42), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(17), - }, - End: ast.Location{ - Line: int(682), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(17), - }, - End: ast.Location{ - Line: int(682), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7378, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(26), - }, - End: ast.Location{ - Line: int(682), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(17), - }, - End: ast.Location{ - Line: int(682), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(17), - }, - End: ast.Location{ - Line: int(682), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(33), - }, - End: ast.Location{ - Line: int(683), - Column: int(34), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(14), - }, - End: ast.Location{ - Line: int(683), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(14), - }, - End: ast.Location{ - Line: int(683), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7393, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(25), - }, - End: ast.Location{ - Line: int(683), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(14), - }, - End: ast.Location{ - Line: int(683), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(14), - }, - End: ast.Location{ - Line: int(683), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(684), - Column: int(13), - }, - End: ast.Location{ - Line: int(684), - Column: int(16), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(686), - Column: int(56), - }, - End: ast.Location{ - Line: int(686), - Column: int(59), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(686), - Column: int(56), - }, - End: ast.Location{ - Line: int(686), - Column: int(66), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7410, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(686), - Column: int(67), - }, - End: ast.Location{ - Line: int(686), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(686), - Column: int(56), - }, - End: ast.Location{ - Line: int(686), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "%c expected 1-sized string got: ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(686), - Column: int(19), - }, - End: ast.Location{ - Line: int(686), - Column: int(53), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(686), - Column: int(19), - }, - End: ast.Location{ - Line: int(686), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(686), - Column: int(13), - }, - End: ast.Location{ - Line: int(686), - Column: int(71), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(683), - Column: int(11), - }, - End: ast.Location{ - Line: int(686), - Column: int(71), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(56), - }, - End: ast.Location{ - Line: int(688), - Column: int(59), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(56), - }, - End: ast.Location{ - Line: int(688), - Column: int(64), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7430, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(65), - }, - End: ast.Location{ - Line: int(688), - Column: int(68), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(56), - }, - End: ast.Location{ - Line: int(688), - Column: int(69), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "%c expected number / string, got: ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(17), - }, - End: ast.Location{ - Line: int(688), - Column: int(53), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(17), - }, - End: ast.Location{ - Line: int(688), - Column: int(69), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(688), - Column: int(11), - }, - End: ast.Location{ - Line: int(688), - Column: int(69), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(682), - Column: int(14), - }, - End: ast.Location{ - Line: int(688), - Column: int(69), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(680), - Column: int(9), - }, - End: ast.Location{ - Line: int(688), - Column: int(69), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(34), - }, - End: ast.Location{ - Line: int(690), - Column: int(38), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(34), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Unknown code: ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(15), - }, - End: ast.Location{ - Line: int(690), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(15), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(690), - Column: int(9), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(679), - Column: int(12), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(655), - Column: int(12), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(642), - Column: int(12), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "render_float_dec", - "render_float_sci", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(630), - Column: int(12), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(618), - Column: int(12), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(611), - Column: int(12), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(605), - Column: int(12), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - "zp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(603), - Column: int(7), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "fw", - "i", - "iprec", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(602), - Column: int(7), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fpprec", - "fw", - "i", - "prec_or_null", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(601), - Column: int(7), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "cflags", - "code", - "fw", - "i", - "prec_or_null", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(600), - Column: int(7), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p6588, - FreeVars: ast.Identifiers{ - "code", - "fw", - "i", - "prec_or_null", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(599), - Column: int(7), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "val", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(23), - }, - End: ast.Location{ - Line: int(598), - Column: int(26), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "code", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(28), - }, - End: ast.Location{ - Line: int(598), - Column: int(32), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "fw", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(34), - }, - End: ast.Location{ - Line: int(598), - Column: int(36), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "prec_or_null", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(38), - }, - End: ast.Location{ - Line: int(598), - Column: int(50), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(52), - }, - End: ast.Location{ - Line: int(598), - Column: int(53), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p7479, - FreeVars: ast.Identifiers{ - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(11), - }, - End: ast.Location{ - Line: int(690), - Column: int(44), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "format_code", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(15), - }, - End: ast.Location{ - Line: int(694), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(15), - }, - End: ast.Location{ - Line: int(694), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7495, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(26), - }, - End: ast.Location{ - Line: int(694), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "codes", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(15), - }, - End: ast.Location{ - Line: int(694), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(10), - }, - End: ast.Location{ - Line: int(694), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "codes", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(10), - }, - End: ast.Location{ - Line: int(694), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(16), - }, - End: ast.Location{ - Line: int(695), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(16), - }, - End: ast.Location{ - Line: int(695), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7511, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(27), - }, - End: ast.Location{ - Line: int(695), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(16), - }, - End: ast.Location{ - Line: int(695), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(12), - }, - End: ast.Location{ - Line: int(695), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(12), - }, - End: ast.Location{ - Line: int(695), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(84), - }, - End: ast.Location{ - Line: int(696), - Column: int(85), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", expected ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(68), - }, - End: ast.Location{ - Line: int(696), - Column: int(81), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(50), - }, - End: ast.Location{ - Line: int(696), - Column: int(53), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(50), - }, - End: ast.Location{ - Line: int(696), - Column: int(60), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7532, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(61), - }, - End: ast.Location{ - Line: int(696), - Column: int(64), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(50), - }, - End: ast.Location{ - Line: int(696), - Column: int(65), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "Too many values to format: ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(18), - }, - End: ast.Location{ - Line: int(696), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(18), - }, - End: ast.Location{ - Line: int(696), - Column: int(65), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(18), - }, - End: ast.Location{ - Line: int(696), - Column: int(81), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(18), - }, - End: ast.Location{ - Line: int(696), - Column: int(85), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(696), - Column: int(11), - }, - End: ast.Location{ - Line: int(696), - Column: int(86), - }, - }, - }, - }, - BranchFalse: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(698), - Column: int(11), - }, - End: ast.Location{ - Line: int(698), - Column: int(12), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(695), - Column: int(9), - }, - End: ast.Location{ - Line: int(698), - Column: int(12), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7551, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(22), - }, - End: ast.Location{ - Line: int(700), - Column: int(27), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7551, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(28), - }, - End: ast.Location{ - Line: int(700), - Column: int(29), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7551, - FreeVars: ast.Identifiers{ - "codes", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(22), - }, - End: ast.Location{ - Line: int(700), - Column: int(30), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "code", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(15), - }, - End: ast.Location{ - Line: int(700), - Column: int(30), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "string", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(701), - Column: int(30), - }, - End: ast.Location{ - Line: int(701), - Column: int(38), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(701), - Column: int(12), - }, - End: ast.Location{ - Line: int(701), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(701), - Column: int(12), - }, - End: ast.Location{ - Line: int(701), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7567, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(701), - Column: int(21), - }, - End: ast.Location{ - Line: int(701), - Column: int(25), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "code", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(701), - Column: int(12), - }, - End: ast.Location{ - Line: int(701), - Column: int(26), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "code", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(701), - Column: int(12), - }, - End: ast.Location{ - Line: int(701), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "format_codes_arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "format_codes_arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(11), - }, - End: ast.Location{ - Line: int(702), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7577, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(28), - }, - End: ast.Location{ - Line: int(702), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7577, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(35), - }, - End: ast.Location{ - Line: int(702), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7577, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(44), - }, - End: ast.Location{ - Line: int(702), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7577, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(40), - }, - End: ast.Location{ - Line: int(702), - Column: int(41), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7577, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(40), - }, - End: ast.Location{ - Line: int(702), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7577, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(47), - }, - End: ast.Location{ - Line: int(702), - Column: int(48), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7577, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(54), - }, - End: ast.Location{ - Line: int(702), - Column: int(58), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7577, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(50), - }, - End: ast.Location{ - Line: int(702), - Column: int(51), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7577, - FreeVars: ast.Identifiers{ - "code", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(50), - }, - End: ast.Location{ - Line: int(702), - Column: int(58), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_codes_arr", - "i", - "j", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(702), - Column: int(11), - }, - End: ast.Location{ - Line: int(702), - Column: int(59), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "*", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7600, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(37), - }, - End: ast.Location{ - Line: int(704), - Column: int(40), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(26), - }, - End: ast.Location{ - Line: int(704), - Column: int(30), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(26), - }, - End: ast.Location{ - Line: int(704), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(26), - }, - End: ast.Location{ - Line: int(704), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(20), - }, - End: ast.Location{ - Line: int(705), - Column: int(21), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(16), - }, - End: ast.Location{ - Line: int(705), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(16), - }, - End: ast.Location{ - Line: int(705), - Column: int(21), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(705), - Column: int(13), - }, - End: ast.Location{ - Line: int(705), - Column: int(21), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(25), - }, - End: ast.Location{ - Line: int(706), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(25), - }, - End: ast.Location{ - Line: int(706), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7627, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(36), - }, - End: ast.Location{ - Line: int(706), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(25), - }, - End: ast.Location{ - Line: int(706), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(20), - }, - End: ast.Location{ - Line: int(706), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(20), - }, - End: ast.Location{ - Line: int(706), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(99), - }, - End: ast.Location{ - Line: int(707), - Column: int(100), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", expected at least ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(74), - }, - End: ast.Location{ - Line: int(707), - Column: int(96), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(56), - }, - End: ast.Location{ - Line: int(707), - Column: int(59), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(56), - }, - End: ast.Location{ - Line: int(707), - Column: int(66), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7648, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(67), - }, - End: ast.Location{ - Line: int(707), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(56), - }, - End: ast.Location{ - Line: int(707), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "Not enough values to format: ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(22), - }, - End: ast.Location{ - Line: int(707), - Column: int(53), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(22), - }, - End: ast.Location{ - Line: int(707), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(22), - }, - End: ast.Location{ - Line: int(707), - Column: int(96), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(22), - }, - End: ast.Location{ - Line: int(707), - Column: int(100), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(707), - Column: int(15), - }, - End: ast.Location{ - Line: int(707), - Column: int(101), - }, - }, - }, - }, - BranchFalse: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(709), - Column: int(15), - }, - End: ast.Location{ - Line: int(709), - Column: int(18), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(709), - Column: int(19), - }, - End: ast.Location{ - Line: int(709), - Column: int(20), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(709), - Column: int(15), - }, - End: ast.Location{ - Line: int(709), - Column: int(21), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7612, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(17), - }, - End: ast.Location{ - Line: int(709), - Column: int(21), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(706), - Column: int(13), - }, - End: ast.Location{ - Line: int(709), - Column: int(21), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "arr", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(46), - }, - End: ast.Location{ - Line: int(710), - Column: int(12), - }, - }, - }, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7671, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(711), - Column: int(16), - }, - End: ast.Location{ - Line: int(711), - Column: int(17), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(711), - Column: int(13), - }, - End: ast.Location{ - Line: int(711), - Column: int(17), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(712), - Column: int(17), - }, - End: ast.Location{ - Line: int(712), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7671, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(712), - Column: int(17), - }, - End: ast.Location{ - Line: int(712), - Column: int(24), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(712), - Column: int(13), - }, - End: ast.Location{ - Line: int(712), - Column: int(24), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "code", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(710), - Column: int(18), - }, - End: ast.Location{ - Line: int(713), - Column: int(12), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7600, - FreeVars: ast.Identifiers{ - "arr", - "code", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(23), - }, - End: ast.Location{ - Line: int(713), - Column: int(12), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "tmp", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(17), - }, - End: ast.Location{ - Line: int(713), - Column: int(12), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "*", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7686, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(40), - }, - End: ast.Location{ - Line: int(714), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(27), - }, - End: ast.Location{ - Line: int(714), - Column: int(31), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "prec", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7686, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(27), - }, - End: ast.Location{ - Line: int(714), - Column: int(36), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7686, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(27), - }, - End: ast.Location{ - Line: int(714), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(24), - }, - End: ast.Location{ - Line: int(715), - Column: int(25), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "tmp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(16), - }, - End: ast.Location{ - Line: int(715), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(16), - }, - End: ast.Location{ - Line: int(715), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(16), - }, - End: ast.Location{ - Line: int(715), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(715), - Column: int(13), - }, - End: ast.Location{ - Line: int(715), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "prec", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(716), - Column: int(31), - }, - End: ast.Location{ - Line: int(716), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(716), - Column: int(31), - }, - End: ast.Location{ - Line: int(716), - Column: int(41), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7716, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(716), - Column: int(42), - }, - End: ast.Location{ - Line: int(716), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(716), - Column: int(31), - }, - End: ast.Location{ - Line: int(716), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "tmp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(716), - Column: int(22), - }, - End: ast.Location{ - Line: int(716), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(716), - Column: int(22), - }, - End: ast.Location{ - Line: int(716), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - "std", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(716), - Column: int(22), - }, - End: ast.Location{ - Line: int(716), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "tmp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(99), - }, - End: ast.Location{ - Line: int(717), - Column: int(102), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(99), - }, - End: ast.Location{ - Line: int(717), - Column: int(104), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", expected at least ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(74), - }, - End: ast.Location{ - Line: int(717), - Column: int(96), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(56), - }, - End: ast.Location{ - Line: int(717), - Column: int(59), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(56), - }, - End: ast.Location{ - Line: int(717), - Column: int(66), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7743, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(67), - }, - End: ast.Location{ - Line: int(717), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(56), - }, - End: ast.Location{ - Line: int(717), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "Not enough values to format: ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(22), - }, - End: ast.Location{ - Line: int(717), - Column: int(53), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(22), - }, - End: ast.Location{ - Line: int(717), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(22), - }, - End: ast.Location{ - Line: int(717), - Column: int(96), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - "std", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(22), - }, - End: ast.Location{ - Line: int(717), - Column: int(104), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - "std", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(717), - Column: int(15), - }, - End: ast.Location{ - Line: int(717), - Column: int(105), - }, - }, - }, - }, - BranchFalse: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(719), - Column: int(15), - }, - End: ast.Location{ - Line: int(719), - Column: int(18), - }, - }, - }, - }, - Index: &ast.Index{ - Target: &ast.Var{ - Id: "tmp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(719), - Column: int(19), - }, - End: ast.Location{ - Line: int(719), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(719), - Column: int(19), - }, - End: ast.Location{ - Line: int(719), - Column: int(24), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(719), - Column: int(15), - }, - End: ast.Location{ - Line: int(719), - Column: int(25), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7698, - FreeVars: ast.Identifiers{ - "arr", - "std", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(716), - Column: int(19), - }, - End: ast.Location{ - Line: int(719), - Column: int(25), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(716), - Column: int(13), - }, - End: ast.Location{ - Line: int(719), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7686, - FreeVars: ast.Identifiers{ - "arr", - "std", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(49), - }, - End: ast.Location{ - Line: int(720), - Column: int(12), - }, - }, - }, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "tmp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(721), - Column: int(16), - }, - End: ast.Location{ - Line: int(721), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7772, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(721), - Column: int(16), - }, - End: ast.Location{ - Line: int(721), - Column: int(21), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(721), - Column: int(13), - }, - End: ast.Location{ - Line: int(721), - Column: int(21), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "prec", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(19), - }, - End: ast.Location{ - Line: int(722), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "prec", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7772, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(19), - }, - End: ast.Location{ - Line: int(722), - Column: int(28), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(722), - Column: int(13), - }, - End: ast.Location{ - Line: int(722), - Column: int(28), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7686, - FreeVars: ast.Identifiers{ - "code", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(720), - Column: int(18), - }, - End: ast.Location{ - Line: int(723), - Column: int(12), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7686, - FreeVars: ast.Identifiers{ - "arr", - "code", - "std", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(24), - }, - End: ast.Location{ - Line: int(723), - Column: int(12), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "tmp2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(17), - }, - End: ast.Location{ - Line: int(723), - Column: int(12), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "tmp2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(724), - Column: int(22), - }, - End: ast.Location{ - Line: int(724), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "j", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7788, - FreeVars: ast.Identifiers{ - "tmp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(724), - Column: int(22), - }, - End: ast.Location{ - Line: int(724), - Column: int(28), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "j2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(724), - Column: int(17), - }, - End: ast.Location{ - Line: int(724), - Column: int(28), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(726), - Column: int(21), - }, - End: ast.Location{ - Line: int(726), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(726), - Column: int(21), - }, - End: ast.Location{ - Line: int(726), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7803, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(726), - Column: int(32), - }, - End: ast.Location{ - Line: int(726), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(726), - Column: int(21), - }, - End: ast.Location{ - Line: int(726), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "j2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "j2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(726), - Column: int(16), - }, - End: ast.Location{ - Line: int(726), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - "j2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(726), - Column: int(16), - }, - End: ast.Location{ - Line: int(726), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(727), - Column: int(15), - }, - End: ast.Location{ - Line: int(727), - Column: int(18), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "j2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(727), - Column: int(19), - }, - End: ast.Location{ - Line: int(727), - Column: int(21), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - "j2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(727), - Column: int(15), - }, - End: ast.Location{ - Line: int(727), - Column: int(22), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "j2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "j2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(100), - }, - End: ast.Location{ - Line: int(729), - Column: int(102), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ", expected more than ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(74), - }, - End: ast.Location{ - Line: int(729), - Column: int(97), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(56), - }, - End: ast.Location{ - Line: int(729), - Column: int(59), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(56), - }, - End: ast.Location{ - Line: int(729), - Column: int(66), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7831, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(67), - }, - End: ast.Location{ - Line: int(729), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(56), - }, - End: ast.Location{ - Line: int(729), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "Not enough values to format: ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(22), - }, - End: ast.Location{ - Line: int(729), - Column: int(53), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(22), - }, - End: ast.Location{ - Line: int(729), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(22), - }, - End: ast.Location{ - Line: int(729), - Column: int(97), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - "j2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(22), - }, - End: ast.Location{ - Line: int(729), - Column: int(102), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - "j2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(729), - Column: int(15), - }, - End: ast.Location{ - Line: int(729), - Column: int(103), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p7799, - FreeVars: ast.Identifiers{ - "arr", - "j2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(726), - Column: int(13), - }, - End: ast.Location{ - Line: int(729), - Column: int(103), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "val", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(725), - Column: int(17), - }, - End: ast.Location{ - Line: int(729), - Column: int(103), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "%", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7848, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(731), - Column: int(30), - }, - End: ast.Location{ - Line: int(731), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(731), - Column: int(16), - }, - End: ast.Location{ - Line: int(731), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7848, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(731), - Column: int(16), - }, - End: ast.Location{ - Line: int(731), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7848, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(731), - Column: int(16), - }, - End: ast.Location{ - Line: int(731), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "%", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7848, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(732), - Column: int(15), - }, - End: ast.Location{ - Line: int(732), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "format_code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7848, - FreeVars: ast.Identifiers{ - "format_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(734), - Column: int(15), - }, - End: ast.Location{ - Line: int(734), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7863, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(734), - Column: int(27), - }, - End: ast.Location{ - Line: int(734), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7863, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(734), - Column: int(32), - }, - End: ast.Location{ - Line: int(734), - Column: int(36), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "tmp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(734), - Column: int(38), - }, - End: ast.Location{ - Line: int(734), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7863, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(734), - Column: int(38), - }, - End: ast.Location{ - Line: int(734), - Column: int(44), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "tmp2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(734), - Column: int(46), - }, - End: ast.Location{ - Line: int(734), - Column: int(50), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "prec", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7863, - FreeVars: ast.Identifiers{ - "tmp2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(734), - Column: int(46), - }, - End: ast.Location{ - Line: int(734), - Column: int(55), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "j2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7863, - FreeVars: ast.Identifiers{ - "j2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(734), - Column: int(57), - }, - End: ast.Location{ - Line: int(734), - Column: int(59), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7848, - FreeVars: ast.Identifiers{ - "code", - "format_code", - "j2", - "tmp", - "tmp2", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(734), - Column: int(15), - }, - End: ast.Location{ - Line: int(734), - Column: int(60), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p7848, - FreeVars: ast.Identifiers{ - "code", - "format_code", - "j2", - "tmp", - "tmp2", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(731), - Column: int(13), - }, - End: ast.Location{ - Line: int(734), - Column: int(60), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "s", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(730), - Column: int(17), - }, - End: ast.Location{ - Line: int(734), - Column: int(60), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Index{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(16), - }, - End: ast.Location{ - Line: int(736), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "cflags", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(16), - }, - End: ast.Location{ - Line: int(736), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "left", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7893, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(16), - }, - End: ast.Location{ - Line: int(736), - Column: int(32), - }, - }, - }, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "pad_right", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7893, - FreeVars: ast.Identifiers{ - "pad_right", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(15), - }, - End: ast.Location{ - Line: int(737), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "s", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7901, - FreeVars: ast.Identifiers{ - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(25), - }, - End: ast.Location{ - Line: int(737), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "tmp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(28), - }, - End: ast.Location{ - Line: int(737), - Column: int(31), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7901, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(28), - }, - End: ast.Location{ - Line: int(737), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7901, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(36), - }, - End: ast.Location{ - Line: int(737), - Column: int(39), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7893, - FreeVars: ast.Identifiers{ - "pad_right", - "s", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(737), - Column: int(15), - }, - End: ast.Location{ - Line: int(737), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "pad_left", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7893, - FreeVars: ast.Identifiers{ - "pad_left", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(739), - Column: int(15), - }, - End: ast.Location{ - Line: int(739), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "s", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7916, - FreeVars: ast.Identifiers{ - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(739), - Column: int(24), - }, - End: ast.Location{ - Line: int(739), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "tmp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(739), - Column: int(27), - }, - End: ast.Location{ - Line: int(739), - Column: int(30), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7916, - FreeVars: ast.Identifiers{ - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(739), - Column: int(27), - }, - End: ast.Location{ - Line: int(739), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7916, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(739), - Column: int(35), - }, - End: ast.Location{ - Line: int(739), - Column: int(38), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7893, - FreeVars: ast.Identifiers{ - "pad_left", - "s", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(739), - Column: int(15), - }, - End: ast.Location{ - Line: int(739), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p7893, - FreeVars: ast.Identifiers{ - "code", - "pad_left", - "pad_right", - "s", - "tmp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(736), - Column: int(13), - }, - End: ast.Location{ - Line: int(739), - Column: int(39), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "s_padded", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(735), - Column: int(17), - }, - End: ast.Location{ - Line: int(739), - Column: int(39), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "%", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7933, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(30), - }, - End: ast.Location{ - Line: int(741), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(16), - }, - End: ast.Location{ - Line: int(741), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7933, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(16), - }, - End: ast.Location{ - Line: int(741), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7933, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(16), - }, - End: ast.Location{ - Line: int(741), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Var{ - Id: "j2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7933, - FreeVars: ast.Identifiers{ - "j2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(742), - Column: int(15), - }, - End: ast.Location{ - Line: int(742), - Column: int(17), - }, - }, - }, - }, - BranchFalse: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7933, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(744), - Column: int(20), - }, - End: ast.Location{ - Line: int(744), - Column: int(21), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p7933, - FreeVars: ast.Identifiers{ - "j2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(744), - Column: int(15), - }, - End: ast.Location{ - Line: int(744), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7933, - FreeVars: ast.Identifiers{ - "j2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(744), - Column: int(15), - }, - End: ast.Location{ - Line: int(744), - Column: int(21), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p7933, - FreeVars: ast.Identifiers{ - "code", - "j2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(741), - Column: int(13), - }, - End: ast.Location{ - Line: int(744), - Column: int(21), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "j3", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(740), - Column: int(17), - }, - End: ast.Location{ - Line: int(744), - Column: int(21), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "format_codes_arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "format_codes_arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7958, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(28), - }, - End: ast.Location{ - Line: int(745), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7958, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(35), - }, - End: ast.Location{ - Line: int(745), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7958, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(44), - }, - End: ast.Location{ - Line: int(745), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7958, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(40), - }, - End: ast.Location{ - Line: int(745), - Column: int(41), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7958, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(40), - }, - End: ast.Location{ - Line: int(745), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "j3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7958, - FreeVars: ast.Identifiers{ - "j3", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(47), - }, - End: ast.Location{ - Line: int(745), - Column: int(49), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "s_padded", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7958, - FreeVars: ast.Identifiers{ - "s_padded", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(55), - }, - End: ast.Location{ - Line: int(745), - Column: int(63), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7958, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(51), - }, - End: ast.Location{ - Line: int(745), - Column: int(52), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7958, - FreeVars: ast.Identifiers{ - "s_padded", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(51), - }, - End: ast.Location{ - Line: int(745), - Column: int(63), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "codes", - "format_codes_arr", - "i", - "j3", - "s_padded", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(745), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_codes_arr", - "i", - "j2", - "s_padded", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(740), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_codes_arr", - "i", - "j2", - "pad_left", - "pad_right", - "s", - "tmp", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(735), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "j2", - "pad_left", - "pad_right", - "tmp", - "tmp2", - "v", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(730), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "j2", - "pad_left", - "pad_right", - "std", - "tmp", - "tmp2", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(725), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "pad_left", - "pad_right", - "std", - "tmp", - "tmp2", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(724), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "pad_left", - "pad_right", - "std", - "tmp", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(714), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "j", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(704), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "code", - "codes", - "format_code", - "format_codes_arr", - "i", - "j", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(701), - Column: int(9), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "codes", - "format_code", - "format_codes_arr", - "i", - "j", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(700), - Column: int(9), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p7491, - FreeVars: ast.Identifiers{ - "arr", - "codes", - "format_code", - "format_codes_arr", - "i", - "j", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(694), - Column: int(7), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "codes", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(28), - }, - End: ast.Location{ - Line: int(693), - Column: int(33), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(35), - }, - End: ast.Location{ - Line: int(693), - Column: int(38), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(40), - }, - End: ast.Location{ - Line: int(693), - Column: int(41), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(43), - }, - End: ast.Location{ - Line: int(693), - Column: int(44), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(46), - }, - End: ast.Location{ - Line: int(693), - Column: int(47), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p7999, - FreeVars: ast.Identifiers{ - "format_code", - "format_codes_arr", - "pad_left", - "pad_right", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(11), - }, - End: ast.Location{ - Line: int(745), - Column: int(64), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "format_codes_arr", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(15), - }, - End: ast.Location{ - Line: int(749), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(15), - }, - End: ast.Location{ - Line: int(749), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8015, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(26), - }, - End: ast.Location{ - Line: int(749), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "codes", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(15), - }, - End: ast.Location{ - Line: int(749), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(10), - }, - End: ast.Location{ - Line: int(749), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "codes", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(10), - }, - End: ast.Location{ - Line: int(749), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(750), - Column: int(9), - }, - End: ast.Location{ - Line: int(750), - Column: int(10), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8028, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(752), - Column: int(22), - }, - End: ast.Location{ - Line: int(752), - Column: int(27), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8028, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(752), - Column: int(28), - }, - End: ast.Location{ - Line: int(752), - Column: int(29), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8028, - FreeVars: ast.Identifiers{ - "codes", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(752), - Column: int(22), - }, - End: ast.Location{ - Line: int(752), - Column: int(30), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "code", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(752), - Column: int(15), - }, - End: ast.Location{ - Line: int(752), - Column: int(30), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "string", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(753), - Column: int(30), - }, - End: ast.Location{ - Line: int(753), - Column: int(38), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(753), - Column: int(12), - }, - End: ast.Location{ - Line: int(753), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(753), - Column: int(12), - }, - End: ast.Location{ - Line: int(753), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8044, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(753), - Column: int(21), - }, - End: ast.Location{ - Line: int(753), - Column: int(25), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(753), - Column: int(12), - }, - End: ast.Location{ - Line: int(753), - Column: int(26), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(753), - Column: int(12), - }, - End: ast.Location{ - Line: int(753), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "format_codes_obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "format_codes_obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(11), - }, - End: ast.Location{ - Line: int(754), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8054, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(28), - }, - End: ast.Location{ - Line: int(754), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8054, - FreeVars: ast.Identifiers{ - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(35), - }, - End: ast.Location{ - Line: int(754), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8054, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(44), - }, - End: ast.Location{ - Line: int(754), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8054, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(40), - }, - End: ast.Location{ - Line: int(754), - Column: int(41), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8054, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(40), - }, - End: ast.Location{ - Line: int(754), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8054, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(51), - }, - End: ast.Location{ - Line: int(754), - Column: int(55), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8054, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(47), - }, - End: ast.Location{ - Line: int(754), - Column: int(48), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8054, - FreeVars: ast.Identifiers{ - "code", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(47), - }, - End: ast.Location{ - Line: int(754), - Column: int(55), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "codes", - "format_codes_obj", - "i", - "obj", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(754), - Column: int(11), - }, - End: ast.Location{ - Line: int(754), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8075, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(757), - Column: int(29), - }, - End: ast.Location{ - Line: int(757), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(757), - Column: int(16), - }, - End: ast.Location{ - Line: int(757), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mkey", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8075, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(757), - Column: int(16), - }, - End: ast.Location{ - Line: int(757), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8075, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(757), - Column: int(16), - }, - End: ast.Location{ - Line: int(757), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Mapping keys required.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8075, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(758), - Column: int(21), - }, - End: ast.Location{ - Line: int(758), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p8075, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(758), - Column: int(15), - }, - End: ast.Location{ - Line: int(758), - Column: int(45), - }, - }, - }, - }, - BranchFalse: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(760), - Column: int(15), - }, - End: ast.Location{ - Line: int(760), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mkey", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8075, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(760), - Column: int(15), - }, - End: ast.Location{ - Line: int(760), - Column: int(24), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p8075, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(757), - Column: int(13), - }, - End: ast.Location{ - Line: int(760), - Column: int(24), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "f", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(756), - Column: int(17), - }, - End: ast.Location{ - Line: int(760), - Column: int(24), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "*", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8099, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(762), - Column: int(27), - }, - End: ast.Location{ - Line: int(762), - Column: int(30), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(762), - Column: int(16), - }, - End: ast.Location{ - Line: int(762), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8099, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(762), - Column: int(16), - }, - End: ast.Location{ - Line: int(762), - Column: int(23), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8099, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(762), - Column: int(16), - }, - End: ast.Location{ - Line: int(762), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Cannot use * field width with object.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8099, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(763), - Column: int(21), - }, - End: ast.Location{ - Line: int(763), - Column: int(60), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p8099, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(763), - Column: int(15), - }, - End: ast.Location{ - Line: int(763), - Column: int(60), - }, - }, - }, - }, - BranchFalse: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(765), - Column: int(15), - }, - End: ast.Location{ - Line: int(765), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "fw", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8099, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(765), - Column: int(15), - }, - End: ast.Location{ - Line: int(765), - Column: int(22), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p8099, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(762), - Column: int(13), - }, - End: ast.Location{ - Line: int(765), - Column: int(22), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "fw", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(17), - }, - End: ast.Location{ - Line: int(765), - Column: int(22), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "*", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8123, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(767), - Column: int(29), - }, - End: ast.Location{ - Line: int(767), - Column: int(32), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(767), - Column: int(16), - }, - End: ast.Location{ - Line: int(767), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "prec", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8123, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(767), - Column: int(16), - }, - End: ast.Location{ - Line: int(767), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8123, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(767), - Column: int(16), - }, - End: ast.Location{ - Line: int(767), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Cannot use * precision with object.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8123, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(768), - Column: int(21), - }, - End: ast.Location{ - Line: int(768), - Column: int(58), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p8123, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(768), - Column: int(15), - }, - End: ast.Location{ - Line: int(768), - Column: int(58), - }, - }, - }, - }, - BranchFalse: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(770), - Column: int(15), - }, - End: ast.Location{ - Line: int(770), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "prec", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8123, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(770), - Column: int(15), - }, - End: ast.Location{ - Line: int(770), - Column: int(24), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p8123, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(767), - Column: int(13), - }, - End: ast.Location{ - Line: int(770), - Column: int(24), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "prec", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(766), - Column: int(17), - }, - End: ast.Location{ - Line: int(770), - Column: int(24), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(772), - Column: int(16), - }, - End: ast.Location{ - Line: int(772), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectHasAll", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8150, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(772), - Column: int(16), - }, - End: ast.Location{ - Line: int(772), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8154, - FreeVars: ast.Identifiers{ - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(772), - Column: int(33), - }, - End: ast.Location{ - Line: int(772), - Column: int(36), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8154, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(772), - Column: int(38), - }, - End: ast.Location{ - Line: int(772), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8150, - FreeVars: ast.Identifiers{ - "f", - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(772), - Column: int(16), - }, - End: ast.Location{ - Line: int(772), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Index{ - Target: &ast.Var{ - Id: "obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p8150, - FreeVars: ast.Identifiers{ - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(773), - Column: int(15), - }, - End: ast.Location{ - Line: int(773), - Column: int(18), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8150, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(773), - Column: int(19), - }, - End: ast.Location{ - Line: int(773), - Column: int(20), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8150, - FreeVars: ast.Identifiers{ - "f", - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(773), - Column: int(15), - }, - End: ast.Location{ - Line: int(773), - Column: int(21), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8150, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(775), - Column: int(41), - }, - End: ast.Location{ - Line: int(775), - Column: int(42), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "No such field: ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8150, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(775), - Column: int(21), - }, - End: ast.Location{ - Line: int(775), - Column: int(38), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8150, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(775), - Column: int(21), - }, - End: ast.Location{ - Line: int(775), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p8150, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(775), - Column: int(15), - }, - End: ast.Location{ - Line: int(775), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p8150, - FreeVars: ast.Identifiers{ - "f", - "obj", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(772), - Column: int(13), - }, - End: ast.Location{ - Line: int(775), - Column: int(42), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "val", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(771), - Column: int(17), - }, - End: ast.Location{ - Line: int(775), - Column: int(42), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "%", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8182, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(30), - }, - End: ast.Location{ - Line: int(777), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(16), - }, - End: ast.Location{ - Line: int(777), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "ctype", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8182, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(16), - }, - End: ast.Location{ - Line: int(777), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8182, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(16), - }, - End: ast.Location{ - Line: int(777), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "%", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p8182, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(778), - Column: int(15), - }, - End: ast.Location{ - Line: int(778), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "format_code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p8182, - FreeVars: ast.Identifiers{ - "format_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(780), - Column: int(15), - }, - End: ast.Location{ - Line: int(780), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "val", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8197, - FreeVars: ast.Identifiers{ - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(780), - Column: int(27), - }, - End: ast.Location{ - Line: int(780), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8197, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(780), - Column: int(32), - }, - End: ast.Location{ - Line: int(780), - Column: int(36), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "fw", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8197, - FreeVars: ast.Identifiers{ - "fw", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(780), - Column: int(38), - }, - End: ast.Location{ - Line: int(780), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "prec", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8197, - FreeVars: ast.Identifiers{ - "prec", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(780), - Column: int(42), - }, - End: ast.Location{ - Line: int(780), - Column: int(46), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8197, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(780), - Column: int(48), - }, - End: ast.Location{ - Line: int(780), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8182, - FreeVars: ast.Identifiers{ - "code", - "f", - "format_code", - "fw", - "prec", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(780), - Column: int(15), - }, - End: ast.Location{ - Line: int(780), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p8182, - FreeVars: ast.Identifiers{ - "code", - "f", - "format_code", - "fw", - "prec", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(777), - Column: int(13), - }, - End: ast.Location{ - Line: int(780), - Column: int(50), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "s", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(776), - Column: int(17), - }, - End: ast.Location{ - Line: int(780), - Column: int(50), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Index{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(782), - Column: int(16), - }, - End: ast.Location{ - Line: int(782), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "cflags", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(782), - Column: int(16), - }, - End: ast.Location{ - Line: int(782), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "left", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8221, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(782), - Column: int(16), - }, - End: ast.Location{ - Line: int(782), - Column: int(32), - }, - }, - }, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "pad_right", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p8221, - FreeVars: ast.Identifiers{ - "pad_right", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(783), - Column: int(15), - }, - End: ast.Location{ - Line: int(783), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "s", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8229, - FreeVars: ast.Identifiers{ - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(783), - Column: int(25), - }, - End: ast.Location{ - Line: int(783), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "fw", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8229, - FreeVars: ast.Identifiers{ - "fw", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(783), - Column: int(28), - }, - End: ast.Location{ - Line: int(783), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8229, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(783), - Column: int(32), - }, - End: ast.Location{ - Line: int(783), - Column: int(35), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8221, - FreeVars: ast.Identifiers{ - "fw", - "pad_right", - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(783), - Column: int(15), - }, - End: ast.Location{ - Line: int(783), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "pad_left", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p8221, - FreeVars: ast.Identifiers{ - "pad_left", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(785), - Column: int(15), - }, - End: ast.Location{ - Line: int(785), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "s", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8241, - FreeVars: ast.Identifiers{ - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(785), - Column: int(24), - }, - End: ast.Location{ - Line: int(785), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "fw", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8241, - FreeVars: ast.Identifiers{ - "fw", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(785), - Column: int(27), - }, - End: ast.Location{ - Line: int(785), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8241, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(785), - Column: int(31), - }, - End: ast.Location{ - Line: int(785), - Column: int(34), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8221, - FreeVars: ast.Identifiers{ - "fw", - "pad_left", - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(785), - Column: int(15), - }, - End: ast.Location{ - Line: int(785), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p8221, - FreeVars: ast.Identifiers{ - "code", - "fw", - "pad_left", - "pad_right", - "s", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(782), - Column: int(13), - }, - End: ast.Location{ - Line: int(785), - Column: int(35), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "s_padded", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(17), - }, - End: ast.Location{ - Line: int(785), - Column: int(35), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "format_codes_obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "format_codes_obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(11), - }, - End: ast.Location{ - Line: int(786), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8256, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(28), - }, - End: ast.Location{ - Line: int(786), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8256, - FreeVars: ast.Identifiers{ - "obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(35), - }, - End: ast.Location{ - Line: int(786), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8256, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(44), - }, - End: ast.Location{ - Line: int(786), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8256, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(40), - }, - End: ast.Location{ - Line: int(786), - Column: int(41), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8256, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(40), - }, - End: ast.Location{ - Line: int(786), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "s_padded", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8256, - FreeVars: ast.Identifiers{ - "s_padded", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(51), - }, - End: ast.Location{ - Line: int(786), - Column: int(59), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8256, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(47), - }, - End: ast.Location{ - Line: int(786), - Column: int(48), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8256, - FreeVars: ast.Identifiers{ - "s_padded", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(47), - }, - End: ast.Location{ - Line: int(786), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_obj", - "i", - "obj", - "s_padded", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(786), - Column: int(11), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "codes", - "format_codes_obj", - "fw", - "i", - "obj", - "pad_left", - "pad_right", - "s", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(781), - Column: int(11), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "codes", - "f", - "format_code", - "format_codes_obj", - "fw", - "i", - "obj", - "pad_left", - "pad_right", - "prec", - "v", - "val", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(776), - Column: int(11), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "codes", - "f", - "format_code", - "format_codes_obj", - "fw", - "i", - "obj", - "pad_left", - "pad_right", - "prec", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(771), - Column: int(11), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "codes", - "f", - "format_code", - "format_codes_obj", - "fw", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(766), - Column: int(11), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "codes", - "f", - "format_code", - "format_codes_obj", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(761), - Column: int(11), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "codes", - "format_code", - "format_codes_obj", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(756), - Column: int(11), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "code", - "codes", - "format_code", - "format_codes_obj", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(753), - Column: int(9), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "codes", - "format_code", - "format_codes_obj", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(752), - Column: int(9), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8011, - FreeVars: ast.Identifiers{ - "codes", - "format_code", - "format_codes_obj", - "i", - "obj", - "pad_left", - "pad_right", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(749), - Column: int(7), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "codes", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(748), - Column: int(28), - }, - End: ast.Location{ - Line: int(748), - Column: int(33), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "obj", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(748), - Column: int(35), - }, - End: ast.Location{ - Line: int(748), - Column: int(38), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(748), - Column: int(40), - }, - End: ast.Location{ - Line: int(748), - Column: int(41), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(748), - Column: int(43), - }, - End: ast.Location{ - Line: int(748), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p8293, - FreeVars: ast.Identifiers{ - "format_code", - "format_codes_obj", - "pad_left", - "pad_right", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(748), - Column: int(11), - }, - End: ast.Location{ - Line: int(786), - Column: int(60), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "format_codes_obj", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(8), - }, - End: ast.Location{ - Line: int(788), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(8), - }, - End: ast.Location{ - Line: int(788), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "vals", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8305, - FreeVars: ast.Identifiers{ - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(20), - }, - End: ast.Location{ - Line: int(788), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(8), - }, - End: ast.Location{ - Line: int(788), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "format_codes_arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "format_codes_arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(7), - }, - End: ast.Location{ - Line: int(789), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8314, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(24), - }, - End: ast.Location{ - Line: int(789), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "vals", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8314, - FreeVars: ast.Identifiers{ - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(31), - }, - End: ast.Location{ - Line: int(789), - Column: int(35), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8314, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(37), - }, - End: ast.Location{ - Line: int(789), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8314, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(40), - }, - End: ast.Location{ - Line: int(789), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8314, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(43), - }, - End: ast.Location{ - Line: int(789), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_arr", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(789), - Column: int(7), - }, - End: ast.Location{ - Line: int(789), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(790), - Column: int(13), - }, - End: ast.Location{ - Line: int(790), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(790), - Column: int(13), - }, - End: ast.Location{ - Line: int(790), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "vals", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8331, - FreeVars: ast.Identifiers{ - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(790), - Column: int(26), - }, - End: ast.Location{ - Line: int(790), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(790), - Column: int(13), - }, - End: ast.Location{ - Line: int(790), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "format_codes_obj", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "format_codes_obj", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(7), - }, - End: ast.Location{ - Line: int(791), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8340, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(24), - }, - End: ast.Location{ - Line: int(791), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "vals", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8340, - FreeVars: ast.Identifiers{ - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(31), - }, - End: ast.Location{ - Line: int(791), - Column: int(35), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8340, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(37), - }, - End: ast.Location{ - Line: int(791), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8340, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(40), - }, - End: ast.Location{ - Line: int(791), - Column: int(42), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_obj", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(791), - Column: int(7), - }, - End: ast.Location{ - Line: int(791), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "format_codes_arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "format_codes_arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(7), - }, - End: ast.Location{ - Line: int(793), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "codes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8353, - FreeVars: ast.Identifiers{ - "codes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(24), - }, - End: ast.Location{ - Line: int(793), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "vals", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8358, - FreeVars: ast.Identifiers{ - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(32), - }, - End: ast.Location{ - Line: int(793), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8353, - FreeVars: ast.Identifiers{ - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(31), - }, - End: ast.Location{ - Line: int(793), - Column: int(37), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8353, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(39), - }, - End: ast.Location{ - Line: int(793), - Column: int(40), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8353, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(42), - }, - End: ast.Location{ - Line: int(793), - Column: int(43), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8353, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(45), - }, - End: ast.Location{ - Line: int(793), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_arr", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(793), - Column: int(7), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_arr", - "format_codes_obj", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(790), - Column: int(10), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "codes", - "format_codes_arr", - "format_codes_obj", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(788), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Render a parsed format string with an object of values.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "codes", - "format_code", - "format_codes_arr", - "pad_left", - "pad_right", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(748), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Render a parsed format string with an array of values.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "codes", - "format_code", - "pad_left", - "pad_right", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(693), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Render a value with an arbitrary format code.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "render_float_dec", - "render_float_sci", - "render_hex", - "render_int", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(598), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Render floating point in scientific form", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "codes", - "pad_left", - "pad_right", - "render_float_dec", - "render_hex", - "render_int", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(584), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Render floating point in decimal form", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "pad_right", - "render_hex", - "render_int", - "std", - "strip_trailing_zero", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(560), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "pad_right", - "render_hex", - "render_int", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(548), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Render an integer in hexadecimal.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "pad_right", - "render_int", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(529), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Render a sign & magnitude integer (radix ranges from decimal to binary).", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// neg should be a boolean, and when true indicates that we should render a negative number.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// mag must always be a whole number >= 0, it's the magnitude of the integer to render", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// min_chars must be a whole number >= 0", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// It is the field width, i.e. std.length() of the result should be >= min_chars", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// min_digits must be a whole number >= 0. It's the number of zeroes to pad with.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// blank must be a boolean, if true adds an additional ' ' in front of a positive number, so", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// that it is aligned with negative numbers with the same number of digits.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// plus must be a boolean, if true adds a '+' in front of a positive number, so that it is", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// aligned with negative numbers with the same number of digits. This takes precedence over", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// blank, if both are true.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// radix must be a whole number >1 and <= 10. It is the base of the system of numerals.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// zero_prefix is a string prefixed before the sign to all numbers that are not 0.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "pad_right", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(511), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Add s to the right of str so that its length is at least w.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "pad_left", - "padding", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(495), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Add s to the left of str so that its length is at least w.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "padding", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(491), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(2), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "///////////////////////", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Format the values //", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "///////////////////////", - }, - Kind: ast.FodderKind(2), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Useful utilities", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "codes", - "std", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(482), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "parse_codes", - "std", - "str", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(474), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Parse a format string (containing none or more % format tags).", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "parse_code", - "std", - "str", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(463), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(2), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Parsed initial %, now the rest.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "parse_conv_type", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(442), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_length_modifier", - "try_parse_mapping_key", - "try_parse_precision", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(408), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Ignored, if it exists.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_mapping_key", - "try_parse_precision", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(400), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_cflags", - "try_parse_field_width", - "try_parse_mapping_key", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(391), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_cflags", - "try_parse_mapping_key", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(360), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "try_parse_mapping_key", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(342), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "/////////////////////////////", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// Parse the mini-language //", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "/////////////////////////////", - }, - Kind: ast.FodderKind(2), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p8301, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "vals", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(325), - Column: int(5), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(319), - Column: int(10), - }, - End: ast.Location{ - Line: int(319), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "vals", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(319), - Column: int(15), - }, - End: ast.Location{ - Line: int(319), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(319), - Column: int(3), - }, - End: ast.Location{ - Line: int(793), - Column: int(48), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "foldr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8451, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(16), - }, - End: ast.Location{ - Line: int(797), - Column: int(17), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8451, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(10), - }, - End: ast.Location{ - Line: int(797), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8451, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(10), - }, - End: ast.Location{ - Line: int(797), - Column: int(17), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Var{ - Id: "running", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p8451, - FreeVars: ast.Identifiers{ - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(798), - Column: int(9), - }, - End: ast.Location{ - Line: int(798), - Column: int(16), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p8451, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(9), - }, - End: ast.Location{ - Line: int(800), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8464, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(13), - }, - End: ast.Location{ - Line: int(800), - Column: int(17), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8464, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(19), - }, - End: ast.Location{ - Line: int(800), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8464, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(24), - }, - End: ast.Location{ - Line: int(800), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8474, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(29), - }, - End: ast.Location{ - Line: int(800), - Column: int(32), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8474, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(33), - }, - End: ast.Location{ - Line: int(800), - Column: int(36), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8474, - FreeVars: ast.Identifiers{ - "arr", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(29), - }, - End: ast.Location{ - Line: int(800), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "running", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8474, - FreeVars: ast.Identifiers{ - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(39), - }, - End: ast.Location{ - Line: int(800), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8464, - FreeVars: ast.Identifiers{ - "arr", - "func", - "idx", - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(24), - }, - End: ast.Location{ - Line: int(800), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8464, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(55), - }, - End: ast.Location{ - Line: int(800), - Column: int(56), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8464, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(49), - }, - End: ast.Location{ - Line: int(800), - Column: int(52), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8464, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(49), - }, - End: ast.Location{ - Line: int(800), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8451, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "idx", - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(800), - Column: int(9), - }, - End: ast.Location{ - Line: int(800), - Column: int(57), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8451, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "idx", - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(797), - Column: int(7), - }, - End: ast.Location{ - Line: int(800), - Column: int(57), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(15), - }, - End: ast.Location{ - Line: int(796), - Column: int(19), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(21), - }, - End: ast.Location{ - Line: int(796), - Column: int(24), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "running", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(26), - }, - End: ast.Location{ - Line: int(796), - Column: int(33), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "idx", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(35), - }, - End: ast.Location{ - Line: int(796), - Column: int(38), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p8492, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(11), - }, - End: ast.Location{ - Line: int(800), - Column: int(57), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8497, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(5), - }, - End: ast.Location{ - Line: int(801), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8501, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(9), - }, - End: ast.Location{ - Line: int(801), - Column: int(13), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8501, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(15), - }, - End: ast.Location{ - Line: int(801), - Column: int(18), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "init", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8501, - FreeVars: ast.Identifiers{ - "init", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(20), - }, - End: ast.Location{ - Line: int(801), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8501, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(44), - }, - End: ast.Location{ - Line: int(801), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(26), - }, - End: ast.Location{ - Line: int(801), - Column: int(29), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8501, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(26), - }, - End: ast.Location{ - Line: int(801), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8517, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(37), - }, - End: ast.Location{ - Line: int(801), - Column: int(40), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8501, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(26), - }, - End: ast.Location{ - Line: int(801), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8501, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(26), - }, - End: ast.Location{ - Line: int(801), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8497, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "init", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(801), - Column: int(5), - }, - End: ast.Location{ - Line: int(801), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8497, - FreeVars: ast.Identifiers{ - "arr", - "func", - "init", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(796), - Column: int(5), - }, - End: ast.Location{ - Line: int(801), - Column: int(46), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(795), - Column: int(9), - }, - End: ast.Location{ - Line: int(795), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(795), - Column: int(15), - }, - End: ast.Location{ - Line: int(795), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "init", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(795), - Column: int(20), - }, - End: ast.Location{ - Line: int(795), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(795), - Column: int(3), - }, - End: ast.Location{ - Line: int(801), - Column: int(46), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "foldl", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(17), - }, - End: ast.Location{ - Line: int(805), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8538, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(17), - }, - End: ast.Location{ - Line: int(805), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8542, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(28), - }, - End: ast.Location{ - Line: int(805), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8538, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(17), - }, - End: ast.Location{ - Line: int(805), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8538, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(10), - }, - End: ast.Location{ - Line: int(805), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8538, - FreeVars: ast.Identifiers{ - "arr", - "idx", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(10), - }, - End: ast.Location{ - Line: int(805), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Var{ - Id: "running", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p8538, - FreeVars: ast.Identifiers{ - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(806), - Column: int(9), - }, - End: ast.Location{ - Line: int(806), - Column: int(16), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p8538, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(9), - }, - End: ast.Location{ - Line: int(808), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8557, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(13), - }, - End: ast.Location{ - Line: int(808), - Column: int(17), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8557, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(19), - }, - End: ast.Location{ - Line: int(808), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8557, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(24), - }, - End: ast.Location{ - Line: int(808), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "running", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(29), - }, - End: ast.Location{ - Line: int(808), - Column: int(36), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(38), - }, - End: ast.Location{ - Line: int(808), - Column: int(41), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(42), - }, - End: ast.Location{ - Line: int(808), - Column: int(45), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8566, - FreeVars: ast.Identifiers{ - "arr", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(38), - }, - End: ast.Location{ - Line: int(808), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8557, - FreeVars: ast.Identifiers{ - "arr", - "func", - "idx", - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(24), - }, - End: ast.Location{ - Line: int(808), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8557, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(55), - }, - End: ast.Location{ - Line: int(808), - Column: int(56), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8557, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(49), - }, - End: ast.Location{ - Line: int(808), - Column: int(52), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8557, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(49), - }, - End: ast.Location{ - Line: int(808), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8538, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "idx", - "running", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(808), - Column: int(9), - }, - End: ast.Location{ - Line: int(808), - Column: int(57), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8538, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "idx", - "running", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(805), - Column: int(7), - }, - End: ast.Location{ - Line: int(808), - Column: int(57), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(15), - }, - End: ast.Location{ - Line: int(804), - Column: int(19), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(21), - }, - End: ast.Location{ - Line: int(804), - Column: int(24), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "running", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(26), - }, - End: ast.Location{ - Line: int(804), - Column: int(33), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "idx", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(35), - }, - End: ast.Location{ - Line: int(804), - Column: int(38), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p8585, - FreeVars: ast.Identifiers{ - "aux", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(11), - }, - End: ast.Location{ - Line: int(808), - Column: int(57), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8590, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(809), - Column: int(5), - }, - End: ast.Location{ - Line: int(809), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8594, - FreeVars: ast.Identifiers{ - "func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(809), - Column: int(9), - }, - End: ast.Location{ - Line: int(809), - Column: int(13), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8594, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(809), - Column: int(15), - }, - End: ast.Location{ - Line: int(809), - Column: int(18), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "init", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8594, - FreeVars: ast.Identifiers{ - "init", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(809), - Column: int(20), - }, - End: ast.Location{ - Line: int(809), - Column: int(24), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8594, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(809), - Column: int(26), - }, - End: ast.Location{ - Line: int(809), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8590, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "func", - "init", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(809), - Column: int(5), - }, - End: ast.Location{ - Line: int(809), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8590, - FreeVars: ast.Identifiers{ - "arr", - "func", - "init", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(804), - Column: int(5), - }, - End: ast.Location{ - Line: int(809), - Column: int(28), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(9), - }, - End: ast.Location{ - Line: int(803), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(15), - }, - End: ast.Location{ - Line: int(803), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "init", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(20), - }, - End: ast.Location{ - Line: int(803), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(803), - Column: int(3), - }, - End: ast.Location{ - Line: int(809), - Column: int(28), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "filterMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(813), - Column: int(9), - }, - End: ast.Location{ - Line: int(813), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(813), - Column: int(9), - }, - End: ast.Location{ - Line: int(813), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "filter_func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8619, - FreeVars: ast.Identifiers{ - "filter_func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(813), - Column: int(24), - }, - End: ast.Location{ - Line: int(813), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "filter_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(813), - Column: int(9), - }, - End: ast.Location{ - Line: int(813), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "filter_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(813), - Column: int(8), - }, - End: ast.Location{ - Line: int(813), - Column: int(36), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(67), - }, - End: ast.Location{ - Line: int(814), - Column: int(70), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(67), - }, - End: ast.Location{ - Line: int(814), - Column: int(75), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "filter_func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8633, - FreeVars: ast.Identifiers{ - "filter_func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(76), - }, - End: ast.Location{ - Line: int(814), - Column: int(87), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "filter_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(67), - }, - End: ast.Location{ - Line: int(814), - Column: int(88), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.filterMap first param must be function, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(14), - }, - End: ast.Location{ - Line: int(814), - Column: int(64), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "filter_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(14), - }, - End: ast.Location{ - Line: int(814), - Column: int(88), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "filter_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(814), - Column: int(7), - }, - End: ast.Location{ - Line: int(814), - Column: int(89), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(815), - Column: int(14), - }, - End: ast.Location{ - Line: int(815), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(815), - Column: int(14), - }, - End: ast.Location{ - Line: int(815), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "map_func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8650, - FreeVars: ast.Identifiers{ - "map_func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(815), - Column: int(29), - }, - End: ast.Location{ - Line: int(815), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "map_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(815), - Column: int(14), - }, - End: ast.Location{ - Line: int(815), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "map_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(815), - Column: int(13), - }, - End: ast.Location{ - Line: int(815), - Column: int(38), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(68), - }, - End: ast.Location{ - Line: int(816), - Column: int(71), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(68), - }, - End: ast.Location{ - Line: int(816), - Column: int(76), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "map_func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8664, - FreeVars: ast.Identifiers{ - "map_func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(77), - }, - End: ast.Location{ - Line: int(816), - Column: int(85), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "map_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(68), - }, - End: ast.Location{ - Line: int(816), - Column: int(86), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.filterMap second param must be function, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(14), - }, - End: ast.Location{ - Line: int(816), - Column: int(65), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "map_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(14), - }, - End: ast.Location{ - Line: int(816), - Column: int(86), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "map_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(816), - Column: int(7), - }, - End: ast.Location{ - Line: int(816), - Column: int(87), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(14), - }, - End: ast.Location{ - Line: int(817), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(14), - }, - End: ast.Location{ - Line: int(817), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8681, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(26), - }, - End: ast.Location{ - Line: int(817), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(14), - }, - End: ast.Location{ - Line: int(817), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(13), - }, - End: ast.Location{ - Line: int(817), - Column: int(30), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(64), - }, - End: ast.Location{ - Line: int(818), - Column: int(67), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(64), - }, - End: ast.Location{ - Line: int(818), - Column: int(72), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8695, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(73), - }, - End: ast.Location{ - Line: int(818), - Column: int(76), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(64), - }, - End: ast.Location{ - Line: int(818), - Column: int(77), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.filterMap third param must be array, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(14), - }, - End: ast.Location{ - Line: int(818), - Column: int(61), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(14), - }, - End: ast.Location{ - Line: int(818), - Column: int(77), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(818), - Column: int(7), - }, - End: ast.Location{ - Line: int(818), - Column: int(78), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(7), - }, - End: ast.Location{ - Line: int(820), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(7), - }, - End: ast.Location{ - Line: int(820), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "map_func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "map_func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(15), - }, - End: ast.Location{ - Line: int(820), - Column: int(23), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(25), - }, - End: ast.Location{ - Line: int(820), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "filter", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(25), - }, - End: ast.Location{ - Line: int(820), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "filter_func", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8721, - FreeVars: ast.Identifiers{ - "filter_func", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(36), - }, - End: ast.Location{ - Line: int(820), - Column: int(47), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8721, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(49), - }, - End: ast.Location{ - Line: int(820), - Column: int(52), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8711, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(25), - }, - End: ast.Location{ - Line: int(820), - Column: int(53), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(820), - Column: int(7), - }, - End: ast.Location{ - Line: int(820), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(817), - Column: int(10), - }, - End: ast.Location{ - Line: int(820), - Column: int(54), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(815), - Column: int(10), - }, - End: ast.Location{ - Line: int(820), - Column: int(54), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8615, - FreeVars: ast.Identifiers{ - "arr", - "filter_func", - "map_func", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(813), - Column: int(5), - }, - End: ast.Location{ - Line: int(820), - Column: int(54), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "filter_func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(812), - Column: int(13), - }, - End: ast.Location{ - Line: int(812), - Column: int(24), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "map_func", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(812), - Column: int(26), - }, - End: ast.Location{ - Line: int(812), - Column: int(34), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(812), - Column: int(36), - }, - End: ast.Location{ - Line: int(812), - Column: int(39), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(812), - Column: int(3), - }, - End: ast.Location{ - Line: int(820), - Column: int(54), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "assertEqual", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(823), - Column: int(13), - }, - End: ast.Location{ - Line: int(823), - Column: int(14), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(823), - Column: int(8), - }, - End: ast.Location{ - Line: int(823), - Column: int(9), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(823), - Column: int(8), - }, - End: ast.Location{ - Line: int(823), - Column: int(14), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8741, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(824), - Column: int(7), - }, - End: ast.Location{ - Line: int(824), - Column: int(11), - }, - }, - }, - Value: true, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(49), - }, - End: ast.Location{ - Line: int(826), - Column: int(50), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " != ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(40), - }, - End: ast.Location{ - Line: int(826), - Column: int(46), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(36), - }, - End: ast.Location{ - Line: int(826), - Column: int(37), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Assertion failed. ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(13), - }, - End: ast.Location{ - Line: int(826), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(13), - }, - End: ast.Location{ - Line: int(826), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(13), - }, - End: ast.Location{ - Line: int(826), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(13), - }, - End: ast.Location{ - Line: int(826), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(826), - Column: int(7), - }, - End: ast.Location{ - Line: int(826), - Column: int(50), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8741, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(823), - Column: int(5), - }, - End: ast.Location{ - Line: int(826), - Column: int(50), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(822), - Column: int(15), - }, - End: ast.Location{ - Line: int(822), - Column: int(16), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(822), - Column: int(18), - }, - End: ast.Location{ - Line: int(822), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(822), - Column: int(3), - }, - End: ast.Location{ - Line: int(826), - Column: int(50), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "abs", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(9), - }, - End: ast.Location{ - Line: int(829), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(9), - }, - End: ast.Location{ - Line: int(829), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8780, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(22), - }, - End: ast.Location{ - Line: int(829), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(9), - }, - End: ast.Location{ - Line: int(829), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(8), - }, - End: ast.Location{ - Line: int(829), - Column: int(24), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(830), - Column: int(47), - }, - End: ast.Location{ - Line: int(830), - Column: int(50), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(830), - Column: int(47), - }, - End: ast.Location{ - Line: int(830), - Column: int(55), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8794, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(830), - Column: int(56), - }, - End: ast.Location{ - Line: int(830), - Column: int(57), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(830), - Column: int(47), - }, - End: ast.Location{ - Line: int(830), - Column: int(58), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.abs expected number, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(830), - Column: int(13), - }, - End: ast.Location{ - Line: int(830), - Column: int(44), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(830), - Column: int(13), - }, - End: ast.Location{ - Line: int(830), - Column: int(58), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(830), - Column: int(7), - }, - End: ast.Location{ - Line: int(830), - Column: int(58), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(14), - }, - End: ast.Location{ - Line: int(832), - Column: int(15), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(10), - }, - End: ast.Location{ - Line: int(832), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(10), - }, - End: ast.Location{ - Line: int(832), - Column: int(15), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchTrue: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(21), - }, - End: ast.Location{ - Line: int(832), - Column: int(22), - }, - }, - }, - }, - BranchFalse: &ast.Unary{ - Expr: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(29), - }, - End: ast.Location{ - Line: int(832), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(28), - }, - End: ast.Location{ - Line: int(832), - Column: int(30), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(832), - Column: int(7), - }, - End: ast.Location{ - Line: int(832), - Column: int(30), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8776, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(829), - Column: int(5), - }, - End: ast.Location{ - Line: int(832), - Column: int(30), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(7), - }, - End: ast.Location{ - Line: int(828), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(828), - Column: int(3), - }, - End: ast.Location{ - Line: int(832), - Column: int(30), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "sign", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(9), - }, - End: ast.Location{ - Line: int(835), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(9), - }, - End: ast.Location{ - Line: int(835), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8833, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(22), - }, - End: ast.Location{ - Line: int(835), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(9), - }, - End: ast.Location{ - Line: int(835), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(8), - }, - End: ast.Location{ - Line: int(835), - Column: int(24), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(48), - }, - End: ast.Location{ - Line: int(836), - Column: int(51), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(48), - }, - End: ast.Location{ - Line: int(836), - Column: int(56), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8847, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(57), - }, - End: ast.Location{ - Line: int(836), - Column: int(58), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(48), - }, - End: ast.Location{ - Line: int(836), - Column: int(59), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.sign expected number, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(13), - }, - End: ast.Location{ - Line: int(836), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(13), - }, - End: ast.Location{ - Line: int(836), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(836), - Column: int(7), - }, - End: ast.Location{ - Line: int(836), - Column: int(59), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(838), - Column: int(14), - }, - End: ast.Location{ - Line: int(838), - Column: int(15), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(838), - Column: int(10), - }, - End: ast.Location{ - Line: int(838), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(838), - Column: int(10), - }, - End: ast.Location{ - Line: int(838), - Column: int(15), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchTrue: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p8829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(839), - Column: int(9), - }, - End: ast.Location{ - Line: int(839), - Column: int(10), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(19), - }, - End: ast.Location{ - Line: int(840), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "n", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(15), - }, - End: ast.Location{ - Line: int(840), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(15), - }, - End: ast.Location{ - Line: int(840), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(841), - Column: int(10), - }, - End: ast.Location{ - Line: int(841), - Column: int(11), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p8829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(841), - Column: int(9), - }, - End: ast.Location{ - Line: int(841), - Column: int(11), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - BranchFalse: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(842), - Column: int(12), - }, - End: ast.Location{ - Line: int(842), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(840), - Column: int(12), - }, - End: ast.Location{ - Line: int(842), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(838), - Column: int(7), - }, - End: ast.Location{ - Line: int(842), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8829, - FreeVars: ast.Identifiers{ - "n", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(835), - Column: int(5), - }, - End: ast.Location{ - Line: int(842), - Column: int(13), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "n", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(834), - Column: int(8), - }, - End: ast.Location{ - Line: int(834), - Column: int(9), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(834), - Column: int(3), - }, - End: ast.Location{ - Line: int(842), - Column: int(13), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "max", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(845), - Column: int(9), - }, - End: ast.Location{ - Line: int(845), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(845), - Column: int(9), - }, - End: ast.Location{ - Line: int(845), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8895, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(845), - Column: int(22), - }, - End: ast.Location{ - Line: int(845), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(845), - Column: int(9), - }, - End: ast.Location{ - Line: int(845), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(845), - Column: int(8), - }, - End: ast.Location{ - Line: int(845), - Column: int(24), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(59), - }, - End: ast.Location{ - Line: int(846), - Column: int(62), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(59), - }, - End: ast.Location{ - Line: int(846), - Column: int(67), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8909, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(68), - }, - End: ast.Location{ - Line: int(846), - Column: int(69), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(59), - }, - End: ast.Location{ - Line: int(846), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.max first param expected number, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(13), - }, - End: ast.Location{ - Line: int(846), - Column: int(56), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(13), - }, - End: ast.Location{ - Line: int(846), - Column: int(70), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(846), - Column: int(7), - }, - End: ast.Location{ - Line: int(846), - Column: int(70), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(847), - Column: int(14), - }, - End: ast.Location{ - Line: int(847), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(847), - Column: int(14), - }, - End: ast.Location{ - Line: int(847), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8926, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(847), - Column: int(27), - }, - End: ast.Location{ - Line: int(847), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(847), - Column: int(14), - }, - End: ast.Location{ - Line: int(847), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(847), - Column: int(13), - }, - End: ast.Location{ - Line: int(847), - Column: int(29), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(60), - }, - End: ast.Location{ - Line: int(848), - Column: int(63), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(60), - }, - End: ast.Location{ - Line: int(848), - Column: int(68), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8940, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(69), - }, - End: ast.Location{ - Line: int(848), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(60), - }, - End: ast.Location{ - Line: int(848), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.max second param expected number, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(13), - }, - End: ast.Location{ - Line: int(848), - Column: int(57), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(13), - }, - End: ast.Location{ - Line: int(848), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(848), - Column: int(7), - }, - End: ast.Location{ - Line: int(848), - Column: int(71), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(14), - }, - End: ast.Location{ - Line: int(850), - Column: int(15), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(10), - }, - End: ast.Location{ - Line: int(850), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(10), - }, - End: ast.Location{ - Line: int(850), - Column: int(15), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchTrue: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(21), - }, - End: ast.Location{ - Line: int(850), - Column: int(22), - }, - }, - }, - }, - BranchFalse: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(28), - }, - End: ast.Location{ - Line: int(850), - Column: int(29), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(850), - Column: int(7), - }, - End: ast.Location{ - Line: int(850), - Column: int(29), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(847), - Column: int(10), - }, - End: ast.Location{ - Line: int(850), - Column: int(29), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8891, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(845), - Column: int(5), - }, - End: ast.Location{ - Line: int(850), - Column: int(29), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(844), - Column: int(7), - }, - End: ast.Location{ - Line: int(844), - Column: int(8), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(844), - Column: int(10), - }, - End: ast.Location{ - Line: int(844), - Column: int(11), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(844), - Column: int(3), - }, - End: ast.Location{ - Line: int(850), - Column: int(29), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "min", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(9), - }, - End: ast.Location{ - Line: int(853), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(9), - }, - End: ast.Location{ - Line: int(853), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8980, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(22), - }, - End: ast.Location{ - Line: int(853), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(9), - }, - End: ast.Location{ - Line: int(853), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(8), - }, - End: ast.Location{ - Line: int(853), - Column: int(24), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(59), - }, - End: ast.Location{ - Line: int(854), - Column: int(62), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(59), - }, - End: ast.Location{ - Line: int(854), - Column: int(67), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8994, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(68), - }, - End: ast.Location{ - Line: int(854), - Column: int(69), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(59), - }, - End: ast.Location{ - Line: int(854), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.min first param expected number, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(13), - }, - End: ast.Location{ - Line: int(854), - Column: int(56), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(13), - }, - End: ast.Location{ - Line: int(854), - Column: int(70), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(854), - Column: int(7), - }, - End: ast.Location{ - Line: int(854), - Column: int(70), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(14), - }, - End: ast.Location{ - Line: int(855), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(14), - }, - End: ast.Location{ - Line: int(855), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9011, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(27), - }, - End: ast.Location{ - Line: int(855), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(14), - }, - End: ast.Location{ - Line: int(855), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(13), - }, - End: ast.Location{ - Line: int(855), - Column: int(29), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(856), - Column: int(60), - }, - End: ast.Location{ - Line: int(856), - Column: int(63), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(856), - Column: int(60), - }, - End: ast.Location{ - Line: int(856), - Column: int(68), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9025, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(856), - Column: int(69), - }, - End: ast.Location{ - Line: int(856), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(856), - Column: int(60), - }, - End: ast.Location{ - Line: int(856), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "std.min second param expected number, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(856), - Column: int(13), - }, - End: ast.Location{ - Line: int(856), - Column: int(57), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(856), - Column: int(13), - }, - End: ast.Location{ - Line: int(856), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(856), - Column: int(7), - }, - End: ast.Location{ - Line: int(856), - Column: int(71), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(14), - }, - End: ast.Location{ - Line: int(858), - Column: int(15), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(10), - }, - End: ast.Location{ - Line: int(858), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(10), - }, - End: ast.Location{ - Line: int(858), - Column: int(15), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(21), - }, - End: ast.Location{ - Line: int(858), - Column: int(22), - }, - }, - }, - }, - BranchFalse: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(28), - }, - End: ast.Location{ - Line: int(858), - Column: int(29), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(858), - Column: int(7), - }, - End: ast.Location{ - Line: int(858), - Column: int(29), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(855), - Column: int(10), - }, - End: ast.Location{ - Line: int(858), - Column: int(29), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p8976, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(853), - Column: int(5), - }, - End: ast.Location{ - Line: int(858), - Column: int(29), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(852), - Column: int(7), - }, - End: ast.Location{ - Line: int(852), - Column: int(8), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(852), - Column: int(10), - }, - End: ast.Location{ - Line: int(852), - Column: int(11), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(852), - Column: int(3), - }, - End: ast.Location{ - Line: int(858), - Column: int(29), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "clamp", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "minVal", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "minVal", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(12), - }, - End: ast.Location{ - Line: int(861), - Column: int(18), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(8), - }, - End: ast.Location{ - Line: int(861), - Column: int(9), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "minVal", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(8), - }, - End: ast.Location{ - Line: int(861), - Column: int(18), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Var{ - Id: "minVal", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "minVal", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(24), - }, - End: ast.Location{ - Line: int(861), - Column: int(30), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "maxVal", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "maxVal", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(17), - }, - End: ast.Location{ - Line: int(862), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(13), - }, - End: ast.Location{ - Line: int(862), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "maxVal", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(13), - }, - End: ast.Location{ - Line: int(862), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchTrue: &ast.Var{ - Id: "maxVal", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "maxVal", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(29), - }, - End: ast.Location{ - Line: int(862), - Column: int(35), - }, - }, - }, - }, - BranchFalse: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(863), - Column: int(10), - }, - End: ast.Location{ - Line: int(863), - Column: int(11), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "maxVal", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(862), - Column: int(10), - }, - End: ast.Location{ - Line: int(863), - Column: int(11), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p9057, - FreeVars: ast.Identifiers{ - "maxVal", - "minVal", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(861), - Column: int(5), - }, - End: ast.Location{ - Line: int(863), - Column: int(11), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(860), - Column: int(9), - }, - End: ast.Location{ - Line: int(860), - Column: int(10), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "minVal", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(860), - Column: int(12), - }, - End: ast.Location{ - Line: int(860), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "maxVal", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(860), - Column: int(20), - }, - End: ast.Location{ - Line: int(860), - Column: int(26), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(860), - Column: int(3), - }, - End: ast.Location{ - Line: int(863), - Column: int(11), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "flattenArrays", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(5), - }, - End: ast.Location{ - Line: int(866), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "foldl", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9089, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(5), - }, - End: ast.Location{ - Line: int(866), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9095, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(34), - }, - End: ast.Location{ - Line: int(866), - Column: int(35), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9095, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(30), - }, - End: ast.Location{ - Line: int(866), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9095, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(30), - }, - End: ast.Location{ - Line: int(866), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(24), - }, - End: ast.Location{ - Line: int(866), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(27), - }, - End: ast.Location{ - Line: int(866), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9101, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(15), - }, - End: ast.Location{ - Line: int(866), - Column: int(35), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arrs", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9101, - FreeVars: ast.Identifiers{ - "arrs", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(37), - }, - End: ast.Location{ - Line: int(866), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9101, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(43), - }, - End: ast.Location{ - Line: int(866), - Column: int(45), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9089, - FreeVars: ast.Identifiers{ - "arrs", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(866), - Column: int(5), - }, - End: ast.Location{ - Line: int(866), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arrs", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(865), - Column: int(17), - }, - End: ast.Location{ - Line: int(865), - Column: int(21), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(865), - Column: int(3), - }, - End: ast.Location{ - Line: int(866), - Column: int(46), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestIni", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(870), - Column: int(7), - }, - End: ast.Location{ - Line: int(870), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9119, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(870), - Column: int(7), - }, - End: ast.Location{ - Line: int(870), - Column: int(15), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9123, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(870), - Column: int(16), - }, - End: ast.Location{ - Line: int(870), - Column: int(18), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "body", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9138, - FreeVars: ast.Identifiers{ - "body", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(33), - }, - End: ast.Location{ - Line: int(871), - Column: int(37), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9138, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(38), - }, - End: ast.Location{ - Line: int(871), - Column: int(39), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9138, - FreeVars: ast.Identifiers{ - "body", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(33), - }, - End: ast.Location{ - Line: int(871), - Column: int(40), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "value_or_values", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(15), - }, - End: ast.Location{ - Line: int(871), - Column: int(40), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(12), - }, - End: ast.Location{ - Line: int(872), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9149, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(12), - }, - End: ast.Location{ - Line: int(872), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value_or_values", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9153, - FreeVars: ast.Identifiers{ - "value_or_values", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(24), - }, - End: ast.Location{ - Line: int(872), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9149, - FreeVars: ast.Identifiers{ - "std", - "value_or_values", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(12), - }, - End: ast.Location{ - Line: int(872), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "%s = %s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9174, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(873), - Column: int(12), - }, - End: ast.Location{ - Line: int(873), - Column: int(21), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9178, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(873), - Column: int(25), - }, - End: ast.Location{ - Line: int(873), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9178, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(873), - Column: int(28), - }, - End: ast.Location{ - Line: int(873), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9174, - FreeVars: ast.Identifiers{ - "k", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(873), - Column: int(24), - }, - End: ast.Location{ - Line: int(873), - Column: int(34), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(873), - Column: int(12), - }, - End: ast.Location{ - Line: int(873), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - "value", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "value", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value_or_values", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9149, - FreeVars: ast.Identifiers{ - "value_or_values", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(873), - Column: int(48), - }, - End: ast.Location{ - Line: int(873), - Column: int(63), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - "value_or_values", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(873), - Column: int(11), - }, - End: ast.Location{ - Line: int(873), - Column: int(64), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "%s = %s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9200, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(875), - Column: int(12), - }, - End: ast.Location{ - Line: int(875), - Column: int(21), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9204, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(875), - Column: int(25), - }, - End: ast.Location{ - Line: int(875), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value_or_values", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9204, - FreeVars: ast.Identifiers{ - "value_or_values", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(875), - Column: int(28), - }, - End: ast.Location{ - Line: int(875), - Column: int(43), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9200, - FreeVars: ast.Identifiers{ - "k", - "value_or_values", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(875), - Column: int(24), - }, - End: ast.Location{ - Line: int(875), - Column: int(44), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - "value_or_values", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(875), - Column: int(12), - }, - End: ast.Location{ - Line: int(875), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p9149, - FreeVars: ast.Identifiers{ - "$std", - "k", - "value_or_values", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(875), - Column: int(11), - }, - End: ast.Location{ - Line: int(875), - Column: int(45), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p9149, - FreeVars: ast.Identifiers{ - "$std", - "k", - "std", - "value_or_values", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(872), - Column: int(9), - }, - End: ast.Location{ - Line: int(875), - Column: int(45), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p9149, - FreeVars: ast.Identifiers{ - "$std", - "body", - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(871), - Column: int(9), - }, - End: ast.Location{ - Line: int(875), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "body", - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "body", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(877), - Column: int(18), - }, - End: ast.Location{ - Line: int(877), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9123, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(877), - Column: int(18), - }, - End: ast.Location{ - Line: int(877), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "body", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9228, - FreeVars: ast.Identifiers{ - "body", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(877), - Column: int(35), - }, - End: ast.Location{ - Line: int(877), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9123, - FreeVars: ast.Identifiers{ - "body", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(877), - Column: int(18), - }, - End: ast.Location{ - Line: int(877), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "body", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(870), - Column: int(20), - }, - End: ast.Location{ - Line: int(878), - Column: int(8), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9119, - FreeVars: ast.Identifiers{ - "$std", - "body", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(870), - Column: int(7), - }, - End: ast.Location{ - Line: int(878), - Column: int(9), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "body", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(22), - }, - End: ast.Location{ - Line: int(869), - Column: int(26), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p9234, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(11), - }, - End: ast.Location{ - Line: int(878), - Column: int(9), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "body_lines", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "body_lines", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9242, - FreeVars: ast.Identifiers{ - "body_lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(62), - }, - End: ast.Location{ - Line: int(880), - Column: int(72), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "sbody", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9246, - FreeVars: ast.Identifiers{ - "sbody", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(73), - }, - End: ast.Location{ - Line: int(880), - Column: int(78), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9242, - FreeVars: ast.Identifiers{ - "body_lines", - "sbody", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(62), - }, - End: ast.Location{ - Line: int(880), - Column: int(79), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "[%s]", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9259, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(42), - }, - End: ast.Location{ - Line: int(880), - Column: int(48), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "sname", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9263, - FreeVars: ast.Identifiers{ - "sname", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(52), - }, - End: ast.Location{ - Line: int(880), - Column: int(57), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9259, - FreeVars: ast.Identifiers{ - "sname", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(51), - }, - End: ast.Location{ - Line: int(880), - Column: int(58), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "sname", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(42), - }, - End: ast.Location{ - Line: int(880), - Column: int(58), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9242, - FreeVars: ast.Identifiers{ - "$std", - "sname", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(41), - }, - End: ast.Location{ - Line: int(880), - Column: int(59), - }, - }, - }, - TrailingComma: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9242, - FreeVars: ast.Identifiers{ - "$std", - "body_lines", - "sbody", - "sname", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(41), - }, - End: ast.Location{ - Line: int(880), - Column: int(79), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "sname", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(25), - }, - End: ast.Location{ - Line: int(880), - Column: int(30), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "sbody", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(32), - }, - End: ast.Location{ - Line: int(880), - Column: int(37), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p9270, - FreeVars: ast.Identifiers{ - "$std", - "body_lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(11), - }, - End: ast.Location{ - Line: int(880), - Column: int(79), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "section_lines", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - ast.LocalBind{ - VarFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(26), - }, - End: ast.Location{ - Line: int(881), - Column: int(29), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectHas", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9279, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(26), - }, - End: ast.Location{ - Line: int(881), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ini", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9283, - FreeVars: ast.Identifiers{ - "ini", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(40), - }, - End: ast.Location{ - Line: int(881), - Column: int(43), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "main", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9283, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(45), - }, - End: ast.Location{ - Line: int(881), - Column: int(51), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9279, - FreeVars: ast.Identifiers{ - "ini", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(26), - }, - End: ast.Location{ - Line: int(881), - Column: int(52), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "body_lines", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9279, - FreeVars: ast.Identifiers{ - "body_lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(58), - }, - End: ast.Location{ - Line: int(881), - Column: int(68), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "ini", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(69), - }, - End: ast.Location{ - Line: int(881), - Column: int(72), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "main", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9295, - FreeVars: ast.Identifiers{ - "ini", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(69), - }, - End: ast.Location{ - Line: int(881), - Column: int(77), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9279, - FreeVars: ast.Identifiers{ - "body_lines", - "ini", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(58), - }, - End: ast.Location{ - Line: int(881), - Column: int(78), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9279, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(84), - }, - End: ast.Location{ - Line: int(881), - Column: int(86), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9279, - FreeVars: ast.Identifiers{ - "body_lines", - "ini", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(23), - }, - End: ast.Location{ - Line: int(881), - Column: int(86), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "main_body", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(881), - Column: int(11), - }, - End: ast.Location{ - Line: int(881), - Column: int(86), - }, - }, - }, - ast.LocalBind{ - VarFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "section_lines", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p9314, - FreeVars: ast.Identifiers{ - "section_lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(7), - }, - End: ast.Location{ - Line: int(883), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9318, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(21), - }, - End: ast.Location{ - Line: int(883), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "ini", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(24), - }, - End: ast.Location{ - Line: int(883), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "sections", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9318, - FreeVars: ast.Identifiers{ - "ini", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(24), - }, - End: ast.Location{ - Line: int(883), - Column: int(36), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9318, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(37), - }, - End: ast.Location{ - Line: int(883), - Column: int(38), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9318, - FreeVars: ast.Identifiers{ - "ini", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(24), - }, - End: ast.Location{ - Line: int(883), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9314, - FreeVars: ast.Identifiers{ - "ini", - "k", - "section_lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(883), - Column: int(7), - }, - End: ast.Location{ - Line: int(883), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - "k", - "section_lines", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - "section_lines", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(16), - }, - End: ast.Location{ - Line: int(884), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(16), - }, - End: ast.Location{ - Line: int(884), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "ini", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ini", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(33), - }, - End: ast.Location{ - Line: int(884), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "sections", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9345, - FreeVars: ast.Identifiers{ - "ini", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(33), - }, - End: ast.Location{ - Line: int(884), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9338, - FreeVars: ast.Identifiers{ - "ini", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(884), - Column: int(16), - }, - End: ast.Location{ - Line: int(884), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "ini", - "section_lines", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(26), - }, - End: ast.Location{ - Line: int(885), - Column: int(6), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "all_sections", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(882), - Column: int(11), - }, - End: ast.Location{ - Line: int(885), - Column: int(6), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(5), - }, - End: ast.Location{ - Line: int(886), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9355, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(5), - }, - End: ast.Location{ - Line: int(886), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9359, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(14), - }, - End: ast.Location{ - Line: int(886), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9364, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(67), - }, - End: ast.Location{ - Line: int(886), - Column: int(69), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9359, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(66), - }, - End: ast.Location{ - Line: int(886), - Column: int(70), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(32), - }, - End: ast.Location{ - Line: int(886), - Column: int(35), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flattenArrays", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9359, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(32), - }, - End: ast.Location{ - Line: int(886), - Column: int(49), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "all_sections", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9374, - FreeVars: ast.Identifiers{ - "all_sections", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(50), - }, - End: ast.Location{ - Line: int(886), - Column: int(62), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9359, - FreeVars: ast.Identifiers{ - "all_sections", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(32), - }, - End: ast.Location{ - Line: int(886), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "main_body", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9359, - FreeVars: ast.Identifiers{ - "main_body", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(20), - }, - End: ast.Location{ - Line: int(886), - Column: int(29), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9359, - FreeVars: ast.Identifiers{ - "all_sections", - "main_body", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(20), - }, - End: ast.Location{ - Line: int(886), - Column: int(63), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9359, - FreeVars: ast.Identifiers{ - "all_sections", - "main_body", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(20), - }, - End: ast.Location{ - Line: int(886), - Column: int(70), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9355, - FreeVars: ast.Identifiers{ - "all_sections", - "main_body", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(886), - Column: int(5), - }, - End: ast.Location{ - Line: int(886), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p9355, - FreeVars: ast.Identifiers{ - "$std", - "body_lines", - "ini", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(880), - Column: int(5), - }, - End: ast.Location{ - Line: int(886), - Column: int(71), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p9355, - FreeVars: ast.Identifiers{ - "$std", - "ini", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(869), - Column: int(5), - }, - End: ast.Location{ - Line: int(886), - Column: int(71), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ini", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(15), - }, - End: ast.Location{ - Line: int(868), - Column: int(18), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(868), - Column: int(3), - }, - End: ast.Location{ - Line: int(886), - Column: int(71), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestToml", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(25), - }, - End: ast.Location{ - Line: int(888), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "manifestTomlEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9395, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(25), - }, - End: ast.Location{ - Line: int(888), - Column: int(43), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9399, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(44), - }, - End: ast.Location{ - Line: int(888), - Column: int(49), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9399, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(51), - }, - End: ast.Location{ - Line: int(888), - Column: int(55), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9395, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(25), - }, - End: ast.Location{ - Line: int(888), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(16), - }, - End: ast.Location{ - Line: int(888), - Column: int(21), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(888), - Column: int(3), - }, - End: ast.Location{ - Line: int(888), - Column: int(56), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestTomlEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(892), - Column: int(26), - }, - End: ast.Location{ - Line: int(892), - Column: int(29), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "escapeStringJson", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9414, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(892), - Column: int(26), - }, - End: ast.Location{ - Line: int(892), - Column: int(46), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "escapeStringToml", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(892), - Column: int(7), - }, - End: ast.Location{ - Line: int(892), - Column: int(46), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(30), - }, - End: ast.Location{ - Line: int(894), - Column: int(33), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9424, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(30), - }, - End: ast.Location{ - Line: int(894), - Column: int(37), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(38), - }, - End: ast.Location{ - Line: int(894), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9432, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(38), - }, - End: ast.Location{ - Line: int(894), - Column: int(53), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9436, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(54), - }, - End: ast.Location{ - Line: int(894), - Column: int(120), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9432, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(38), - }, - End: ast.Location{ - Line: int(894), - Column: int(121), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9424, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(30), - }, - End: ast.Location{ - Line: int(894), - Column: int(122), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "bare_allowed", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(15), - }, - End: ast.Location{ - Line: int(894), - Column: int(122), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "bare_allowed", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9442, - FreeVars: ast.Identifiers{ - "bare_allowed", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(73), - }, - End: ast.Location{ - Line: int(895), - Column: int(85), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(12), - }, - End: ast.Location{ - Line: int(895), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "setUnion", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9442, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(12), - }, - End: ast.Location{ - Line: int(895), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(25), - }, - End: ast.Location{ - Line: int(895), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9456, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(25), - }, - End: ast.Location{ - Line: int(895), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(33), - }, - End: ast.Location{ - Line: int(895), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9464, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(33), - }, - End: ast.Location{ - Line: int(895), - Column: int(48), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9468, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(49), - }, - End: ast.Location{ - Line: int(895), - Column: int(52), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9464, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(33), - }, - End: ast.Location{ - Line: int(895), - Column: int(53), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9456, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(25), - }, - End: ast.Location{ - Line: int(895), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "bare_allowed", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9456, - FreeVars: ast.Identifiers{ - "bare_allowed", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(56), - }, - End: ast.Location{ - Line: int(895), - Column: int(68), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9442, - FreeVars: ast.Identifiers{ - "bare_allowed", - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(12), - }, - End: ast.Location{ - Line: int(895), - Column: int(69), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9442, - FreeVars: ast.Identifiers{ - "bare_allowed", - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(12), - }, - End: ast.Location{ - Line: int(895), - Column: int(85), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9442, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(91), - }, - End: ast.Location{ - Line: int(895), - Column: int(94), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "escapeStringToml", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9442, - FreeVars: ast.Identifiers{ - "escapeStringToml", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(100), - }, - End: ast.Location{ - Line: int(895), - Column: int(116), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9483, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(117), - }, - End: ast.Location{ - Line: int(895), - Column: int(120), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9442, - FreeVars: ast.Identifiers{ - "escapeStringToml", - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(100), - }, - End: ast.Location{ - Line: int(895), - Column: int(121), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p9442, - FreeVars: ast.Identifiers{ - "bare_allowed", - "escapeStringToml", - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(895), - Column: int(9), - }, - End: ast.Location{ - Line: int(895), - Column: int(121), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p9442, - FreeVars: ast.Identifiers{ - "escapeStringToml", - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(894), - Column: int(9), - }, - End: ast.Location{ - Line: int(895), - Column: int(121), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(893), - Column: int(21), - }, - End: ast.Location{ - Line: int(893), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p9491, - FreeVars: ast.Identifiers{ - "escapeStringToml", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(893), - Column: int(7), - }, - End: ast.Location{ - Line: int(895), - Column: int(121), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "escapeKeyToml", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(64), - }, - End: ast.Location{ - Line: int(896), - Column: int(67), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "all", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(64), - }, - End: ast.Location{ - Line: int(896), - Column: int(71), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(72), - }, - End: ast.Location{ - Line: int(896), - Column: int(75), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9508, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(72), - }, - End: ast.Location{ - Line: int(896), - Column: int(79), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(80), - }, - End: ast.Location{ - Line: int(896), - Column: int(83), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9515, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(80), - }, - End: ast.Location{ - Line: int(896), - Column: int(92), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9515, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(94), - }, - End: ast.Location{ - Line: int(896), - Column: int(95), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9508, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(72), - }, - End: ast.Location{ - Line: int(896), - Column: int(96), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(64), - }, - End: ast.Location{ - Line: int(896), - Column: int(97), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(59), - }, - End: ast.Location{ - Line: int(896), - Column: int(60), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(43), - }, - End: ast.Location{ - Line: int(896), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(43), - }, - End: ast.Location{ - Line: int(896), - Column: int(53), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9532, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(54), - }, - End: ast.Location{ - Line: int(896), - Column: int(55), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(43), - }, - End: ast.Location{ - Line: int(896), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(43), - }, - End: ast.Location{ - Line: int(896), - Column: int(60), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(25), - }, - End: ast.Location{ - Line: int(896), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(25), - }, - End: ast.Location{ - Line: int(896), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9544, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(37), - }, - End: ast.Location{ - Line: int(896), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(25), - }, - End: ast.Location{ - Line: int(896), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(25), - }, - End: ast.Location{ - Line: int(896), - Column: int(60), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9500, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(25), - }, - End: ast.Location{ - Line: int(896), - Column: int(97), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(20), - }, - End: ast.Location{ - Line: int(896), - Column: int(21), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p9550, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(896), - Column: int(7), - }, - End: ast.Location{ - Line: int(896), - Column: int(97), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "isTableArray", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "isTableArray", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9556, - FreeVars: ast.Identifiers{ - "isTableArray", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(41), - }, - End: ast.Location{ - Line: int(897), - Column: int(53), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9560, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(54), - }, - End: ast.Location{ - Line: int(897), - Column: int(55), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9556, - FreeVars: ast.Identifiers{ - "isTableArray", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(41), - }, - End: ast.Location{ - Line: int(897), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(22), - }, - End: ast.Location{ - Line: int(897), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9556, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(22), - }, - End: ast.Location{ - Line: int(897), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9571, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(35), - }, - End: ast.Location{ - Line: int(897), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9556, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(22), - }, - End: ast.Location{ - Line: int(897), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9556, - FreeVars: ast.Identifiers{ - "isTableArray", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(22), - }, - End: ast.Location{ - Line: int(897), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(17), - }, - End: ast.Location{ - Line: int(897), - Column: int(18), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p9576, - FreeVars: ast.Identifiers{ - "isTableArray", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(897), - Column: int(7), - }, - End: ast.Location{ - Line: int(897), - Column: int(56), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "isSection", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(899), - Column: int(17), - }, - End: ast.Location{ - Line: int(899), - Column: int(21), - }, - }, - }, - Value: true, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(899), - Column: int(12), - }, - End: ast.Location{ - Line: int(899), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(899), - Column: int(12), - }, - End: ast.Location{ - Line: int(899), - Column: int(21), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "true", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(900), - Column: int(11), - }, - End: ast.Location{ - Line: int(900), - Column: int(17), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(901), - Column: int(22), - }, - End: ast.Location{ - Line: int(901), - Column: int(27), - }, - }, - }, - Value: false, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(901), - Column: int(17), - }, - End: ast.Location{ - Line: int(901), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(901), - Column: int(17), - }, - End: ast.Location{ - Line: int(901), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "false", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(902), - Column: int(11), - }, - End: ast.Location{ - Line: int(902), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(22), - }, - End: ast.Location{ - Line: int(903), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(17), - }, - End: ast.Location{ - Line: int(903), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(17), - }, - End: ast.Location{ - Line: int(903), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "indexedPath", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(50), - }, - End: ast.Location{ - Line: int(904), - Column: int(61), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Tried to manifest \"null\" at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(17), - }, - End: ast.Location{ - Line: int(904), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(17), - }, - End: ast.Location{ - Line: int(904), - Column: int(61), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(904), - Column: int(11), - }, - End: ast.Location{ - Line: int(904), - Column: int(61), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(17), - }, - End: ast.Location{ - Line: int(905), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(17), - }, - End: ast.Location{ - Line: int(905), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9619, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(30), - }, - End: ast.Location{ - Line: int(905), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(17), - }, - End: ast.Location{ - Line: int(905), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Binary{ - Right: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(16), - }, - End: ast.Location{ - Line: int(906), - Column: int(17), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(11), - }, - End: ast.Location{ - Line: int(906), - Column: int(13), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(906), - Column: int(11), - }, - End: ast.Location{ - Line: int(906), - Column: int(17), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(17), - }, - End: ast.Location{ - Line: int(907), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(17), - }, - End: ast.Location{ - Line: int(907), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9637, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(30), - }, - End: ast.Location{ - Line: int(907), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(17), - }, - End: ast.Location{ - Line: int(907), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "escapeStringToml", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "escapeStringToml", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(908), - Column: int(11), - }, - End: ast.Location{ - Line: int(908), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9646, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(908), - Column: int(28), - }, - End: ast.Location{ - Line: int(908), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "escapeStringToml", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(908), - Column: int(11), - }, - End: ast.Location{ - Line: int(908), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(17), - }, - End: ast.Location{ - Line: int(909), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(17), - }, - End: ast.Location{ - Line: int(909), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9658, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(32), - }, - End: ast.Location{ - Line: int(909), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(17), - }, - End: ast.Location{ - Line: int(909), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "indexedPath", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(910), - Column: int(52), - }, - End: ast.Location{ - Line: int(910), - Column: int(63), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Tried to manifest function at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(910), - Column: int(17), - }, - End: ast.Location{ - Line: int(910), - Column: int(49), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(910), - Column: int(17), - }, - End: ast.Location{ - Line: int(910), - Column: int(63), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(910), - Column: int(11), - }, - End: ast.Location{ - Line: int(910), - Column: int(63), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(911), - Column: int(17), - }, - End: ast.Location{ - Line: int(911), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(911), - Column: int(17), - }, - End: ast.Location{ - Line: int(911), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9678, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(911), - Column: int(29), - }, - End: ast.Location{ - Line: int(911), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(911), - Column: int(17), - }, - End: ast.Location{ - Line: int(911), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(31), - }, - End: ast.Location{ - Line: int(912), - Column: int(32), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(14), - }, - End: ast.Location{ - Line: int(912), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(14), - }, - End: ast.Location{ - Line: int(912), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9692, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(25), - }, - End: ast.Location{ - Line: int(912), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(14), - }, - End: ast.Location{ - Line: int(912), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(14), - }, - End: ast.Location{ - Line: int(912), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "[]", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(913), - Column: int(13), - }, - End: ast.Location{ - Line: int(913), - Column: int(17), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(27), - }, - End: ast.Location{ - Line: int(915), - Column: int(30), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "range", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9705, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(27), - }, - End: ast.Location{ - Line: int(915), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9709, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(37), - }, - End: ast.Location{ - Line: int(915), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9709, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(56), - }, - End: ast.Location{ - Line: int(915), - Column: int(57), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(40), - }, - End: ast.Location{ - Line: int(915), - Column: int(43), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9709, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(40), - }, - End: ast.Location{ - Line: int(915), - Column: int(50), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9720, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(51), - }, - End: ast.Location{ - Line: int(915), - Column: int(52), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9709, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(40), - }, - End: ast.Location{ - Line: int(915), - Column: int(53), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9709, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(40), - }, - End: ast.Location{ - Line: int(915), - Column: int(57), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9705, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(27), - }, - End: ast.Location{ - Line: int(915), - Column: int(58), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "range", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(19), - }, - End: ast.Location{ - Line: int(915), - Column: int(58), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Var{ - Id: "inline", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9729, - FreeVars: ast.Identifiers{ - "inline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(35), - }, - End: ast.Location{ - Line: int(916), - Column: int(41), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9729, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(47), - }, - End: ast.Location{ - Line: int(916), - Column: int(49), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Binary{ - Right: &ast.Var{ - Id: "indent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9729, - FreeVars: ast.Identifiers{ - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(65), - }, - End: ast.Location{ - Line: int(916), - Column: int(71), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9729, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(55), - }, - End: ast.Location{ - Line: int(916), - Column: int(62), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9729, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(55), - }, - End: ast.Location{ - Line: int(916), - Column: int(71), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9729, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - "inline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(32), - }, - End: ast.Location{ - Line: int(916), - Column: int(71), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "new_indent", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(19), - }, - End: ast.Location{ - Line: int(916), - Column: int(71), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Var{ - Id: "inline", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9743, - FreeVars: ast.Identifiers{ - "inline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(917), - Column: int(34), - }, - End: ast.Location{ - Line: int(917), - Column: int(40), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9743, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(917), - Column: int(46), - }, - End: ast.Location{ - Line: int(917), - Column: int(49), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9743, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(917), - Column: int(55), - }, - End: ast.Location{ - Line: int(917), - Column: int(59), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9743, - FreeVars: ast.Identifiers{ - "inline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(917), - Column: int(31), - }, - End: ast.Location{ - Line: int(917), - Column: int(59), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "separator", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(917), - Column: int(19), - }, - End: ast.Location{ - Line: int(917), - Column: int(59), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "]", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9755, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(77), - }, - End: ast.Location{ - Line: int(924), - Column: int(80), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Var{ - Id: "inline", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9755, - FreeVars: ast.Identifiers{ - "inline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(46), - }, - End: ast.Location{ - Line: int(924), - Column: int(52), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9755, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(58), - }, - End: ast.Location{ - Line: int(924), - Column: int(60), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9755, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(66), - }, - End: ast.Location{ - Line: int(924), - Column: int(73), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9755, - FreeVars: ast.Identifiers{ - "cindent", - "inline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(43), - }, - End: ast.Location{ - Line: int(924), - Column: int(73), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "separator", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9755, - FreeVars: ast.Identifiers{ - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(30), - }, - End: ast.Location{ - Line: int(924), - Column: int(39), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9755, - FreeVars: ast.Identifiers{ - "cindent", - "inline", - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(30), - }, - End: ast.Location{ - Line: int(924), - Column: int(74), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9755, - FreeVars: ast.Identifiers{ - "cindent", - "inline", - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(30), - }, - End: ast.Location{ - Line: int(924), - Column: int(80), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9768, - FreeVars: ast.Identifiers{ - "cindent", - "inline", - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(924), - Column: int(29), - }, - End: ast.Location{ - Line: int(924), - Column: int(81), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(29), - }, - End: ast.Location{ - Line: int(919), - Column: int(32), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9768, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(29), - }, - End: ast.Location{ - Line: int(919), - Column: int(37), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "separator", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9782, - FreeVars: ast.Identifiers{ - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(45), - }, - End: ast.Location{ - Line: int(919), - Column: int(54), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: ",", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9782, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(39), - }, - End: ast.Location{ - Line: int(919), - Column: int(42), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9782, - FreeVars: ast.Identifiers{ - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(39), - }, - End: ast.Location{ - Line: int(919), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9786, - FreeVars: ast.Identifiers{ - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(38), - }, - End: ast.Location{ - Line: int(919), - Column: int(55), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "renderValue", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9803, - FreeVars: ast.Identifiers{ - "renderValue", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(53), - }, - End: ast.Location{ - Line: int(921), - Column: int(64), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9808, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(65), - }, - End: ast.Location{ - Line: int(921), - Column: int(66), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9808, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(67), - }, - End: ast.Location{ - Line: int(921), - Column: int(68), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9808, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(65), - }, - End: ast.Location{ - Line: int(921), - Column: int(69), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9817, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(86), - }, - End: ast.Location{ - Line: int(921), - Column: int(87), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9808, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(85), - }, - End: ast.Location{ - Line: int(921), - Column: int(88), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "indexedPath", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9808, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(71), - }, - End: ast.Location{ - Line: int(921), - Column: int(82), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9808, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(71), - }, - End: ast.Location{ - Line: int(921), - Column: int(88), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9808, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(90), - }, - End: ast.Location{ - Line: int(921), - Column: int(94), - }, - }, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9808, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(96), - }, - End: ast.Location{ - Line: int(921), - Column: int(98), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9803, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(53), - }, - End: ast.Location{ - Line: int(921), - Column: int(99), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "new_indent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9803, - FreeVars: ast.Identifiers{ - "new_indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(40), - }, - End: ast.Location{ - Line: int(921), - Column: int(50), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9803, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - "new_indent", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(40), - }, - End: ast.Location{ - Line: int(921), - Column: int(99), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(38), - }, - }, - Ctx: p9830, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - "new_indent", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(921), - Column: int(39), - }, - End: ast.Location{ - Line: int(921), - Column: int(100), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - "new_indent", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "indexedPath", - "new_indent", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "range", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9786, - FreeVars: ast.Identifiers{ - "range", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(922), - Column: int(48), - }, - End: ast.Location{ - Line: int(922), - Column: int(53), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indexedPath", - "new_indent", - "range", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(920), - Column: int(37), - }, - End: ast.Location{ - Line: int(923), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9768, - FreeVars: ast.Identifiers{ - "$std", - "indexedPath", - "new_indent", - "range", - "renderValue", - "separator", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(919), - Column: int(29), - }, - End: ast.Location{ - Line: int(923), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "separator", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9843, - FreeVars: ast.Identifiers{ - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(34), - }, - End: ast.Location{ - Line: int(918), - Column: int(43), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "[", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9843, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(28), - }, - End: ast.Location{ - Line: int(918), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9843, - FreeVars: ast.Identifiers{ - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(28), - }, - End: ast.Location{ - Line: int(918), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9768, - FreeVars: ast.Identifiers{ - "separator", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(27), - }, - End: ast.Location{ - Line: int(918), - Column: int(44), - }, - }, - }, - TrailingComma: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(26), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9768, - FreeVars: ast.Identifiers{ - "$std", - "indexedPath", - "new_indent", - "range", - "renderValue", - "separator", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(27), - }, - End: ast.Location{ - Line: int(923), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(26), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9768, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "inline", - "new_indent", - "range", - "renderValue", - "separator", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(27), - }, - End: ast.Location{ - Line: int(924), - Column: int(81), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "lines", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(19), - }, - End: ast.Location{ - Line: int(924), - Column: int(81), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(13), - }, - End: ast.Location{ - Line: int(925), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(13), - }, - End: ast.Location{ - Line: int(925), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9861, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(22), - }, - End: ast.Location{ - Line: int(925), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "lines", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9861, - FreeVars: ast.Identifiers{ - "lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(26), - }, - End: ast.Location{ - Line: int(925), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "lines", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(925), - Column: int(13), - }, - End: ast.Location{ - Line: int(925), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "inline", - "new_indent", - "range", - "renderValue", - "separator", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(918), - Column: int(13), - }, - End: ast.Location{ - Line: int(925), - Column: int(32), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "inline", - "new_indent", - "range", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(917), - Column: int(13), - }, - End: ast.Location{ - Line: int(925), - Column: int(32), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indent", - "indexedPath", - "inline", - "range", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(916), - Column: int(13), - }, - End: ast.Location{ - Line: int(925), - Column: int(32), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(915), - Column: int(13), - }, - End: ast.Location{ - Line: int(925), - Column: int(32), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(912), - Column: int(11), - }, - End: ast.Location{ - Line: int(925), - Column: int(32), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(17), - }, - End: ast.Location{ - Line: int(926), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(17), - }, - End: ast.Location{ - Line: int(926), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9885, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(30), - }, - End: ast.Location{ - Line: int(926), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(17), - }, - End: ast.Location{ - Line: int(926), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: " }", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9894, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(28), - }, - End: ast.Location{ - Line: int(933), - Column: int(32), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9895, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(933), - Column: int(27), - }, - End: ast.Location{ - Line: int(933), - Column: int(33), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(928), - Column: int(27), - }, - End: ast.Location{ - Line: int(928), - Column: int(30), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9895, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(928), - Column: int(27), - }, - End: ast.Location{ - Line: int(928), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ", ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9907, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(928), - Column: int(37), - }, - End: ast.Location{ - Line: int(928), - Column: int(41), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9908, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(928), - Column: int(36), - }, - End: ast.Location{ - Line: int(928), - Column: int(42), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "renderValue", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9924, - FreeVars: ast.Identifiers{ - "renderValue", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(65), - }, - End: ast.Location{ - Line: int(930), - Column: int(76), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9929, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(77), - }, - End: ast.Location{ - Line: int(930), - Column: int(78), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9929, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(79), - }, - End: ast.Location{ - Line: int(930), - Column: int(80), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9929, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(77), - }, - End: ast.Location{ - Line: int(930), - Column: int(81), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9938, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(98), - }, - End: ast.Location{ - Line: int(930), - Column: int(99), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9929, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(97), - }, - End: ast.Location{ - Line: int(930), - Column: int(100), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "indexedPath", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9929, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(83), - }, - End: ast.Location{ - Line: int(930), - Column: int(94), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9929, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(83), - }, - End: ast.Location{ - Line: int(930), - Column: int(100), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9929, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(102), - }, - End: ast.Location{ - Line: int(930), - Column: int(106), - }, - }, - }, - Value: true, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9929, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(108), - }, - End: ast.Location{ - Line: int(930), - Column: int(110), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9924, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(65), - }, - End: ast.Location{ - Line: int(930), - Column: int(111), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " = ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9924, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(57), - }, - End: ast.Location{ - Line: int(930), - Column: int(62), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "escapeKeyToml", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9924, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(38), - }, - End: ast.Location{ - Line: int(930), - Column: int(51), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9954, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(52), - }, - End: ast.Location{ - Line: int(930), - Column: int(53), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9924, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(38), - }, - End: ast.Location{ - Line: int(930), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9924, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(38), - }, - End: ast.Location{ - Line: int(930), - Column: int(62), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9924, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(38), - }, - End: ast.Location{ - Line: int(930), - Column: int(111), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(36), - }, - }, - Ctx: p9960, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(930), - Column: int(37), - }, - End: ast.Location{ - Line: int(930), - Column: int(112), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indexedPath", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(46), - }, - End: ast.Location{ - Line: int(931), - Column: int(49), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9908, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(46), - }, - End: ast.Location{ - Line: int(931), - Column: int(62), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9973, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(63), - }, - End: ast.Location{ - Line: int(931), - Column: int(64), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9908, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(931), - Column: int(46), - }, - End: ast.Location{ - Line: int(931), - Column: int(65), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(929), - Column: int(35), - }, - End: ast.Location{ - Line: int(932), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9895, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(928), - Column: int(27), - }, - End: ast.Location{ - Line: int(932), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "{ ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9981, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(26), - }, - End: ast.Location{ - Line: int(927), - Column: int(30), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9895, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(25), - }, - End: ast.Location{ - Line: int(927), - Column: int(31), - }, - }, - }, - TrailingComma: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(24), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9895, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(25), - }, - End: ast.Location{ - Line: int(932), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(24), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9895, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(25), - }, - End: ast.Location{ - Line: int(933), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "lines", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(17), - }, - End: ast.Location{ - Line: int(933), - Column: int(33), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(934), - Column: int(11), - }, - End: ast.Location{ - Line: int(934), - Column: int(14), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(934), - Column: int(11), - }, - End: ast.Location{ - Line: int(934), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9995, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(934), - Column: int(20), - }, - End: ast.Location{ - Line: int(934), - Column: int(22), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "lines", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9995, - FreeVars: ast.Identifiers{ - "lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(934), - Column: int(24), - }, - End: ast.Location{ - Line: int(934), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "lines", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(934), - Column: int(11), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(927), - Column: int(11), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indexedPath", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(926), - Column: int(14), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(911), - Column: int(14), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(909), - Column: int(14), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(907), - Column: int(14), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(905), - Column: int(14), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(903), - Column: int(14), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(901), - Column: int(14), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p9582, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "escapeStringToml", - "indent", - "indexedPath", - "inline", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(899), - Column: int(9), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(19), - }, - End: ast.Location{ - Line: int(898), - Column: int(20), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indexedPath", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(22), - }, - End: ast.Location{ - Line: int(898), - Column: int(33), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "inline", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(35), - }, - End: ast.Location{ - Line: int(898), - Column: int(41), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(43), - }, - End: ast.Location{ - Line: int(898), - Column: int(50), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p10019, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "escapeStringToml", - "indent", - "renderValue", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(898), - Column: int(7), - }, - End: ast.Location{ - Line: int(934), - Column: int(30), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "renderValue", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(21), - }, - End: ast.Location{ - Line: int(936), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flattenArrays", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10029, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(21), - }, - End: ast.Location{ - Line: int(936), - Column: int(38), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "isSection", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10044, - FreeVars: ast.Identifiers{ - "isSection", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(15), - }, - End: ast.Location{ - Line: int(939), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10049, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(25), - }, - End: ast.Location{ - Line: int(939), - Column: int(26), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10049, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(27), - }, - End: ast.Location{ - Line: int(939), - Column: int(28), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10049, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(25), - }, - End: ast.Location{ - Line: int(939), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10044, - FreeVars: ast.Identifiers{ - "isSection", - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(15), - }, - End: ast.Location{ - Line: int(939), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10044, - FreeVars: ast.Identifiers{ - "isSection", - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(939), - Column: int(14), - }, - End: ast.Location{ - Line: int(939), - Column: int(30), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "renderValue", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10063, - FreeVars: ast.Identifiers{ - "renderValue", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(49), - }, - End: ast.Location{ - Line: int(937), - Column: int(60), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10068, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(61), - }, - End: ast.Location{ - Line: int(937), - Column: int(62), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10068, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(63), - }, - End: ast.Location{ - Line: int(937), - Column: int(64), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10068, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(61), - }, - End: ast.Location{ - Line: int(937), - Column: int(65), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10077, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(82), - }, - End: ast.Location{ - Line: int(937), - Column: int(83), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10068, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(81), - }, - End: ast.Location{ - Line: int(937), - Column: int(84), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "indexedPath", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10068, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(67), - }, - End: ast.Location{ - Line: int(937), - Column: int(78), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10068, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(67), - }, - End: ast.Location{ - Line: int(937), - Column: int(84), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10068, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(86), - }, - End: ast.Location{ - Line: int(937), - Column: int(91), - }, - }, - }, - Value: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10068, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(93), - }, - End: ast.Location{ - Line: int(937), - Column: int(100), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10063, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(49), - }, - End: ast.Location{ - Line: int(937), - Column: int(101), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " = ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10063, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(41), - }, - End: ast.Location{ - Line: int(937), - Column: int(46), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "escapeKeyToml", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10063, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(22), - }, - End: ast.Location{ - Line: int(937), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10095, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(36), - }, - End: ast.Location{ - Line: int(937), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10063, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(22), - }, - End: ast.Location{ - Line: int(937), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10063, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(12), - }, - End: ast.Location{ - Line: int(937), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10063, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(12), - }, - End: ast.Location{ - Line: int(937), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10063, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(12), - }, - End: ast.Location{ - Line: int(937), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10063, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(12), - }, - End: ast.Location{ - Line: int(937), - Column: int(101), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p10104, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(937), - Column: int(11), - }, - End: ast.Location{ - Line: int(937), - Column: int(102), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "k", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - Elements: nil, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "isSection", - "k", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indexedPath", - "isSection", - "renderValue", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(20), - }, - End: ast.Location{ - Line: int(938), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10044, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(20), - }, - End: ast.Location{ - Line: int(938), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10119, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(37), - }, - End: ast.Location{ - Line: int(938), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10044, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(938), - Column: int(20), - }, - End: ast.Location{ - Line: int(938), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indexedPath", - "isSection", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(39), - }, - End: ast.Location{ - Line: int(940), - Column: int(10), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10029, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indexedPath", - "isSection", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(21), - }, - End: ast.Location{ - Line: int(940), - Column: int(11), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "kvp", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(15), - }, - End: ast.Location{ - Line: int(940), - Column: int(11), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Var{ - Id: "isSection", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10138, - FreeVars: ast.Identifiers{ - "isSection", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(14), - }, - End: ast.Location{ - Line: int(948), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10143, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(24), - }, - End: ast.Location{ - Line: int(948), - Column: int(25), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10143, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(26), - }, - End: ast.Location{ - Line: int(948), - Column: int(27), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10143, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(24), - }, - End: ast.Location{ - Line: int(948), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10138, - FreeVars: ast.Identifiers{ - "isSection", - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(948), - Column: int(14), - }, - End: ast.Location{ - Line: int(948), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(15), - }, - End: ast.Location{ - Line: int(942), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10157, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(15), - }, - End: ast.Location{ - Line: int(942), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10162, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(28), - }, - End: ast.Location{ - Line: int(942), - Column: int(29), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10162, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(30), - }, - End: ast.Location{ - Line: int(942), - Column: int(31), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10162, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(28), - }, - End: ast.Location{ - Line: int(942), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10157, - FreeVars: ast.Identifiers{ - "k", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(15), - }, - End: ast.Location{ - Line: int(942), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "renderTable", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p10157, - FreeVars: ast.Identifiers{ - "renderTable", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(13), - }, - End: ast.Location{ - Line: int(943), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(25), - }, - End: ast.Location{ - Line: int(943), - Column: int(26), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(27), - }, - End: ast.Location{ - Line: int(943), - Column: int(28), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(25), - }, - End: ast.Location{ - Line: int(943), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10184, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(39), - }, - End: ast.Location{ - Line: int(943), - Column: int(40), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(38), - }, - End: ast.Location{ - Line: int(943), - Column: int(41), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(31), - }, - End: ast.Location{ - Line: int(943), - Column: int(35), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(31), - }, - End: ast.Location{ - Line: int(943), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10194, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(58), - }, - End: ast.Location{ - Line: int(943), - Column: int(59), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(57), - }, - End: ast.Location{ - Line: int(943), - Column: int(60), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "indexedPath", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(43), - }, - End: ast.Location{ - Line: int(943), - Column: int(54), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(43), - }, - End: ast.Location{ - Line: int(943), - Column: int(60), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10175, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(62), - }, - End: ast.Location{ - Line: int(943), - Column: int(69), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10157, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "path", - "renderTable", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(943), - Column: int(13), - }, - End: ast.Location{ - Line: int(943), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "renderTableArray", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p10157, - FreeVars: ast.Identifiers{ - "renderTableArray", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(13), - }, - End: ast.Location{ - Line: int(945), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(30), - }, - End: ast.Location{ - Line: int(945), - Column: int(31), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(32), - }, - End: ast.Location{ - Line: int(945), - Column: int(33), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(30), - }, - End: ast.Location{ - Line: int(945), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10219, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(44), - }, - End: ast.Location{ - Line: int(945), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(43), - }, - End: ast.Location{ - Line: int(945), - Column: int(46), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(36), - }, - End: ast.Location{ - Line: int(945), - Column: int(40), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(36), - }, - End: ast.Location{ - Line: int(945), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10229, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(63), - }, - End: ast.Location{ - Line: int(945), - Column: int(64), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(62), - }, - End: ast.Location{ - Line: int(945), - Column: int(65), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "indexedPath", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(48), - }, - End: ast.Location{ - Line: int(945), - Column: int(59), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "indexedPath", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(48), - }, - End: ast.Location{ - Line: int(945), - Column: int(65), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10210, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(67), - }, - End: ast.Location{ - Line: int(945), - Column: int(74), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10157, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "path", - "renderTableArray", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(945), - Column: int(13), - }, - End: ast.Location{ - Line: int(945), - Column: int(75), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10157, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(942), - Column: int(12), - }, - End: ast.Location{ - Line: int(945), - Column: int(75), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "k", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - Elements: nil, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "isSection", - "k", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "indexedPath", - "isSection", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(20), - }, - End: ast.Location{ - Line: int(947), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10138, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(20), - }, - End: ast.Location{ - Line: int(947), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10253, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(37), - }, - End: ast.Location{ - Line: int(947), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10138, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(947), - Column: int(20), - }, - End: ast.Location{ - Line: int(947), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "isSection", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(50), - }, - End: ast.Location{ - Line: int(949), - Column: int(10), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(27), - }, - End: ast.Location{ - Line: int(941), - Column: int(30), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10264, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(27), - }, - End: ast.Location{ - Line: int(941), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10268, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(36), - }, - End: ast.Location{ - Line: int(941), - Column: int(40), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "kvp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10268, - FreeVars: ast.Identifiers{ - "kvp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(42), - }, - End: ast.Location{ - Line: int(941), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10264, - FreeVars: ast.Identifiers{ - "kvp", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(27), - }, - End: ast.Location{ - Line: int(941), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10138, - FreeVars: ast.Identifiers{ - "kvp", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(26), - }, - End: ast.Location{ - Line: int(941), - Column: int(47), - }, - }, - }, - TrailingComma: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10138, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "isSection", - "kvp", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(26), - }, - End: ast.Location{ - Line: int(949), - Column: int(10), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "sections", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(15), - }, - End: ast.Location{ - Line: int(949), - Column: int(10), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(950), - Column: int(9), - }, - End: ast.Location{ - Line: int(950), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10280, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(950), - Column: int(9), - }, - End: ast.Location{ - Line: int(950), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\n\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10284, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(950), - Column: int(18), - }, - End: ast.Location{ - Line: int(950), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "sections", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10284, - FreeVars: ast.Identifiers{ - "sections", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(950), - Column: int(26), - }, - End: ast.Location{ - Line: int(950), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10280, - FreeVars: ast.Identifiers{ - "sections", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(950), - Column: int(9), - }, - End: ast.Location{ - Line: int(950), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10280, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "indexedPath", - "isSection", - "kvp", - "path", - "renderTable", - "renderTableArray", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(941), - Column: int(9), - }, - End: ast.Location{ - Line: int(950), - Column: int(35), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10280, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indexedPath", - "isSection", - "path", - "renderTable", - "renderTableArray", - "renderValue", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(936), - Column: int(9), - }, - End: ast.Location{ - Line: int(950), - Column: int(35), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(935), - Column: int(27), - }, - End: ast.Location{ - Line: int(935), - Column: int(28), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(935), - Column: int(30), - }, - End: ast.Location{ - Line: int(935), - Column: int(34), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indexedPath", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(935), - Column: int(36), - }, - End: ast.Location{ - Line: int(935), - Column: int(47), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(935), - Column: int(49), - }, - End: ast.Location{ - Line: int(935), - Column: int(56), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p10293, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "isSection", - "renderTable", - "renderTableArray", - "renderValue", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(935), - Column: int(7), - }, - End: ast.Location{ - Line: int(950), - Column: int(35), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "renderTableInternal", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "renderTableInternal", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "renderTableInternal", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(954), - Column: int(11), - }, - End: ast.Location{ - Line: int(954), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10303, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(954), - Column: int(31), - }, - End: ast.Location{ - Line: int(954), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10303, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(954), - Column: int(34), - }, - End: ast.Location{ - Line: int(954), - Column: int(38), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "indexedPath", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10303, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(954), - Column: int(40), - }, - End: ast.Location{ - Line: int(954), - Column: int(51), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "indent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10303, - FreeVars: ast.Identifiers{ - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(954), - Column: int(63), - }, - End: ast.Location{ - Line: int(954), - Column: int(69), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10303, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(954), - Column: int(53), - }, - End: ast.Location{ - Line: int(954), - Column: int(60), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10303, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(954), - Column: int(53), - }, - End: ast.Location{ - Line: int(954), - Column: int(69), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(954), - Column: int(11), - }, - End: ast.Location{ - Line: int(954), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{}, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(953), - Column: int(20), - }, - End: ast.Location{ - Line: int(953), - Column: int(22), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(953), - Column: int(15), - }, - End: ast.Location{ - Line: int(953), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(953), - Column: int(15), - }, - End: ast.Location{ - Line: int(953), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(953), - Column: int(28), - }, - End: ast.Location{ - Line: int(953), - Column: int(30), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(953), - Column: int(36), - }, - End: ast.Location{ - Line: int(953), - Column: int(40), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(953), - Column: int(12), - }, - End: ast.Location{ - Line: int(953), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "]", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(71), - }, - End: ast.Location{ - Line: int(952), - Column: int(74), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(25), - }, - End: ast.Location{ - Line: int(952), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(25), - }, - End: ast.Location{ - Line: int(952), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ".", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10337, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(34), - }, - End: ast.Location{ - Line: int(952), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(39), - }, - End: ast.Location{ - Line: int(952), - Column: int(42), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10337, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(39), - }, - End: ast.Location{ - Line: int(952), - Column: int(46), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "escapeKeyToml", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10346, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(47), - }, - End: ast.Location{ - Line: int(952), - Column: int(60), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10346, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(62), - }, - End: ast.Location{ - Line: int(952), - Column: int(66), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10337, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "path", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(39), - }, - End: ast.Location{ - Line: int(952), - Column: int(67), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "path", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(25), - }, - End: ast.Location{ - Line: int(952), - Column: int(68), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "[", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(19), - }, - End: ast.Location{ - Line: int(952), - Column: int(22), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(9), - }, - End: ast.Location{ - Line: int(952), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(9), - }, - End: ast.Location{ - Line: int(952), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(9), - }, - End: ast.Location{ - Line: int(952), - Column: int(68), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(9), - }, - End: ast.Location{ - Line: int(952), - Column: int(74), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(9), - }, - End: ast.Location{ - Line: int(953), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10299, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(952), - Column: int(9), - }, - End: ast.Location{ - Line: int(954), - Column: int(70), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(19), - }, - End: ast.Location{ - Line: int(951), - Column: int(20), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(22), - }, - End: ast.Location{ - Line: int(951), - Column: int(26), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indexedPath", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(28), - }, - End: ast.Location{ - Line: int(951), - Column: int(39), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(41), - }, - End: ast.Location{ - Line: int(951), - Column: int(48), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p10365, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "indent", - "renderTableInternal", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(951), - Column: int(7), - }, - End: ast.Location{ - Line: int(954), - Column: int(70), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "renderTable", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(23), - }, - End: ast.Location{ - Line: int(956), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "range", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10375, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(23), - }, - End: ast.Location{ - Line: int(956), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10379, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(33), - }, - End: ast.Location{ - Line: int(956), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10379, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(52), - }, - End: ast.Location{ - Line: int(956), - Column: int(53), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(36), - }, - End: ast.Location{ - Line: int(956), - Column: int(39), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10379, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(36), - }, - End: ast.Location{ - Line: int(956), - Column: int(46), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10390, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(47), - }, - End: ast.Location{ - Line: int(956), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10379, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(36), - }, - End: ast.Location{ - Line: int(956), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10379, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(36), - }, - End: ast.Location{ - Line: int(956), - Column: int(53), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10375, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(23), - }, - End: ast.Location{ - Line: int(956), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "range", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(15), - }, - End: ast.Location{ - Line: int(956), - Column: int(54), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "renderTableInternal", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "renderTableInternal", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(13), - }, - End: ast.Location{ - Line: int(960), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(33), - }, - End: ast.Location{ - Line: int(960), - Column: int(34), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(35), - }, - End: ast.Location{ - Line: int(960), - Column: int(36), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(33), - }, - End: ast.Location{ - Line: int(960), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(39), - }, - End: ast.Location{ - Line: int(960), - Column: int(43), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10426, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(60), - }, - End: ast.Location{ - Line: int(960), - Column: int(61), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(59), - }, - End: ast.Location{ - Line: int(960), - Column: int(62), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "indexedPath", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(45), - }, - End: ast.Location{ - Line: int(960), - Column: int(56), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "i", - "indexedPath", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(45), - }, - End: ast.Location{ - Line: int(960), - Column: int(62), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "indent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(74), - }, - End: ast.Location{ - Line: int(960), - Column: int(80), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(64), - }, - End: ast.Location{ - Line: int(960), - Column: int(71), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10415, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(64), - }, - End: ast.Location{ - Line: int(960), - Column: int(80), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "cindent", - "i", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(960), - Column: int(13), - }, - End: ast.Location{ - Line: int(960), - Column: int(81), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{}, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(25), - }, - End: ast.Location{ - Line: int(959), - Column: int(27), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(17), - }, - End: ast.Location{ - Line: int(959), - Column: int(18), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(19), - }, - End: ast.Location{ - Line: int(959), - Column: int(20), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(17), - }, - End: ast.Location{ - Line: int(959), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(17), - }, - End: ast.Location{ - Line: int(959), - Column: int(27), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(33), - }, - End: ast.Location{ - Line: int(959), - Column: int(35), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(41), - }, - End: ast.Location{ - Line: int(959), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(959), - Column: int(14), - }, - End: ast.Location{ - Line: int(959), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "]]", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(75), - }, - End: ast.Location{ - Line: int(958), - Column: int(79), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(29), - }, - End: ast.Location{ - Line: int(958), - Column: int(32), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(29), - }, - End: ast.Location{ - Line: int(958), - Column: int(37), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ".", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10464, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(38), - }, - End: ast.Location{ - Line: int(958), - Column: int(41), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(43), - }, - End: ast.Location{ - Line: int(958), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10464, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(43), - }, - End: ast.Location{ - Line: int(958), - Column: int(50), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "escapeKeyToml", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10473, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(51), - }, - End: ast.Location{ - Line: int(958), - Column: int(64), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10473, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(66), - }, - End: ast.Location{ - Line: int(958), - Column: int(70), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10464, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "path", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(43), - }, - End: ast.Location{ - Line: int(958), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "escapeKeyToml", - "path", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(29), - }, - End: ast.Location{ - Line: int(958), - Column: int(72), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "[[", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(22), - }, - End: ast.Location{ - Line: int(958), - Column: int(26), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(12), - }, - End: ast.Location{ - Line: int(958), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(12), - }, - End: ast.Location{ - Line: int(958), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(12), - }, - End: ast.Location{ - Line: int(958), - Column: int(72), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "path", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(12), - }, - End: ast.Location{ - Line: int(958), - Column: int(79), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "i", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(12), - }, - End: ast.Location{ - Line: int(959), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10410, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "i", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(958), - Column: int(12), - }, - End: ast.Location{ - Line: int(960), - Column: int(81), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "i", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "range", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10494, - FreeVars: ast.Identifiers{ - "range", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(961), - Column: int(20), - }, - End: ast.Location{ - Line: int(961), - Column: int(25), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "path", - "range", - "renderTableInternal", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(957), - Column: int(26), - }, - End: ast.Location{ - Line: int(962), - Column: int(10), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "sections", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(957), - Column: int(15), - }, - End: ast.Location{ - Line: int(962), - Column: int(10), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(9), - }, - End: ast.Location{ - Line: int(963), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10503, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(9), - }, - End: ast.Location{ - Line: int(963), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\n\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10507, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(18), - }, - End: ast.Location{ - Line: int(963), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "sections", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10507, - FreeVars: ast.Identifiers{ - "sections", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(26), - }, - End: ast.Location{ - Line: int(963), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10503, - FreeVars: ast.Identifiers{ - "sections", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(963), - Column: int(9), - }, - End: ast.Location{ - Line: int(963), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10503, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "path", - "range", - "renderTableInternal", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(957), - Column: int(9), - }, - End: ast.Location{ - Line: int(963), - Column: int(35), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10503, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "escapeKeyToml", - "indent", - "indexedPath", - "path", - "renderTableInternal", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(956), - Column: int(9), - }, - End: ast.Location{ - Line: int(963), - Column: int(35), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(24), - }, - End: ast.Location{ - Line: int(955), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(27), - }, - End: ast.Location{ - Line: int(955), - Column: int(31), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indexedPath", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(33), - }, - End: ast.Location{ - Line: int(955), - Column: int(44), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(46), - }, - End: ast.Location{ - Line: int(955), - Column: int(53), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p10516, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyToml", - "indent", - "renderTableInternal", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(955), - Column: int(7), - }, - End: ast.Location{ - Line: int(963), - Column: int(35), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "renderTableArray", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(8), - }, - End: ast.Location{ - Line: int(964), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(8), - }, - End: ast.Location{ - Line: int(964), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10528, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(21), - }, - End: ast.Location{ - Line: int(964), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(8), - }, - End: ast.Location{ - Line: int(964), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "renderTableInternal", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "renderTableInternal", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(7), - }, - End: ast.Location{ - Line: int(965), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10537, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(27), - }, - End: ast.Location{ - Line: int(965), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10537, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(34), - }, - End: ast.Location{ - Line: int(965), - Column: int(36), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10537, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(38), - }, - End: ast.Location{ - Line: int(965), - Column: int(40), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10537, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(42), - }, - End: ast.Location{ - Line: int(965), - Column: int(44), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "renderTableInternal", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(965), - Column: int(7), - }, - End: ast.Location{ - Line: int(965), - Column: int(45), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(967), - Column: int(51), - }, - End: ast.Location{ - Line: int(967), - Column: int(54), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(967), - Column: int(51), - }, - End: ast.Location{ - Line: int(967), - Column: int(59), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10553, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(967), - Column: int(60), - }, - End: ast.Location{ - Line: int(967), - Column: int(65), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(967), - Column: int(51), - }, - End: ast.Location{ - Line: int(967), - Column: int(66), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "TOML body must be an object. Got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10524, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(967), - Column: int(13), - }, - End: ast.Location{ - Line: int(967), - Column: int(48), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(967), - Column: int(13), - }, - End: ast.Location{ - Line: int(967), - Column: int(66), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(967), - Column: int(7), - }, - End: ast.Location{ - Line: int(967), - Column: int(66), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "renderTableInternal", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(964), - Column: int(5), - }, - End: ast.Location{ - Line: int(967), - Column: int(66), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10524, - FreeVars: ast.Identifiers{ - "$std", - "indent", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(891), - Column: int(5), - }, - End: ast.Location{ - Line: int(967), - Column: int(66), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(890), - Column: int(18), - }, - End: ast.Location{ - Line: int(890), - Column: int(23), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indent", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(890), - Column: int(25), - }, - End: ast.Location{ - Line: int(890), - Column: int(31), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(890), - Column: int(3), - }, - End: ast.Location{ - Line: int(967), - Column: int(66), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "escapeStringJson", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(970), - Column: int(17), - }, - End: ast.Location{ - Line: int(970), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "toString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10576, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(970), - Column: int(17), - }, - End: ast.Location{ - Line: int(970), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str_", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10580, - FreeVars: ast.Identifiers{ - "str_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(970), - Column: int(30), - }, - End: ast.Location{ - Line: int(970), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10576, - FreeVars: ast.Identifiers{ - "std", - "str_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(970), - Column: int(17), - }, - End: ast.Location{ - Line: int(970), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "str", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(970), - Column: int(11), - }, - End: ast.Location{ - Line: int(970), - Column: int(35), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "\"", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(972), - Column: int(16), - }, - End: ast.Location{ - Line: int(972), - Column: int(19), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(972), - Column: int(10), - }, - End: ast.Location{ - Line: int(972), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(972), - Column: int(10), - }, - End: ast.Location{ - Line: int(972), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "\\\"", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(973), - Column: int(9), - }, - End: ast.Location{ - Line: int(973), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "\\", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(974), - Column: int(21), - }, - End: ast.Location{ - Line: int(974), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(974), - Column: int(15), - }, - End: ast.Location{ - Line: int(974), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(974), - Column: int(15), - }, - End: ast.Location{ - Line: int(974), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "\\\\", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(975), - Column: int(9), - }, - End: ast.Location{ - Line: int(975), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "\b", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(21), - }, - End: ast.Location{ - Line: int(976), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(15), - }, - End: ast.Location{ - Line: int(976), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(15), - }, - End: ast.Location{ - Line: int(976), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "\\b", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(977), - Column: int(9), - }, - End: ast.Location{ - Line: int(977), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "\f", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(978), - Column: int(21), - }, - End: ast.Location{ - Line: int(978), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(978), - Column: int(15), - }, - End: ast.Location{ - Line: int(978), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(978), - Column: int(15), - }, - End: ast.Location{ - Line: int(978), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "\\f", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(979), - Column: int(9), - }, - End: ast.Location{ - Line: int(979), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(21), - }, - End: ast.Location{ - Line: int(980), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(15), - }, - End: ast.Location{ - Line: int(980), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(15), - }, - End: ast.Location{ - Line: int(980), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "\\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(981), - Column: int(9), - }, - End: ast.Location{ - Line: int(981), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "\r", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(21), - }, - End: ast.Location{ - Line: int(982), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(15), - }, - End: ast.Location{ - Line: int(982), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(15), - }, - End: ast.Location{ - Line: int(982), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "\\r", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(983), - Column: int(9), - }, - End: ast.Location{ - Line: int(983), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "\t", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(984), - Column: int(21), - }, - End: ast.Location{ - Line: int(984), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(984), - Column: int(15), - }, - End: ast.Location{ - Line: int(984), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(984), - Column: int(15), - }, - End: ast.Location{ - Line: int(984), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "\\t", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(985), - Column: int(9), - }, - End: ast.Location{ - Line: int(985), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(20), - }, - End: ast.Location{ - Line: int(987), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "codepoint", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10650, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(20), - }, - End: ast.Location{ - Line: int(987), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10654, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(34), - }, - End: ast.Location{ - Line: int(987), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10650, - FreeVars: ast.Identifiers{ - "ch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(20), - }, - End: ast.Location{ - Line: int(987), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "cp", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(15), - }, - End: ast.Location{ - Line: int(987), - Column: int(37), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "159", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(43), - }, - End: ast.Location{ - Line: int(988), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(37), - }, - End: ast.Location{ - Line: int(988), - Column: int(39), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(37), - }, - End: ast.Location{ - Line: int(988), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(10), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "127", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(30), - }, - End: ast.Location{ - Line: int(988), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(24), - }, - End: ast.Location{ - Line: int(988), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(24), - }, - End: ast.Location{ - Line: int(988), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(24), - }, - End: ast.Location{ - Line: int(988), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "32", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(17), - }, - End: ast.Location{ - Line: int(988), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(12), - }, - End: ast.Location{ - Line: int(988), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(12), - }, - End: ast.Location{ - Line: int(988), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(12), - }, - End: ast.Location{ - Line: int(988), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\\u%04x", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(989), - Column: int(11), - }, - End: ast.Location{ - Line: int(989), - Column: int(20), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "cp", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10689, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(989), - Column: int(24), - }, - End: ast.Location{ - Line: int(989), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(989), - Column: int(23), - }, - End: ast.Location{ - Line: int(989), - Column: int(27), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(989), - Column: int(11), - }, - End: ast.Location{ - Line: int(989), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(991), - Column: int(11), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "cp", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(988), - Column: int(9), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(987), - Column: int(9), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(984), - Column: int(12), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(982), - Column: int(12), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(980), - Column: int(12), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(978), - Column: int(12), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(976), - Column: int(12), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(974), - Column: int(12), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p10589, - FreeVars: ast.Identifiers{ - "$std", - "ch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(972), - Column: int(7), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ch", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(971), - Column: int(17), - }, - End: ast.Location{ - Line: int(971), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p10717, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(971), - Column: int(11), - }, - End: ast.Location{ - Line: int(991), - Column: int(13), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "trans", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\"%s\"", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10728, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(5), - }, - End: ast.Location{ - Line: int(992), - Column: int(11), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(14), - }, - End: ast.Location{ - Line: int(992), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10728, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(14), - }, - End: ast.Location{ - Line: int(992), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10737, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(23), - }, - End: ast.Location{ - Line: int(992), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "trans", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10750, - FreeVars: ast.Identifiers{ - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(28), - }, - End: ast.Location{ - Line: int(992), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10754, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(34), - }, - End: ast.Location{ - Line: int(992), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10750, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(28), - }, - End: ast.Location{ - Line: int(992), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "ch", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "trans", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(48), - }, - End: ast.Location{ - Line: int(992), - Column: int(51), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(48), - }, - End: ast.Location{ - Line: int(992), - Column: int(63), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10768, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(64), - }, - End: ast.Location{ - Line: int(992), - Column: int(67), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10737, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(48), - }, - End: ast.Location{ - Line: int(992), - Column: int(68), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(27), - }, - End: ast.Location{ - Line: int(992), - Column: int(69), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10728, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(14), - }, - End: ast.Location{ - Line: int(992), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(992), - Column: int(5), - }, - End: ast.Location{ - Line: int(992), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10728, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(971), - Column: int(5), - }, - End: ast.Location{ - Line: int(992), - Column: int(70), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10728, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(970), - Column: int(5), - }, - End: ast.Location{ - Line: int(992), - Column: int(70), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str_", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(969), - Column: int(20), - }, - End: ast.Location{ - Line: int(969), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(969), - Column: int(3), - }, - End: ast.Location{ - Line: int(992), - Column: int(70), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "escapeStringPython", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(5), - }, - End: ast.Location{ - Line: int(995), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "escapeStringJson", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10788, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(5), - }, - End: ast.Location{ - Line: int(995), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10792, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(26), - }, - End: ast.Location{ - Line: int(995), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10788, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(995), - Column: int(5), - }, - End: ast.Location{ - Line: int(995), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(994), - Column: int(22), - }, - End: ast.Location{ - Line: int(994), - Column: int(25), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(994), - Column: int(3), - }, - End: ast.Location{ - Line: int(995), - Column: int(30), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "escapeStringBash", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(17), - }, - End: ast.Location{ - Line: int(998), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "toString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10806, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(17), - }, - End: ast.Location{ - Line: int(998), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str_", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10810, - FreeVars: ast.Identifiers{ - "str_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(30), - }, - End: ast.Location{ - Line: int(998), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10806, - FreeVars: ast.Identifiers{ - "std", - "str_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(17), - }, - End: ast.Location{ - Line: int(998), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "str", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(11), - }, - End: ast.Location{ - Line: int(998), - Column: int(35), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "'", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10819, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1000), - Column: int(16), - }, - End: ast.Location{ - Line: int(1000), - Column: int(19), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10819, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1000), - Column: int(10), - }, - End: ast.Location{ - Line: int(1000), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10819, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1000), - Column: int(10), - }, - End: ast.Location{ - Line: int(1000), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "'\"'\"'", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10819, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1001), - Column: int(9), - }, - End: ast.Location{ - Line: int(1001), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10819, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1003), - Column: int(9), - }, - End: ast.Location{ - Line: int(1003), - Column: int(11), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p10819, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1000), - Column: int(7), - }, - End: ast.Location{ - Line: int(1003), - Column: int(11), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ch", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(999), - Column: int(17), - }, - End: ast.Location{ - Line: int(999), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p10832, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(999), - Column: int(11), - }, - End: ast.Location{ - Line: int(1003), - Column: int(11), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "trans", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "'%s'", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10842, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(5), - }, - End: ast.Location{ - Line: int(1004), - Column: int(11), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(14), - }, - End: ast.Location{ - Line: int(1004), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10842, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(14), - }, - End: ast.Location{ - Line: int(1004), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10851, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(23), - }, - End: ast.Location{ - Line: int(1004), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "trans", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(28), - }, - End: ast.Location{ - Line: int(1004), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10868, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(34), - }, - End: ast.Location{ - Line: int(1004), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10864, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(28), - }, - End: ast.Location{ - Line: int(1004), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "ch", - "trans", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "ch", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "trans", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(48), - }, - End: ast.Location{ - Line: int(1004), - Column: int(51), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10851, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(48), - }, - End: ast.Location{ - Line: int(1004), - Column: int(63), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10882, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(64), - }, - End: ast.Location{ - Line: int(1004), - Column: int(67), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10851, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(48), - }, - End: ast.Location{ - Line: int(1004), - Column: int(68), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(27), - }, - End: ast.Location{ - Line: int(1004), - Column: int(69), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10842, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(14), - }, - End: ast.Location{ - Line: int(1004), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1004), - Column: int(5), - }, - End: ast.Location{ - Line: int(1004), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10842, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(999), - Column: int(5), - }, - End: ast.Location{ - Line: int(1004), - Column: int(70), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10842, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(998), - Column: int(5), - }, - End: ast.Location{ - Line: int(1004), - Column: int(70), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str_", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(997), - Column: int(20), - }, - End: ast.Location{ - Line: int(997), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(997), - Column: int(3), - }, - End: ast.Location{ - Line: int(1004), - Column: int(70), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "escapeStringDollars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(17), - }, - End: ast.Location{ - Line: int(1007), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "toString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10903, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(17), - }, - End: ast.Location{ - Line: int(1007), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str_", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10907, - FreeVars: ast.Identifiers{ - "str_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(30), - }, - End: ast.Location{ - Line: int(1007), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10903, - FreeVars: ast.Identifiers{ - "std", - "str_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(17), - }, - End: ast.Location{ - Line: int(1007), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "str", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(11), - }, - End: ast.Location{ - Line: int(1007), - Column: int(35), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "$", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10916, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1009), - Column: int(16), - }, - End: ast.Location{ - Line: int(1009), - Column: int(19), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10916, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1009), - Column: int(10), - }, - End: ast.Location{ - Line: int(1009), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10916, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1009), - Column: int(10), - }, - End: ast.Location{ - Line: int(1009), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "$$", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10916, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1010), - Column: int(9), - }, - End: ast.Location{ - Line: int(1010), - Column: int(13), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Var{ - Id: "ch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p10916, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1012), - Column: int(9), - }, - End: ast.Location{ - Line: int(1012), - Column: int(11), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p10916, - FreeVars: ast.Identifiers{ - "ch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1009), - Column: int(7), - }, - End: ast.Location{ - Line: int(1012), - Column: int(11), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "ch", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1008), - Column: int(17), - }, - End: ast.Location{ - Line: int(1008), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p10929, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1008), - Column: int(11), - }, - End: ast.Location{ - Line: int(1012), - Column: int(11), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "trans", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(5), - }, - End: ast.Location{ - Line: int(1013), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "foldl", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10936, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(5), - }, - End: ast.Location{ - Line: int(1013), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "trans", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10943, - FreeVars: ast.Identifiers{ - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(34), - }, - End: ast.Location{ - Line: int(1013), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10947, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(40), - }, - End: ast.Location{ - Line: int(1013), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10943, - FreeVars: ast.Identifiers{ - "b", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(34), - }, - End: ast.Location{ - Line: int(1013), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10943, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(30), - }, - End: ast.Location{ - Line: int(1013), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10943, - FreeVars: ast.Identifiers{ - "a", - "b", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(30), - }, - End: ast.Location{ - Line: int(1013), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(24), - }, - End: ast.Location{ - Line: int(1013), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(27), - }, - End: ast.Location{ - Line: int(1013), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10954, - FreeVars: ast.Identifiers{ - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(15), - }, - End: ast.Location{ - Line: int(1013), - Column: int(42), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(44), - }, - End: ast.Location{ - Line: int(1013), - Column: int(47), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10954, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(44), - }, - End: ast.Location{ - Line: int(1013), - Column: int(59), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10964, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(60), - }, - End: ast.Location{ - Line: int(1013), - Column: int(63), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10954, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(44), - }, - End: ast.Location{ - Line: int(1013), - Column: int(64), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10954, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(66), - }, - End: ast.Location{ - Line: int(1013), - Column: int(68), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10936, - FreeVars: ast.Identifiers{ - "std", - "str", - "trans", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1013), - Column: int(5), - }, - End: ast.Location{ - Line: int(1013), - Column: int(69), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10936, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1008), - Column: int(5), - }, - End: ast.Location{ - Line: int(1013), - Column: int(69), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p10936, - FreeVars: ast.Identifiers{ - "std", - "str_", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1007), - Column: int(5), - }, - End: ast.Location{ - Line: int(1013), - Column: int(69), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str_", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1006), - Column: int(23), - }, - End: ast.Location{ - Line: int(1006), - Column: int(27), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1006), - Column: int(3), - }, - End: ast.Location{ - Line: int(1013), - Column: int(69), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestJson", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(25), - }, - End: ast.Location{ - Line: int(1015), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "manifestJsonEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10982, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(25), - }, - End: ast.Location{ - Line: int(1015), - Column: int(43), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10986, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(44), - }, - End: ast.Location{ - Line: int(1015), - Column: int(49), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10986, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(51), - }, - End: ast.Location{ - Line: int(1015), - Column: int(57), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10982, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(25), - }, - End: ast.Location{ - Line: int(1015), - Column: int(58), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(16), - }, - End: ast.Location{ - Line: int(1015), - Column: int(21), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1015), - Column: int(3), - }, - End: ast.Location{ - Line: int(1015), - Column: int(58), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestJsonMinified", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(33), - }, - End: ast.Location{ - Line: int(1017), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "manifestJsonEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10999, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(33), - }, - End: ast.Location{ - Line: int(1017), - Column: int(51), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11003, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(52), - }, - End: ast.Location{ - Line: int(1017), - Column: int(57), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11003, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(59), - }, - End: ast.Location{ - Line: int(1017), - Column: int(61), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11003, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(63), - }, - End: ast.Location{ - Line: int(1017), - Column: int(65), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ":", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11003, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(67), - }, - End: ast.Location{ - Line: int(1017), - Column: int(70), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p10999, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(33), - }, - End: ast.Location{ - Line: int(1017), - Column: int(71), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(24), - }, - End: ast.Location{ - Line: int(1017), - Column: int(29), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1017), - Column: int(3), - }, - End: ast.Location{ - Line: int(1017), - Column: int(71), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestJsonEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1021), - Column: int(15), - }, - End: ast.Location{ - Line: int(1021), - Column: int(19), - }, - }, - }, - Value: true, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1021), - Column: int(10), - }, - End: ast.Location{ - Line: int(1021), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1021), - Column: int(10), - }, - End: ast.Location{ - Line: int(1021), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "true", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1022), - Column: int(9), - }, - End: ast.Location{ - Line: int(1022), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1023), - Column: int(20), - }, - End: ast.Location{ - Line: int(1023), - Column: int(25), - }, - }, - }, - Value: false, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1023), - Column: int(15), - }, - End: ast.Location{ - Line: int(1023), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1023), - Column: int(15), - }, - End: ast.Location{ - Line: int(1023), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "false", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1024), - Column: int(9), - }, - End: ast.Location{ - Line: int(1024), - Column: int(16), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(20), - }, - End: ast.Location{ - Line: int(1025), - Column: int(24), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(15), - }, - End: ast.Location{ - Line: int(1025), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(15), - }, - End: ast.Location{ - Line: int(1025), - Column: int(24), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "null", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1026), - Column: int(9), - }, - End: ast.Location{ - Line: int(1026), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(15), - }, - End: ast.Location{ - Line: int(1027), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(15), - }, - End: ast.Location{ - Line: int(1027), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11050, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(28), - }, - End: ast.Location{ - Line: int(1027), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(15), - }, - End: ast.Location{ - Line: int(1027), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Binary{ - Right: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(14), - }, - End: ast.Location{ - Line: int(1028), - Column: int(15), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(9), - }, - End: ast.Location{ - Line: int(1028), - Column: int(11), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1028), - Column: int(9), - }, - End: ast.Location{ - Line: int(1028), - Column: int(15), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(15), - }, - End: ast.Location{ - Line: int(1029), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(15), - }, - End: ast.Location{ - Line: int(1029), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11068, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(28), - }, - End: ast.Location{ - Line: int(1029), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(15), - }, - End: ast.Location{ - Line: int(1029), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(9), - }, - End: ast.Location{ - Line: int(1030), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "escapeStringJson", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(9), - }, - End: ast.Location{ - Line: int(1030), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11080, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(30), - }, - End: ast.Location{ - Line: int(1030), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1030), - Column: int(9), - }, - End: ast.Location{ - Line: int(1030), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(15), - }, - End: ast.Location{ - Line: int(1031), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(15), - }, - End: ast.Location{ - Line: int(1031), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11092, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(30), - }, - End: ast.Location{ - Line: int(1031), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(15), - }, - End: ast.Location{ - Line: int(1031), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(50), - }, - End: ast.Location{ - Line: int(1032), - Column: int(54), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Tried to manifest function at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(15), - }, - End: ast.Location{ - Line: int(1032), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(15), - }, - End: ast.Location{ - Line: int(1032), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1032), - Column: int(9), - }, - End: ast.Location{ - Line: int(1032), - Column: int(54), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(15), - }, - End: ast.Location{ - Line: int(1033), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(15), - }, - End: ast.Location{ - Line: int(1033), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11112, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(27), - }, - End: ast.Location{ - Line: int(1033), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(15), - }, - End: ast.Location{ - Line: int(1033), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(23), - }, - End: ast.Location{ - Line: int(1034), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "range", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11122, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(23), - }, - End: ast.Location{ - Line: int(1034), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11126, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(33), - }, - End: ast.Location{ - Line: int(1034), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11126, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(52), - }, - End: ast.Location{ - Line: int(1034), - Column: int(53), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(36), - }, - End: ast.Location{ - Line: int(1034), - Column: int(39), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11126, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(36), - }, - End: ast.Location{ - Line: int(1034), - Column: int(46), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11137, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(47), - }, - End: ast.Location{ - Line: int(1034), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11126, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(36), - }, - End: ast.Location{ - Line: int(1034), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11126, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(36), - }, - End: ast.Location{ - Line: int(1034), - Column: int(53), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11122, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(23), - }, - End: ast.Location{ - Line: int(1034), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "range", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(15), - }, - End: ast.Location{ - Line: int(1034), - Column: int(54), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "indent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11146, - FreeVars: ast.Identifiers{ - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(38), - }, - End: ast.Location{ - Line: int(1035), - Column: int(44), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11146, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(28), - }, - End: ast.Location{ - Line: int(1035), - Column: int(35), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11146, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(28), - }, - End: ast.Location{ - Line: int(1035), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "new_indent", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(15), - }, - End: ast.Location{ - Line: int(1035), - Column: int(44), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "]", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11158, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1042), - Column: int(46), - }, - End: ast.Location{ - Line: int(1042), - Column: int(49), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11158, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1042), - Column: int(36), - }, - End: ast.Location{ - Line: int(1042), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "newline", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11158, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1042), - Column: int(26), - }, - End: ast.Location{ - Line: int(1042), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11158, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1042), - Column: int(26), - }, - End: ast.Location{ - Line: int(1042), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11158, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1042), - Column: int(26), - }, - End: ast.Location{ - Line: int(1042), - Column: int(49), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11166, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1042), - Column: int(25), - }, - End: ast.Location{ - Line: int(1042), - Column: int(50), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(25), - }, - End: ast.Location{ - Line: int(1037), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11166, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(25), - }, - End: ast.Location{ - Line: int(1037), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "newline", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11180, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(41), - }, - End: ast.Location{ - Line: int(1037), - Column: int(48), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: ",", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11180, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(35), - }, - End: ast.Location{ - Line: int(1037), - Column: int(38), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11180, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(35), - }, - End: ast.Location{ - Line: int(1037), - Column: int(48), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11184, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(34), - }, - End: ast.Location{ - Line: int(1037), - Column: int(49), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11201, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(50), - }, - End: ast.Location{ - Line: int(1039), - Column: int(53), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11206, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(54), - }, - End: ast.Location{ - Line: int(1039), - Column: int(55), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11206, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(56), - }, - End: ast.Location{ - Line: int(1039), - Column: int(57), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11206, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(54), - }, - End: ast.Location{ - Line: int(1039), - Column: int(58), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11215, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(68), - }, - End: ast.Location{ - Line: int(1039), - Column: int(69), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11206, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(67), - }, - End: ast.Location{ - Line: int(1039), - Column: int(70), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11206, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(60), - }, - End: ast.Location{ - Line: int(1039), - Column: int(64), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11206, - FreeVars: ast.Identifiers{ - "i", - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(60), - }, - End: ast.Location{ - Line: int(1039), - Column: int(70), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "new_indent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11206, - FreeVars: ast.Identifiers{ - "new_indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(72), - }, - End: ast.Location{ - Line: int(1039), - Column: int(82), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11201, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(50), - }, - End: ast.Location{ - Line: int(1039), - Column: int(83), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "new_indent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11201, - FreeVars: ast.Identifiers{ - "new_indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(37), - }, - End: ast.Location{ - Line: int(1039), - Column: int(47), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11201, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(37), - }, - End: ast.Location{ - Line: int(1039), - Column: int(83), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(35), - }, - }, - Ctx: p11228, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1039), - Column: int(36), - }, - End: ast.Location{ - Line: int(1039), - Column: int(84), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "i", - "new_indent", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "new_indent", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "range", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11184, - FreeVars: ast.Identifiers{ - "range", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1040), - Column: int(45), - }, - End: ast.Location{ - Line: int(1040), - Column: int(50), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "new_indent", - "path", - "range", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1038), - Column: int(34), - }, - End: ast.Location{ - Line: int(1041), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11166, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "new_indent", - "newline", - "path", - "range", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1037), - Column: int(25), - }, - End: ast.Location{ - Line: int(1041), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "newline", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11241, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(30), - }, - End: ast.Location{ - Line: int(1036), - Column: int(37), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "[", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11241, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(24), - }, - End: ast.Location{ - Line: int(1036), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11241, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(24), - }, - End: ast.Location{ - Line: int(1036), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11166, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(23), - }, - End: ast.Location{ - Line: int(1036), - Column: int(38), - }, - }, - }, - TrailingComma: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(22), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11166, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "new_indent", - "newline", - "path", - "range", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(23), - }, - End: ast.Location{ - Line: int(1041), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(22), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11166, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "new_indent", - "newline", - "path", - "range", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(23), - }, - End: ast.Location{ - Line: int(1042), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "lines", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(15), - }, - End: ast.Location{ - Line: int(1042), - Column: int(50), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1043), - Column: int(9), - }, - End: ast.Location{ - Line: int(1043), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1043), - Column: int(9), - }, - End: ast.Location{ - Line: int(1043), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11259, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1043), - Column: int(18), - }, - End: ast.Location{ - Line: int(1043), - Column: int(20), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "lines", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11259, - FreeVars: ast.Identifiers{ - "lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1043), - Column: int(22), - }, - End: ast.Location{ - Line: int(1043), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "lines", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1043), - Column: int(9), - }, - End: ast.Location{ - Line: int(1043), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "new_indent", - "newline", - "path", - "range", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1036), - Column: int(9), - }, - End: ast.Location{ - Line: int(1043), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "newline", - "path", - "range", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1035), - Column: int(9), - }, - End: ast.Location{ - Line: int(1043), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1034), - Column: int(9), - }, - End: ast.Location{ - Line: int(1043), - Column: int(28), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(15), - }, - End: ast.Location{ - Line: int(1044), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(15), - }, - End: ast.Location{ - Line: int(1044), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11278, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(28), - }, - End: ast.Location{ - Line: int(1044), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(15), - }, - End: ast.Location{ - Line: int(1044), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "}", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11288, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1052), - Column: int(46), - }, - End: ast.Location{ - Line: int(1052), - Column: int(49), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11288, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1052), - Column: int(36), - }, - End: ast.Location{ - Line: int(1052), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "newline", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11288, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1052), - Column: int(26), - }, - End: ast.Location{ - Line: int(1052), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11288, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1052), - Column: int(26), - }, - End: ast.Location{ - Line: int(1052), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11288, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1052), - Column: int(26), - }, - End: ast.Location{ - Line: int(1052), - Column: int(49), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11296, - FreeVars: ast.Identifiers{ - "cindent", - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1052), - Column: int(25), - }, - End: ast.Location{ - Line: int(1052), - Column: int(50), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(25), - }, - End: ast.Location{ - Line: int(1046), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11296, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(25), - }, - End: ast.Location{ - Line: int(1046), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "newline", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11310, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(41), - }, - End: ast.Location{ - Line: int(1046), - Column: int(48), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: ",", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11310, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(35), - }, - End: ast.Location{ - Line: int(1046), - Column: int(38), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11310, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(35), - }, - End: ast.Location{ - Line: int(1046), - Column: int(48), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11314, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(34), - }, - End: ast.Location{ - Line: int(1046), - Column: int(49), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(39), - }, - End: ast.Location{ - Line: int(1049), - Column: int(42), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11336, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(43), - }, - End: ast.Location{ - Line: int(1049), - Column: int(44), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11336, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(45), - }, - End: ast.Location{ - Line: int(1049), - Column: int(46), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11336, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(43), - }, - End: ast.Location{ - Line: int(1049), - Column: int(47), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11345, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(57), - }, - End: ast.Location{ - Line: int(1049), - Column: int(58), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11336, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(56), - }, - End: ast.Location{ - Line: int(1049), - Column: int(59), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11336, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(49), - }, - End: ast.Location{ - Line: int(1049), - Column: int(53), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11336, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(49), - }, - End: ast.Location{ - Line: int(1049), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "indent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11336, - FreeVars: ast.Identifiers{ - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(71), - }, - End: ast.Location{ - Line: int(1049), - Column: int(77), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11336, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(61), - }, - End: ast.Location{ - Line: int(1049), - Column: int(68), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11336, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(61), - }, - End: ast.Location{ - Line: int(1049), - Column: int(77), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1049), - Column: int(39), - }, - End: ast.Location{ - Line: int(1049), - Column: int(78), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "key_val_sep", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "key_val_sep", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(82), - }, - End: ast.Location{ - Line: int(1048), - Column: int(93), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(56), - }, - End: ast.Location{ - Line: int(1048), - Column: int(59), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "escapeStringJson", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(56), - }, - End: ast.Location{ - Line: int(1048), - Column: int(76), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11370, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(77), - }, - End: ast.Location{ - Line: int(1048), - Column: int(78), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(56), - }, - End: ast.Location{ - Line: int(1048), - Column: int(79), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "indent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(47), - }, - End: ast.Location{ - Line: int(1048), - Column: int(53), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(37), - }, - End: ast.Location{ - Line: int(1048), - Column: int(44), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(37), - }, - End: ast.Location{ - Line: int(1048), - Column: int(53), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(37), - }, - End: ast.Location{ - Line: int(1048), - Column: int(79), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "cindent", - "indent", - "k", - "key_val_sep", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(37), - }, - End: ast.Location{ - Line: int(1048), - Column: int(93), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(36), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11331, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "key_val_sep", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(37), - }, - End: ast.Location{ - Line: int(1049), - Column: int(78), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(35), - }, - }, - Ctx: p11384, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "key_val_sep", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1048), - Column: int(36), - }, - End: ast.Location{ - Line: int(1049), - Column: int(79), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "k", - "key_val_sep", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "cindent", - "indent", - "key_val_sep", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1050), - Column: int(45), - }, - End: ast.Location{ - Line: int(1050), - Column: int(48), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11314, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1050), - Column: int(45), - }, - End: ast.Location{ - Line: int(1050), - Column: int(61), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11397, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1050), - Column: int(62), - }, - End: ast.Location{ - Line: int(1050), - Column: int(63), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11314, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1050), - Column: int(45), - }, - End: ast.Location{ - Line: int(1050), - Column: int(64), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1047), - Column: int(34), - }, - End: ast.Location{ - Line: int(1051), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11296, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1046), - Column: int(25), - }, - End: ast.Location{ - Line: int(1051), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "newline", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11406, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(30), - }, - End: ast.Location{ - Line: int(1045), - Column: int(37), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "{", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11406, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(24), - }, - End: ast.Location{ - Line: int(1045), - Column: int(27), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11406, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(24), - }, - End: ast.Location{ - Line: int(1045), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11296, - FreeVars: ast.Identifiers{ - "newline", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(23), - }, - End: ast.Location{ - Line: int(1045), - Column: int(38), - }, - }, - }, - TrailingComma: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(22), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11296, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(23), - }, - End: ast.Location{ - Line: int(1051), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(22), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11296, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(23), - }, - End: ast.Location{ - Line: int(1052), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "lines", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(15), - }, - End: ast.Location{ - Line: int(1052), - Column: int(50), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1053), - Column: int(9), - }, - End: ast.Location{ - Line: int(1053), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1053), - Column: int(9), - }, - End: ast.Location{ - Line: int(1053), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11424, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1053), - Column: int(18), - }, - End: ast.Location{ - Line: int(1053), - Column: int(20), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "lines", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11424, - FreeVars: ast.Identifiers{ - "lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1053), - Column: int(22), - }, - End: ast.Location{ - Line: int(1053), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "lines", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1053), - Column: int(9), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1045), - Column: int(9), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1044), - Column: int(12), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1033), - Column: int(12), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1031), - Column: int(12), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1029), - Column: int(12), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1027), - Column: int(12), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1025), - Column: int(12), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1023), - Column: int(12), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11019, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "indent", - "key_val_sep", - "newline", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1021), - Column: int(7), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1020), - Column: int(15), - }, - End: ast.Location{ - Line: int(1020), - Column: int(16), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1020), - Column: int(18), - }, - End: ast.Location{ - Line: int(1020), - Column: int(22), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1020), - Column: int(24), - }, - End: ast.Location{ - Line: int(1020), - Column: int(31), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p11448, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "indent", - "key_val_sep", - "newline", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1020), - Column: int(11), - }, - End: ast.Location{ - Line: int(1053), - Column: int(28), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p11453, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1054), - Column: int(5), - }, - End: ast.Location{ - Line: int(1054), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11457, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1054), - Column: int(9), - }, - End: ast.Location{ - Line: int(1054), - Column: int(14), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11457, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1054), - Column: int(16), - }, - End: ast.Location{ - Line: int(1054), - Column: int(18), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11457, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1054), - Column: int(20), - }, - End: ast.Location{ - Line: int(1054), - Column: int(22), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11453, - FreeVars: ast.Identifiers{ - "aux", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1054), - Column: int(5), - }, - End: ast.Location{ - Line: int(1054), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p11453, - FreeVars: ast.Identifiers{ - "$std", - "indent", - "key_val_sep", - "newline", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1020), - Column: int(5), - }, - End: ast.Location{ - Line: int(1054), - Column: int(23), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(18), - }, - End: ast.Location{ - Line: int(1019), - Column: int(23), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indent", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(25), - }, - End: ast.Location{ - Line: int(1019), - Column: int(31), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "newline", - CommaFodder: ast.Fodder{}, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11453, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(41), - }, - End: ast.Location{ - Line: int(1019), - Column: int(45), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(33), - }, - End: ast.Location{ - Line: int(1019), - Column: int(45), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key_val_sep", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralString{ - Value: ": ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11453, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(59), - }, - End: ast.Location{ - Line: int(1019), - Column: int(63), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(47), - }, - End: ast.Location{ - Line: int(1019), - Column: int(63), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1019), - Column: int(3), - }, - End: ast.Location{ - Line: int(1054), - Column: int(23), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestYamlDoc", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(55), - }, - End: ast.Location{ - Line: int(1058), - Column: int(58), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11480, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(55), - }, - End: ast.Location{ - Line: int(1058), - Column: int(65), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "strSet", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11484, - FreeVars: ast.Identifiers{ - "strSet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(66), - }, - End: ast.Location{ - Line: int(1058), - Column: int(72), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11480, - FreeVars: ast.Identifiers{ - "std", - "strSet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(55), - }, - End: ast.Location{ - Line: int(1058), - Column: int(73), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(10), - }, - End: ast.Location{ - Line: int(1058), - Column: int(13), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11480, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(10), - }, - End: ast.Location{ - Line: int(1058), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(21), - }, - End: ast.Location{ - Line: int(1058), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "setInter", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11499, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(21), - }, - End: ast.Location{ - Line: int(1058), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "charSet", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11503, - FreeVars: ast.Identifiers{ - "charSet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(34), - }, - End: ast.Location{ - Line: int(1058), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "strSet", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11503, - FreeVars: ast.Identifiers{ - "strSet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(43), - }, - End: ast.Location{ - Line: int(1058), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11499, - FreeVars: ast.Identifiers{ - "charSet", - "std", - "strSet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(21), - }, - End: ast.Location{ - Line: int(1058), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11480, - FreeVars: ast.Identifiers{ - "charSet", - "std", - "strSet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(10), - }, - End: ast.Location{ - Line: int(1058), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11480, - FreeVars: ast.Identifiers{ - "charSet", - "std", - "strSet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(10), - }, - End: ast.Location{ - Line: int(1058), - Column: int(73), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11480, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1059), - Column: int(9), - }, - End: ast.Location{ - Line: int(1059), - Column: int(13), - }, - }, - }, - Value: true, - }, - BranchFalse: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11480, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1060), - Column: int(12), - }, - End: ast.Location{ - Line: int(1060), - Column: int(17), - }, - }, - }, - Value: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11480, - FreeVars: ast.Identifiers{ - "charSet", - "std", - "strSet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1058), - Column: int(7), - }, - End: ast.Location{ - Line: int(1060), - Column: int(17), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "charSet", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(21), - }, - End: ast.Location{ - Line: int(1057), - Column: int(28), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "strSet", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(30), - }, - End: ast.Location{ - Line: int(1057), - Column: int(36), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p11517, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(11), - }, - End: ast.Location{ - Line: int(1060), - Column: int(17), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "onlyChars", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "true", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - ast.FodderElement{ - Comment: []string{ - "// Boolean types taken from https://yaml.org/type/bool.html", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(9), - }, - End: ast.Location{ - Line: int(1067), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "false", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(17), - }, - End: ast.Location{ - Line: int(1067), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "yes", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(26), - }, - End: ast.Location{ - Line: int(1067), - Column: int(31), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "no", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(33), - }, - End: ast.Location{ - Line: int(1067), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "on", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(39), - }, - End: ast.Location{ - Line: int(1067), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "off", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(45), - }, - End: ast.Location{ - Line: int(1067), - Column: int(50), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "y", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(52), - }, - End: ast.Location{ - Line: int(1067), - Column: int(55), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1067), - Column: int(57), - }, - End: ast.Location{ - Line: int(1067), - Column: int(60), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ".nan", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - ast.FodderElement{ - Comment: []string{ - "// Numerical words taken from https://yaml.org/type/float.html", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1069), - Column: int(9), - }, - End: ast.Location{ - Line: int(1069), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "-.inf", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1069), - Column: int(17), - }, - End: ast.Location{ - Line: int(1069), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "+.inf", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1069), - Column: int(26), - }, - End: ast.Location{ - Line: int(1069), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ".inf", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1069), - Column: int(35), - }, - End: ast.Location{ - Line: int(1069), - Column: int(41), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "null", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1069), - Column: int(43), - }, - End: ast.Location{ - Line: int(1069), - Column: int(49), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - ast.FodderElement{ - Comment: []string{ - "// Invalid keys that contain no invalid characters", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1071), - Column: int(9), - }, - End: ast.Location{ - Line: int(1071), - Column: int(12), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "---", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1071), - Column: int(14), - }, - End: ast.Location{ - Line: int(1071), - Column: int(19), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11529, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1071), - Column: int(21), - }, - End: ast.Location{ - Line: int(1071), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - }, - CloseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11550, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1065), - Column: int(24), - }, - End: ast.Location{ - Line: int(1072), - Column: int(8), - }, - }, - }, - TrailingComma: true, - }, - EqFodder: ast.Fodder{}, - Variable: "reserved", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1065), - Column: int(13), - }, - End: ast.Location{ - Line: int(1072), - Column: int(8), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(57), - }, - End: ast.Location{ - Line: int(1073), - Column: int(60), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "asciiLower", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11568, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(57), - }, - End: ast.Location{ - Line: int(1073), - Column: int(71), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11572, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(72), - }, - End: ast.Location{ - Line: int(1073), - Column: int(75), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11568, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(57), - }, - End: ast.Location{ - Line: int(1073), - Column: int(76), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "word", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11568, - FreeVars: ast.Identifiers{ - "word", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(49), - }, - End: ast.Location{ - Line: int(1073), - Column: int(53), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11568, - FreeVars: ast.Identifiers{ - "key", - "std", - "word", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(49), - }, - End: ast.Location{ - Line: int(1073), - Column: int(76), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "word", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11581, - FreeVars: ast.Identifiers{ - "word", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(20), - }, - End: ast.Location{ - Line: int(1073), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "word", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - Elements: nil, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "key", - "std", - "word", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "word", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "reserved", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11568, - FreeVars: ast.Identifiers{ - "reserved", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(37), - }, - End: ast.Location{ - Line: int(1073), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "key", - "reserved", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(19), - }, - End: ast.Location{ - Line: int(1073), - Column: int(77), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "bad", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(13), - }, - End: ast.Location{ - Line: int(1073), - Column: int(77), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11594, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1074), - Column: int(28), - }, - End: ast.Location{ - Line: int(1074), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1074), - Column: int(10), - }, - End: ast.Location{ - Line: int(1074), - Column: int(13), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11594, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1074), - Column: int(10), - }, - End: ast.Location{ - Line: int(1074), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "bad", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11603, - FreeVars: ast.Identifiers{ - "bad", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1074), - Column: int(21), - }, - End: ast.Location{ - Line: int(1074), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11594, - FreeVars: ast.Identifiers{ - "bad", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1074), - Column: int(10), - }, - End: ast.Location{ - Line: int(1074), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11594, - FreeVars: ast.Identifiers{ - "bad", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1074), - Column: int(10), - }, - End: ast.Location{ - Line: int(1074), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11594, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1075), - Column: int(9), - }, - End: ast.Location{ - Line: int(1075), - Column: int(13), - }, - }, - }, - Value: true, - }, - BranchFalse: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11594, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1076), - Column: int(12), - }, - End: ast.Location{ - Line: int(1076), - Column: int(17), - }, - }, - }, - Value: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11594, - FreeVars: ast.Identifiers{ - "bad", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1074), - Column: int(7), - }, - End: ast.Location{ - Line: int(1076), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11594, - FreeVars: ast.Identifiers{ - "$std", - "key", - "reserved", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1073), - Column: int(7), - }, - End: ast.Location{ - Line: int(1076), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// NOTE: These values are checked for case insensitively.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// While this approach results in some false positives, it eliminates", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// the risk of missing a permutation.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11594, - FreeVars: ast.Identifiers{ - "$std", - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1065), - Column: int(7), - }, - End: ast.Location{ - Line: int(1076), - Column: int(17), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(22), - }, - End: ast.Location{ - Line: int(1061), - Column: int(25), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p11621, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(11), - }, - End: ast.Location{ - Line: int(1076), - Column: int(17), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "isReserved", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Var{ - Id: "type", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "type", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(78), - }, - End: ast.Location{ - Line: int(1079), - Column: int(82), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(72), - }, - End: ast.Location{ - Line: int(1079), - Column: int(75), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "type", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(72), - }, - End: ast.Location{ - Line: int(1079), - Column: int(82), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(45), - }, - End: ast.Location{ - Line: int(1079), - Column: int(48), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "substr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(45), - }, - End: ast.Location{ - Line: int(1079), - Column: int(55), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "m_key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11643, - FreeVars: ast.Identifiers{ - "m_key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(56), - }, - End: ast.Location{ - Line: int(1079), - Column: int(61), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11643, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(63), - }, - End: ast.Location{ - Line: int(1079), - Column: int(64), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11643, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(66), - }, - End: ast.Location{ - Line: int(1079), - Column: int(67), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "m_key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(45), - }, - End: ast.Location{ - Line: int(1079), - Column: int(68), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "m_key", - "std", - "type", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(45), - }, - End: ast.Location{ - Line: int(1079), - Column: int(82), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "type", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "type", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(37), - }, - End: ast.Location{ - Line: int(1079), - Column: int(41), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(10), - }, - End: ast.Location{ - Line: int(1079), - Column: int(13), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "substr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(10), - }, - End: ast.Location{ - Line: int(1079), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "m_key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11660, - FreeVars: ast.Identifiers{ - "m_key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(21), - }, - End: ast.Location{ - Line: int(1079), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11660, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(28), - }, - End: ast.Location{ - Line: int(1079), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11660, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(31), - }, - End: ast.Location{ - Line: int(1079), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "m_key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(10), - }, - End: ast.Location{ - Line: int(1079), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "m_key", - "std", - "type", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(10), - }, - End: ast.Location{ - Line: int(1079), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "m_key", - "std", - "type", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(10), - }, - End: ast.Location{ - Line: int(1079), - Column: int(82), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11631, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1080), - Column: int(9), - }, - End: ast.Location{ - Line: int(1080), - Column: int(13), - }, - }, - }, - Value: true, - }, - BranchFalse: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11631, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1081), - Column: int(12), - }, - End: ast.Location{ - Line: int(1081), - Column: int(17), - }, - }, - }, - Value: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// Look for positive or negative numerical types (ex: 0x)", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11631, - FreeVars: ast.Identifiers{ - "m_key", - "std", - "type", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1079), - Column: int(7), - }, - End: ast.Location{ - Line: int(1081), - Column: int(17), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "m_key", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1077), - Column: int(21), - }, - End: ast.Location{ - Line: int(1077), - Column: int(26), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "type", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1077), - Column: int(28), - }, - End: ast.Location{ - Line: int(1077), - Column: int(32), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p11675, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1077), - Column: int(11), - }, - End: ast.Location{ - Line: int(1081), - Column: int(17), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "typeMatch", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1098), - Column: int(23), - }, - End: ast.Location{ - Line: int(1098), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11687, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1098), - Column: int(23), - }, - End: ast.Location{ - Line: int(1098), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1098), - Column: int(31), - }, - End: ast.Location{ - Line: int(1098), - Column: int(34), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11695, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1098), - Column: int(31), - }, - End: ast.Location{ - Line: int(1098), - Column: int(46), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_-/", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11699, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1098), - Column: int(47), - }, - End: ast.Location{ - Line: int(1098), - Column: int(104), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11695, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1098), - Column: int(31), - }, - End: ast.Location{ - Line: int(1098), - Column: int(105), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11687, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1098), - Column: int(23), - }, - End: ast.Location{ - Line: int(1098), - Column: int(106), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "letters", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1098), - Column: int(13), - }, - End: ast.Location{ - Line: int(1098), - Column: int(106), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(22), - }, - End: ast.Location{ - Line: int(1099), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11709, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(22), - }, - End: ast.Location{ - Line: int(1099), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(30), - }, - End: ast.Location{ - Line: int(1099), - Column: int(33), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11717, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(30), - }, - End: ast.Location{ - Line: int(1099), - Column: int(45), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "0123456789", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11721, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(46), - }, - End: ast.Location{ - Line: int(1099), - Column: int(58), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11717, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(30), - }, - End: ast.Location{ - Line: int(1099), - Column: int(59), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11709, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(22), - }, - End: ast.Location{ - Line: int(1099), - Column: int(60), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "digits", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(13), - }, - End: ast.Location{ - Line: int(1099), - Column: int(60), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(24), - }, - End: ast.Location{ - Line: int(1100), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11731, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(24), - }, - End: ast.Location{ - Line: int(1100), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(41), - }, - End: ast.Location{ - Line: int(1100), - Column: int(44), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11740, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(41), - }, - End: ast.Location{ - Line: int(1100), - Column: int(56), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "_-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11744, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(57), - }, - End: ast.Location{ - Line: int(1100), - Column: int(61), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11740, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(41), - }, - End: ast.Location{ - Line: int(1100), - Column: int(62), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "digits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11740, - FreeVars: ast.Identifiers{ - "digits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(32), - }, - End: ast.Location{ - Line: int(1100), - Column: int(38), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11740, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(32), - }, - End: ast.Location{ - Line: int(1100), - Column: int(62), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11731, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(24), - }, - End: ast.Location{ - Line: int(1100), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "intChars", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(13), - }, - End: ast.Location{ - Line: int(1100), - Column: int(63), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(24), - }, - End: ast.Location{ - Line: int(1101), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11757, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(24), - }, - End: ast.Location{ - Line: int(1101), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(43), - }, - End: ast.Location{ - Line: int(1101), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11766, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(43), - }, - End: ast.Location{ - Line: int(1101), - Column: int(58), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "b", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11770, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(59), - }, - End: ast.Location{ - Line: int(1101), - Column: int(62), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11766, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(43), - }, - End: ast.Location{ - Line: int(1101), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "intChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11766, - FreeVars: ast.Identifiers{ - "intChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(32), - }, - End: ast.Location{ - Line: int(1101), - Column: int(40), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11766, - FreeVars: ast.Identifiers{ - "intChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(32), - }, - End: ast.Location{ - Line: int(1101), - Column: int(63), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11757, - FreeVars: ast.Identifiers{ - "intChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(24), - }, - End: ast.Location{ - Line: int(1101), - Column: int(64), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "binChars", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(13), - }, - End: ast.Location{ - Line: int(1101), - Column: int(64), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(24), - }, - End: ast.Location{ - Line: int(1102), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11783, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(24), - }, - End: ast.Location{ - Line: int(1102), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(41), - }, - End: ast.Location{ - Line: int(1102), - Column: int(44), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11792, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(41), - }, - End: ast.Location{ - Line: int(1102), - Column: int(56), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "abcdefx_-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11796, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(57), - }, - End: ast.Location{ - Line: int(1102), - Column: int(68), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11792, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(41), - }, - End: ast.Location{ - Line: int(1102), - Column: int(69), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "digits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11792, - FreeVars: ast.Identifiers{ - "digits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(32), - }, - End: ast.Location{ - Line: int(1102), - Column: int(38), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11792, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(32), - }, - End: ast.Location{ - Line: int(1102), - Column: int(69), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11783, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(24), - }, - End: ast.Location{ - Line: int(1102), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "hexChars", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(13), - }, - End: ast.Location{ - Line: int(1102), - Column: int(70), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(26), - }, - End: ast.Location{ - Line: int(1103), - Column: int(29), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11809, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(26), - }, - End: ast.Location{ - Line: int(1103), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(43), - }, - End: ast.Location{ - Line: int(1103), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11818, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(43), - }, - End: ast.Location{ - Line: int(1103), - Column: int(58), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "e._-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11822, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(59), - }, - End: ast.Location{ - Line: int(1103), - Column: int(65), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11818, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(43), - }, - End: ast.Location{ - Line: int(1103), - Column: int(66), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "digits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11818, - FreeVars: ast.Identifiers{ - "digits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(34), - }, - End: ast.Location{ - Line: int(1103), - Column: int(40), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11818, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(34), - }, - End: ast.Location{ - Line: int(1103), - Column: int(66), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11809, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(26), - }, - End: ast.Location{ - Line: int(1103), - Column: int(67), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "floatChars", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(13), - }, - End: ast.Location{ - Line: int(1103), - Column: int(67), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(25), - }, - End: ast.Location{ - Line: int(1104), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11835, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(25), - }, - End: ast.Location{ - Line: int(1104), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(42), - }, - End: ast.Location{ - Line: int(1104), - Column: int(45), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11844, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(42), - }, - End: ast.Location{ - Line: int(1104), - Column: int(57), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11848, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(58), - }, - End: ast.Location{ - Line: int(1104), - Column: int(61), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11844, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(42), - }, - End: ast.Location{ - Line: int(1104), - Column: int(62), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "digits", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11844, - FreeVars: ast.Identifiers{ - "digits", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(33), - }, - End: ast.Location{ - Line: int(1104), - Column: int(39), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11844, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(33), - }, - End: ast.Location{ - Line: int(1104), - Column: int(62), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11835, - FreeVars: ast.Identifiers{ - "digits", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(25), - }, - End: ast.Location{ - Line: int(1104), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "dateChars", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(13), - }, - End: ast.Location{ - Line: int(1104), - Column: int(63), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(25), - }, - End: ast.Location{ - Line: int(1105), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11861, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(25), - }, - End: ast.Location{ - Line: int(1105), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "floatChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11866, - FreeVars: ast.Identifiers{ - "floatChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(43), - }, - End: ast.Location{ - Line: int(1105), - Column: int(53), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "letters", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11866, - FreeVars: ast.Identifiers{ - "letters", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(33), - }, - End: ast.Location{ - Line: int(1105), - Column: int(40), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11866, - FreeVars: ast.Identifiers{ - "floatChars", - "letters", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(33), - }, - End: ast.Location{ - Line: int(1105), - Column: int(53), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11861, - FreeVars: ast.Identifiers{ - "floatChars", - "letters", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(25), - }, - End: ast.Location{ - Line: int(1105), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "safeChars", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(13), - }, - End: ast.Location{ - Line: int(1105), - Column: int(54), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(21), - }, - End: ast.Location{ - Line: int(1106), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "asciiLower", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11879, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(21), - }, - End: ast.Location{ - Line: int(1106), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11883, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(36), - }, - End: ast.Location{ - Line: int(1106), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11879, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(21), - }, - End: ast.Location{ - Line: int(1106), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "keyLc", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(13), - }, - End: ast.Location{ - Line: int(1106), - Column: int(40), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1107), - Column: int(24), - }, - End: ast.Location{ - Line: int(1107), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11893, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1107), - Column: int(24), - }, - End: ast.Location{ - Line: int(1107), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11897, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1107), - Column: int(40), - }, - End: ast.Location{ - Line: int(1107), - Column: int(43), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11893, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1107), - Column: int(24), - }, - End: ast.Location{ - Line: int(1107), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "keyChars", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1107), - Column: int(13), - }, - End: ast.Location{ - Line: int(1107), - Column: int(44), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(22), - }, - End: ast.Location{ - Line: int(1108), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11907, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(22), - }, - End: ast.Location{ - Line: int(1108), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keyChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11911, - FreeVars: ast.Identifiers{ - "keyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(30), - }, - End: ast.Location{ - Line: int(1108), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11907, - FreeVars: ast.Identifiers{ - "keyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(22), - }, - End: ast.Location{ - Line: int(1108), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "keySet", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(13), - }, - End: ast.Location{ - Line: int(1108), - Column: int(39), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(24), - }, - End: ast.Location{ - Line: int(1109), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11921, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(24), - }, - End: ast.Location{ - Line: int(1109), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(32), - }, - End: ast.Location{ - Line: int(1109), - Column: int(35), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11929, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(32), - }, - End: ast.Location{ - Line: int(1109), - Column: int(47), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keyLc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11933, - FreeVars: ast.Identifiers{ - "keyLc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(48), - }, - End: ast.Location{ - Line: int(1109), - Column: int(53), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11929, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(32), - }, - End: ast.Location{ - Line: int(1109), - Column: int(54), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11921, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(24), - }, - End: ast.Location{ - Line: int(1109), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "keySetLc", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(13), - }, - End: ast.Location{ - Line: int(1109), - Column: int(55), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "onlyChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(12), - }, - End: ast.Location{ - Line: int(1111), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "safeChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11945, - FreeVars: ast.Identifiers{ - "safeChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(22), - }, - End: ast.Location{ - Line: int(1111), - Column: int(31), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keySet", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11945, - FreeVars: ast.Identifiers{ - "keySet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(33), - }, - End: ast.Location{ - Line: int(1111), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "keySet", - "onlyChars", - "safeChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(12), - }, - End: ast.Location{ - Line: int(1111), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "keySet", - "onlyChars", - "safeChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(10), - }, - End: ast.Location{ - Line: int(1111), - Column: int(40), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1112), - Column: int(9), - }, - End: ast.Location{ - Line: int(1112), - Column: int(14), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Var{ - Id: "isReserved", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "isReserved", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1114), - Column: int(15), - }, - End: ast.Location{ - Line: int(1114), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11959, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1114), - Column: int(26), - }, - End: ast.Location{ - Line: int(1114), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "isReserved", - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1114), - Column: int(15), - }, - End: ast.Location{ - Line: int(1114), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1115), - Column: int(9), - }, - End: ast.Location{ - Line: int(1115), - Column: int(14), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(54), - }, - End: ast.Location{ - Line: int(1124), - Column: int(55), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(14), - }, - End: ast.Location{ - Line: int(1124), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(14), - }, - End: ast.Location{ - Line: int(1124), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(25), - }, - End: ast.Location{ - Line: int(1124), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "findSubstr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11980, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(25), - }, - End: ast.Location{ - Line: int(1124), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11984, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(40), - }, - End: ast.Location{ - Line: int(1124), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11984, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(45), - }, - End: ast.Location{ - Line: int(1124), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11980, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(25), - }, - End: ast.Location{ - Line: int(1124), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(14), - }, - End: ast.Location{ - Line: int(1124), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1124), - Column: int(14), - }, - End: ast.Location{ - Line: int(1124), - Column: int(55), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "onlyChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1123), - Column: int(15), - }, - End: ast.Location{ - Line: int(1123), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "dateChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11995, - FreeVars: ast.Identifiers{ - "dateChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1123), - Column: int(25), - }, - End: ast.Location{ - Line: int(1123), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keySet", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11995, - FreeVars: ast.Identifiers{ - "keySet", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1123), - Column: int(36), - }, - End: ast.Location{ - Line: int(1123), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "dateChars", - "keySet", - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1123), - Column: int(15), - }, - End: ast.Location{ - Line: int(1123), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "dateChars", - "key", - "keySet", - "onlyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1123), - Column: int(15), - }, - End: ast.Location{ - Line: int(1124), - Column: int(55), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1125), - Column: int(9), - }, - End: ast.Location{ - Line: int(1125), - Column: int(14), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(53), - }, - End: ast.Location{ - Line: int(1132), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(14), - }, - End: ast.Location{ - Line: int(1132), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(14), - }, - End: ast.Location{ - Line: int(1132), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(25), - }, - End: ast.Location{ - Line: int(1132), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "findSubstr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12020, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(25), - }, - End: ast.Location{ - Line: int(1132), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12024, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(40), - }, - End: ast.Location{ - Line: int(1132), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12024, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(45), - }, - End: ast.Location{ - Line: int(1132), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12020, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(25), - }, - End: ast.Location{ - Line: int(1132), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(14), - }, - End: ast.Location{ - Line: int(1132), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1132), - Column: int(14), - }, - End: ast.Location{ - Line: int(1132), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "onlyChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(15), - }, - End: ast.Location{ - Line: int(1131), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "intChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12035, - FreeVars: ast.Identifiers{ - "intChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(25), - }, - End: ast.Location{ - Line: int(1131), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keySetLc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12035, - FreeVars: ast.Identifiers{ - "keySetLc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(35), - }, - End: ast.Location{ - Line: int(1131), - Column: int(43), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "intChars", - "keySetLc", - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(15), - }, - End: ast.Location{ - Line: int(1131), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "intChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(15), - }, - End: ast.Location{ - Line: int(1132), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1133), - Column: int(9), - }, - End: ast.Location{ - Line: int(1133), - Column: int(14), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "typeMatch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(14), - }, - End: ast.Location{ - Line: int(1142), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12051, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(24), - }, - End: ast.Location{ - Line: int(1142), - Column: int(27), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "0b", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12051, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(29), - }, - End: ast.Location{ - Line: int(1142), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1142), - Column: int(14), - }, - End: ast.Location{ - Line: int(1142), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(32), - }, - End: ast.Location{ - Line: int(1141), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(14), - }, - End: ast.Location{ - Line: int(1141), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(14), - }, - End: ast.Location{ - Line: int(1141), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12066, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(25), - }, - End: ast.Location{ - Line: int(1141), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(14), - }, - End: ast.Location{ - Line: int(1141), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1141), - Column: int(14), - }, - End: ast.Location{ - Line: int(1141), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "onlyChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(15), - }, - End: ast.Location{ - Line: int(1140), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "binChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12075, - FreeVars: ast.Identifiers{ - "binChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(25), - }, - End: ast.Location{ - Line: int(1140), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keySetLc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12075, - FreeVars: ast.Identifiers{ - "keySetLc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(35), - }, - End: ast.Location{ - Line: int(1140), - Column: int(43), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "keySetLc", - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(15), - }, - End: ast.Location{ - Line: int(1140), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(15), - }, - End: ast.Location{ - Line: int(1141), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "key", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(15), - }, - End: ast.Location{ - Line: int(1142), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1143), - Column: int(9), - }, - End: ast.Location{ - Line: int(1143), - Column: int(14), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(55), - }, - End: ast.Location{ - Line: int(1154), - Column: int(56), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(14), - }, - End: ast.Location{ - Line: int(1154), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(14), - }, - End: ast.Location{ - Line: int(1154), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(25), - }, - End: ast.Location{ - Line: int(1154), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "findSubstr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12102, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(25), - }, - End: ast.Location{ - Line: int(1154), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "e", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12106, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(40), - }, - End: ast.Location{ - Line: int(1154), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keyLc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12106, - FreeVars: ast.Identifiers{ - "keyLc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(45), - }, - End: ast.Location{ - Line: int(1154), - Column: int(50), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12102, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(25), - }, - End: ast.Location{ - Line: int(1154), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(14), - }, - End: ast.Location{ - Line: int(1154), - Column: int(52), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "keyLc", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1154), - Column: int(14), - }, - End: ast.Location{ - Line: int(1154), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(53), - }, - End: ast.Location{ - Line: int(1153), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(14), - }, - End: ast.Location{ - Line: int(1153), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(14), - }, - End: ast.Location{ - Line: int(1153), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(25), - }, - End: ast.Location{ - Line: int(1153), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "findSubstr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12127, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(25), - }, - End: ast.Location{ - Line: int(1153), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12131, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(40), - }, - End: ast.Location{ - Line: int(1153), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12131, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(45), - }, - End: ast.Location{ - Line: int(1153), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12127, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(25), - }, - End: ast.Location{ - Line: int(1153), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(14), - }, - End: ast.Location{ - Line: int(1153), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1153), - Column: int(14), - }, - End: ast.Location{ - Line: int(1153), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(54), - }, - End: ast.Location{ - Line: int(1152), - Column: int(55), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(14), - }, - End: ast.Location{ - Line: int(1152), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(14), - }, - End: ast.Location{ - Line: int(1152), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(25), - }, - End: ast.Location{ - Line: int(1152), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "findSubstr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12152, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(25), - }, - End: ast.Location{ - Line: int(1152), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ".", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12156, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(40), - }, - End: ast.Location{ - Line: int(1152), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12156, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(45), - }, - End: ast.Location{ - Line: int(1152), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12152, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(25), - }, - End: ast.Location{ - Line: int(1152), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(14), - }, - End: ast.Location{ - Line: int(1152), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1152), - Column: int(14), - }, - End: ast.Location{ - Line: int(1152), - Column: int(55), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "onlyChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1151), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "floatChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12167, - FreeVars: ast.Identifiers{ - "floatChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(25), - }, - End: ast.Location{ - Line: int(1151), - Column: int(35), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keySetLc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12167, - FreeVars: ast.Identifiers{ - "keySetLc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(37), - }, - End: ast.Location{ - Line: int(1151), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "floatChars", - "keySetLc", - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1151), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "floatChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1152), - Column: int(55), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "floatChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1153), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "floatChars", - "key", - "keyLc", - "keySetLc", - "onlyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(15), - }, - End: ast.Location{ - Line: int(1154), - Column: int(56), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1155), - Column: int(9), - }, - End: ast.Location{ - Line: int(1155), - Column: int(14), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "typeMatch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(14), - }, - End: ast.Location{ - Line: int(1166), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12187, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(24), - }, - End: ast.Location{ - Line: int(1166), - Column: int(27), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "0x", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12187, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(29), - }, - End: ast.Location{ - Line: int(1166), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1166), - Column: int(14), - }, - End: ast.Location{ - Line: int(1166), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1165), - Column: int(37), - }, - End: ast.Location{ - Line: int(1165), - Column: int(38), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1165), - Column: int(14), - }, - End: ast.Location{ - Line: int(1165), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1165), - Column: int(14), - }, - End: ast.Location{ - Line: int(1165), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keyChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12202, - FreeVars: ast.Identifiers{ - "keyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1165), - Column: int(25), - }, - End: ast.Location{ - Line: int(1165), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "keyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1165), - Column: int(14), - }, - End: ast.Location{ - Line: int(1165), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "keyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1165), - Column: int(14), - }, - End: ast.Location{ - Line: int(1165), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(53), - }, - End: ast.Location{ - Line: int(1164), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(14), - }, - End: ast.Location{ - Line: int(1164), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(14), - }, - End: ast.Location{ - Line: int(1164), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(25), - }, - End: ast.Location{ - Line: int(1164), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "findSubstr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12221, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(25), - }, - End: ast.Location{ - Line: int(1164), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12225, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(40), - }, - End: ast.Location{ - Line: int(1164), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12225, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(45), - }, - End: ast.Location{ - Line: int(1164), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12221, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(25), - }, - End: ast.Location{ - Line: int(1164), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(14), - }, - End: ast.Location{ - Line: int(1164), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1164), - Column: int(14), - }, - End: ast.Location{ - Line: int(1164), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "onlyChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(15), - }, - End: ast.Location{ - Line: int(1163), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "hexChars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12236, - FreeVars: ast.Identifiers{ - "hexChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(25), - }, - End: ast.Location{ - Line: int(1163), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keySetLc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12236, - FreeVars: ast.Identifiers{ - "keySetLc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(35), - }, - End: ast.Location{ - Line: int(1163), - Column: int(43), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "hexChars", - "keySetLc", - "onlyChars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(15), - }, - End: ast.Location{ - Line: int(1163), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "hexChars", - "key", - "keySetLc", - "onlyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(15), - }, - End: ast.Location{ - Line: int(1164), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "hexChars", - "key", - "keyChars", - "keySetLc", - "onlyChars", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(15), - }, - End: ast.Location{ - Line: int(1165), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - OpFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "hexChars", - "key", - "keyChars", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(15), - }, - End: ast.Location{ - Line: int(1166), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1167), - Column: int(9), - }, - End: ast.Location{ - Line: int(1167), - Column: int(14), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1169), - Column: int(12), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - Value: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// All checks pass. Key is safe for emission without quotes.", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "hexChars", - "key", - "keyChars", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1163), - Column: int(12), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "/* Check for hexadecimals. Keys that meet all of the following:", - " - all characters match [0-9a-fx_\\-]", - " - has at most 1 dash", - " - has at least 3 characters", - " - starts with (-)0x", - " are considered hexadecimals.", - "*/", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "floatChars", - "hexChars", - "key", - "keyChars", - "keyLc", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1151), - Column: int(12), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "/* Check for floats. Keys that meet all of the following:", - " - all characters match [0-9e._\\-]", - " - has at most a single period", - " - has at most two dashes", - " - has at most 1 'e'", - " are considered floats.", - "*/", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "floatChars", - "hexChars", - "key", - "keyChars", - "keyLc", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1140), - Column: int(12), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "/* Check for binary integers. Keys that meet all of the following:", - " - all characters match [0-9b_\\-]", - " - has at least 3 characters", - " - starts with (-)0b", - " are considered binary integers.", - "*/", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "floatChars", - "hexChars", - "intChars", - "key", - "keyChars", - "keyLc", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1131), - Column: int(12), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "/* Check for integers. Keys that meet all of the following:", - " - all characters match [0-9_\\-]", - " - has at most 1 dash", - " are considered integers.", - "*/", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "key", - "keyChars", - "keyLc", - "keySet", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1123), - Column: int(12), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "/* Check for timestamp values. Since spaces and colons are already forbidden,", - " all that could potentially pass is the standard date format (ex MM-DD-YYYY, YYYY-DD-MM, etc).", - " This check is even more conservative: Keys that meet all of the following:", - " - all characters match [0-9\\-]", - " - has exactly 2 dashes", - " are considered dates.", - "*/", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "keyChars", - "keyLc", - "keySet", - "keySetLc", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1114), - Column: int(12), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// Check for reserved words", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "// Check for unsafe characters", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "keyChars", - "keyLc", - "keySet", - "keySetLc", - "onlyChars", - "safeChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1111), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "keyChars", - "keyLc", - "keySet", - "onlyChars", - "safeChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1109), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "keyChars", - "keyLc", - "onlyChars", - "safeChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1108), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "keyLc", - "onlyChars", - "safeChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1107), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "onlyChars", - "safeChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1106), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "dateChars", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1105), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "digits", - "floatChars", - "hexChars", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1104), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "digits", - "hexChars", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1103), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "binChars", - "digits", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1102), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "digits", - "intChars", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1101), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "digits", - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1100), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "isReserved", - "key", - "letters", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1099), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - ast.FodderElement{ - Comment: []string{ - "/*", - "For a key to be considered safe to emit without quotes, the following must be true", - " - All characters must match [a-zA-Z0-9_/\\-]", - " - Not match the integer format defined in https://yaml.org/type/int.html", - " - Not match the float format defined in https://yaml.org/type/float.html", - " - Not match the timestamp format defined in https://yaml.org/type/timestamp.html", - " - Not match the boolean format defined in https://yaml.org/type/bool.html", - " - Not match the null format defined in https://yaml.org/type/null.html", - " - Not match (ignoring case) any reserved words which pass the above tests.", - " Reserved words are defined in isReserved() above.", - "", - "Since the remaining YAML types require characters outside the set chosen as valid", - "for the elimination of quotes from the YAML output, the remaining types listed at", - "https://yaml.org/type/ are by default always quoted.", - "*/", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p11941, - FreeVars: ast.Identifiers{ - "isReserved", - "key", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1098), - Column: int(7), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1082), - Column: int(20), - }, - End: ast.Location{ - Line: int(1082), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p12299, - FreeVars: ast.Identifiers{ - "isReserved", - "onlyChars", - "std", - "typeMatch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1082), - Column: int(11), - }, - End: ast.Location{ - Line: int(1169), - Column: int(16), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "bareSafe", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Var{ - Id: "bareSafe", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12307, - FreeVars: ast.Identifiers{ - "bareSafe", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(10), - }, - End: ast.Location{ - Line: int(1171), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12311, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(19), - }, - End: ast.Location{ - Line: int(1171), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12307, - FreeVars: ast.Identifiers{ - "bareSafe", - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(10), - }, - End: ast.Location{ - Line: int(1171), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12307, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(29), - }, - End: ast.Location{ - Line: int(1171), - Column: int(32), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(38), - }, - End: ast.Location{ - Line: int(1171), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "escapeStringJson", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12307, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(38), - }, - End: ast.Location{ - Line: int(1171), - Column: int(58), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "key", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12324, - FreeVars: ast.Identifiers{ - "key", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(59), - }, - End: ast.Location{ - Line: int(1171), - Column: int(62), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12307, - FreeVars: ast.Identifiers{ - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(38), - }, - End: ast.Location{ - Line: int(1171), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p12307, - FreeVars: ast.Identifiers{ - "bareSafe", - "key", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1171), - Column: int(7), - }, - End: ast.Location{ - Line: int(1171), - Column: int(63), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "key", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(25), - }, - End: ast.Location{ - Line: int(1170), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p12330, - FreeVars: ast.Identifiers{ - "bareSafe", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(11), - }, - End: ast.Location{ - Line: int(1171), - Column: int(63), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "escapeKeyYaml", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(15), - }, - End: ast.Location{ - Line: int(1173), - Column: int(19), - }, - }, - }, - Value: true, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(10), - }, - End: ast.Location{ - Line: int(1173), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(10), - }, - End: ast.Location{ - Line: int(1173), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "true", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1174), - Column: int(9), - }, - End: ast.Location{ - Line: int(1174), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(20), - }, - End: ast.Location{ - Line: int(1175), - Column: int(25), - }, - }, - }, - Value: false, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(15), - }, - End: ast.Location{ - Line: int(1175), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(15), - }, - End: ast.Location{ - Line: int(1175), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "false", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1176), - Column: int(9), - }, - End: ast.Location{ - Line: int(1176), - Column: int(16), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1177), - Column: int(20), - }, - End: ast.Location{ - Line: int(1177), - Column: int(24), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1177), - Column: int(15), - }, - End: ast.Location{ - Line: int(1177), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1177), - Column: int(15), - }, - End: ast.Location{ - Line: int(1177), - Column: int(24), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "null", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1178), - Column: int(9), - }, - End: ast.Location{ - Line: int(1178), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1179), - Column: int(15), - }, - End: ast.Location{ - Line: int(1179), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1179), - Column: int(15), - }, - End: ast.Location{ - Line: int(1179), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12369, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1179), - Column: int(28), - }, - End: ast.Location{ - Line: int(1179), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1179), - Column: int(15), - }, - End: ast.Location{ - Line: int(1179), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Binary{ - Right: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1180), - Column: int(14), - }, - End: ast.Location{ - Line: int(1180), - Column: int(15), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1180), - Column: int(9), - }, - End: ast.Location{ - Line: int(1180), - Column: int(11), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1180), - Column: int(9), - }, - End: ast.Location{ - Line: int(1180), - Column: int(15), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(15), - }, - End: ast.Location{ - Line: int(1181), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(15), - }, - End: ast.Location{ - Line: int(1181), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12387, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(28), - }, - End: ast.Location{ - Line: int(1181), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(15), - }, - End: ast.Location{ - Line: int(1181), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(21), - }, - End: ast.Location{ - Line: int(1182), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12397, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(21), - }, - End: ast.Location{ - Line: int(1182), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12401, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(32), - }, - End: ast.Location{ - Line: int(1182), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12397, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(21), - }, - End: ast.Location{ - Line: int(1182), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "len", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(15), - }, - End: ast.Location{ - Line: int(1182), - Column: int(34), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1183), - Column: int(19), - }, - End: ast.Location{ - Line: int(1183), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1183), - Column: int(12), - }, - End: ast.Location{ - Line: int(1183), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1183), - Column: int(12), - }, - End: ast.Location{ - Line: int(1183), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "\"\"", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1184), - Column: int(11), - }, - End: ast.Location{ - Line: int(1184), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(31), - }, - End: ast.Location{ - Line: int(1185), - Column: int(35), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(17), - }, - End: ast.Location{ - Line: int(1185), - Column: int(18), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(25), - }, - End: ast.Location{ - Line: int(1185), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(19), - }, - End: ast.Location{ - Line: int(1185), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(19), - }, - End: ast.Location{ - Line: int(1185), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "len", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(17), - }, - End: ast.Location{ - Line: int(1185), - Column: int(27), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "len", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(17), - }, - End: ast.Location{ - Line: int(1185), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1186), - Column: int(25), - }, - End: ast.Location{ - Line: int(1186), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "split", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12432, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1186), - Column: int(25), - }, - End: ast.Location{ - Line: int(1186), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12436, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1186), - Column: int(35), - }, - End: ast.Location{ - Line: int(1186), - Column: int(36), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12436, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1186), - Column: int(38), - }, - End: ast.Location{ - Line: int(1186), - Column: int(42), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12432, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1186), - Column: int(25), - }, - End: ast.Location{ - Line: int(1186), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "split", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1186), - Column: int(17), - }, - End: ast.Location{ - Line: int(1186), - Column: int(43), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(11), - }, - End: ast.Location{ - Line: int(1187), - Column: int(14), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(11), - }, - End: ast.Location{ - Line: int(1187), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(37), - }, - End: ast.Location{ - Line: int(1187), - Column: int(41), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(27), - }, - End: ast.Location{ - Line: int(1187), - Column: int(34), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(20), - }, - End: ast.Location{ - Line: int(1187), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(20), - }, - End: ast.Location{ - Line: int(1187), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(20), - }, - End: ast.Location{ - Line: int(1187), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "split", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{ - "split", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(51), - }, - End: ast.Location{ - Line: int(1187), - Column: int(56), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(57), - }, - End: ast.Location{ - Line: int(1187), - Column: int(58), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(79), - }, - End: ast.Location{ - Line: int(1187), - Column: int(80), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(59), - }, - End: ast.Location{ - Line: int(1187), - Column: int(62), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(59), - }, - End: ast.Location{ - Line: int(1187), - Column: int(69), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "split", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12478, - FreeVars: ast.Identifiers{ - "split", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(70), - }, - End: ast.Location{ - Line: int(1187), - Column: int(75), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{ - "split", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(59), - }, - End: ast.Location{ - Line: int(1187), - Column: int(76), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{ - "split", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(59), - }, - End: ast.Location{ - Line: int(1187), - Column: int(80), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "split", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(51), - }, - End: ast.Location{ - Line: int(1187), - Column: int(81), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "|", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12487, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(44), - }, - End: ast.Location{ - Line: int(1187), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(43), - }, - End: ast.Location{ - Line: int(1187), - Column: int(48), - }, - }, - }, - TrailingComma: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12450, - FreeVars: ast.Identifiers{ - "$std", - "split", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(43), - }, - End: ast.Location{ - Line: int(1187), - Column: int(81), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "split", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1187), - Column: int(11), - }, - End: ast.Location{ - Line: int(1187), - Column: int(82), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1186), - Column: int(11), - }, - End: ast.Location{ - Line: int(1187), - Column: int(82), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1189), - Column: int(11), - }, - End: ast.Location{ - Line: int(1189), - Column: int(14), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "escapeStringJson", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1189), - Column: int(11), - }, - End: ast.Location{ - Line: int(1189), - Column: int(31), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12501, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1189), - Column: int(32), - }, - End: ast.Location{ - Line: int(1189), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1189), - Column: int(11), - }, - End: ast.Location{ - Line: int(1189), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "len", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1185), - Column: int(14), - }, - End: ast.Location{ - Line: int(1189), - Column: int(34), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "len", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1183), - Column: int(9), - }, - End: ast.Location{ - Line: int(1189), - Column: int(34), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "cindent", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1182), - Column: int(9), - }, - End: ast.Location{ - Line: int(1189), - Column: int(34), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1190), - Column: int(15), - }, - End: ast.Location{ - Line: int(1190), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1190), - Column: int(15), - }, - End: ast.Location{ - Line: int(1190), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12520, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1190), - Column: int(30), - }, - End: ast.Location{ - Line: int(1190), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1190), - Column: int(15), - }, - End: ast.Location{ - Line: int(1190), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(50), - }, - End: ast.Location{ - Line: int(1191), - Column: int(54), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Tried to manifest function at ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(15), - }, - End: ast.Location{ - Line: int(1191), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(15), - }, - End: ast.Location{ - Line: int(1191), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1191), - Column: int(9), - }, - End: ast.Location{ - Line: int(1191), - Column: int(54), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1192), - Column: int(15), - }, - End: ast.Location{ - Line: int(1192), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1192), - Column: int(15), - }, - End: ast.Location{ - Line: int(1192), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12540, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1192), - Column: int(27), - }, - End: ast.Location{ - Line: int(1192), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1192), - Column: int(15), - }, - End: ast.Location{ - Line: int(1192), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(29), - }, - End: ast.Location{ - Line: int(1193), - Column: int(30), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(12), - }, - End: ast.Location{ - Line: int(1193), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(12), - }, - End: ast.Location{ - Line: int(1193), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12554, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(23), - }, - End: ast.Location{ - Line: int(1193), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(12), - }, - End: ast.Location{ - Line: int(1193), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(12), - }, - End: ast.Location{ - Line: int(1193), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "[]", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1194), - Column: int(11), - }, - End: ast.Location{ - Line: int(1194), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(58), - }, - End: ast.Location{ - Line: int(1197), - Column: int(59), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(38), - }, - End: ast.Location{ - Line: int(1197), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(38), - }, - End: ast.Location{ - Line: int(1197), - Column: int(48), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12576, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(49), - }, - End: ast.Location{ - Line: int(1197), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(38), - }, - End: ast.Location{ - Line: int(1197), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(38), - }, - End: ast.Location{ - Line: int(1197), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(16), - }, - End: ast.Location{ - Line: int(1197), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(16), - }, - End: ast.Location{ - Line: int(1197), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12588, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(28), - }, - End: ast.Location{ - Line: int(1197), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(16), - }, - End: ast.Location{ - Line: int(1197), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(16), - }, - End: ast.Location{ - Line: int(1197), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12597, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1204), - Column: int(37), - }, - End: ast.Location{ - Line: int(1204), - Column: int(41), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12597, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1204), - Column: int(27), - }, - End: ast.Location{ - Line: int(1204), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12597, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1204), - Column: int(27), - }, - End: ast.Location{ - Line: int(1204), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1204), - Column: int(15), - }, - End: ast.Location{ - Line: int(1204), - Column: int(41), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "space", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Self{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(29), - }, - End: ast.Location{ - Line: int(1205), - Column: int(33), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12597, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(29), - }, - End: ast.Location{ - Line: int(1205), - Column: int(44), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12597, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(22), - }, - End: ast.Location{ - Line: int(1205), - Column: int(26), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12597, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(22), - }, - End: ast.Location{ - Line: int(1205), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1205), - Column: int(15), - }, - End: ast.Location{ - Line: int(1205), - Column: int(44), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(65), - }, - End: ast.Location{ - Line: int(1206), - Column: int(14), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(66), - }, - End: ast.Location{ - Line: int(1206), - Column: int(67), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(46), - }, - End: ast.Location{ - Line: int(1206), - Column: int(49), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(46), - }, - End: ast.Location{ - Line: int(1206), - Column: int(56), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12620, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(57), - }, - End: ast.Location{ - Line: int(1206), - Column: int(62), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(46), - }, - End: ast.Location{ - Line: int(1206), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(46), - }, - End: ast.Location{ - Line: int(1206), - Column: int(67), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(23), - }, - End: ast.Location{ - Line: int(1206), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(23), - }, - End: ast.Location{ - Line: int(1206), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12632, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(36), - }, - End: ast.Location{ - Line: int(1206), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(23), - }, - End: ast.Location{ - Line: int(1206), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(23), - }, - End: ast.Location{ - Line: int(1206), - Column: int(67), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12641, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(37), - }, - End: ast.Location{ - Line: int(1207), - Column: int(41), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12641, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(27), - }, - End: ast.Location{ - Line: int(1207), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12641, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(27), - }, - End: ast.Location{ - Line: int(1207), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1207), - Column: int(15), - }, - End: ast.Location{ - Line: int(1207), - Column: int(41), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "space", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12641, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1211), - Column: int(22), - }, - End: ast.Location{ - Line: int(1211), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1211), - Column: int(15), - }, - End: ast.Location{ - Line: int(1211), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(73), - }, - End: ast.Location{ - Line: int(1212), - Column: int(14), - }, - }, - }, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12652, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1214), - Column: int(27), - }, - End: ast.Location{ - Line: int(1214), - Column: int(34), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1214), - Column: int(15), - }, - End: ast.Location{ - Line: int(1214), - Column: int(34), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "space", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12652, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1215), - Column: int(22), - }, - End: ast.Location{ - Line: int(1215), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1215), - Column: int(15), - }, - End: ast.Location{ - Line: int(1215), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1212), - Column: int(20), - }, - End: ast.Location{ - Line: int(1216), - Column: int(14), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "cindent", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1206), - Column: int(20), - }, - End: ast.Location{ - Line: int(1216), - Column: int(14), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p12567, - FreeVars: ast.Identifiers{ - "cindent", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1197), - Column: int(13), - }, - End: ast.Location{ - Line: int(1216), - Column: int(14), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1196), - Column: int(24), - }, - End: ast.Location{ - Line: int(1196), - Column: int(29), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p12661, - FreeVars: ast.Identifiers{ - "cindent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1196), - Column: int(17), - }, - End: ast.Location{ - Line: int(1216), - Column: int(14), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "params", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(25), - }, - End: ast.Location{ - Line: int(1217), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "range", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12670, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(25), - }, - End: ast.Location{ - Line: int(1217), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12674, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(35), - }, - End: ast.Location{ - Line: int(1217), - Column: int(36), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12674, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(54), - }, - End: ast.Location{ - Line: int(1217), - Column: int(55), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(38), - }, - End: ast.Location{ - Line: int(1217), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12674, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(38), - }, - End: ast.Location{ - Line: int(1217), - Column: int(48), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12685, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(49), - }, - End: ast.Location{ - Line: int(1217), - Column: int(50), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12674, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(38), - }, - End: ast.Location{ - Line: int(1217), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12674, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(38), - }, - End: ast.Location{ - Line: int(1217), - Column: int(55), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12670, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(25), - }, - End: ast.Location{ - Line: int(1217), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "range", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(17), - }, - End: ast.Location{ - Line: int(1217), - Column: int(56), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12713, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(33), - }, - End: ast.Location{ - Line: int(1219), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12718, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(37), - }, - End: ast.Location{ - Line: int(1219), - Column: int(38), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12718, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(39), - }, - End: ast.Location{ - Line: int(1219), - Column: int(40), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12718, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(37), - }, - End: ast.Location{ - Line: int(1219), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12727, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(51), - }, - End: ast.Location{ - Line: int(1219), - Column: int(52), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12718, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(50), - }, - End: ast.Location{ - Line: int(1219), - Column: int(53), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12718, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(43), - }, - End: ast.Location{ - Line: int(1219), - Column: int(47), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12718, - FreeVars: ast.Identifiers{ - "i", - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(43), - }, - End: ast.Location{ - Line: int(1219), - Column: int(53), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "param", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(55), - }, - End: ast.Location{ - Line: int(1219), - Column: int(60), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12718, - FreeVars: ast.Identifiers{ - "param", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(55), - }, - End: ast.Location{ - Line: int(1219), - Column: int(71), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12713, - FreeVars: ast.Identifiers{ - "aux", - "i", - "param", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(33), - }, - End: ast.Location{ - Line: int(1219), - Column: int(72), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "param", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(19), - }, - End: ast.Location{ - Line: int(1219), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "space", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12713, - FreeVars: ast.Identifiers{ - "param", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(19), - }, - End: ast.Location{ - Line: int(1219), - Column: int(30), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "-", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p12713, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(13), - }, - End: ast.Location{ - Line: int(1219), - Column: int(16), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12713, - FreeVars: ast.Identifiers{ - "param", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(13), - }, - End: ast.Location{ - Line: int(1219), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12713, - FreeVars: ast.Identifiers{ - "aux", - "i", - "param", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1219), - Column: int(13), - }, - End: ast.Location{ - Line: int(1219), - Column: int(72), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "i", - "param", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "param", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "i", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "params", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12756, - FreeVars: ast.Identifiers{ - "params", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(27), - }, - End: ast.Location{ - Line: int(1221), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12761, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(34), - }, - End: ast.Location{ - Line: int(1221), - Column: int(35), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12761, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(36), - }, - End: ast.Location{ - Line: int(1221), - Column: int(37), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12761, - FreeVars: ast.Identifiers{ - "i", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(34), - }, - End: ast.Location{ - Line: int(1221), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12756, - FreeVars: ast.Identifiers{ - "i", - "params", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(27), - }, - End: ast.Location{ - Line: int(1221), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12767, - FreeVars: ast.Identifiers{ - "i", - "params", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1221), - Column: int(26), - }, - End: ast.Location{ - Line: int(1221), - Column: int(40), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "i", - "params", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1218), - Column: int(25), - }, - End: ast.Location{ - Line: int(1222), - Column: int(12), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "params", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "range", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12767, - FreeVars: ast.Identifiers{ - "range", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1220), - Column: int(22), - }, - End: ast.Location{ - Line: int(1220), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "params", - "path", - "range", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1218), - Column: int(25), - }, - End: ast.Location{ - Line: int(1222), - Column: int(12), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "parts", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1218), - Column: int(17), - }, - End: ast.Location{ - Line: int(1222), - Column: int(12), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(11), - }, - End: ast.Location{ - Line: int(1223), - Column: int(14), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(11), - }, - End: ast.Location{ - Line: int(1223), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12785, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(27), - }, - End: ast.Location{ - Line: int(1223), - Column: int(34), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12785, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(20), - }, - End: ast.Location{ - Line: int(1223), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12785, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(20), - }, - End: ast.Location{ - Line: int(1223), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "parts", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12785, - FreeVars: ast.Identifiers{ - "parts", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(36), - }, - End: ast.Location{ - Line: int(1223), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "cindent", - "parts", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1223), - Column: int(11), - }, - End: ast.Location{ - Line: int(1223), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "params", - "path", - "range", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1218), - Column: int(11), - }, - End: ast.Location{ - Line: int(1223), - Column: int(42), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "params", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1217), - Column: int(11), - }, - End: ast.Location{ - Line: int(1223), - Column: int(42), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1196), - Column: int(11), - }, - End: ast.Location{ - Line: int(1223), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "path", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1193), - Column: int(9), - }, - End: ast.Location{ - Line: int(1223), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(15), - }, - End: ast.Location{ - Line: int(1224), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(15), - }, - End: ast.Location{ - Line: int(1224), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12810, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(28), - }, - End: ast.Location{ - Line: int(1224), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(15), - }, - End: ast.Location{ - Line: int(1224), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(29), - }, - End: ast.Location{ - Line: int(1225), - Column: int(30), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(12), - }, - End: ast.Location{ - Line: int(1225), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(12), - }, - End: ast.Location{ - Line: int(1225), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12824, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(23), - }, - End: ast.Location{ - Line: int(1225), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(12), - }, - End: ast.Location{ - Line: int(1225), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(12), - }, - End: ast.Location{ - Line: int(1225), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "{}", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1226), - Column: int(11), - }, - End: ast.Location{ - Line: int(1226), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(58), - }, - End: ast.Location{ - Line: int(1229), - Column: int(59), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(38), - }, - End: ast.Location{ - Line: int(1229), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(38), - }, - End: ast.Location{ - Line: int(1229), - Column: int(48), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12846, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(49), - }, - End: ast.Location{ - Line: int(1229), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(38), - }, - End: ast.Location{ - Line: int(1229), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(38), - }, - End: ast.Location{ - Line: int(1229), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(16), - }, - End: ast.Location{ - Line: int(1229), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(16), - }, - End: ast.Location{ - Line: int(1229), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12858, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(28), - }, - End: ast.Location{ - Line: int(1229), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(16), - }, - End: ast.Location{ - Line: int(1229), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(16), - }, - End: ast.Location{ - Line: int(1229), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Conditional{ - Cond: &ast.Var{ - Id: "indent_array_in_object", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12867, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(30), - }, - End: ast.Location{ - Line: int(1236), - Column: int(52), - }, - }, - }, - }, - BranchTrue: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12867, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(68), - }, - End: ast.Location{ - Line: int(1236), - Column: int(72), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12867, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(58), - }, - End: ast.Location{ - Line: int(1236), - Column: int(65), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12867, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(58), - }, - End: ast.Location{ - Line: int(1236), - Column: int(72), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12867, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(78), - }, - End: ast.Location{ - Line: int(1236), - Column: int(85), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12867, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(27), - }, - End: ast.Location{ - Line: int(1236), - Column: int(85), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1236), - Column: int(15), - }, - End: ast.Location{ - Line: int(1236), - Column: int(85), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "space", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Self{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(29), - }, - End: ast.Location{ - Line: int(1237), - Column: int(33), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12867, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(29), - }, - End: ast.Location{ - Line: int(1237), - Column: int(44), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12867, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(22), - }, - End: ast.Location{ - Line: int(1237), - Column: int(26), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12867, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(22), - }, - End: ast.Location{ - Line: int(1237), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1237), - Column: int(15), - }, - End: ast.Location{ - Line: int(1237), - Column: int(44), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(65), - }, - End: ast.Location{ - Line: int(1238), - Column: int(14), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(66), - }, - End: ast.Location{ - Line: int(1238), - Column: int(67), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(46), - }, - End: ast.Location{ - Line: int(1238), - Column: int(49), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(46), - }, - End: ast.Location{ - Line: int(1238), - Column: int(56), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12896, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(57), - }, - End: ast.Location{ - Line: int(1238), - Column: int(62), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(46), - }, - End: ast.Location{ - Line: int(1238), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(46), - }, - End: ast.Location{ - Line: int(1238), - Column: int(67), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(23), - }, - End: ast.Location{ - Line: int(1238), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(23), - }, - End: ast.Location{ - Line: int(1238), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12908, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(36), - }, - End: ast.Location{ - Line: int(1238), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(23), - }, - End: ast.Location{ - Line: int(1238), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(23), - }, - End: ast.Location{ - Line: int(1238), - Column: int(67), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12917, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(37), - }, - End: ast.Location{ - Line: int(1239), - Column: int(41), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12917, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(27), - }, - End: ast.Location{ - Line: int(1239), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12917, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(27), - }, - End: ast.Location{ - Line: int(1239), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1239), - Column: int(15), - }, - End: ast.Location{ - Line: int(1239), - Column: int(41), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "space", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Self{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(29), - }, - End: ast.Location{ - Line: int(1240), - Column: int(33), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12917, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(29), - }, - End: ast.Location{ - Line: int(1240), - Column: int(44), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12917, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(22), - }, - End: ast.Location{ - Line: int(1240), - Column: int(26), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12917, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(22), - }, - End: ast.Location{ - Line: int(1240), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1240), - Column: int(15), - }, - End: ast.Location{ - Line: int(1240), - Column: int(44), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(73), - }, - End: ast.Location{ - Line: int(1241), - Column: int(14), - }, - }, - }, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12932, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1243), - Column: int(27), - }, - End: ast.Location{ - Line: int(1243), - Column: int(34), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1243), - Column: int(15), - }, - End: ast.Location{ - Line: int(1243), - Column: int(34), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "space", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.LiteralString{ - Value: " ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12932, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(22), - }, - End: ast.Location{ - Line: int(1244), - Column: int(25), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1244), - Column: int(15), - }, - End: ast.Location{ - Line: int(1244), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1241), - Column: int(20), - }, - End: ast.Location{ - Line: int(1245), - Column: int(14), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "cindent", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1238), - Column: int(20), - }, - End: ast.Location{ - Line: int(1245), - Column: int(14), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p12837, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1229), - Column: int(13), - }, - End: ast.Location{ - Line: int(1245), - Column: int(14), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1228), - Column: int(24), - }, - End: ast.Location{ - Line: int(1228), - Column: int(29), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p12941, - FreeVars: ast.Identifiers{ - "cindent", - "indent_array_in_object", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1228), - Column: int(17), - }, - End: ast.Location{ - Line: int(1245), - Column: int(14), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "params", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(102), - }, - End: ast.Location{ - Line: int(1247), - Column: int(105), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12971, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(106), - }, - End: ast.Location{ - Line: int(1247), - Column: int(107), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12971, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(108), - }, - End: ast.Location{ - Line: int(1247), - Column: int(109), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12971, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(106), - }, - End: ast.Location{ - Line: int(1247), - Column: int(110), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12980, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(120), - }, - End: ast.Location{ - Line: int(1247), - Column: int(121), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12971, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(119), - }, - End: ast.Location{ - Line: int(1247), - Column: int(122), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "path", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12971, - FreeVars: ast.Identifiers{ - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(112), - }, - End: ast.Location{ - Line: int(1247), - Column: int(116), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12971, - FreeVars: ast.Identifiers{ - "k", - "path", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(112), - }, - End: ast.Location{ - Line: int(1247), - Column: int(122), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "param", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(124), - }, - End: ast.Location{ - Line: int(1247), - Column: int(129), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "new_indent", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12971, - FreeVars: ast.Identifiers{ - "param", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(124), - }, - End: ast.Location{ - Line: int(1247), - Column: int(140), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "aux", - "k", - "param", - "path", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(102), - }, - End: ast.Location{ - Line: int(1247), - Column: int(141), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "param", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "param", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(88), - }, - End: ast.Location{ - Line: int(1247), - Column: int(93), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "space", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "param", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(88), - }, - End: ast.Location{ - Line: int(1247), - Column: int(99), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: ":", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(82), - }, - End: ast.Location{ - Line: int(1247), - Column: int(85), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Conditional{ - Cond: &ast.Var{ - Id: "quote_keys", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "quote_keys", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(17), - }, - End: ast.Location{ - Line: int(1247), - Column: int(27), - }, - }, - }, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(33), - }, - End: ast.Location{ - Line: int(1247), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "escapeStringJson", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(33), - }, - End: ast.Location{ - Line: int(1247), - Column: int(53), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13011, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(54), - }, - End: ast.Location{ - Line: int(1247), - Column: int(55), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(33), - }, - End: ast.Location{ - Line: int(1247), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "escapeKeyYaml", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(62), - }, - End: ast.Location{ - Line: int(1247), - Column: int(75), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13019, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(76), - }, - End: ast.Location{ - Line: int(1247), - Column: int(77), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(62), - }, - End: ast.Location{ - Line: int(1247), - Column: int(78), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - "k", - "quote_keys", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(14), - }, - End: ast.Location{ - Line: int(1247), - Column: int(78), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - "k", - "quote_keys", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(13), - }, - End: ast.Location{ - Line: int(1247), - Column: int(85), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "escapeKeyYaml", - "k", - "param", - "quote_keys", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(13), - }, - End: ast.Location{ - Line: int(1247), - Column: int(99), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12966, - FreeVars: ast.Identifiers{ - "aux", - "escapeKeyYaml", - "k", - "param", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1247), - Column: int(13), - }, - End: ast.Location{ - Line: int(1247), - Column: int(141), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "escapeKeyYaml", - "k", - "param", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "param", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "escapeKeyYaml", - "k", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "params", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13033, - FreeVars: ast.Identifiers{ - "params", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1249), - Column: int(27), - }, - End: ast.Location{ - Line: int(1249), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13038, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1249), - Column: int(34), - }, - End: ast.Location{ - Line: int(1249), - Column: int(35), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13038, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1249), - Column: int(36), - }, - End: ast.Location{ - Line: int(1249), - Column: int(37), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13038, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1249), - Column: int(34), - }, - End: ast.Location{ - Line: int(1249), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13033, - FreeVars: ast.Identifiers{ - "k", - "params", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1249), - Column: int(27), - }, - End: ast.Location{ - Line: int(1249), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13044, - FreeVars: ast.Identifiers{ - "k", - "params", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1249), - Column: int(26), - }, - End: ast.Location{ - Line: int(1249), - Column: int(40), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "escapeKeyYaml", - "k", - "params", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(25), - }, - End: ast.Location{ - Line: int(1250), - Column: int(12), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "escapeKeyYaml", - "params", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1248), - Column: int(22), - }, - End: ast.Location{ - Line: int(1248), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13044, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1248), - Column: int(22), - }, - End: ast.Location{ - Line: int(1248), - Column: int(38), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13057, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1248), - Column: int(39), - }, - End: ast.Location{ - Line: int(1248), - Column: int(40), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13044, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1248), - Column: int(22), - }, - End: ast.Location{ - Line: int(1248), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "escapeKeyYaml", - "params", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(25), - }, - End: ast.Location{ - Line: int(1250), - Column: int(12), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "lines", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(17), - }, - End: ast.Location{ - Line: int(1250), - Column: int(12), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(11), - }, - End: ast.Location{ - Line: int(1251), - Column: int(14), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(11), - }, - End: ast.Location{ - Line: int(1251), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "cindent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13071, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(27), - }, - End: ast.Location{ - Line: int(1251), - Column: int(34), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13071, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(20), - }, - End: ast.Location{ - Line: int(1251), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13071, - FreeVars: ast.Identifiers{ - "cindent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(20), - }, - End: ast.Location{ - Line: int(1251), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "lines", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13071, - FreeVars: ast.Identifiers{ - "lines", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(36), - }, - End: ast.Location{ - Line: int(1251), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "cindent", - "lines", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1251), - Column: int(11), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "params", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1246), - Column: int(11), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1228), - Column: int(11), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1225), - Column: int(9), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1224), - Column: int(12), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1192), - Column: int(12), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1190), - Column: int(12), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1181), - Column: int(12), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1179), - Column: int(12), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1177), - Column: int(12), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1175), - Column: int(12), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p12338, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "cindent", - "escapeKeyYaml", - "indent_array_in_object", - "path", - "quote_keys", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1173), - Column: int(7), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1172), - Column: int(15), - }, - End: ast.Location{ - Line: int(1172), - Column: int(16), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "path", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1172), - Column: int(18), - }, - End: ast.Location{ - Line: int(1172), - Column: int(22), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "cindent", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1172), - Column: int(24), - }, - End: ast.Location{ - Line: int(1172), - Column: int(31), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p13103, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "escapeKeyYaml", - "indent_array_in_object", - "quote_keys", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1172), - Column: int(11), - }, - End: ast.Location{ - Line: int(1251), - Column: int(42), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13108, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(5), - }, - End: ast.Location{ - Line: int(1252), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13112, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(9), - }, - End: ast.Location{ - Line: int(1252), - Column: int(14), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13112, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(16), - }, - End: ast.Location{ - Line: int(1252), - Column: int(18), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13112, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(20), - }, - End: ast.Location{ - Line: int(1252), - Column: int(22), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13108, - FreeVars: ast.Identifiers{ - "aux", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1252), - Column: int(5), - }, - End: ast.Location{ - Line: int(1252), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13108, - FreeVars: ast.Identifiers{ - "$std", - "escapeKeyYaml", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1172), - Column: int(5), - }, - End: ast.Location{ - Line: int(1252), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13108, - FreeVars: ast.Identifiers{ - "$std", - "bareSafe", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1170), - Column: int(5), - }, - End: ast.Location{ - Line: int(1252), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13108, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "isReserved", - "onlyChars", - "quote_keys", - "std", - "typeMatch", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1082), - Column: int(5), - }, - End: ast.Location{ - Line: int(1252), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13108, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "isReserved", - "onlyChars", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1077), - Column: int(5), - }, - End: ast.Location{ - Line: int(1252), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13108, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "onlyChars", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1061), - Column: int(5), - }, - End: ast.Location{ - Line: int(1252), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13108, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1057), - Column: int(5), - }, - End: ast.Location{ - Line: int(1252), - Column: int(23), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(19), - }, - End: ast.Location{ - Line: int(1056), - Column: int(24), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indent_array_in_object", - CommaFodder: ast.Fodder{}, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13108, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(49), - }, - End: ast.Location{ - Line: int(1056), - Column: int(54), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(26), - }, - End: ast.Location{ - Line: int(1056), - Column: int(54), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "quote_keys", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13108, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(67), - }, - End: ast.Location{ - Line: int(1056), - Column: int(71), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(56), - }, - End: ast.Location{ - Line: int(1056), - Column: int(71), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1056), - Column: int(3), - }, - End: ast.Location{ - Line: int(1252), - Column: int(23), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestYamlStream", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(9), - }, - End: ast.Location{ - Line: int(1255), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(9), - }, - End: ast.Location{ - Line: int(1255), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13146, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(21), - }, - End: ast.Location{ - Line: int(1255), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(9), - }, - End: ast.Location{ - Line: int(1255), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(8), - }, - End: ast.Location{ - Line: int(1255), - Column: int(27), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(60), - }, - End: ast.Location{ - Line: int(1256), - Column: int(63), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(60), - }, - End: ast.Location{ - Line: int(1256), - Column: int(68), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13160, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(69), - }, - End: ast.Location{ - Line: int(1256), - Column: int(74), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(60), - }, - End: ast.Location{ - Line: int(1256), - Column: int(75), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "manifestYamlStream only takes arrays, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(13), - }, - End: ast.Location{ - Line: int(1256), - Column: int(57), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(13), - }, - End: ast.Location{ - Line: int(1256), - Column: int(75), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1256), - Column: int(7), - }, - End: ast.Location{ - Line: int(1256), - Column: int(75), - }, - }, - }, - }, - BranchFalse: &ast.Binary{ - Right: &ast.Conditional{ - Cond: &ast.Var{ - Id: "c_document_end", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "c_document_end", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1260), - Column: int(14), - }, - End: ast.Location{ - Line: int(1260), - Column: int(28), - }, - }, - }, - }, - BranchTrue: &ast.LiteralString{ - Value: "\n...\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1260), - Column: int(34), - }, - End: ast.Location{ - Line: int(1260), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1260), - Column: int(49), - }, - End: ast.Location{ - Line: int(1260), - Column: int(53), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "c_document_end", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1260), - Column: int(11), - }, - End: ast.Location{ - Line: int(1260), - Column: int(53), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(17), - }, - End: ast.Location{ - Line: int(1258), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(17), - }, - End: ast.Location{ - Line: int(1258), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\n---\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13184, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(9), - }, - End: ast.Location{ - Line: int(1259), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(21), - }, - End: ast.Location{ - Line: int(1259), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "manifestYamlDoc", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13200, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(21), - }, - End: ast.Location{ - Line: int(1259), - Column: int(40), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13204, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(41), - }, - End: ast.Location{ - Line: int(1259), - Column: int(42), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "indent_array_in_object", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13204, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(44), - }, - End: ast.Location{ - Line: int(1259), - Column: int(66), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "quote_keys", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13204, - FreeVars: ast.Identifiers{ - "quote_keys", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(68), - }, - End: ast.Location{ - Line: int(1259), - Column: int(78), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13200, - FreeVars: ast.Identifiers{ - "e", - "indent_array_in_object", - "quote_keys", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(21), - }, - End: ast.Location{ - Line: int(1259), - Column: int(79), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "e", - "indent_array_in_object", - "quote_keys", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "e", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "indent_array_in_object", - "quote_keys", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13184, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(89), - }, - End: ast.Location{ - Line: int(1259), - Column: int(94), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1259), - Column: int(20), - }, - End: ast.Location{ - Line: int(1259), - Column: int(95), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(17), - }, - End: ast.Location{ - Line: int(1260), - Column: int(8), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "---\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(7), - }, - End: ast.Location{ - Line: int(1258), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "$std", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(7), - }, - End: ast.Location{ - Line: int(1260), - Column: int(8), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "$std", - "c_document_end", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1258), - Column: int(7), - }, - End: ast.Location{ - Line: int(1260), - Column: int(53), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13142, - FreeVars: ast.Identifiers{ - "$std", - "c_document_end", - "indent_array_in_object", - "quote_keys", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1255), - Column: int(5), - }, - End: ast.Location{ - Line: int(1260), - Column: int(53), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(22), - }, - End: ast.Location{ - Line: int(1254), - Column: int(27), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "indent_array_in_object", - CommaFodder: ast.Fodder{}, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(52), - }, - End: ast.Location{ - Line: int(1254), - Column: int(57), - }, - }, - }, - Value: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(29), - }, - End: ast.Location{ - Line: int(1254), - Column: int(57), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "c_document_end", - CommaFodder: ast.Fodder{}, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(74), - }, - End: ast.Location{ - Line: int(1254), - Column: int(78), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(59), - }, - End: ast.Location{ - Line: int(1254), - Column: int(78), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "quote_keys", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(91), - }, - End: ast.Location{ - Line: int(1254), - Column: int(95), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(80), - }, - End: ast.Location{ - Line: int(1254), - Column: int(95), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1254), - Column: int(3), - }, - End: ast.Location{ - Line: int(1260), - Column: int(53), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestPython", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1264), - Column: int(8), - }, - End: ast.Location{ - Line: int(1264), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1264), - Column: int(8), - }, - End: ast.Location{ - Line: int(1264), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13243, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1264), - Column: int(21), - }, - End: ast.Location{ - Line: int(1264), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1264), - Column: int(8), - }, - End: ast.Location{ - Line: int(1264), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "%s: %s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13267, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(9), - }, - End: ast.Location{ - Line: int(1266), - Column: int(17), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(21), - }, - End: ast.Location{ - Line: int(1266), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "escapeStringPython", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13275, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(21), - }, - End: ast.Location{ - Line: int(1266), - Column: int(43), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13279, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(44), - }, - End: ast.Location{ - Line: int(1266), - Column: int(45), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13275, - FreeVars: ast.Identifiers{ - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(21), - }, - End: ast.Location{ - Line: int(1266), - Column: int(46), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(48), - }, - End: ast.Location{ - Line: int(1266), - Column: int(51), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "manifestPython", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13275, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(48), - }, - End: ast.Location{ - Line: int(1266), - Column: int(66), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13291, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(67), - }, - End: ast.Location{ - Line: int(1266), - Column: int(68), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13291, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(69), - }, - End: ast.Location{ - Line: int(1266), - Column: int(70), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13291, - FreeVars: ast.Identifiers{ - "k", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(67), - }, - End: ast.Location{ - Line: int(1266), - Column: int(71), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13275, - FreeVars: ast.Identifiers{ - "k", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(48), - }, - End: ast.Location{ - Line: int(1266), - Column: int(72), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13267, - FreeVars: ast.Identifiers{ - "k", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(20), - }, - End: ast.Location{ - Line: int(1266), - Column: int(73), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1266), - Column: int(9), - }, - End: ast.Location{ - Line: int(1266), - Column: int(73), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "k", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1267), - Column: int(18), - }, - End: ast.Location{ - Line: int(1267), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13307, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1267), - Column: int(18), - }, - End: ast.Location{ - Line: int(1267), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13311, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1267), - Column: int(35), - }, - End: ast.Location{ - Line: int(1267), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13307, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1267), - Column: int(18), - }, - End: ast.Location{ - Line: int(1267), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1265), - Column: int(22), - }, - End: ast.Location{ - Line: int(1268), - Column: int(8), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "fields", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1265), - Column: int(13), - }, - End: ast.Location{ - Line: int(1268), - Column: int(8), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "{%s}", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1269), - Column: int(7), - }, - End: ast.Location{ - Line: int(1269), - Column: int(13), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1269), - Column: int(17), - }, - End: ast.Location{ - Line: int(1269), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13331, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1269), - Column: int(17), - }, - End: ast.Location{ - Line: int(1269), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ", ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13335, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1269), - Column: int(26), - }, - End: ast.Location{ - Line: int(1269), - Column: int(30), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "fields", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13335, - FreeVars: ast.Identifiers{ - "fields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1269), - Column: int(32), - }, - End: ast.Location{ - Line: int(1269), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13331, - FreeVars: ast.Identifiers{ - "fields", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1269), - Column: int(17), - }, - End: ast.Location{ - Line: int(1269), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "fields", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1269), - Column: int(16), - }, - End: ast.Location{ - Line: int(1269), - Column: int(40), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "fields", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1269), - Column: int(7), - }, - End: ast.Location{ - Line: int(1269), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1265), - Column: int(7), - }, - End: ast.Location{ - Line: int(1269), - Column: int(40), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1270), - Column: int(13), - }, - End: ast.Location{ - Line: int(1270), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1270), - Column: int(13), - }, - End: ast.Location{ - Line: int(1270), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13352, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1270), - Column: int(25), - }, - End: ast.Location{ - Line: int(1270), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1270), - Column: int(13), - }, - End: ast.Location{ - Line: int(1270), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "[%s]", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(7), - }, - End: ast.Location{ - Line: int(1271), - Column: int(13), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(17), - }, - End: ast.Location{ - Line: int(1271), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13371, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(17), - }, - End: ast.Location{ - Line: int(1271), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ", ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13375, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(26), - }, - End: ast.Location{ - Line: int(1271), - Column: int(30), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(33), - }, - End: ast.Location{ - Line: int(1271), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "manifestPython", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13391, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(33), - }, - End: ast.Location{ - Line: int(1271), - Column: int(51), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13395, - FreeVars: ast.Identifiers{ - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(52), - }, - End: ast.Location{ - Line: int(1271), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13391, - FreeVars: ast.Identifiers{ - "std", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(33), - }, - End: ast.Location{ - Line: int(1271), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "v2", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "v2", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13375, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(66), - }, - End: ast.Location{ - Line: int(1271), - Column: int(67), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(32), - }, - End: ast.Location{ - Line: int(1271), - Column: int(68), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13371, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(17), - }, - End: ast.Location{ - Line: int(1271), - Column: int(69), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(16), - }, - End: ast.Location{ - Line: int(1271), - Column: int(70), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1271), - Column: int(7), - }, - End: ast.Location{ - Line: int(1271), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1272), - Column: int(13), - }, - End: ast.Location{ - Line: int(1272), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1272), - Column: int(13), - }, - End: ast.Location{ - Line: int(1272), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13416, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1272), - Column: int(26), - }, - End: ast.Location{ - Line: int(1272), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1272), - Column: int(13), - }, - End: ast.Location{ - Line: int(1272), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "%s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1273), - Column: int(7), - }, - End: ast.Location{ - Line: int(1273), - Column: int(11), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1273), - Column: int(15), - }, - End: ast.Location{ - Line: int(1273), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "escapeStringPython", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13435, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1273), - Column: int(15), - }, - End: ast.Location{ - Line: int(1273), - Column: int(37), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13439, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1273), - Column: int(38), - }, - End: ast.Location{ - Line: int(1273), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13435, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1273), - Column: int(15), - }, - End: ast.Location{ - Line: int(1273), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1273), - Column: int(14), - }, - End: ast.Location{ - Line: int(1273), - Column: int(41), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1273), - Column: int(7), - }, - End: ast.Location{ - Line: int(1273), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(13), - }, - End: ast.Location{ - Line: int(1274), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isFunction", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(13), - }, - End: ast.Location{ - Line: int(1274), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13453, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(28), - }, - End: ast.Location{ - Line: int(1274), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(13), - }, - End: ast.Location{ - Line: int(1274), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "cannot manifest function", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1275), - Column: int(13), - }, - End: ast.Location{ - Line: int(1275), - Column: int(39), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1275), - Column: int(7), - }, - End: ast.Location{ - Line: int(1275), - Column: int(39), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1276), - Column: int(13), - }, - End: ast.Location{ - Line: int(1276), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isNumber", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1276), - Column: int(13), - }, - End: ast.Location{ - Line: int(1276), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13468, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1276), - Column: int(26), - }, - End: ast.Location{ - Line: int(1276), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1276), - Column: int(13), - }, - End: ast.Location{ - Line: int(1276), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(7), - }, - End: ast.Location{ - Line: int(1277), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "toString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(7), - }, - End: ast.Location{ - Line: int(1277), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13480, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(20), - }, - End: ast.Location{ - Line: int(1277), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1277), - Column: int(7), - }, - End: ast.Location{ - Line: int(1277), - Column: int(22), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(18), - }, - End: ast.Location{ - Line: int(1278), - Column: int(22), - }, - }, - }, - Value: true, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(13), - }, - End: ast.Location{ - Line: int(1278), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(13), - }, - End: ast.Location{ - Line: int(1278), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "True", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1279), - Column: int(7), - }, - End: ast.Location{ - Line: int(1279), - Column: int(13), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1280), - Column: int(18), - }, - End: ast.Location{ - Line: int(1280), - Column: int(23), - }, - }, - }, - Value: false, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1280), - Column: int(13), - }, - End: ast.Location{ - Line: int(1280), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1280), - Column: int(13), - }, - End: ast.Location{ - Line: int(1280), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "False", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1281), - Column: int(7), - }, - End: ast.Location{ - Line: int(1281), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(18), - }, - End: ast.Location{ - Line: int(1282), - Column: int(22), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(13), - }, - End: ast.Location{ - Line: int(1282), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(13), - }, - End: ast.Location{ - Line: int(1282), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralString{ - Value: "None", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1283), - Column: int(7), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - BranchFalse: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1282), - Column: int(10), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1280), - Column: int(10), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1278), - Column: int(10), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1276), - Column: int(10), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1274), - Column: int(10), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1272), - Column: int(10), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1270), - Column: int(10), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13239, - FreeVars: ast.Identifiers{ - "$std", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1264), - Column: int(5), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1263), - Column: int(18), - }, - End: ast.Location{ - Line: int(1263), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1263), - Column: int(3), - }, - End: ast.Location{ - Line: int(1283), - Column: int(13), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestPythonVars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "%s = %s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13548, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(19), - }, - End: ast.Location{ - Line: int(1286), - Column: int(28), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13552, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(32), - }, - End: ast.Location{ - Line: int(1286), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(35), - }, - End: ast.Location{ - Line: int(1286), - Column: int(38), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "manifestPython", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13552, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(35), - }, - End: ast.Location{ - Line: int(1286), - Column: int(53), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "conf", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13563, - FreeVars: ast.Identifiers{ - "conf", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(54), - }, - End: ast.Location{ - Line: int(1286), - Column: int(58), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13563, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(59), - }, - End: ast.Location{ - Line: int(1286), - Column: int(60), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13563, - FreeVars: ast.Identifiers{ - "conf", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(54), - }, - End: ast.Location{ - Line: int(1286), - Column: int(61), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13552, - FreeVars: ast.Identifiers{ - "conf", - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(35), - }, - End: ast.Location{ - Line: int(1286), - Column: int(62), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13548, - FreeVars: ast.Identifiers{ - "conf", - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(31), - }, - End: ast.Location{ - Line: int(1286), - Column: int(63), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "conf", - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(19), - }, - End: ast.Location{ - Line: int(1286), - Column: int(63), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "conf", - "k", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "conf", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(73), - }, - End: ast.Location{ - Line: int(1286), - Column: int(76), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13579, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(73), - }, - End: ast.Location{ - Line: int(1286), - Column: int(89), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "conf", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13583, - FreeVars: ast.Identifiers{ - "conf", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(90), - }, - End: ast.Location{ - Line: int(1286), - Column: int(94), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13579, - FreeVars: ast.Identifiers{ - "conf", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(73), - }, - End: ast.Location{ - Line: int(1286), - Column: int(95), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "conf", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(18), - }, - End: ast.Location{ - Line: int(1286), - Column: int(96), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "vars", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(11), - }, - End: ast.Location{ - Line: int(1286), - Column: int(96), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(5), - }, - End: ast.Location{ - Line: int(1287), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13593, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(5), - }, - End: ast.Location{ - Line: int(1287), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "\n", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13597, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(14), - }, - End: ast.Location{ - Line: int(1287), - Column: int(18), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13602, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(28), - }, - End: ast.Location{ - Line: int(1287), - Column: int(30), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13597, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(27), - }, - End: ast.Location{ - Line: int(1287), - Column: int(31), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "vars", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13597, - FreeVars: ast.Identifiers{ - "vars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(20), - }, - End: ast.Location{ - Line: int(1287), - Column: int(24), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13597, - FreeVars: ast.Identifiers{ - "vars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(20), - }, - End: ast.Location{ - Line: int(1287), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13593, - FreeVars: ast.Identifiers{ - "std", - "vars", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1287), - Column: int(5), - }, - End: ast.Location{ - Line: int(1287), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13593, - FreeVars: ast.Identifiers{ - "$std", - "conf", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1286), - Column: int(5), - }, - End: ast.Location{ - Line: int(1287), - Column: int(32), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "conf", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1285), - Column: int(22), - }, - End: ast.Location{ - Line: int(1285), - Column: int(26), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1285), - Column: int(3), - }, - End: ast.Location{ - Line: int(1287), - Column: int(32), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "manifestXmlJsonml", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(9), - }, - End: ast.Location{ - Line: int(1290), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(9), - }, - End: ast.Location{ - Line: int(1290), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13624, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(21), - }, - End: ast.Location{ - Line: int(1290), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(9), - }, - End: ast.Location{ - Line: int(1290), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(8), - }, - End: ast.Location{ - Line: int(1290), - Column: int(27), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "Expected a JSONML value (an array), got %s", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13620, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(13), - }, - End: ast.Location{ - Line: int(1291), - Column: int(57), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(60), - }, - End: ast.Location{ - Line: int(1291), - Column: int(63), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(60), - }, - End: ast.Location{ - Line: int(1291), - Column: int(68), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13645, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(69), - }, - End: ast.Location{ - Line: int(1291), - Column: int(74), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(60), - }, - End: ast.Location{ - Line: int(1291), - Column: int(75), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(13), - }, - End: ast.Location{ - Line: int(1291), - Column: int(75), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "$std", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1291), - Column: int(7), - }, - End: ast.Location{ - Line: int(1291), - Column: int(75), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1294), - Column: int(12), - }, - End: ast.Location{ - Line: int(1294), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1294), - Column: int(12), - }, - End: ast.Location{ - Line: int(1294), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13664, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1294), - Column: int(25), - }, - End: ast.Location{ - Line: int(1294), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1294), - Column: int(12), - }, - End: ast.Location{ - Line: int(1294), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1295), - Column: int(11), - }, - End: ast.Location{ - Line: int(1295), - Column: int(12), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13674, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1297), - Column: int(23), - }, - End: ast.Location{ - Line: int(1297), - Column: int(24), - }, - }, - }, - }, - Index: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13674, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1297), - Column: int(25), - }, - End: ast.Location{ - Line: int(1297), - Column: int(26), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13674, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1297), - Column: int(23), - }, - End: ast.Location{ - Line: int(1297), - Column: int(27), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "tag", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1297), - Column: int(17), - }, - End: ast.Location{ - Line: int(1297), - Column: int(27), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(50), - }, - End: ast.Location{ - Line: int(1298), - Column: int(53), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13686, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(50), - }, - End: ast.Location{ - Line: int(1298), - Column: int(62), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13691, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(63), - }, - End: ast.Location{ - Line: int(1298), - Column: int(64), - }, - }, - }, - }, - Index: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13691, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(65), - }, - End: ast.Location{ - Line: int(1298), - Column: int(66), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13691, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(63), - }, - End: ast.Location{ - Line: int(1298), - Column: int(67), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13686, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(50), - }, - End: ast.Location{ - Line: int(1298), - Column: int(68), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13686, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(45), - }, - End: ast.Location{ - Line: int(1298), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(29), - }, - End: ast.Location{ - Line: int(1298), - Column: int(32), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13686, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(29), - }, - End: ast.Location{ - Line: int(1298), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13706, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(40), - }, - End: ast.Location{ - Line: int(1298), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13686, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(29), - }, - End: ast.Location{ - Line: int(1298), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13686, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(29), - }, - End: ast.Location{ - Line: int(1298), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13686, - FreeVars: ast.Identifiers{ - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(29), - }, - End: ast.Location{ - Line: int(1298), - Column: int(68), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - EqFodder: ast.Fodder{}, - Variable: "has_attrs", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(17), - }, - End: ast.Location{ - Line: int(1298), - Column: int(68), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Var{ - Id: "has_attrs", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13715, - FreeVars: ast.Identifiers{ - "has_attrs", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(28), - }, - End: ast.Location{ - Line: int(1299), - Column: int(37), - }, - }, - }, - }, - BranchTrue: &ast.Index{ - Target: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13715, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(43), - }, - End: ast.Location{ - Line: int(1299), - Column: int(44), - }, - }, - }, - }, - Index: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13715, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(45), - }, - End: ast.Location{ - Line: int(1299), - Column: int(46), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13715, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(43), - }, - End: ast.Location{ - Line: int(1299), - Column: int(47), - }, - }, - }, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{}, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13715, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(53), - }, - End: ast.Location{ - Line: int(1299), - Column: int(55), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13715, - FreeVars: ast.Identifiers{ - "has_attrs", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(25), - }, - End: ast.Location{ - Line: int(1299), - Column: int(55), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "attrs", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(17), - }, - End: ast.Location{ - Line: int(1299), - Column: int(55), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Var{ - Id: "has_attrs", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13728, - FreeVars: ast.Identifiers{ - "has_attrs", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(31), - }, - End: ast.Location{ - Line: int(1300), - Column: int(40), - }, - }, - }, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13728, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(46), - }, - End: ast.Location{ - Line: int(1300), - Column: int(47), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13728, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(48), - }, - End: ast.Location{ - Line: int(1300), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(46), - }, - End: ast.Location{ - Line: int(1300), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13728, - FreeVars: ast.Identifiers{ - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(57), - }, - End: ast.Location{ - Line: int(1300), - Column: int(58), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13728, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(59), - }, - End: ast.Location{ - Line: int(1300), - Column: int(60), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(57), - }, - End: ast.Location{ - Line: int(1300), - Column: int(62), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13728, - FreeVars: ast.Identifiers{ - "$std", - "has_attrs", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(28), - }, - End: ast.Location{ - Line: int(1300), - Column: int(62), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "children", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(17), - }, - End: ast.Location{ - Line: int(1300), - Column: int(62), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(13), - }, - End: ast.Location{ - Line: int(1302), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13765, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(13), - }, - End: ast.Location{ - Line: int(1302), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13769, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(22), - }, - End: ast.Location{ - Line: int(1302), - Column: int(24), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: " %s=\"%s\"", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13788, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(27), - }, - End: ast.Location{ - Line: int(1302), - Column: int(37), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13792, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(41), - }, - End: ast.Location{ - Line: int(1302), - Column: int(42), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "attrs", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13792, - FreeVars: ast.Identifiers{ - "attrs", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(44), - }, - End: ast.Location{ - Line: int(1302), - Column: int(49), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13792, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(50), - }, - End: ast.Location{ - Line: int(1302), - Column: int(51), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13792, - FreeVars: ast.Identifiers{ - "attrs", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(44), - }, - End: ast.Location{ - Line: int(1302), - Column: int(52), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13788, - FreeVars: ast.Identifiers{ - "attrs", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(40), - }, - End: ast.Location{ - Line: int(1302), - Column: int(53), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(27), - }, - End: ast.Location{ - Line: int(1302), - Column: int(53), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "k", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(63), - }, - End: ast.Location{ - Line: int(1302), - Column: int(66), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13769, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(63), - }, - End: ast.Location{ - Line: int(1302), - Column: int(79), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "attrs", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13813, - FreeVars: ast.Identifiers{ - "attrs", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(80), - }, - End: ast.Location{ - Line: int(1302), - Column: int(85), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13769, - FreeVars: ast.Identifiers{ - "attrs", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(63), - }, - End: ast.Location{ - Line: int(1302), - Column: int(86), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(26), - }, - End: ast.Location{ - Line: int(1302), - Column: int(87), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13765, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1302), - Column: int(13), - }, - End: ast.Location{ - Line: int(1302), - Column: int(88), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "attrs_str", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(17), - }, - End: ast.Location{ - Line: int(1302), - Column: int(88), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(11), - }, - End: ast.Location{ - Line: int(1303), - Column: int(14), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "deepJoin", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(11), - }, - End: ast.Location{ - Line: int(1303), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "<", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(25), - }, - End: ast.Location{ - Line: int(1303), - Column: int(28), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "tag", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13829, - FreeVars: ast.Identifiers{ - "tag", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(30), - }, - End: ast.Location{ - Line: int(1303), - Column: int(33), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "attrs_str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13829, - FreeVars: ast.Identifiers{ - "attrs_str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(35), - }, - End: ast.Location{ - Line: int(1303), - Column: int(44), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: ">", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(46), - }, - End: ast.Location{ - Line: int(1303), - Column: int(49), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13847, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(52), - }, - End: ast.Location{ - Line: int(1303), - Column: int(55), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13851, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(56), - }, - End: ast.Location{ - Line: int(1303), - Column: int(57), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13847, - FreeVars: ast.Identifiers{ - "aux", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(52), - }, - End: ast.Location{ - Line: int(1303), - Column: int(58), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "x", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "x", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "children", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13829, - FreeVars: ast.Identifiers{ - "children", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(68), - }, - End: ast.Location{ - Line: int(1303), - Column: int(76), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "children", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(51), - }, - End: ast.Location{ - Line: int(1303), - Column: int(77), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13829, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(90), - }, - End: ast.Location{ - Line: int(1303), - Column: int(93), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13864, - FreeVars: ast.Identifiers{ - "$std", - "attrs_str", - "aux", - "children", - "tag", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(24), - }, - End: ast.Location{ - Line: int(1303), - Column: int(94), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "$std", - "attrs_str", - "aux", - "children", - "std", - "tag", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1303), - Column: int(11), - }, - End: ast.Location{ - Line: int(1303), - Column: int(95), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "aux", - "children", - "std", - "tag", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1301), - Column: int(11), - }, - End: ast.Location{ - Line: int(1303), - Column: int(95), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "$std", - "attrs", - "aux", - "has_attrs", - "std", - "tag", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1300), - Column: int(11), - }, - End: ast.Location{ - Line: int(1303), - Column: int(95), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "has_attrs", - "std", - "tag", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1299), - Column: int(11), - }, - End: ast.Location{ - Line: int(1303), - Column: int(95), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "std", - "tag", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1298), - Column: int(11), - }, - End: ast.Location{ - Line: int(1303), - Column: int(95), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1297), - Column: int(11), - }, - End: ast.Location{ - Line: int(1303), - Column: int(95), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13660, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "std", - "v", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1294), - Column: int(9), - }, - End: ast.Location{ - Line: int(1303), - Column: int(95), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(17), - }, - End: ast.Location{ - Line: int(1293), - Column: int(18), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p13881, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(13), - }, - End: ast.Location{ - Line: int(1303), - Column: int(95), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(6), - }, - }, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(7), - }, - End: ast.Location{ - Line: int(1305), - Column: int(10), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13889, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(11), - }, - End: ast.Location{ - Line: int(1305), - Column: int(16), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "aux", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1305), - Column: int(7), - }, - End: ast.Location{ - Line: int(1305), - Column: int(17), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "$std", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1293), - Column: int(7), - }, - End: ast.Location{ - Line: int(1305), - Column: int(17), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p13620, - FreeVars: ast.Identifiers{ - "$std", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1290), - Column: int(5), - }, - End: ast.Location{ - Line: int(1305), - Column: int(17), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1289), - Column: int(21), - }, - End: ast.Location{ - Line: int(1289), - Column: int(26), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1289), - Column: int(3), - }, - End: ast.Location{ - Line: int(1305), - Column: int(17), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "base64", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1312), - Column: int(10), - }, - End: ast.Location{ - Line: int(1312), - Column: int(13), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13909, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1312), - Column: int(10), - }, - End: ast.Location{ - Line: int(1312), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "input", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13913, - FreeVars: ast.Identifiers{ - "input", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1312), - Column: int(23), - }, - End: ast.Location{ - Line: int(1312), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13909, - FreeVars: ast.Identifiers{ - "input", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1312), - Column: int(10), - }, - End: ast.Location{ - Line: int(1312), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(9), - }, - End: ast.Location{ - Line: int(1313), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13909, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(9), - }, - End: ast.Location{ - Line: int(1313), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(17), - }, - End: ast.Location{ - Line: int(1313), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "codepoint", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13928, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(17), - }, - End: ast.Location{ - Line: int(1313), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "input", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13928, - FreeVars: ast.Identifiers{ - "input", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(32), - }, - End: ast.Location{ - Line: int(1313), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13909, - FreeVars: ast.Identifiers{ - "input", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1313), - Column: int(9), - }, - End: ast.Location{ - Line: int(1313), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - Id: "input", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13909, - FreeVars: ast.Identifiers{ - "input", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1315), - Column: int(9), - }, - End: ast.Location{ - Line: int(1315), - Column: int(14), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13909, - FreeVars: ast.Identifiers{ - "input", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1312), - Column: int(7), - }, - End: ast.Location{ - Line: int(1315), - Column: int(14), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "bytes", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(11), - }, - End: ast.Location{ - Line: int(1315), - Column: int(14), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(15), - }, - End: ast.Location{ - Line: int(1318), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(15), - }, - End: ast.Location{ - Line: int(1318), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13953, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(26), - }, - End: ast.Location{ - Line: int(1318), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(15), - }, - End: ast.Location{ - Line: int(1318), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(10), - }, - End: ast.Location{ - Line: int(1318), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(10), - }, - End: ast.Location{ - Line: int(1318), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Var{ - Id: "r", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1319), - Column: int(9), - }, - End: ast.Location{ - Line: int(1319), - Column: int(10), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1320), - Column: int(24), - }, - End: ast.Location{ - Line: int(1320), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1320), - Column: int(24), - }, - End: ast.Location{ - Line: int(1320), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13972, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1320), - Column: int(35), - }, - End: ast.Location{ - Line: int(1320), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1320), - Column: int(24), - }, - End: ast.Location{ - Line: int(1320), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1320), - Column: int(19), - }, - End: ast.Location{ - Line: int(1320), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1320), - Column: int(15), - }, - End: ast.Location{ - Line: int(1320), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1320), - Column: int(15), - }, - End: ast.Location{ - Line: int(1320), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1320), - Column: int(15), - }, - End: ast.Location{ - Line: int(1320), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "==", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p13986, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1326), - Column: int(11), - }, - End: ast.Location{ - Line: int(1326), - Column: int(15), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 2 LSB of i", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(11), - }, - End: ast.Location{ - Line: int(1325), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(40), - }, - End: ast.Location{ - Line: int(1325), - Column: int(41), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(34), - }, - End: ast.Location{ - Line: int(1325), - Column: int(35), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(25), - }, - End: ast.Location{ - Line: int(1325), - Column: int(28), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(29), - }, - End: ast.Location{ - Line: int(1325), - Column: int(30), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(25), - }, - End: ast.Location{ - Line: int(1325), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(25), - }, - End: ast.Location{ - Line: int(1325), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(24), - }, - End: ast.Location{ - Line: int(1325), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(5), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1325), - Column: int(11), - }, - End: ast.Location{ - Line: int(1325), - Column: int(42), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 6 MSB of i", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(11), - }, - End: ast.Location{ - Line: int(1323), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(42), - }, - End: ast.Location{ - Line: int(1323), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "252", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(34), - }, - End: ast.Location{ - Line: int(1323), - Column: int(37), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(25), - }, - End: ast.Location{ - Line: int(1323), - Column: int(28), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(29), - }, - End: ast.Location{ - Line: int(1323), - Column: int(30), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(25), - }, - End: ast.Location{ - Line: int(1323), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(25), - }, - End: ast.Location{ - Line: int(1323), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(24), - }, - End: ast.Location{ - Line: int(1323), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(6), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(11), - }, - End: ast.Location{ - Line: int(1323), - Column: int(44), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(11), - }, - End: ast.Location{ - Line: int(1325), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13986, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1323), - Column: int(11), - }, - End: ast.Location{ - Line: int(1326), - Column: int(15), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "str", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(15), - }, - End: ast.Location{ - Line: int(1326), - Column: int(15), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(9), - }, - End: ast.Location{ - Line: int(1327), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14032, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(13), - }, - End: ast.Location{ - Line: int(1327), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14032, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(22), - }, - End: ast.Location{ - Line: int(1327), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14032, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(18), - }, - End: ast.Location{ - Line: int(1327), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14032, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(18), - }, - End: ast.Location{ - Line: int(1327), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14032, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(29), - }, - End: ast.Location{ - Line: int(1327), - Column: int(32), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "r", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14032, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(25), - }, - End: ast.Location{ - Line: int(1327), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14032, - FreeVars: ast.Identifiers{ - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(25), - }, - End: ast.Location{ - Line: int(1327), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1327), - Column: int(9), - }, - End: ast.Location{ - Line: int(1327), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1321), - Column: int(9), - }, - End: ast.Location{ - Line: int(1327), - Column: int(33), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(24), - }, - End: ast.Location{ - Line: int(1328), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(24), - }, - End: ast.Location{ - Line: int(1328), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14058, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(35), - }, - End: ast.Location{ - Line: int(1328), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(24), - }, - End: ast.Location{ - Line: int(1328), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(19), - }, - End: ast.Location{ - Line: int(1328), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(15), - }, - End: ast.Location{ - Line: int(1328), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(15), - }, - End: ast.Location{ - Line: int(1328), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(15), - }, - End: ast.Location{ - Line: int(1328), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "=", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1336), - Column: int(11), - }, - End: ast.Location{ - Line: int(1336), - Column: int(14), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 4 LSB of i+1", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(11), - }, - End: ast.Location{ - Line: int(1335), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(45), - }, - End: ast.Location{ - Line: int(1335), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "15", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(38), - }, - End: ast.Location{ - Line: int(1335), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(25), - }, - End: ast.Location{ - Line: int(1335), - Column: int(28), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(33), - }, - End: ast.Location{ - Line: int(1335), - Column: int(34), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(29), - }, - End: ast.Location{ - Line: int(1335), - Column: int(30), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(29), - }, - End: ast.Location{ - Line: int(1335), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(25), - }, - End: ast.Location{ - Line: int(1335), - Column: int(35), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(25), - }, - End: ast.Location{ - Line: int(1335), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(24), - }, - End: ast.Location{ - Line: int(1335), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(5), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1335), - Column: int(11), - }, - End: ast.Location{ - Line: int(1335), - Column: int(47), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 2 LSB of i, 4 MSB of i+1", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(11), - }, - End: ast.Location{ - Line: int(1333), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(66), - }, - End: ast.Location{ - Line: int(1333), - Column: int(67), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "240", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(58), - }, - End: ast.Location{ - Line: int(1333), - Column: int(61), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(45), - }, - End: ast.Location{ - Line: int(1333), - Column: int(48), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(53), - }, - End: ast.Location{ - Line: int(1333), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(49), - }, - End: ast.Location{ - Line: int(1333), - Column: int(50), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(49), - }, - End: ast.Location{ - Line: int(1333), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(45), - }, - End: ast.Location{ - Line: int(1333), - Column: int(55), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(45), - }, - End: ast.Location{ - Line: int(1333), - Column: int(61), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(44), - }, - End: ast.Location{ - Line: int(1333), - Column: int(67), - }, - }, - }, - Op: ast.BinaryOp(6), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(40), - }, - End: ast.Location{ - Line: int(1333), - Column: int(41), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(34), - }, - End: ast.Location{ - Line: int(1333), - Column: int(35), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(25), - }, - End: ast.Location{ - Line: int(1333), - Column: int(28), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(29), - }, - End: ast.Location{ - Line: int(1333), - Column: int(30), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(25), - }, - End: ast.Location{ - Line: int(1333), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(25), - }, - End: ast.Location{ - Line: int(1333), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(24), - }, - End: ast.Location{ - Line: int(1333), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(5), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(24), - }, - End: ast.Location{ - Line: int(1333), - Column: int(67), - }, - }, - }, - Op: ast.BinaryOp(16), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1333), - Column: int(11), - }, - End: ast.Location{ - Line: int(1333), - Column: int(68), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 6 MSB of i", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(11), - }, - End: ast.Location{ - Line: int(1331), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(42), - }, - End: ast.Location{ - Line: int(1331), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "252", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(34), - }, - End: ast.Location{ - Line: int(1331), - Column: int(37), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(25), - }, - End: ast.Location{ - Line: int(1331), - Column: int(28), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(29), - }, - End: ast.Location{ - Line: int(1331), - Column: int(30), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(25), - }, - End: ast.Location{ - Line: int(1331), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(25), - }, - End: ast.Location{ - Line: int(1331), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(24), - }, - End: ast.Location{ - Line: int(1331), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(6), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(11), - }, - End: ast.Location{ - Line: int(1331), - Column: int(44), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(11), - }, - End: ast.Location{ - Line: int(1333), - Column: int(68), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(11), - }, - End: ast.Location{ - Line: int(1335), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14072, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1331), - Column: int(11), - }, - End: ast.Location{ - Line: int(1336), - Column: int(14), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "str", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(15), - }, - End: ast.Location{ - Line: int(1336), - Column: int(14), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(9), - }, - End: ast.Location{ - Line: int(1337), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14158, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(13), - }, - End: ast.Location{ - Line: int(1337), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14158, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(22), - }, - End: ast.Location{ - Line: int(1337), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14158, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(18), - }, - End: ast.Location{ - Line: int(1337), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14158, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(18), - }, - End: ast.Location{ - Line: int(1337), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14158, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(29), - }, - End: ast.Location{ - Line: int(1337), - Column: int(32), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "r", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14158, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(25), - }, - End: ast.Location{ - Line: int(1337), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14158, - FreeVars: ast.Identifiers{ - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(25), - }, - End: ast.Location{ - Line: int(1337), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1337), - Column: int(9), - }, - End: ast.Location{ - Line: int(1337), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1329), - Column: int(9), - }, - End: ast.Location{ - Line: int(1337), - Column: int(33), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 6 LSB of i+2", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(11), - }, - End: ast.Location{ - Line: int(1347), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "63", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(38), - }, - End: ast.Location{ - Line: int(1347), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(25), - }, - End: ast.Location{ - Line: int(1347), - Column: int(28), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(33), - }, - End: ast.Location{ - Line: int(1347), - Column: int(34), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(29), - }, - End: ast.Location{ - Line: int(1347), - Column: int(30), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(29), - }, - End: ast.Location{ - Line: int(1347), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(25), - }, - End: ast.Location{ - Line: int(1347), - Column: int(35), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(25), - }, - End: ast.Location{ - Line: int(1347), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1347), - Column: int(11), - }, - End: ast.Location{ - Line: int(1347), - Column: int(42), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 4 LSB of i+1, 2 MSB of i+2", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(11), - }, - End: ast.Location{ - Line: int(1345), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "6", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(71), - }, - End: ast.Location{ - Line: int(1345), - Column: int(72), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "192", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(63), - }, - End: ast.Location{ - Line: int(1345), - Column: int(66), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(50), - }, - End: ast.Location{ - Line: int(1345), - Column: int(53), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(58), - }, - End: ast.Location{ - Line: int(1345), - Column: int(59), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(54), - }, - End: ast.Location{ - Line: int(1345), - Column: int(55), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(54), - }, - End: ast.Location{ - Line: int(1345), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(50), - }, - End: ast.Location{ - Line: int(1345), - Column: int(60), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(50), - }, - End: ast.Location{ - Line: int(1345), - Column: int(66), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(49), - }, - End: ast.Location{ - Line: int(1345), - Column: int(72), - }, - }, - }, - Op: ast.BinaryOp(6), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(45), - }, - End: ast.Location{ - Line: int(1345), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "15", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(38), - }, - End: ast.Location{ - Line: int(1345), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(25), - }, - End: ast.Location{ - Line: int(1345), - Column: int(28), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(33), - }, - End: ast.Location{ - Line: int(1345), - Column: int(34), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(29), - }, - End: ast.Location{ - Line: int(1345), - Column: int(30), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(29), - }, - End: ast.Location{ - Line: int(1345), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(25), - }, - End: ast.Location{ - Line: int(1345), - Column: int(35), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(25), - }, - End: ast.Location{ - Line: int(1345), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(24), - }, - End: ast.Location{ - Line: int(1345), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(5), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(24), - }, - End: ast.Location{ - Line: int(1345), - Column: int(72), - }, - }, - }, - Op: ast.BinaryOp(16), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1345), - Column: int(11), - }, - End: ast.Location{ - Line: int(1345), - Column: int(73), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 2 LSB of i, 4 MSB of i+1", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(11), - }, - End: ast.Location{ - Line: int(1343), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(66), - }, - End: ast.Location{ - Line: int(1343), - Column: int(67), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "240", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(58), - }, - End: ast.Location{ - Line: int(1343), - Column: int(61), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(45), - }, - End: ast.Location{ - Line: int(1343), - Column: int(48), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(53), - }, - End: ast.Location{ - Line: int(1343), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(49), - }, - End: ast.Location{ - Line: int(1343), - Column: int(50), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(49), - }, - End: ast.Location{ - Line: int(1343), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(45), - }, - End: ast.Location{ - Line: int(1343), - Column: int(55), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(45), - }, - End: ast.Location{ - Line: int(1343), - Column: int(61), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(44), - }, - End: ast.Location{ - Line: int(1343), - Column: int(67), - }, - }, - }, - Op: ast.BinaryOp(6), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(40), - }, - End: ast.Location{ - Line: int(1343), - Column: int(41), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(34), - }, - End: ast.Location{ - Line: int(1343), - Column: int(35), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(25), - }, - End: ast.Location{ - Line: int(1343), - Column: int(28), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(29), - }, - End: ast.Location{ - Line: int(1343), - Column: int(30), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(25), - }, - End: ast.Location{ - Line: int(1343), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(25), - }, - End: ast.Location{ - Line: int(1343), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(24), - }, - End: ast.Location{ - Line: int(1343), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(5), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(24), - }, - End: ast.Location{ - Line: int(1343), - Column: int(67), - }, - }, - }, - Op: ast.BinaryOp(16), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1343), - Column: int(11), - }, - End: ast.Location{ - Line: int(1343), - Column: int(68), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 6 MSB of i", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(11), - }, - End: ast.Location{ - Line: int(1341), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(42), - }, - End: ast.Location{ - Line: int(1341), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "252", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(34), - }, - End: ast.Location{ - Line: int(1341), - Column: int(37), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(25), - }, - End: ast.Location{ - Line: int(1341), - Column: int(28), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(29), - }, - End: ast.Location{ - Line: int(1341), - Column: int(30), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(25), - }, - End: ast.Location{ - Line: int(1341), - Column: int(31), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(25), - }, - End: ast.Location{ - Line: int(1341), - Column: int(37), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(24), - }, - End: ast.Location{ - Line: int(1341), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(6), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(11), - }, - End: ast.Location{ - Line: int(1341), - Column: int(44), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(11), - }, - End: ast.Location{ - Line: int(1343), - Column: int(68), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(11), - }, - End: ast.Location{ - Line: int(1345), - Column: int(73), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14181, - FreeVars: ast.Identifiers{ - "arr", - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1341), - Column: int(11), - }, - End: ast.Location{ - Line: int(1347), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - EqFodder: ast.Fodder{}, - Variable: "str", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1339), - Column: int(15), - }, - End: ast.Location{ - Line: int(1347), - Column: int(42), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(9), - }, - End: ast.Location{ - Line: int(1348), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14298, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(13), - }, - End: ast.Location{ - Line: int(1348), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14298, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(22), - }, - End: ast.Location{ - Line: int(1348), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14298, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(18), - }, - End: ast.Location{ - Line: int(1348), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14298, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(18), - }, - End: ast.Location{ - Line: int(1348), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14298, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(29), - }, - End: ast.Location{ - Line: int(1348), - Column: int(32), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "r", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14298, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(25), - }, - End: ast.Location{ - Line: int(1348), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14298, - FreeVars: ast.Identifiers{ - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(25), - }, - End: ast.Location{ - Line: int(1348), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "i", - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1348), - Column: int(9), - }, - End: ast.Location{ - Line: int(1348), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1339), - Column: int(9), - }, - End: ast.Location{ - Line: int(1348), - Column: int(33), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1328), - Column: int(12), - }, - End: ast.Location{ - Line: int(1348), - Column: int(33), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1320), - Column: int(12), - }, - End: ast.Location{ - Line: int(1348), - Column: int(33), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p13949, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "base64_table", - "i", - "r", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1318), - Column: int(7), - }, - End: ast.Location{ - Line: int(1348), - Column: int(33), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1317), - Column: int(15), - }, - End: ast.Location{ - Line: int(1317), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1317), - Column: int(20), - }, - End: ast.Location{ - Line: int(1317), - Column: int(21), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "r", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1317), - Column: int(23), - }, - End: ast.Location{ - Line: int(1317), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p14322, - FreeVars: ast.Identifiers{ - "aux", - "base64_table", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1317), - Column: int(11), - }, - End: ast.Location{ - Line: int(1348), - Column: int(33), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(20), - }, - End: ast.Location{ - Line: int(1350), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "all", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14331, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(20), - }, - End: ast.Location{ - Line: int(1350), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "256", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14346, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(33), - }, - End: ast.Location{ - Line: int(1350), - Column: int(36), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14346, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(29), - }, - End: ast.Location{ - Line: int(1350), - Column: int(30), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14346, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(29), - }, - End: ast.Location{ - Line: int(1350), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "a", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "bytes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14353, - FreeVars: ast.Identifiers{ - "bytes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(46), - }, - End: ast.Location{ - Line: int(1350), - Column: int(51), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "bytes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(28), - }, - End: ast.Location{ - Line: int(1350), - Column: int(52), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14331, - FreeVars: ast.Identifiers{ - "$std", - "bytes", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(20), - }, - End: ast.Location{ - Line: int(1350), - Column: int(53), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "sanity", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(11), - }, - End: ast.Location{ - Line: int(1350), - Column: int(53), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Var{ - Id: "sanity", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14360, - FreeVars: ast.Identifiers{ - "sanity", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1351), - Column: int(9), - }, - End: ast.Location{ - Line: int(1351), - Column: int(15), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14360, - FreeVars: ast.Identifiers{ - "sanity", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1351), - Column: int(8), - }, - End: ast.Location{ - Line: int(1351), - Column: int(15), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.LiteralString{ - Value: "Can only base64 encode strings / arrays of single bytes.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14360, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(13), - }, - End: ast.Location{ - Line: int(1352), - Column: int(71), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p14360, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1352), - Column: int(7), - }, - End: ast.Location{ - Line: int(1352), - Column: int(71), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p14360, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(7), - }, - End: ast.Location{ - Line: int(1354), - Column: int(10), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "bytes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14372, - FreeVars: ast.Identifiers{ - "bytes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(11), - }, - End: ast.Location{ - Line: int(1354), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14372, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(18), - }, - End: ast.Location{ - Line: int(1354), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14372, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(21), - }, - End: ast.Location{ - Line: int(1354), - Column: int(23), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14360, - FreeVars: ast.Identifiers{ - "aux", - "bytes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1354), - Column: int(7), - }, - End: ast.Location{ - Line: int(1354), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p14360, - FreeVars: ast.Identifiers{ - "aux", - "bytes", - "sanity", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1351), - Column: int(5), - }, - End: ast.Location{ - Line: int(1354), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p14360, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "bytes", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1350), - Column: int(5), - }, - End: ast.Location{ - Line: int(1354), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p14360, - FreeVars: ast.Identifiers{ - "$std", - "base64_table", - "bytes", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1317), - Column: int(5), - }, - End: ast.Location{ - Line: int(1354), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p14360, - FreeVars: ast.Identifiers{ - "$std", - "base64_table", - "input", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1311), - Column: int(5), - }, - End: ast.Location{ - Line: int(1354), - Column: int(24), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "input", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1310), - Column: int(10), - }, - End: ast.Location{ - Line: int(1310), - Column: int(15), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "base64_table", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1310), - Column: int(3), - }, - End: ast.Location{ - Line: int(1354), - Column: int(24), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "base64DecodeBytes", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14393, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(31), - }, - End: ast.Location{ - Line: int(1358), - Column: int(32), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(8), - }, - End: ast.Location{ - Line: int(1358), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14393, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(8), - }, - End: ast.Location{ - Line: int(1358), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14409, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(19), - }, - End: ast.Location{ - Line: int(1358), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14393, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(8), - }, - End: ast.Location{ - Line: int(1358), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14393, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(26), - }, - End: ast.Location{ - Line: int(1358), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(8), - }, - End: ast.Location{ - Line: int(1358), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14393, - FreeVars: ast.Identifiers{ - "$std", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(8), - }, - End: ast.Location{ - Line: int(1358), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "Not a base64 encoded string \"%s\"", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14393, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1359), - Column: int(13), - }, - End: ast.Location{ - Line: int(1359), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14393, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1359), - Column: int(50), - }, - End: ast.Location{ - Line: int(1359), - Column: int(53), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1359), - Column: int(13), - }, - End: ast.Location{ - Line: int(1359), - Column: int(53), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p14393, - FreeVars: ast.Identifiers{ - "$std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1359), - Column: int(7), - }, - End: ast.Location{ - Line: int(1359), - Column: int(53), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(17), - }, - End: ast.Location{ - Line: int(1362), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(17), - }, - End: ast.Location{ - Line: int(1362), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14443, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(28), - }, - End: ast.Location{ - Line: int(1362), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(17), - }, - End: ast.Location{ - Line: int(1362), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(12), - }, - End: ast.Location{ - Line: int(1362), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "i", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(12), - }, - End: ast.Location{ - Line: int(1362), - Column: int(32), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Var{ - Id: "r", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1363), - Column: int(11), - }, - End: ast.Location{ - Line: int(1363), - Column: int(12), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(76), - }, - End: ast.Location{ - Line: int(1366), - Column: int(77), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "base64_inv", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(50), - }, - End: ast.Location{ - Line: int(1366), - Column: int(60), - }, - }, - }, - }, - Index: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(61), - }, - End: ast.Location{ - Line: int(1366), - Column: int(64), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(69), - }, - End: ast.Location{ - Line: int(1366), - Column: int(70), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(65), - }, - End: ast.Location{ - Line: int(1366), - Column: int(66), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(65), - }, - End: ast.Location{ - Line: int(1366), - Column: int(70), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(61), - }, - End: ast.Location{ - Line: int(1366), - Column: int(71), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(50), - }, - End: ast.Location{ - Line: int(1366), - Column: int(72), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(50), - }, - End: ast.Location{ - Line: int(1366), - Column: int(77), - }, - }, - }, - Op: ast.BinaryOp(6), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(45), - }, - End: ast.Location{ - Line: int(1366), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "base64_inv", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(23), - }, - End: ast.Location{ - Line: int(1366), - Column: int(33), - }, - }, - }, - }, - Index: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(34), - }, - End: ast.Location{ - Line: int(1366), - Column: int(37), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(38), - }, - End: ast.Location{ - Line: int(1366), - Column: int(39), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(34), - }, - End: ast.Location{ - Line: int(1366), - Column: int(40), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(23), - }, - End: ast.Location{ - Line: int(1366), - Column: int(41), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(23), - }, - End: ast.Location{ - Line: int(1366), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(5), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14459, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(23), - }, - End: ast.Location{ - Line: int(1366), - Column: int(78), - }, - }, - }, - Op: ast.BinaryOp(16), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14488, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(22), - }, - End: ast.Location{ - Line: int(1366), - Column: int(79), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: ast.Fodder{}, - Variable: "n1", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(17), - }, - End: ast.Location{ - Line: int(1366), - Column: int(79), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "=", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14495, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1369), - Column: int(30), - }, - End: ast.Location{ - Line: int(1369), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14495, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1369), - Column: int(16), - }, - End: ast.Location{ - Line: int(1369), - Column: int(19), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14495, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1369), - Column: int(24), - }, - End: ast.Location{ - Line: int(1369), - Column: int(25), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14495, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1369), - Column: int(20), - }, - End: ast.Location{ - Line: int(1369), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14495, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1369), - Column: int(20), - }, - End: ast.Location{ - Line: int(1369), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14495, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1369), - Column: int(16), - }, - End: ast.Location{ - Line: int(1369), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14495, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1369), - Column: int(16), - }, - End: ast.Location{ - Line: int(1369), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14495, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1369), - Column: int(39), - }, - End: ast.Location{ - Line: int(1369), - Column: int(41), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(83), - }, - End: ast.Location{ - Line: int(1370), - Column: int(84), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "base64_inv", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(57), - }, - End: ast.Location{ - Line: int(1370), - Column: int(67), - }, - }, - }, - }, - Index: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(68), - }, - End: ast.Location{ - Line: int(1370), - Column: int(71), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(76), - }, - End: ast.Location{ - Line: int(1370), - Column: int(77), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(72), - }, - End: ast.Location{ - Line: int(1370), - Column: int(73), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(72), - }, - End: ast.Location{ - Line: int(1370), - Column: int(77), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(68), - }, - End: ast.Location{ - Line: int(1370), - Column: int(78), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(57), - }, - End: ast.Location{ - Line: int(1370), - Column: int(79), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(57), - }, - End: ast.Location{ - Line: int(1370), - Column: int(84), - }, - }, - }, - Op: ast.BinaryOp(6), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(52), - }, - End: ast.Location{ - Line: int(1370), - Column: int(53), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "15", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(45), - }, - End: ast.Location{ - Line: int(1370), - Column: int(47), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "base64_inv", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(20), - }, - End: ast.Location{ - Line: int(1370), - Column: int(30), - }, - }, - }, - }, - Index: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(31), - }, - End: ast.Location{ - Line: int(1370), - Column: int(34), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(39), - }, - End: ast.Location{ - Line: int(1370), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(35), - }, - End: ast.Location{ - Line: int(1370), - Column: int(36), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(35), - }, - End: ast.Location{ - Line: int(1370), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(31), - }, - End: ast.Location{ - Line: int(1370), - Column: int(41), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(20), - }, - End: ast.Location{ - Line: int(1370), - Column: int(42), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(20), - }, - End: ast.Location{ - Line: int(1370), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(19), - }, - End: ast.Location{ - Line: int(1370), - Column: int(53), - }, - }, - }, - Op: ast.BinaryOp(5), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14512, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(19), - }, - End: ast.Location{ - Line: int(1370), - Column: int(85), - }, - }, - }, - Op: ast.BinaryOp(16), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14495, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1370), - Column: int(18), - }, - End: ast.Location{ - Line: int(1370), - Column: int(86), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p14495, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1369), - Column: int(13), - }, - End: ast.Location{ - Line: int(1370), - Column: int(86), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "n2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(17), - }, - End: ast.Location{ - Line: int(1370), - Column: int(86), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "=", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14556, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1373), - Column: int(30), - }, - End: ast.Location{ - Line: int(1373), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14556, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1373), - Column: int(16), - }, - End: ast.Location{ - Line: int(1373), - Column: int(19), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14556, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1373), - Column: int(24), - }, - End: ast.Location{ - Line: int(1373), - Column: int(25), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14556, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1373), - Column: int(20), - }, - End: ast.Location{ - Line: int(1373), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14556, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1373), - Column: int(20), - }, - End: ast.Location{ - Line: int(1373), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14556, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1373), - Column: int(16), - }, - End: ast.Location{ - Line: int(1373), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14556, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1373), - Column: int(16), - }, - End: ast.Location{ - Line: int(1373), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14556, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1373), - Column: int(39), - }, - End: ast.Location{ - Line: int(1373), - Column: int(41), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "base64_inv", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(55), - }, - End: ast.Location{ - Line: int(1374), - Column: int(65), - }, - }, - }, - }, - Index: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(66), - }, - End: ast.Location{ - Line: int(1374), - Column: int(69), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(74), - }, - End: ast.Location{ - Line: int(1374), - Column: int(75), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(70), - }, - End: ast.Location{ - Line: int(1374), - Column: int(71), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(70), - }, - End: ast.Location{ - Line: int(1374), - Column: int(75), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(66), - }, - End: ast.Location{ - Line: int(1374), - Column: int(76), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(55), - }, - End: ast.Location{ - Line: int(1374), - Column: int(77), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "6", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(51), - }, - End: ast.Location{ - Line: int(1374), - Column: int(52), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(45), - }, - End: ast.Location{ - Line: int(1374), - Column: int(46), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "base64_inv", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "base64_inv", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(20), - }, - End: ast.Location{ - Line: int(1374), - Column: int(30), - }, - }, - }, - }, - Index: &ast.Index{ - Target: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(31), - }, - End: ast.Location{ - Line: int(1374), - Column: int(34), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(39), - }, - End: ast.Location{ - Line: int(1374), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(35), - }, - End: ast.Location{ - Line: int(1374), - Column: int(36), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(35), - }, - End: ast.Location{ - Line: int(1374), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(31), - }, - End: ast.Location{ - Line: int(1374), - Column: int(41), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(20), - }, - End: ast.Location{ - Line: int(1374), - Column: int(42), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(20), - }, - End: ast.Location{ - Line: int(1374), - Column: int(46), - }, - }, - }, - Op: ast.BinaryOp(14), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(19), - }, - End: ast.Location{ - Line: int(1374), - Column: int(52), - }, - }, - }, - Op: ast.BinaryOp(5), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14573, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(19), - }, - End: ast.Location{ - Line: int(1374), - Column: int(77), - }, - }, - }, - Op: ast.BinaryOp(16), - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14556, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1374), - Column: int(18), - }, - End: ast.Location{ - Line: int(1374), - Column: int(78), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p14556, - FreeVars: ast.Identifiers{ - "base64_inv", - "i", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1373), - Column: int(13), - }, - End: ast.Location{ - Line: int(1374), - Column: int(78), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "n3", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(17), - }, - End: ast.Location{ - Line: int(1374), - Column: int(78), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(11), - }, - End: ast.Location{ - Line: int(1375), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(15), - }, - End: ast.Location{ - Line: int(1375), - Column: int(18), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "4", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(24), - }, - End: ast.Location{ - Line: int(1375), - Column: int(25), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(20), - }, - End: ast.Location{ - Line: int(1375), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(20), - }, - End: ast.Location{ - Line: int(1375), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "n3", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "n3", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(41), - }, - End: ast.Location{ - Line: int(1375), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "n2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "n2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(36), - }, - End: ast.Location{ - Line: int(1375), - Column: int(38), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "n1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "n1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(31), - }, - End: ast.Location{ - Line: int(1375), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "r", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(27), - }, - End: ast.Location{ - Line: int(1375), - Column: int(28), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "n1", - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(27), - }, - End: ast.Location{ - Line: int(1375), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "n1", - "n2", - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(27), - }, - End: ast.Location{ - Line: int(1375), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14615, - FreeVars: ast.Identifiers{ - "n1", - "n2", - "n3", - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(27), - }, - End: ast.Location{ - Line: int(1375), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "aux", - "i", - "n1", - "n2", - "n3", - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1375), - Column: int(11), - }, - End: ast.Location{ - Line: int(1375), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 2 LSB of i+2, all 6 bits of i+3", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "n1", - "n2", - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1372), - Column: int(11), - }, - End: ast.Location{ - Line: int(1375), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// 4 LSB of i+1, 4MSB of i+2", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "n1", - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1368), - Column: int(11), - }, - End: ast.Location{ - Line: int(1375), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - ast.FodderElement{ - Comment: []string{ - "// all 6 bits of i, 2 MSB of i+1", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "r", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1366), - Column: int(11), - }, - End: ast.Location{ - Line: int(1375), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p14439, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "i", - "r", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1362), - Column: int(9), - }, - End: ast.Location{ - Line: int(1375), - Column: int(44), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(17), - }, - End: ast.Location{ - Line: int(1361), - Column: int(20), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(22), - }, - End: ast.Location{ - Line: int(1361), - Column: int(23), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "r", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(25), - }, - End: ast.Location{ - Line: int(1361), - Column: int(26), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p14650, - FreeVars: ast.Identifiers{ - "aux", - "base64_inv", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(13), - }, - End: ast.Location{ - Line: int(1375), - Column: int(44), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p14393, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(7), - }, - End: ast.Location{ - Line: int(1376), - Column: int(10), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14658, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(11), - }, - End: ast.Location{ - Line: int(1376), - Column: int(14), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14658, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(16), - }, - End: ast.Location{ - Line: int(1376), - Column: int(17), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14658, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(19), - }, - End: ast.Location{ - Line: int(1376), - Column: int(21), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14393, - FreeVars: ast.Identifiers{ - "aux", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1376), - Column: int(7), - }, - End: ast.Location{ - Line: int(1376), - Column: int(22), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p14393, - FreeVars: ast.Identifiers{ - "base64_inv", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1361), - Column: int(7), - }, - End: ast.Location{ - Line: int(1376), - Column: int(22), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p14393, - FreeVars: ast.Identifiers{ - "$std", - "base64_inv", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1358), - Column: int(5), - }, - End: ast.Location{ - Line: int(1376), - Column: int(22), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(21), - }, - End: ast.Location{ - Line: int(1357), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "base64_inv", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1357), - Column: int(3), - }, - End: ast.Location{ - Line: int(1376), - Column: int(22), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "base64Decode", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1379), - Column: int(19), - }, - End: ast.Location{ - Line: int(1379), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "base64DecodeBytes", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14679, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1379), - Column: int(19), - }, - End: ast.Location{ - Line: int(1379), - Column: int(40), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14683, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1379), - Column: int(41), - }, - End: ast.Location{ - Line: int(1379), - Column: int(44), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14679, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1379), - Column: int(19), - }, - End: ast.Location{ - Line: int(1379), - Column: int(45), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "bytes", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1379), - Column: int(11), - }, - End: ast.Location{ - Line: int(1379), - Column: int(45), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(5), - }, - End: ast.Location{ - Line: int(1380), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14692, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(5), - }, - End: ast.Location{ - Line: int(1380), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14696, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(14), - }, - End: ast.Location{ - Line: int(1380), - Column: int(16), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(18), - }, - End: ast.Location{ - Line: int(1380), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "map", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14696, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(18), - }, - End: ast.Location{ - Line: int(1380), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(26), - }, - End: ast.Location{ - Line: int(1380), - Column: int(29), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "char", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14708, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(26), - }, - End: ast.Location{ - Line: int(1380), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "bytes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14708, - FreeVars: ast.Identifiers{ - "bytes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(36), - }, - End: ast.Location{ - Line: int(1380), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14696, - FreeVars: ast.Identifiers{ - "bytes", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(18), - }, - End: ast.Location{ - Line: int(1380), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14692, - FreeVars: ast.Identifiers{ - "bytes", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1380), - Column: int(5), - }, - End: ast.Location{ - Line: int(1380), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p14692, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1379), - Column: int(5), - }, - End: ast.Location{ - Line: int(1380), - Column: int(43), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1378), - Column: int(16), - }, - End: ast.Location{ - Line: int(1378), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1378), - Column: int(3), - }, - End: ast.Location{ - Line: int(1380), - Column: int(43), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "reverse", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(15), - }, - End: ast.Location{ - Line: int(1383), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14727, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(15), - }, - End: ast.Location{ - Line: int(1383), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14731, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(26), - }, - End: ast.Location{ - Line: int(1383), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14727, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(15), - }, - End: ast.Location{ - Line: int(1383), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "l", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(11), - }, - End: ast.Location{ - Line: int(1383), - Column: int(30), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(5), - }, - End: ast.Location{ - Line: int(1384), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14740, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(5), - }, - End: ast.Location{ - Line: int(1384), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "l", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14744, - FreeVars: ast.Identifiers{ - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(19), - }, - End: ast.Location{ - Line: int(1384), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14749, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(34), - }, - End: ast.Location{ - Line: int(1384), - Column: int(37), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14749, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(46), - }, - End: ast.Location{ - Line: int(1384), - Column: int(47), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14749, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(42), - }, - End: ast.Location{ - Line: int(1384), - Column: int(43), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "l", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14749, - FreeVars: ast.Identifiers{ - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(38), - }, - End: ast.Location{ - Line: int(1384), - Column: int(39), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14749, - FreeVars: ast.Identifiers{ - "i", - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(38), - }, - End: ast.Location{ - Line: int(1384), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14749, - FreeVars: ast.Identifiers{ - "i", - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(38), - }, - End: ast.Location{ - Line: int(1384), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14749, - FreeVars: ast.Identifiers{ - "arr", - "i", - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(34), - }, - End: ast.Location{ - Line: int(1384), - Column: int(48), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(31), - }, - End: ast.Location{ - Line: int(1384), - Column: int(32), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14744, - FreeVars: ast.Identifiers{ - "arr", - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(22), - }, - End: ast.Location{ - Line: int(1384), - Column: int(48), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14740, - FreeVars: ast.Identifiers{ - "arr", - "l", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1384), - Column: int(5), - }, - End: ast.Location{ - Line: int(1384), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p14740, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1383), - Column: int(5), - }, - End: ast.Location{ - Line: int(1384), - Column: int(49), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1382), - Column: int(11), - }, - End: ast.Location{ - Line: int(1382), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1382), - Column: int(3), - }, - End: ast.Location{ - Line: int(1384), - Column: int(49), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "sort", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(17), - }, - End: ast.Location{ - Line: int(1389), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14780, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(17), - }, - End: ast.Location{ - Line: int(1389), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14784, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(28), - }, - End: ast.Location{ - Line: int(1389), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14780, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(17), - }, - End: ast.Location{ - Line: int(1389), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "l", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(13), - }, - End: ast.Location{ - Line: int(1389), - Column: int(32), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(29), - }, - End: ast.Location{ - Line: int(1390), - Column: int(30), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(10), - }, - End: ast.Location{ - Line: int(1390), - Column: int(13), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(10), - }, - End: ast.Location{ - Line: int(1390), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14799, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(21), - }, - End: ast.Location{ - Line: int(1390), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(10), - }, - End: ast.Location{ - Line: int(1390), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(10), - }, - End: ast.Location{ - Line: int(1390), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(10), - }, - BranchTrue: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1391), - Column: int(9), - }, - End: ast.Location{ - Line: int(1391), - Column: int(12), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14809, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1393), - Column: int(21), - }, - End: ast.Location{ - Line: int(1393), - Column: int(22), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "pos", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1393), - Column: int(15), - }, - End: ast.Location{ - Line: int(1393), - Column: int(22), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14814, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(23), - }, - End: ast.Location{ - Line: int(1394), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14819, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(28), - }, - End: ast.Location{ - Line: int(1394), - Column: int(31), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "pos", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14819, - FreeVars: ast.Identifiers{ - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(32), - }, - End: ast.Location{ - Line: int(1394), - Column: int(35), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14819, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(28), - }, - End: ast.Location{ - Line: int(1394), - Column: int(36), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14814, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(23), - }, - End: ast.Location{ - Line: int(1394), - Column: int(37), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "pivot", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(15), - }, - End: ast.Location{ - Line: int(1394), - Column: int(37), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(22), - }, - End: ast.Location{ - Line: int(1395), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14832, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(22), - }, - End: ast.Location{ - Line: int(1395), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14837, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(40), - }, - End: ast.Location{ - Line: int(1395), - Column: int(41), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "l", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14837, - FreeVars: ast.Identifiers{ - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(36), - }, - End: ast.Location{ - Line: int(1395), - Column: int(37), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14837, - FreeVars: ast.Identifiers{ - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(36), - }, - End: ast.Location{ - Line: int(1395), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "pos", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(62), - }, - End: ast.Location{ - Line: int(1395), - Column: int(65), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(58), - }, - End: ast.Location{ - Line: int(1395), - Column: int(59), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "i", - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(58), - }, - End: ast.Location{ - Line: int(1395), - Column: int(65), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(71), - }, - End: ast.Location{ - Line: int(1395), - Column: int(74), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(75), - }, - End: ast.Location{ - Line: int(1395), - Column: int(76), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(71), - }, - End: ast.Location{ - Line: int(1395), - Column: int(77), - }, - }, - }, - }, - BranchFalse: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(83), - }, - End: ast.Location{ - Line: int(1395), - Column: int(86), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(91), - }, - End: ast.Location{ - Line: int(1395), - Column: int(92), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(87), - }, - End: ast.Location{ - Line: int(1395), - Column: int(88), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(87), - }, - End: ast.Location{ - Line: int(1395), - Column: int(92), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(83), - }, - End: ast.Location{ - Line: int(1395), - Column: int(93), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14845, - FreeVars: ast.Identifiers{ - "arr", - "i", - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(55), - }, - End: ast.Location{ - Line: int(1395), - Column: int(93), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(52), - }, - End: ast.Location{ - Line: int(1395), - Column: int(53), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14837, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(43), - }, - End: ast.Location{ - Line: int(1395), - Column: int(93), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14832, - FreeVars: ast.Identifiers{ - "arr", - "l", - "pos", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(22), - }, - End: ast.Location{ - Line: int(1395), - Column: int(94), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "rest", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(15), - }, - End: ast.Location{ - Line: int(1395), - Column: int(94), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(22), - }, - End: ast.Location{ - Line: int(1396), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "filter", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14876, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(22), - }, - End: ast.Location{ - Line: int(1396), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "pivot", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14882, - FreeVars: ast.Identifiers{ - "pivot", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(55), - }, - End: ast.Location{ - Line: int(1396), - Column: int(60), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14882, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(45), - }, - End: ast.Location{ - Line: int(1396), - Column: int(49), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14889, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(50), - }, - End: ast.Location{ - Line: int(1396), - Column: int(51), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14882, - FreeVars: ast.Identifiers{ - "keyF", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(45), - }, - End: ast.Location{ - Line: int(1396), - Column: int(52), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14882, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(45), - }, - End: ast.Location{ - Line: int(1396), - Column: int(60), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(42), - }, - End: ast.Location{ - Line: int(1396), - Column: int(43), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14894, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(33), - }, - End: ast.Location{ - Line: int(1396), - Column: int(60), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "rest", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14894, - FreeVars: ast.Identifiers{ - "rest", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(62), - }, - End: ast.Location{ - Line: int(1396), - Column: int(66), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14876, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "rest", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(22), - }, - End: ast.Location{ - Line: int(1396), - Column: int(67), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "left", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(15), - }, - End: ast.Location{ - Line: int(1396), - Column: int(67), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(23), - }, - End: ast.Location{ - Line: int(1397), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "filter", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14906, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(23), - }, - End: ast.Location{ - Line: int(1397), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "pivot", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14912, - FreeVars: ast.Identifiers{ - "pivot", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(57), - }, - End: ast.Location{ - Line: int(1397), - Column: int(62), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14912, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(46), - }, - End: ast.Location{ - Line: int(1397), - Column: int(50), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14919, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(51), - }, - End: ast.Location{ - Line: int(1397), - Column: int(52), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14912, - FreeVars: ast.Identifiers{ - "keyF", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(46), - }, - End: ast.Location{ - Line: int(1397), - Column: int(53), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14912, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(46), - }, - End: ast.Location{ - Line: int(1397), - Column: int(62), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(43), - }, - End: ast.Location{ - Line: int(1397), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14924, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(34), - }, - End: ast.Location{ - Line: int(1397), - Column: int(62), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "rest", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14924, - FreeVars: ast.Identifiers{ - "rest", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(64), - }, - End: ast.Location{ - Line: int(1397), - Column: int(68), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14906, - FreeVars: ast.Identifiers{ - "keyF", - "pivot", - "rest", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(23), - }, - End: ast.Location{ - Line: int(1397), - Column: int(69), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "right", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(15), - }, - End: ast.Location{ - Line: int(1397), - Column: int(69), - }, - }, - }, - }, - Body: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "quickSort", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "quickSort", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(46), - }, - End: ast.Location{ - Line: int(1398), - Column: int(55), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "right", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14935, - FreeVars: ast.Identifiers{ - "right", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(56), - }, - End: ast.Location{ - Line: int(1398), - Column: int(61), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14935, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(63), - }, - End: ast.Location{ - Line: int(1398), - Column: int(67), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "keyF", - "quickSort", - "right", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(46), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14945, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(34), - }, - End: ast.Location{ - Line: int(1398), - Column: int(37), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "pos", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14945, - FreeVars: ast.Identifiers{ - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(38), - }, - End: ast.Location{ - Line: int(1398), - Column: int(41), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14945, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(34), - }, - End: ast.Location{ - Line: int(1398), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "pos", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(33), - }, - End: ast.Location{ - Line: int(1398), - Column: int(43), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "quickSort", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "quickSort", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(9), - }, - End: ast.Location{ - Line: int(1398), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "left", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14957, - FreeVars: ast.Identifiers{ - "left", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(19), - }, - End: ast.Location{ - Line: int(1398), - Column: int(23), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14957, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(25), - }, - End: ast.Location{ - Line: int(1398), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "keyF", - "left", - "quickSort", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(9), - }, - End: ast.Location{ - Line: int(1398), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "left", - "pos", - "quickSort", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(9), - }, - End: ast.Location{ - Line: int(1398), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "left", - "pos", - "quickSort", - "right", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1398), - Column: int(9), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "left", - "pivot", - "pos", - "quickSort", - "rest", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1397), - Column: int(9), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "pivot", - "pos", - "quickSort", - "rest", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1396), - Column: int(9), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "pivot", - "pos", - "quickSort", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1395), - Column: int(9), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "pos", - "quickSort", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1394), - Column: int(9), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "quickSort", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1393), - Column: int(9), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "l", - "quickSort", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1390), - Column: int(7), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "quickSort", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1389), - Column: int(7), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1388), - Column: int(21), - }, - End: ast.Location{ - Line: int(1388), - Column: int(24), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - Id: "id", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14790, - FreeVars: ast.Identifiers{ - "id", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1388), - Column: int(31), - }, - End: ast.Location{ - Line: int(1388), - Column: int(33), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1388), - Column: int(26), - }, - End: ast.Location{ - Line: int(1388), - Column: int(33), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p14982, - FreeVars: ast.Identifiers{ - "id", - "quickSort", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1388), - Column: int(11), - }, - End: ast.Location{ - Line: int(1398), - Column: int(68), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "quickSort", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(18), - }, - End: ast.Location{ - Line: int(1401), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14994, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(18), - }, - End: ast.Location{ - Line: int(1401), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14998, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(29), - }, - End: ast.Location{ - Line: int(1401), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p14994, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(18), - }, - End: ast.Location{ - Line: int(1401), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "la", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(13), - }, - End: ast.Location{ - Line: int(1401), - Column: int(31), - }, - }, - }, - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(38), - }, - End: ast.Location{ - Line: int(1401), - Column: int(41), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15006, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(38), - }, - End: ast.Location{ - Line: int(1401), - Column: int(48), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15010, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(49), - }, - End: ast.Location{ - Line: int(1401), - Column: int(50), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15006, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(38), - }, - End: ast.Location{ - Line: int(1401), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "lb", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(33), - }, - End: ast.Location{ - Line: int(1401), - Column: int(51), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "la", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "la", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(17), - }, - End: ast.Location{ - Line: int(1403), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(12), - }, - End: ast.Location{ - Line: int(1403), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "i", - "la", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(12), - }, - End: ast.Location{ - Line: int(1403), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1404), - Column: int(20), - }, - End: ast.Location{ - Line: int(1404), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1404), - Column: int(22), - }, - End: ast.Location{ - Line: int(1404), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1404), - Column: int(20), - }, - End: ast.Location{ - Line: int(1404), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "prefix", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1404), - Column: int(11), - }, - End: ast.Location{ - Line: int(1404), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "$std", - "b", - "j", - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1404), - Column: int(11), - }, - End: ast.Location{ - Line: int(1404), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "lb", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "lb", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1405), - Column: int(22), - }, - End: ast.Location{ - Line: int(1405), - Column: int(24), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1405), - Column: int(17), - }, - End: ast.Location{ - Line: int(1405), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "j", - "lb", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1405), - Column: int(17), - }, - End: ast.Location{ - Line: int(1405), - Column: int(24), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(20), - }, - End: ast.Location{ - Line: int(1406), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(22), - }, - End: ast.Location{ - Line: int(1406), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(20), - }, - End: ast.Location{ - Line: int(1406), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "prefix", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(11), - }, - End: ast.Location{ - Line: int(1406), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "$std", - "a", - "i", - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1406), - Column: int(11), - }, - End: ast.Location{ - Line: int(1406), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(28), - }, - End: ast.Location{ - Line: int(1408), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15077, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(33), - }, - End: ast.Location{ - Line: int(1408), - Column: int(34), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15077, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(35), - }, - End: ast.Location{ - Line: int(1408), - Column: int(36), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15077, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(33), - }, - End: ast.Location{ - Line: int(1408), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(28), - }, - End: ast.Location{ - Line: int(1408), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(14), - }, - End: ast.Location{ - Line: int(1408), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15089, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(19), - }, - End: ast.Location{ - Line: int(1408), - Column: int(20), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15089, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(21), - }, - End: ast.Location{ - Line: int(1408), - Column: int(22), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15089, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(19), - }, - End: ast.Location{ - Line: int(1408), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(14), - }, - End: ast.Location{ - Line: int(1408), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(14), - }, - End: ast.Location{ - Line: int(1408), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(10), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(13), - }, - End: ast.Location{ - Line: int(1409), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15103, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(21), - }, - End: ast.Location{ - Line: int(1409), - Column: int(22), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15103, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(17), - }, - End: ast.Location{ - Line: int(1409), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15103, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(17), - }, - End: ast.Location{ - Line: int(1409), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15103, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(24), - }, - End: ast.Location{ - Line: int(1409), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15114, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(37), - }, - End: ast.Location{ - Line: int(1409), - Column: int(38), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15114, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(39), - }, - End: ast.Location{ - Line: int(1409), - Column: int(40), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15114, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(37), - }, - End: ast.Location{ - Line: int(1409), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15103, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(36), - }, - End: ast.Location{ - Line: int(1409), - Column: int(42), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "prefix", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15103, - FreeVars: ast.Identifiers{ - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(27), - }, - End: ast.Location{ - Line: int(1409), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15103, - FreeVars: ast.Identifiers{ - "a", - "i", - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(27), - }, - End: ast.Location{ - Line: int(1409), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "a", - "aux", - "i", - "j", - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1409), - Column: int(13), - }, - End: ast.Location{ - Line: int(1409), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(13), - }, - End: ast.Location{ - Line: int(1411), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15130, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(17), - }, - End: ast.Location{ - Line: int(1411), - Column: int(18), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15130, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(24), - }, - End: ast.Location{ - Line: int(1411), - Column: int(25), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15130, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(20), - }, - End: ast.Location{ - Line: int(1411), - Column: int(21), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15130, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(20), - }, - End: ast.Location{ - Line: int(1411), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15142, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(37), - }, - End: ast.Location{ - Line: int(1411), - Column: int(38), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15142, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(39), - }, - End: ast.Location{ - Line: int(1411), - Column: int(40), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15142, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(37), - }, - End: ast.Location{ - Line: int(1411), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15130, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(36), - }, - End: ast.Location{ - Line: int(1411), - Column: int(42), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "prefix", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15130, - FreeVars: ast.Identifiers{ - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(27), - }, - End: ast.Location{ - Line: int(1411), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15130, - FreeVars: ast.Identifiers{ - "b", - "j", - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(27), - }, - End: ast.Location{ - Line: int(1411), - Column: int(42), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "aux", - "b", - "i", - "j", - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1411), - Column: int(13), - }, - End: ast.Location{ - Line: int(1411), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - "j", - "keyF", - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1408), - Column: int(11), - }, - End: ast.Location{ - Line: int(1411), - Column: int(43), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "$std", - "a", - "aux", - "b", - "i", - "j", - "keyF", - "lb", - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1405), - Column: int(14), - }, - End: ast.Location{ - Line: int(1411), - Column: int(43), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15019, - FreeVars: ast.Identifiers{ - "$std", - "a", - "aux", - "b", - "i", - "j", - "keyF", - "la", - "lb", - "prefix", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1403), - Column: int(9), - }, - End: ast.Location{ - Line: int(1411), - Column: int(43), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(17), - }, - End: ast.Location{ - Line: int(1402), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(20), - }, - End: ast.Location{ - Line: int(1402), - Column: int(21), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "prefix", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(23), - }, - End: ast.Location{ - Line: int(1402), - Column: int(29), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p15161, - FreeVars: ast.Identifiers{ - "$std", - "a", - "aux", - "b", - "keyF", - "la", - "lb", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(13), - }, - End: ast.Location{ - Line: int(1411), - Column: int(43), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15166, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(7), - }, - End: ast.Location{ - Line: int(1412), - Column: int(10), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15170, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(11), - }, - End: ast.Location{ - Line: int(1412), - Column: int(12), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15170, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(14), - }, - End: ast.Location{ - Line: int(1412), - Column: int(15), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15170, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(17), - }, - End: ast.Location{ - Line: int(1412), - Column: int(19), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15166, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1412), - Column: int(7), - }, - End: ast.Location{ - Line: int(1412), - Column: int(20), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15166, - FreeVars: ast.Identifiers{ - "$std", - "a", - "b", - "keyF", - "la", - "lb", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1402), - Column: int(7), - }, - End: ast.Location{ - Line: int(1412), - Column: int(20), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15166, - FreeVars: ast.Identifiers{ - "$std", - "a", - "b", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1401), - Column: int(7), - }, - End: ast.Location{ - Line: int(1412), - Column: int(20), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1400), - Column: int(17), - }, - End: ast.Location{ - Line: int(1400), - Column: int(18), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1400), - Column: int(20), - }, - End: ast.Location{ - Line: int(1400), - Column: int(21), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p15179, - FreeVars: ast.Identifiers{ - "$std", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1400), - Column: int(11), - }, - End: ast.Location{ - Line: int(1412), - Column: int(20), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "merge", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(15), - }, - End: ast.Location{ - Line: int(1414), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15188, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(15), - }, - End: ast.Location{ - Line: int(1414), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15192, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(26), - }, - End: ast.Location{ - Line: int(1414), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15188, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(15), - }, - End: ast.Location{ - Line: int(1414), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "l", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(11), - }, - End: ast.Location{ - Line: int(1414), - Column: int(30), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "30", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15198, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1415), - Column: int(27), - }, - End: ast.Location{ - Line: int(1415), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1415), - Column: int(8), - }, - End: ast.Location{ - Line: int(1415), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1415), - Column: int(8), - }, - End: ast.Location{ - Line: int(1415), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15207, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1415), - Column: int(19), - }, - End: ast.Location{ - Line: int(1415), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1415), - Column: int(8), - }, - End: ast.Location{ - Line: int(1415), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1415), - Column: int(8), - }, - End: ast.Location{ - Line: int(1415), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(10), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "quickSort", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "quickSort", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1416), - Column: int(7), - }, - End: ast.Location{ - Line: int(1416), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15217, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1416), - Column: int(17), - }, - End: ast.Location{ - Line: int(1416), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - }, - Named: []ast.NamedArgument{ - ast.NamedArgument{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - Arg: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15217, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1416), - Column: int(27), - }, - End: ast.Location{ - Line: int(1416), - Column: int(31), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - }, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "quickSort", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1416), - Column: int(7), - }, - End: ast.Location{ - Line: int(1416), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(19), - }, - End: ast.Location{ - Line: int(1418), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "floor", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15230, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(19), - }, - End: ast.Location{ - Line: int(1418), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15235, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(33), - }, - End: ast.Location{ - Line: int(1418), - Column: int(34), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "l", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15235, - FreeVars: ast.Identifiers{ - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(29), - }, - End: ast.Location{ - Line: int(1418), - Column: int(30), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15235, - FreeVars: ast.Identifiers{ - "l", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(29), - }, - End: ast.Location{ - Line: int(1418), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15230, - FreeVars: ast.Identifiers{ - "l", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(19), - }, - End: ast.Location{ - Line: int(1418), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "mid", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(13), - }, - End: ast.Location{ - Line: int(1418), - Column: int(35), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15250, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1419), - Column: int(20), - }, - End: ast.Location{ - Line: int(1419), - Column: int(23), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "mid", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15250, - FreeVars: ast.Identifiers{ - "mid", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1419), - Column: int(25), - }, - End: ast.Location{ - Line: int(1419), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "mid", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1419), - Column: int(20), - }, - End: ast.Location{ - Line: int(1419), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "left", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1419), - Column: int(13), - }, - End: ast.Location{ - Line: int(1419), - Column: int(29), - }, - }, - }, - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15265, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1419), - Column: int(39), - }, - End: ast.Location{ - Line: int(1419), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "mid", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15265, - FreeVars: ast.Identifiers{ - "mid", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1419), - Column: int(43), - }, - End: ast.Location{ - Line: int(1419), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "mid", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1419), - Column: int(39), - }, - End: ast.Location{ - Line: int(1419), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "right", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1419), - Column: int(31), - }, - End: ast.Location{ - Line: int(1419), - Column: int(48), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "merge", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "merge", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(7), - }, - End: ast.Location{ - Line: int(1420), - Column: int(12), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(13), - }, - End: ast.Location{ - Line: int(1420), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "sort", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15282, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(13), - }, - End: ast.Location{ - Line: int(1420), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "left", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15286, - FreeVars: ast.Identifiers{ - "left", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(22), - }, - End: ast.Location{ - Line: int(1420), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - }, - Named: []ast.NamedArgument{ - ast.NamedArgument{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - Arg: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15286, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(33), - }, - End: ast.Location{ - Line: int(1420), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - }, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15282, - FreeVars: ast.Identifiers{ - "keyF", - "left", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(13), - }, - End: ast.Location{ - Line: int(1420), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(40), - }, - End: ast.Location{ - Line: int(1420), - Column: int(43), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "sort", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15282, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(40), - }, - End: ast.Location{ - Line: int(1420), - Column: int(48), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "right", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15300, - FreeVars: ast.Identifiers{ - "right", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(49), - }, - End: ast.Location{ - Line: int(1420), - Column: int(54), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - }, - Named: []ast.NamedArgument{ - ast.NamedArgument{ - NameFodder: ast.Fodder{}, - Name: "keyF", - EqFodder: ast.Fodder{}, - Arg: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15300, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(61), - }, - End: ast.Location{ - Line: int(1420), - Column: int(65), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - }, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15282, - FreeVars: ast.Identifiers{ - "keyF", - "right", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(40), - }, - End: ast.Location{ - Line: int(1420), - Column: int(66), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "keyF", - "left", - "merge", - "right", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1420), - Column: int(7), - }, - End: ast.Location{ - Line: int(1420), - Column: int(67), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "keyF", - "merge", - "mid", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1419), - Column: int(7), - }, - End: ast.Location{ - Line: int(1420), - Column: int(67), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "keyF", - "l", - "merge", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1418), - Column: int(7), - }, - End: ast.Location{ - Line: int(1420), - Column: int(67), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "keyF", - "l", - "merge", - "quickSort", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1415), - Column: int(5), - }, - End: ast.Location{ - Line: int(1420), - Column: int(67), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "keyF", - "merge", - "quickSort", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1414), - Column: int(5), - }, - End: ast.Location{ - Line: int(1420), - Column: int(67), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(4), - }, - }, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "keyF", - "quickSort", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1400), - Column: int(5), - }, - End: ast.Location{ - Line: int(1420), - Column: int(67), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "$std", - "arr", - "id", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1388), - Column: int(5), - }, - End: ast.Location{ - Line: int(1420), - Column: int(67), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1387), - Column: int(8), - }, - End: ast.Location{ - Line: int(1387), - Column: int(11), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - Id: "id", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15198, - FreeVars: ast.Identifiers{ - "id", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1387), - Column: int(18), - }, - End: ast.Location{ - Line: int(1387), - Column: int(20), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1387), - Column: int(13), - }, - End: ast.Location{ - Line: int(1387), - Column: int(20), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "id", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1387), - Column: int(3), - }, - End: ast.Location{ - Line: int(1420), - Column: int(67), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "uniq", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1424), - Column: int(27), - }, - End: ast.Location{ - Line: int(1424), - Column: int(28), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1424), - Column: int(10), - }, - End: ast.Location{ - Line: int(1424), - Column: int(13), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1424), - Column: int(10), - }, - End: ast.Location{ - Line: int(1424), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15341, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1424), - Column: int(21), - }, - End: ast.Location{ - Line: int(1424), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1424), - Column: int(10), - }, - End: ast.Location{ - Line: int(1424), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1424), - Column: int(10), - }, - End: ast.Location{ - Line: int(1424), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15348, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(10), - }, - End: ast.Location{ - Line: int(1425), - Column: int(11), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1425), - Column: int(9), - }, - End: ast.Location{ - Line: int(1425), - Column: int(12), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(45), - }, - End: ast.Location{ - Line: int(1426), - Column: int(49), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15359, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(50), - }, - End: ast.Location{ - Line: int(1426), - Column: int(51), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "b", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(45), - }, - End: ast.Location{ - Line: int(1426), - Column: int(52), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(15), - }, - End: ast.Location{ - Line: int(1426), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15368, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(20), - }, - End: ast.Location{ - Line: int(1426), - Column: int(21), - }, - }, - }, - }, - Index: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15368, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(38), - }, - End: ast.Location{ - Line: int(1426), - Column: int(39), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(22), - }, - End: ast.Location{ - Line: int(1426), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15368, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(22), - }, - End: ast.Location{ - Line: int(1426), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15380, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(33), - }, - End: ast.Location{ - Line: int(1426), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15368, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(22), - }, - End: ast.Location{ - Line: int(1426), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15368, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(22), - }, - End: ast.Location{ - Line: int(1426), - Column: int(39), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15368, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(20), - }, - End: ast.Location{ - Line: int(1426), - Column: int(40), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "a", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(15), - }, - End: ast.Location{ - Line: int(1426), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(15), - }, - End: ast.Location{ - Line: int(1426), - Column: int(52), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1427), - Column: int(9), - }, - End: ast.Location{ - Line: int(1427), - Column: int(10), - }, - }, - }, - }, - BranchFalse: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15394, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(14), - }, - End: ast.Location{ - Line: int(1429), - Column: int(15), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(13), - }, - End: ast.Location{ - Line: int(1429), - Column: int(16), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(9), - }, - End: ast.Location{ - Line: int(1429), - Column: int(10), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "a", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1429), - Column: int(9), - }, - End: ast.Location{ - Line: int(1429), - Column: int(16), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1426), - Column: int(12), - }, - End: ast.Location{ - Line: int(1429), - Column: int(16), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15332, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1424), - Column: int(7), - }, - End: ast.Location{ - Line: int(1429), - Column: int(16), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1423), - Column: int(13), - }, - End: ast.Location{ - Line: int(1423), - Column: int(14), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1423), - Column: int(16), - }, - End: ast.Location{ - Line: int(1423), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p15407, - FreeVars: ast.Identifiers{ - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1423), - Column: int(11), - }, - End: ast.Location{ - Line: int(1429), - Column: int(16), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "f", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(5), - }, - End: ast.Location{ - Line: int(1430), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "foldl", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15415, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(5), - }, - End: ast.Location{ - Line: int(1430), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15419, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(15), - }, - End: ast.Location{ - Line: int(1430), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15419, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(18), - }, - End: ast.Location{ - Line: int(1430), - Column: int(21), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15419, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(23), - }, - End: ast.Location{ - Line: int(1430), - Column: int(25), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15415, - FreeVars: ast.Identifiers{ - "arr", - "f", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1430), - Column: int(5), - }, - End: ast.Location{ - Line: int(1430), - Column: int(26), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p15415, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1423), - Column: int(5), - }, - End: ast.Location{ - Line: int(1430), - Column: int(26), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1422), - Column: int(8), - }, - End: ast.Location{ - Line: int(1422), - Column: int(11), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - Id: "id", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15415, - FreeVars: ast.Identifiers{ - "id", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1422), - Column: int(18), - }, - End: ast.Location{ - Line: int(1422), - Column: int(20), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1422), - Column: int(13), - }, - End: ast.Location{ - Line: int(1422), - Column: int(20), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1422), - Column: int(3), - }, - End: ast.Location{ - Line: int(1430), - Column: int(26), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "set", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(5), - }, - End: ast.Location{ - Line: int(1433), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "uniq", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15439, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(5), - }, - End: ast.Location{ - Line: int(1433), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(14), - }, - End: ast.Location{ - Line: int(1433), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "sort", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15447, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(14), - }, - End: ast.Location{ - Line: int(1433), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15451, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(23), - }, - End: ast.Location{ - Line: int(1433), - Column: int(26), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15451, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(28), - }, - End: ast.Location{ - Line: int(1433), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15447, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(14), - }, - End: ast.Location{ - Line: int(1433), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15447, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(35), - }, - End: ast.Location{ - Line: int(1433), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15439, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1433), - Column: int(5), - }, - End: ast.Location{ - Line: int(1433), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(7), - }, - End: ast.Location{ - Line: int(1432), - Column: int(10), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - Id: "id", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15439, - FreeVars: ast.Identifiers{ - "id", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(17), - }, - End: ast.Location{ - Line: int(1432), - Column: int(19), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(12), - }, - End: ast.Location{ - Line: int(1432), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1432), - Column: int(3), - }, - End: ast.Location{ - Line: int(1433), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "setMember", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15467, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(48), - }, - End: ast.Location{ - Line: int(1437), - Column: int(49), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// TODO(dcunnin): Binary chop for O(log n) complexity", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(5), - }, - End: ast.Location{ - Line: int(1437), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15467, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(5), - }, - End: ast.Location{ - Line: int(1437), - Column: int(15), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(16), - }, - End: ast.Location{ - Line: int(1437), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "setInter", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(16), - }, - End: ast.Location{ - Line: int(1437), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15488, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(30), - }, - End: ast.Location{ - Line: int(1437), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15490, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(29), - }, - End: ast.Location{ - Line: int(1437), - Column: int(32), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15490, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(34), - }, - End: ast.Location{ - Line: int(1437), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15490, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(39), - }, - End: ast.Location{ - Line: int(1437), - Column: int(43), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15482, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(16), - }, - End: ast.Location{ - Line: int(1437), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15467, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(5), - }, - End: ast.Location{ - Line: int(1437), - Column: int(45), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15467, - FreeVars: ast.Identifiers{ - "arr", - "keyF", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1437), - Column: int(5), - }, - End: ast.Location{ - Line: int(1437), - Column: int(49), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(13), - }, - End: ast.Location{ - Line: int(1435), - Column: int(14), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(16), - }, - End: ast.Location{ - Line: int(1435), - Column: int(19), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - Id: "id", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15467, - FreeVars: ast.Identifiers{ - "id", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(26), - }, - End: ast.Location{ - Line: int(1435), - Column: int(28), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(21), - }, - End: ast.Location{ - Line: int(1435), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1435), - Column: int(3), - }, - End: ast.Location{ - Line: int(1437), - Column: int(49), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "setUnion", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(15), - }, - End: ast.Location{ - Line: int(1442), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(15), - }, - End: ast.Location{ - Line: int(1442), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15519, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(26), - }, - End: ast.Location{ - Line: int(1442), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(15), - }, - End: ast.Location{ - Line: int(1442), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(10), - }, - End: ast.Location{ - Line: int(1442), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(10), - }, - End: ast.Location{ - Line: int(1442), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(15), - }, - End: ast.Location{ - Line: int(1443), - Column: int(16), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(17), - }, - End: ast.Location{ - Line: int(1443), - Column: int(18), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(15), - }, - End: ast.Location{ - Line: int(1443), - Column: int(20), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(9), - }, - End: ast.Location{ - Line: int(1443), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "$std", - "acc", - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1443), - Column: int(9), - }, - End: ast.Location{ - Line: int(1443), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1444), - Column: int(20), - }, - End: ast.Location{ - Line: int(1444), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1444), - Column: int(20), - }, - End: ast.Location{ - Line: int(1444), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15554, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1444), - Column: int(31), - }, - End: ast.Location{ - Line: int(1444), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1444), - Column: int(20), - }, - End: ast.Location{ - Line: int(1444), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1444), - Column: int(15), - }, - End: ast.Location{ - Line: int(1444), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "b", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1444), - Column: int(15), - }, - End: ast.Location{ - Line: int(1444), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(15), - }, - End: ast.Location{ - Line: int(1445), - Column: int(16), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(17), - }, - End: ast.Location{ - Line: int(1445), - Column: int(18), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(15), - }, - End: ast.Location{ - Line: int(1445), - Column: int(20), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(9), - }, - End: ast.Location{ - Line: int(1445), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1445), - Column: int(9), - }, - End: ast.Location{ - Line: int(1445), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15583, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(20), - }, - End: ast.Location{ - Line: int(1447), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15588, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(25), - }, - End: ast.Location{ - Line: int(1447), - Column: int(26), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15588, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(27), - }, - End: ast.Location{ - Line: int(1447), - Column: int(28), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15588, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(25), - }, - End: ast.Location{ - Line: int(1447), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15583, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(20), - }, - End: ast.Location{ - Line: int(1447), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "ak", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(15), - }, - End: ast.Location{ - Line: int(1447), - Column: int(30), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15598, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1448), - Column: int(20), - }, - End: ast.Location{ - Line: int(1448), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15603, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1448), - Column: int(25), - }, - End: ast.Location{ - Line: int(1448), - Column: int(26), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15603, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1448), - Column: int(27), - }, - End: ast.Location{ - Line: int(1448), - Column: int(28), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15603, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1448), - Column: int(25), - }, - End: ast.Location{ - Line: int(1448), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15598, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1448), - Column: int(20), - }, - End: ast.Location{ - Line: int(1448), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "bk", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1448), - Column: int(15), - }, - End: ast.Location{ - Line: int(1448), - Column: int(30), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "bk", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "bk", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1449), - Column: int(18), - }, - End: ast.Location{ - Line: int(1449), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "ak", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "ak", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1449), - Column: int(12), - }, - End: ast.Location{ - Line: int(1449), - Column: int(14), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "ak", - "bk", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1449), - Column: int(12), - }, - End: ast.Location{ - Line: int(1449), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(11), - }, - End: ast.Location{ - Line: int(1450), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(15), - }, - End: ast.Location{ - Line: int(1450), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(18), - }, - End: ast.Location{ - Line: int(1450), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(25), - }, - End: ast.Location{ - Line: int(1450), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(21), - }, - End: ast.Location{ - Line: int(1450), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(21), - }, - End: ast.Location{ - Line: int(1450), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(32), - }, - End: ast.Location{ - Line: int(1450), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(28), - }, - End: ast.Location{ - Line: int(1450), - Column: int(29), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(28), - }, - End: ast.Location{ - Line: int(1450), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15641, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(42), - }, - End: ast.Location{ - Line: int(1450), - Column: int(43), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15641, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(44), - }, - End: ast.Location{ - Line: int(1450), - Column: int(45), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15641, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(42), - }, - End: ast.Location{ - Line: int(1450), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(41), - }, - End: ast.Location{ - Line: int(1450), - Column: int(47), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(35), - }, - End: ast.Location{ - Line: int(1450), - Column: int(38), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15622, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(35), - }, - End: ast.Location{ - Line: int(1450), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1450), - Column: int(11), - }, - End: ast.Location{ - Line: int(1450), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "bk", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "bk", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(22), - }, - End: ast.Location{ - Line: int(1451), - Column: int(24), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "ak", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "ak", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(17), - }, - End: ast.Location{ - Line: int(1451), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "ak", - "bk", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(17), - }, - End: ast.Location{ - Line: int(1451), - Column: int(24), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(11), - }, - End: ast.Location{ - Line: int(1452), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15664, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(15), - }, - End: ast.Location{ - Line: int(1452), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15664, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(18), - }, - End: ast.Location{ - Line: int(1452), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15664, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(25), - }, - End: ast.Location{ - Line: int(1452), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15664, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(21), - }, - End: ast.Location{ - Line: int(1452), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15664, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(21), - }, - End: ast.Location{ - Line: int(1452), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15664, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(28), - }, - End: ast.Location{ - Line: int(1452), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15680, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(38), - }, - End: ast.Location{ - Line: int(1452), - Column: int(39), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15680, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(40), - }, - End: ast.Location{ - Line: int(1452), - Column: int(41), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15680, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(38), - }, - End: ast.Location{ - Line: int(1452), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15664, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(37), - }, - End: ast.Location{ - Line: int(1452), - Column: int(43), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15664, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(31), - }, - End: ast.Location{ - Line: int(1452), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15664, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(31), - }, - End: ast.Location{ - Line: int(1452), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1452), - Column: int(11), - }, - End: ast.Location{ - Line: int(1452), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(11), - }, - End: ast.Location{ - Line: int(1454), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15696, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(15), - }, - End: ast.Location{ - Line: int(1454), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15696, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(18), - }, - End: ast.Location{ - Line: int(1454), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15696, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(21), - }, - End: ast.Location{ - Line: int(1454), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15696, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(28), - }, - End: ast.Location{ - Line: int(1454), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15696, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(24), - }, - End: ast.Location{ - Line: int(1454), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15696, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(24), - }, - End: ast.Location{ - Line: int(1454), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15712, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(38), - }, - End: ast.Location{ - Line: int(1454), - Column: int(39), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15712, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(40), - }, - End: ast.Location{ - Line: int(1454), - Column: int(41), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15712, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(38), - }, - End: ast.Location{ - Line: int(1454), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15696, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(37), - }, - End: ast.Location{ - Line: int(1454), - Column: int(43), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15696, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(31), - }, - End: ast.Location{ - Line: int(1454), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15696, - FreeVars: ast.Identifiers{ - "acc", - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(31), - }, - End: ast.Location{ - Line: int(1454), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1454), - Column: int(11), - }, - End: ast.Location{ - Line: int(1454), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - "acc", - "ak", - "aux", - "b", - "bk", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1451), - Column: int(14), - }, - End: ast.Location{ - Line: int(1454), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - "acc", - "ak", - "aux", - "b", - "bk", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1449), - Column: int(9), - }, - End: ast.Location{ - Line: int(1454), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - "acc", - "ak", - "aux", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1448), - Column: int(9), - }, - End: ast.Location{ - Line: int(1454), - Column: int(44), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1447), - Column: int(9), - }, - End: ast.Location{ - Line: int(1454), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1444), - Column: int(12), - }, - End: ast.Location{ - Line: int(1454), - Column: int(44), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15515, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1442), - Column: int(7), - }, - End: ast.Location{ - Line: int(1454), - Column: int(44), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1441), - Column: int(15), - }, - End: ast.Location{ - Line: int(1441), - Column: int(16), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1441), - Column: int(18), - }, - End: ast.Location{ - Line: int(1441), - Column: int(19), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1441), - Column: int(21), - }, - End: ast.Location{ - Line: int(1441), - Column: int(22), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1441), - Column: int(24), - }, - End: ast.Location{ - Line: int(1441), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "acc", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1441), - Column: int(27), - }, - End: ast.Location{ - Line: int(1441), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p15737, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1441), - Column: int(11), - }, - End: ast.Location{ - Line: int(1454), - Column: int(44), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p15742, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(5), - }, - End: ast.Location{ - Line: int(1455), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15746, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(9), - }, - End: ast.Location{ - Line: int(1455), - Column: int(10), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15746, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(12), - }, - End: ast.Location{ - Line: int(1455), - Column: int(13), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15746, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(15), - }, - End: ast.Location{ - Line: int(1455), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15746, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(18), - }, - End: ast.Location{ - Line: int(1455), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15746, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(21), - }, - End: ast.Location{ - Line: int(1455), - Column: int(23), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15742, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1455), - Column: int(5), - }, - End: ast.Location{ - Line: int(1455), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// NOTE: order matters, values in `a` win", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p15742, - FreeVars: ast.Identifiers{ - "$std", - "a", - "b", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1441), - Column: int(5), - }, - End: ast.Location{ - Line: int(1455), - Column: int(24), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1439), - Column: int(12), - }, - End: ast.Location{ - Line: int(1439), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1439), - Column: int(15), - }, - End: ast.Location{ - Line: int(1439), - Column: int(16), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - Id: "id", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15742, - FreeVars: ast.Identifiers{ - "id", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1439), - Column: int(23), - }, - End: ast.Location{ - Line: int(1439), - Column: int(25), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1439), - Column: int(18), - }, - End: ast.Location{ - Line: int(1439), - Column: int(25), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "id", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1439), - Column: int(3), - }, - End: ast.Location{ - Line: int(1455), - Column: int(24), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "setInter", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(37), - }, - End: ast.Location{ - Line: int(1459), - Column: int(40), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(37), - }, - End: ast.Location{ - Line: int(1459), - Column: int(47), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15778, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(48), - }, - End: ast.Location{ - Line: int(1459), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(37), - }, - End: ast.Location{ - Line: int(1459), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(32), - }, - End: ast.Location{ - Line: int(1459), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "b", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(32), - }, - End: ast.Location{ - Line: int(1459), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - Left: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(15), - }, - End: ast.Location{ - Line: int(1459), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(15), - }, - End: ast.Location{ - Line: int(1459), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15793, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(26), - }, - End: ast.Location{ - Line: int(1459), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(15), - }, - End: ast.Location{ - Line: int(1459), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(10), - }, - End: ast.Location{ - Line: int(1459), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(10), - }, - End: ast.Location{ - Line: int(1459), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(10), - }, - End: ast.Location{ - Line: int(1459), - Column: int(50), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1460), - Column: int(9), - }, - End: ast.Location{ - Line: int(1460), - Column: int(12), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(26), - }, - End: ast.Location{ - Line: int(1462), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15811, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(31), - }, - End: ast.Location{ - Line: int(1462), - Column: int(32), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15811, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(33), - }, - End: ast.Location{ - Line: int(1462), - Column: int(34), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15811, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(31), - }, - End: ast.Location{ - Line: int(1462), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(26), - }, - End: ast.Location{ - Line: int(1462), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(12), - }, - End: ast.Location{ - Line: int(1462), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15823, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(17), - }, - End: ast.Location{ - Line: int(1462), - Column: int(18), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15823, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(19), - }, - End: ast.Location{ - Line: int(1462), - Column: int(20), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15823, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(17), - }, - End: ast.Location{ - Line: int(1462), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(12), - }, - End: ast.Location{ - Line: int(1462), - Column: int(22), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(12), - }, - End: ast.Location{ - Line: int(1462), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(11), - }, - End: ast.Location{ - Line: int(1463), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(15), - }, - End: ast.Location{ - Line: int(1463), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(18), - }, - End: ast.Location{ - Line: int(1463), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(25), - }, - End: ast.Location{ - Line: int(1463), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(21), - }, - End: ast.Location{ - Line: int(1463), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(21), - }, - End: ast.Location{ - Line: int(1463), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(32), - }, - End: ast.Location{ - Line: int(1463), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(28), - }, - End: ast.Location{ - Line: int(1463), - Column: int(29), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(28), - }, - End: ast.Location{ - Line: int(1463), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15855, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(42), - }, - End: ast.Location{ - Line: int(1463), - Column: int(43), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15855, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(44), - }, - End: ast.Location{ - Line: int(1463), - Column: int(45), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15855, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(42), - }, - End: ast.Location{ - Line: int(1463), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(41), - }, - End: ast.Location{ - Line: int(1463), - Column: int(47), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(35), - }, - End: ast.Location{ - Line: int(1463), - Column: int(38), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15836, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(35), - }, - End: ast.Location{ - Line: int(1463), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1463), - Column: int(11), - }, - End: ast.Location{ - Line: int(1463), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(30), - }, - End: ast.Location{ - Line: int(1464), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15873, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(35), - }, - End: ast.Location{ - Line: int(1464), - Column: int(36), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15873, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(37), - }, - End: ast.Location{ - Line: int(1464), - Column: int(38), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15873, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(35), - }, - End: ast.Location{ - Line: int(1464), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(30), - }, - End: ast.Location{ - Line: int(1464), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(17), - }, - End: ast.Location{ - Line: int(1464), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15885, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(22), - }, - End: ast.Location{ - Line: int(1464), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15885, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(24), - }, - End: ast.Location{ - Line: int(1464), - Column: int(25), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15885, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(22), - }, - End: ast.Location{ - Line: int(1464), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(17), - }, - End: ast.Location{ - Line: int(1464), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(17), - }, - End: ast.Location{ - Line: int(1464), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(11), - }, - End: ast.Location{ - Line: int(1465), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15898, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(15), - }, - End: ast.Location{ - Line: int(1465), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15898, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(18), - }, - End: ast.Location{ - Line: int(1465), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15898, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(25), - }, - End: ast.Location{ - Line: int(1465), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15898, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(21), - }, - End: ast.Location{ - Line: int(1465), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15898, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(21), - }, - End: ast.Location{ - Line: int(1465), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15898, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(28), - }, - End: ast.Location{ - Line: int(1465), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15898, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(31), - }, - End: ast.Location{ - Line: int(1465), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1465), - Column: int(11), - }, - End: ast.Location{ - Line: int(1465), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(11), - }, - End: ast.Location{ - Line: int(1467), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15918, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(15), - }, - End: ast.Location{ - Line: int(1467), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15918, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(18), - }, - End: ast.Location{ - Line: int(1467), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15918, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(21), - }, - End: ast.Location{ - Line: int(1467), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15918, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(28), - }, - End: ast.Location{ - Line: int(1467), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15918, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(24), - }, - End: ast.Location{ - Line: int(1467), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15918, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(24), - }, - End: ast.Location{ - Line: int(1467), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15918, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(31), - }, - End: ast.Location{ - Line: int(1467), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1467), - Column: int(11), - }, - End: ast.Location{ - Line: int(1467), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1464), - Column: int(14), - }, - End: ast.Location{ - Line: int(1467), - Column: int(35), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1462), - Column: int(9), - }, - End: ast.Location{ - Line: int(1467), - Column: int(35), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15774, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1459), - Column: int(7), - }, - End: ast.Location{ - Line: int(1467), - Column: int(35), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(15), - }, - End: ast.Location{ - Line: int(1458), - Column: int(16), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(18), - }, - End: ast.Location{ - Line: int(1458), - Column: int(19), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(21), - }, - End: ast.Location{ - Line: int(1458), - Column: int(22), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(24), - }, - End: ast.Location{ - Line: int(1458), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "acc", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(27), - }, - End: ast.Location{ - Line: int(1458), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p15941, - FreeVars: ast.Identifiers{ - "aux", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(11), - }, - End: ast.Location{ - Line: int(1467), - Column: int(35), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p15946, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(5), - }, - End: ast.Location{ - Line: int(1468), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15950, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(9), - }, - End: ast.Location{ - Line: int(1468), - Column: int(10), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15950, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(12), - }, - End: ast.Location{ - Line: int(1468), - Column: int(13), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15950, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(15), - }, - End: ast.Location{ - Line: int(1468), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15950, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(18), - }, - End: ast.Location{ - Line: int(1468), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15950, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(21), - }, - End: ast.Location{ - Line: int(1468), - Column: int(23), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15946, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1468), - Column: int(5), - }, - End: ast.Location{ - Line: int(1468), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p15946, - FreeVars: ast.Identifiers{ - "a", - "b", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1458), - Column: int(5), - }, - End: ast.Location{ - Line: int(1468), - Column: int(24), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1457), - Column: int(12), - }, - End: ast.Location{ - Line: int(1457), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1457), - Column: int(15), - }, - End: ast.Location{ - Line: int(1457), - Column: int(16), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - Id: "id", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15946, - FreeVars: ast.Identifiers{ - "id", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1457), - Column: int(23), - }, - End: ast.Location{ - Line: int(1457), - Column: int(25), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1457), - Column: int(18), - }, - End: ast.Location{ - Line: int(1457), - Column: int(25), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "id", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1457), - Column: int(3), - }, - End: ast.Location{ - Line: int(1468), - Column: int(24), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "setDiff", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1472), - Column: int(15), - }, - End: ast.Location{ - Line: int(1472), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1472), - Column: int(15), - }, - End: ast.Location{ - Line: int(1472), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15980, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1472), - Column: int(26), - }, - End: ast.Location{ - Line: int(1472), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1472), - Column: int(15), - }, - End: ast.Location{ - Line: int(1472), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1472), - Column: int(10), - }, - End: ast.Location{ - Line: int(1472), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1472), - Column: int(10), - }, - End: ast.Location{ - Line: int(1472), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1473), - Column: int(9), - }, - End: ast.Location{ - Line: int(1473), - Column: int(12), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(20), - }, - End: ast.Location{ - Line: int(1474), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(20), - }, - End: ast.Location{ - Line: int(1474), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15999, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(31), - }, - End: ast.Location{ - Line: int(1474), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(20), - }, - End: ast.Location{ - Line: int(1474), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(15), - }, - End: ast.Location{ - Line: int(1474), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "b", - "j", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(15), - }, - End: ast.Location{ - Line: int(1474), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1475), - Column: int(15), - }, - End: ast.Location{ - Line: int(1475), - Column: int(16), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1475), - Column: int(17), - }, - End: ast.Location{ - Line: int(1475), - Column: int(18), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1475), - Column: int(15), - }, - End: ast.Location{ - Line: int(1475), - Column: int(20), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1475), - Column: int(9), - }, - End: ast.Location{ - Line: int(1475), - Column: int(12), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1475), - Column: int(9), - }, - End: ast.Location{ - Line: int(1475), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(26), - }, - End: ast.Location{ - Line: int(1477), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16032, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(31), - }, - End: ast.Location{ - Line: int(1477), - Column: int(32), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16032, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(33), - }, - End: ast.Location{ - Line: int(1477), - Column: int(34), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16032, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(31), - }, - End: ast.Location{ - Line: int(1477), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(26), - }, - End: ast.Location{ - Line: int(1477), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(12), - }, - End: ast.Location{ - Line: int(1477), - Column: int(16), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16044, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(17), - }, - End: ast.Location{ - Line: int(1477), - Column: int(18), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16044, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(19), - }, - End: ast.Location{ - Line: int(1477), - Column: int(20), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16044, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(17), - }, - End: ast.Location{ - Line: int(1477), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(12), - }, - End: ast.Location{ - Line: int(1477), - Column: int(22), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(12), - }, - End: ast.Location{ - Line: int(1477), - Column: int(36), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(11), - }, - End: ast.Location{ - Line: int(1478), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16057, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(15), - }, - End: ast.Location{ - Line: int(1478), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16057, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(18), - }, - End: ast.Location{ - Line: int(1478), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16057, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(25), - }, - End: ast.Location{ - Line: int(1478), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16057, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(21), - }, - End: ast.Location{ - Line: int(1478), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16057, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(21), - }, - End: ast.Location{ - Line: int(1478), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16057, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(32), - }, - End: ast.Location{ - Line: int(1478), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16057, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(28), - }, - End: ast.Location{ - Line: int(1478), - Column: int(29), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16057, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(28), - }, - End: ast.Location{ - Line: int(1478), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16057, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(35), - }, - End: ast.Location{ - Line: int(1478), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1478), - Column: int(11), - }, - End: ast.Location{ - Line: int(1478), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(30), - }, - End: ast.Location{ - Line: int(1479), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16082, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(35), - }, - End: ast.Location{ - Line: int(1479), - Column: int(36), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16082, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(37), - }, - End: ast.Location{ - Line: int(1479), - Column: int(38), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16082, - FreeVars: ast.Identifiers{ - "b", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(35), - }, - End: ast.Location{ - Line: int(1479), - Column: int(39), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "b", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(30), - }, - End: ast.Location{ - Line: int(1479), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Apply{ - Target: &ast.Var{ - Id: "keyF", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(17), - }, - End: ast.Location{ - Line: int(1479), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16094, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(22), - }, - End: ast.Location{ - Line: int(1479), - Column: int(23), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16094, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(24), - }, - End: ast.Location{ - Line: int(1479), - Column: int(25), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16094, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(22), - }, - End: ast.Location{ - Line: int(1479), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "i", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(17), - }, - End: ast.Location{ - Line: int(1479), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(17), - }, - End: ast.Location{ - Line: int(1479), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(11), - }, - End: ast.Location{ - Line: int(1480), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16107, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(15), - }, - End: ast.Location{ - Line: int(1480), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16107, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(18), - }, - End: ast.Location{ - Line: int(1480), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16107, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(25), - }, - End: ast.Location{ - Line: int(1480), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16107, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(21), - }, - End: ast.Location{ - Line: int(1480), - Column: int(22), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16107, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(21), - }, - End: ast.Location{ - Line: int(1480), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16107, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(28), - }, - End: ast.Location{ - Line: int(1480), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16123, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(38), - }, - End: ast.Location{ - Line: int(1480), - Column: int(39), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16123, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(40), - }, - End: ast.Location{ - Line: int(1480), - Column: int(41), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16123, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(38), - }, - End: ast.Location{ - Line: int(1480), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16107, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(37), - }, - End: ast.Location{ - Line: int(1480), - Column: int(43), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16107, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(31), - }, - End: ast.Location{ - Line: int(1480), - Column: int(34), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16107, - FreeVars: ast.Identifiers{ - "a", - "acc", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(31), - }, - End: ast.Location{ - Line: int(1480), - Column: int(43), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1480), - Column: int(11), - }, - End: ast.Location{ - Line: int(1480), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(11), - }, - End: ast.Location{ - Line: int(1482), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16139, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(15), - }, - End: ast.Location{ - Line: int(1482), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16139, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(18), - }, - End: ast.Location{ - Line: int(1482), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16139, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(21), - }, - End: ast.Location{ - Line: int(1482), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16139, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(28), - }, - End: ast.Location{ - Line: int(1482), - Column: int(29), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "j", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16139, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(24), - }, - End: ast.Location{ - Line: int(1482), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16139, - FreeVars: ast.Identifiers{ - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(24), - }, - End: ast.Location{ - Line: int(1482), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "acc", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16139, - FreeVars: ast.Identifiers{ - "acc", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(31), - }, - End: ast.Location{ - Line: int(1482), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1482), - Column: int(11), - }, - End: ast.Location{ - Line: int(1482), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1479), - Column: int(14), - }, - End: ast.Location{ - Line: int(1482), - Column: int(35), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1477), - Column: int(9), - }, - End: ast.Location{ - Line: int(1482), - Column: int(35), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1474), - Column: int(12), - }, - End: ast.Location{ - Line: int(1482), - Column: int(35), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p15976, - FreeVars: ast.Identifiers{ - "$std", - "a", - "acc", - "aux", - "b", - "i", - "j", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1472), - Column: int(7), - }, - End: ast.Location{ - Line: int(1482), - Column: int(35), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(15), - }, - End: ast.Location{ - Line: int(1471), - Column: int(16), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(18), - }, - End: ast.Location{ - Line: int(1471), - Column: int(19), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(21), - }, - End: ast.Location{ - Line: int(1471), - Column: int(22), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "j", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(24), - }, - End: ast.Location{ - Line: int(1471), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "acc", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(27), - }, - End: ast.Location{ - Line: int(1471), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p16164, - FreeVars: ast.Identifiers{ - "$std", - "aux", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(11), - }, - End: ast.Location{ - Line: int(1482), - Column: int(35), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p16169, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1483), - Column: int(5), - }, - End: ast.Location{ - Line: int(1483), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16173, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1483), - Column: int(9), - }, - End: ast.Location{ - Line: int(1483), - Column: int(10), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16173, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1483), - Column: int(12), - }, - End: ast.Location{ - Line: int(1483), - Column: int(13), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16173, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1483), - Column: int(15), - }, - End: ast.Location{ - Line: int(1483), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16173, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1483), - Column: int(18), - }, - End: ast.Location{ - Line: int(1483), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16173, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1483), - Column: int(21), - }, - End: ast.Location{ - Line: int(1483), - Column: int(23), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16169, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1483), - Column: int(5), - }, - End: ast.Location{ - Line: int(1483), - Column: int(24), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p16169, - FreeVars: ast.Identifiers{ - "$std", - "a", - "b", - "keyF", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1471), - Column: int(5), - }, - End: ast.Location{ - Line: int(1483), - Column: int(24), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(11), - }, - End: ast.Location{ - Line: int(1470), - Column: int(12), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(14), - }, - End: ast.Location{ - Line: int(1470), - Column: int(15), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "keyF", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.Var{ - Id: "id", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16169, - FreeVars: ast.Identifiers{ - "id", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(22), - }, - End: ast.Location{ - Line: int(1470), - Column: int(24), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(17), - }, - End: ast.Location{ - Line: int(1470), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "id", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1470), - Column: int(3), - }, - End: ast.Location{ - Line: int(1483), - Column: int(24), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "mergePatch", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(8), - }, - End: ast.Location{ - Line: int(1486), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(8), - }, - End: ast.Location{ - Line: int(1486), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "patch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16199, - FreeVars: ast.Identifiers{ - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(21), - }, - End: ast.Location{ - Line: int(1486), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "patch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(8), - }, - End: ast.Location{ - Line: int(1486), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(12), - }, - End: ast.Location{ - Line: int(1488), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16210, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(12), - }, - End: ast.Location{ - Line: int(1488), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "target", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16214, - FreeVars: ast.Identifiers{ - "target", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(25), - }, - End: ast.Location{ - Line: int(1488), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16210, - FreeVars: ast.Identifiers{ - "std", - "target", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(12), - }, - End: ast.Location{ - Line: int(1488), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Var{ - Id: "target", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16210, - FreeVars: ast.Identifiers{ - "target", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(38), - }, - End: ast.Location{ - Line: int(1488), - Column: int(44), - }, - }, - }, - }, - BranchFalse: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{}, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16210, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(50), - }, - End: ast.Location{ - Line: int(1488), - Column: int(52), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p16210, - FreeVars: ast.Identifiers{ - "std", - "target", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1488), - Column: int(9), - }, - End: ast.Location{ - Line: int(1488), - Column: int(52), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "target_object", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1487), - Column: int(13), - }, - End: ast.Location{ - Line: int(1488), - Column: int(52), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(12), - }, - End: ast.Location{ - Line: int(1491), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16230, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(12), - }, - End: ast.Location{ - Line: int(1491), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "target_object", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16234, - FreeVars: ast.Identifiers{ - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(25), - }, - End: ast.Location{ - Line: int(1491), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16230, - FreeVars: ast.Identifiers{ - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(12), - }, - End: ast.Location{ - Line: int(1491), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(45), - }, - End: ast.Location{ - Line: int(1491), - Column: int(48), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16230, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(45), - }, - End: ast.Location{ - Line: int(1491), - Column: int(61), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "target_object", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16245, - FreeVars: ast.Identifiers{ - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(62), - }, - End: ast.Location{ - Line: int(1491), - Column: int(75), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16230, - FreeVars: ast.Identifiers{ - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(45), - }, - End: ast.Location{ - Line: int(1491), - Column: int(76), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16230, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(82), - }, - End: ast.Location{ - Line: int(1491), - Column: int(84), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p16230, - FreeVars: ast.Identifiers{ - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1491), - Column: int(9), - }, - End: ast.Location{ - Line: int(1491), - Column: int(84), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "target_fields", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1490), - Column: int(13), - }, - End: ast.Location{ - Line: int(1491), - Column: int(84), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16264, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(78), - }, - End: ast.Location{ - Line: int(1493), - Column: int(82), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "patch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16264, - FreeVars: ast.Identifiers{ - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(66), - }, - End: ast.Location{ - Line: int(1493), - Column: int(71), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16264, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(72), - }, - End: ast.Location{ - Line: int(1493), - Column: int(73), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16264, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(66), - }, - End: ast.Location{ - Line: int(1493), - Column: int(74), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16264, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(66), - }, - End: ast.Location{ - Line: int(1493), - Column: int(82), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16275, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(28), - }, - End: ast.Location{ - Line: int(1493), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - Elements: nil, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "patch", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(39), - }, - End: ast.Location{ - Line: int(1493), - Column: int(42), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16264, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(39), - }, - End: ast.Location{ - Line: int(1493), - Column: int(55), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "patch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16290, - FreeVars: ast.Identifiers{ - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(56), - }, - End: ast.Location{ - Line: int(1493), - Column: int(61), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16264, - FreeVars: ast.Identifiers{ - "patch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(39), - }, - End: ast.Location{ - Line: int(1493), - Column: int(62), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "patch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(27), - }, - End: ast.Location{ - Line: int(1493), - Column: int(83), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "null_fields", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(13), - }, - End: ast.Location{ - Line: int(1493), - Column: int(83), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(27), - }, - End: ast.Location{ - Line: int(1494), - Column: int(30), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "setUnion", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16301, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(27), - }, - End: ast.Location{ - Line: int(1494), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "target_fields", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16305, - FreeVars: ast.Identifiers{ - "target_fields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(40), - }, - End: ast.Location{ - Line: int(1494), - Column: int(53), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(55), - }, - End: ast.Location{ - Line: int(1494), - Column: int(58), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16305, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(55), - }, - End: ast.Location{ - Line: int(1494), - Column: int(71), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "patch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16315, - FreeVars: ast.Identifiers{ - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(72), - }, - End: ast.Location{ - Line: int(1494), - Column: int(77), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16305, - FreeVars: ast.Identifiers{ - "patch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(55), - }, - End: ast.Location{ - Line: int(1494), - Column: int(78), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16301, - FreeVars: ast.Identifiers{ - "patch", - "std", - "target_fields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(27), - }, - End: ast.Location{ - Line: int(1494), - Column: int(79), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "both_fields", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(13), - }, - End: ast.Location{ - Line: int(1494), - Column: int(79), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "$objectFlatMerge", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1497), - Column: int(10), - }, - End: ast.Location{ - Line: int(1497), - Column: int(11), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(15), - }, - End: ast.Location{ - Line: int(1498), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectHas", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(15), - }, - End: ast.Location{ - Line: int(1498), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "patch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16351, - FreeVars: ast.Identifiers{ - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(29), - }, - End: ast.Location{ - Line: int(1498), - Column: int(34), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16351, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(36), - }, - End: ast.Location{ - Line: int(1498), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(15), - }, - End: ast.Location{ - Line: int(1498), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(14), - }, - End: ast.Location{ - Line: int(1498), - Column: int(38), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Index{ - Target: &ast.Var{ - Id: "target_object", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1499), - Column: int(13), - }, - End: ast.Location{ - Line: int(1499), - Column: int(26), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1499), - Column: int(27), - }, - End: ast.Location{ - Line: int(1499), - Column: int(28), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1499), - Column: int(13), - }, - End: ast.Location{ - Line: int(1499), - Column: int(29), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1500), - Column: int(20), - }, - End: ast.Location{ - Line: int(1500), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectHas", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1500), - Column: int(20), - }, - End: ast.Location{ - Line: int(1500), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "target_object", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16374, - FreeVars: ast.Identifiers{ - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1500), - Column: int(34), - }, - End: ast.Location{ - Line: int(1500), - Column: int(47), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16374, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1500), - Column: int(49), - }, - End: ast.Location{ - Line: int(1500), - Column: int(50), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1500), - Column: int(20), - }, - End: ast.Location{ - Line: int(1500), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1500), - Column: int(19), - }, - End: ast.Location{ - Line: int(1500), - Column: int(51), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(13), - }, - End: ast.Location{ - Line: int(1501), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mergePatch", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(13), - }, - End: ast.Location{ - Line: int(1501), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16389, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(28), - }, - End: ast.Location{ - Line: int(1501), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "patch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16389, - FreeVars: ast.Identifiers{ - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(34), - }, - End: ast.Location{ - Line: int(1501), - Column: int(39), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16389, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(40), - }, - End: ast.Location{ - Line: int(1501), - Column: int(41), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16389, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(34), - }, - End: ast.Location{ - Line: int(1501), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1501), - Column: int(13), - }, - End: ast.Location{ - Line: int(1501), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(13), - }, - End: ast.Location{ - Line: int(1503), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mergePatch", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(13), - }, - End: ast.Location{ - Line: int(1503), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "target_object", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16407, - FreeVars: ast.Identifiers{ - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(28), - }, - End: ast.Location{ - Line: int(1503), - Column: int(41), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16407, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(42), - }, - End: ast.Location{ - Line: int(1503), - Column: int(43), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16407, - FreeVars: ast.Identifiers{ - "k", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(28), - }, - End: ast.Location{ - Line: int(1503), - Column: int(44), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "patch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16407, - FreeVars: ast.Identifiers{ - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(46), - }, - End: ast.Location{ - Line: int(1503), - Column: int(51), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16407, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(52), - }, - End: ast.Location{ - Line: int(1503), - Column: int(53), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16407, - FreeVars: ast.Identifiers{ - "k", - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(46), - }, - End: ast.Location{ - Line: int(1503), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1503), - Column: int(13), - }, - End: ast.Location{ - Line: int(1503), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1500), - Column: int(16), - }, - End: ast.Location{ - Line: int(1503), - Column: int(55), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p16347, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1498), - Column: int(11), - }, - End: ast.Location{ - Line: int(1503), - Column: int(55), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1497), - Column: int(9), - }, - End: ast.Location{ - Line: int(1503), - Column: int(55), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(6), - }, - }, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1496), - Column: int(7), - }, - End: ast.Location{ - Line: int(1505), - Column: int(8), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "patch", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "patch", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(18), - }, - End: ast.Location{ - Line: int(1504), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "setDiff", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(18), - }, - End: ast.Location{ - Line: int(1504), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "both_fields", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16437, - FreeVars: ast.Identifiers{ - "both_fields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(30), - }, - End: ast.Location{ - Line: int(1504), - Column: int(41), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "null_fields", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16437, - FreeVars: ast.Identifiers{ - "null_fields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(43), - }, - End: ast.Location{ - Line: int(1504), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "both_fields", - "null_fields", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1504), - Column: int(18), - }, - End: ast.Location{ - Line: int(1504), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "both_fields", - "null_fields", - "patch", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1496), - Column: int(7), - }, - End: ast.Location{ - Line: int(1505), - Column: int(8), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "both_fields", - "null_fields", - "patch", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1496), - Column: int(7), - }, - End: ast.Location{ - Line: int(1505), - Column: int(8), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "$std", - "null_fields", - "patch", - "std", - "target_fields", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1494), - Column: int(7), - }, - End: ast.Location{ - Line: int(1505), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(6), - }, - }, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "$std", - "patch", - "std", - "target_fields", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1493), - Column: int(7), - }, - End: ast.Location{ - Line: int(1505), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(1), - Indent: int(6), - }, - }, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "$std", - "patch", - "std", - "target_object", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1490), - Column: int(7), - }, - End: ast.Location{ - Line: int(1505), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "$std", - "patch", - "std", - "target", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1487), - Column: int(7), - }, - End: ast.Location{ - Line: int(1505), - Column: int(8), - }, - }, - }, - }, - BranchFalse: &ast.Var{ - Id: "patch", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "patch", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1507), - Column: int(7), - }, - End: ast.Location{ - Line: int(1507), - Column: int(12), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p16195, - FreeVars: ast.Identifiers{ - "$std", - "patch", - "std", - "target", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1486), - Column: int(5), - }, - End: ast.Location{ - Line: int(1507), - Column: int(12), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "target", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1485), - Column: int(14), - }, - End: ast.Location{ - Line: int(1485), - Column: int(20), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "patch", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1485), - Column: int(22), - }, - End: ast.Location{ - Line: int(1485), - Column: int(27), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1485), - Column: int(3), - }, - End: ast.Location{ - Line: int(1507), - Column: int(12), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "get", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(8), - }, - End: ast.Location{ - Line: int(1510), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectHasEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16468, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(8), - }, - End: ast.Location{ - Line: int(1510), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16472, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(24), - }, - End: ast.Location{ - Line: int(1510), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16472, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(27), - }, - End: ast.Location{ - Line: int(1510), - Column: int(28), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "inc_hidden", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16472, - FreeVars: ast.Identifiers{ - "inc_hidden", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(30), - }, - End: ast.Location{ - Line: int(1510), - Column: int(40), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16468, - FreeVars: ast.Identifiers{ - "f", - "inc_hidden", - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(8), - }, - End: ast.Location{ - Line: int(1510), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Index{ - Target: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16468, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(47), - }, - End: ast.Location{ - Line: int(1510), - Column: int(48), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16468, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(49), - }, - End: ast.Location{ - Line: int(1510), - Column: int(50), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16468, - FreeVars: ast.Identifiers{ - "f", - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(47), - }, - End: ast.Location{ - Line: int(1510), - Column: int(51), - }, - }, - }, - }, - BranchFalse: &ast.Var{ - Id: "default", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16468, - FreeVars: ast.Identifiers{ - "default", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(57), - }, - End: ast.Location{ - Line: int(1510), - Column: int(64), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p16468, - FreeVars: ast.Identifiers{ - "default", - "f", - "inc_hidden", - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1510), - Column: int(5), - }, - End: ast.Location{ - Line: int(1510), - Column: int(64), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1509), - Column: int(7), - }, - End: ast.Location{ - Line: int(1509), - Column: int(8), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "f", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1509), - Column: int(10), - }, - End: ast.Location{ - Line: int(1509), - Column: int(11), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "default", - CommaFodder: ast.Fodder{}, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16468, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1509), - Column: int(23), - }, - End: ast.Location{ - Line: int(1509), - Column: int(27), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1509), - Column: int(13), - }, - End: ast.Location{ - Line: int(1509), - Column: int(27), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "inc_hidden", - CommaFodder: nil, - EqFodder: ast.Fodder{}, - DefaultArg: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16468, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1509), - Column: int(42), - }, - End: ast.Location{ - Line: int(1509), - Column: int(46), - }, - }, - }, - Value: true, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1509), - Column: int(29), - }, - End: ast.Location{ - Line: int(1509), - Column: int(46), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1509), - Column: int(3), - }, - End: ast.Location{ - Line: int(1510), - Column: int(64), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(5), - }, - End: ast.Location{ - Line: int(1513), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFieldsEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16501, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(5), - }, - End: ast.Location{ - Line: int(1513), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16505, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(24), - }, - End: ast.Location{ - Line: int(1513), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16505, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(27), - }, - End: ast.Location{ - Line: int(1513), - Column: int(32), - }, - }, - }, - Value: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16501, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1513), - Column: int(5), - }, - End: ast.Location{ - Line: int(1513), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1512), - Column: int(16), - }, - End: ast.Location{ - Line: int(1512), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1512), - Column: int(3), - }, - End: ast.Location{ - Line: int(1513), - Column: int(33), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "objectFieldsAll", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(5), - }, - End: ast.Location{ - Line: int(1516), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFieldsEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16519, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(5), - }, - End: ast.Location{ - Line: int(1516), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16523, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(24), - }, - End: ast.Location{ - Line: int(1516), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16523, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(27), - }, - End: ast.Location{ - Line: int(1516), - Column: int(31), - }, - }, - }, - Value: true, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16519, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1516), - Column: int(5), - }, - End: ast.Location{ - Line: int(1516), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1515), - Column: int(19), - }, - End: ast.Location{ - Line: int(1515), - Column: int(20), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1515), - Column: int(3), - }, - End: ast.Location{ - Line: int(1516), - Column: int(32), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "objectHas", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(5), - }, - End: ast.Location{ - Line: int(1519), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectHasEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16537, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(5), - }, - End: ast.Location{ - Line: int(1519), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16541, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(21), - }, - End: ast.Location{ - Line: int(1519), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16541, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(24), - }, - End: ast.Location{ - Line: int(1519), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16541, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(27), - }, - End: ast.Location{ - Line: int(1519), - Column: int(32), - }, - }, - }, - Value: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16537, - FreeVars: ast.Identifiers{ - "f", - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1519), - Column: int(5), - }, - End: ast.Location{ - Line: int(1519), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1518), - Column: int(13), - }, - End: ast.Location{ - Line: int(1518), - Column: int(14), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "f", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1518), - Column: int(16), - }, - End: ast.Location{ - Line: int(1518), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1518), - Column: int(3), - }, - End: ast.Location{ - Line: int(1519), - Column: int(33), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "objectHasAll", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1522), - Column: int(5), - }, - End: ast.Location{ - Line: int(1522), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectHasEx", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16557, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1522), - Column: int(5), - }, - End: ast.Location{ - Line: int(1522), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16561, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1522), - Column: int(21), - }, - End: ast.Location{ - Line: int(1522), - Column: int(22), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16561, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1522), - Column: int(24), - }, - End: ast.Location{ - Line: int(1522), - Column: int(25), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16561, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1522), - Column: int(27), - }, - End: ast.Location{ - Line: int(1522), - Column: int(31), - }, - }, - }, - Value: true, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16557, - FreeVars: ast.Identifiers{ - "f", - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1522), - Column: int(5), - }, - End: ast.Location{ - Line: int(1522), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(16), - }, - End: ast.Location{ - Line: int(1521), - Column: int(17), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "f", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(19), - }, - End: ast.Location{ - Line: int(1521), - Column: int(20), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1521), - Column: int(3), - }, - End: ast.Location{ - Line: int(1522), - Column: int(32), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "objectValues", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16583, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(6), - }, - End: ast.Location{ - Line: int(1525), - Column: int(7), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16583, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(8), - }, - End: ast.Location{ - Line: int(1525), - Column: int(9), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16583, - FreeVars: ast.Identifiers{ - "k", - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(6), - }, - End: ast.Location{ - Line: int(1525), - Column: int(10), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "o", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(20), - }, - End: ast.Location{ - Line: int(1525), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16596, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(20), - }, - End: ast.Location{ - Line: int(1525), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16600, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(37), - }, - End: ast.Location{ - Line: int(1525), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16596, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(20), - }, - End: ast.Location{ - Line: int(1525), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1525), - Column: int(5), - }, - End: ast.Location{ - Line: int(1525), - Column: int(40), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1524), - Column: int(16), - }, - End: ast.Location{ - Line: int(1524), - Column: int(17), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1524), - Column: int(3), - }, - End: ast.Location{ - Line: int(1525), - Column: int(40), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "objectValuesAll", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16620, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1528), - Column: int(6), - }, - End: ast.Location{ - Line: int(1528), - Column: int(7), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "k", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16620, - FreeVars: ast.Identifiers{ - "k", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1528), - Column: int(8), - }, - End: ast.Location{ - Line: int(1528), - Column: int(9), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16620, - FreeVars: ast.Identifiers{ - "k", - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1528), - Column: int(6), - }, - End: ast.Location{ - Line: int(1528), - Column: int(10), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "k", - "o", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "k", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1528), - Column: int(20), - }, - End: ast.Location{ - Line: int(1528), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFieldsAll", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16633, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1528), - Column: int(20), - }, - End: ast.Location{ - Line: int(1528), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "o", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16637, - FreeVars: ast.Identifiers{ - "o", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1528), - Column: int(40), - }, - End: ast.Location{ - Line: int(1528), - Column: int(41), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16633, - FreeVars: ast.Identifiers{ - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1528), - Column: int(20), - }, - End: ast.Location{ - Line: int(1528), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "o", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1528), - Column: int(5), - }, - End: ast.Location{ - Line: int(1528), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "o", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1527), - Column: int(19), - }, - End: ast.Location{ - Line: int(1527), - Column: int(20), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1527), - Column: int(3), - }, - End: ast.Location{ - Line: int(1528), - Column: int(43), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "equals", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1531), - Column: int(16), - }, - End: ast.Location{ - Line: int(1531), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16652, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1531), - Column: int(16), - }, - End: ast.Location{ - Line: int(1531), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16656, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1531), - Column: int(25), - }, - End: ast.Location{ - Line: int(1531), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16652, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1531), - Column: int(16), - }, - End: ast.Location{ - Line: int(1531), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "ta", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1531), - Column: int(11), - }, - End: ast.Location{ - Line: int(1531), - Column: int(27), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(16), - }, - End: ast.Location{ - Line: int(1532), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16666, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(16), - }, - End: ast.Location{ - Line: int(1532), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16670, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(25), - }, - End: ast.Location{ - Line: int(1532), - Column: int(26), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16666, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(16), - }, - End: ast.Location{ - Line: int(1532), - Column: int(27), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "tb", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(11), - }, - End: ast.Location{ - Line: int(1532), - Column: int(27), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1533), - Column: int(9), - }, - End: ast.Location{ - Line: int(1533), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "primitiveEquals", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1533), - Column: int(9), - }, - End: ast.Location{ - Line: int(1533), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ta", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16684, - FreeVars: ast.Identifiers{ - "ta", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1533), - Column: int(29), - }, - End: ast.Location{ - Line: int(1533), - Column: int(31), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "tb", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16684, - FreeVars: ast.Identifiers{ - "tb", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1533), - Column: int(33), - }, - End: ast.Location{ - Line: int(1533), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - "ta", - "tb", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1533), - Column: int(9), - }, - End: ast.Location{ - Line: int(1533), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - "ta", - "tb", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1533), - Column: int(8), - }, - End: ast.Location{ - Line: int(1533), - Column: int(36), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1534), - Column: int(7), - }, - End: ast.Location{ - Line: int(1534), - Column: int(12), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(10), - }, - End: ast.Location{ - Line: int(1536), - Column: int(13), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "primitiveEquals", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(10), - }, - End: ast.Location{ - Line: int(1536), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ta", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16701, - FreeVars: ast.Identifiers{ - "ta", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(30), - }, - End: ast.Location{ - Line: int(1536), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "array", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16701, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(34), - }, - End: ast.Location{ - Line: int(1536), - Column: int(41), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - "ta", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(10), - }, - End: ast.Location{ - Line: int(1536), - Column: int(42), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(20), - }, - End: ast.Location{ - Line: int(1537), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16712, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(20), - }, - End: ast.Location{ - Line: int(1537), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16716, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(31), - }, - End: ast.Location{ - Line: int(1537), - Column: int(32), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16712, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(20), - }, - End: ast.Location{ - Line: int(1537), - Column: int(33), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "la", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(15), - }, - End: ast.Location{ - Line: int(1537), - Column: int(33), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(13), - }, - End: ast.Location{ - Line: int(1538), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "primitiveEquals", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(13), - }, - End: ast.Location{ - Line: int(1538), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "la", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16729, - FreeVars: ast.Identifiers{ - "la", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(33), - }, - End: ast.Location{ - Line: int(1538), - Column: int(35), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(37), - }, - End: ast.Location{ - Line: int(1538), - Column: int(40), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16729, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(37), - }, - End: ast.Location{ - Line: int(1538), - Column: int(47), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16739, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(48), - }, - End: ast.Location{ - Line: int(1538), - Column: int(49), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16729, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(37), - }, - End: ast.Location{ - Line: int(1538), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "b", - "la", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(13), - }, - End: ast.Location{ - Line: int(1538), - Column: int(51), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "b", - "la", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(12), - }, - End: ast.Location{ - Line: int(1538), - Column: int(51), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1539), - Column: int(11), - }, - End: ast.Location{ - Line: int(1539), - Column: int(16), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "la", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "la", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1542), - Column: int(21), - }, - End: ast.Location{ - Line: int(1542), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1542), - Column: int(16), - }, - End: ast.Location{ - Line: int(1542), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "i", - "la", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1542), - Column: int(16), - }, - End: ast.Location{ - Line: int(1542), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p16752, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1543), - Column: int(15), - }, - End: ast.Location{ - Line: int(1543), - Column: int(19), - }, - }, - }, - Value: true, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(29), - }, - End: ast.Location{ - Line: int(1544), - Column: int(30), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(31), - }, - End: ast.Location{ - Line: int(1544), - Column: int(32), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "b", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(29), - }, - End: ast.Location{ - Line: int(1544), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(21), - }, - End: ast.Location{ - Line: int(1544), - Column: int(22), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(23), - }, - End: ast.Location{ - Line: int(1544), - Column: int(24), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "a", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(21), - }, - End: ast.Location{ - Line: int(1544), - Column: int(25), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "a", - "b", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(21), - }, - End: ast.Location{ - Line: int(1544), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p16752, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1545), - Column: int(15), - }, - End: ast.Location{ - Line: int(1545), - Column: int(20), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1547), - Column: int(15), - }, - End: ast.Location{ - Line: int(1547), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16782, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1547), - Column: int(19), - }, - End: ast.Location{ - Line: int(1547), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16782, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1547), - Column: int(22), - }, - End: ast.Location{ - Line: int(1547), - Column: int(23), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16782, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1547), - Column: int(29), - }, - End: ast.Location{ - Line: int(1547), - Column: int(30), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16782, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1547), - Column: int(25), - }, - End: ast.Location{ - Line: int(1547), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16782, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1547), - Column: int(25), - }, - End: ast.Location{ - Line: int(1547), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1547), - Column: int(15), - }, - End: ast.Location{ - Line: int(1547), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1544), - Column: int(18), - }, - End: ast.Location{ - Line: int(1547), - Column: int(31), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p16752, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - "la", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1542), - Column: int(13), - }, - End: ast.Location{ - Line: int(1547), - Column: int(31), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1541), - Column: int(21), - }, - End: ast.Location{ - Line: int(1541), - Column: int(22), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1541), - Column: int(24), - }, - End: ast.Location{ - Line: int(1541), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1541), - Column: int(27), - }, - End: ast.Location{ - Line: int(1541), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p16798, - FreeVars: ast.Identifiers{ - "aux", - "la", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1541), - Column: int(17), - }, - End: ast.Location{ - Line: int(1547), - Column: int(31), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1548), - Column: int(11), - }, - End: ast.Location{ - Line: int(1548), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16806, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1548), - Column: int(15), - }, - End: ast.Location{ - Line: int(1548), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16806, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1548), - Column: int(18), - }, - End: ast.Location{ - Line: int(1548), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16806, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1548), - Column: int(21), - }, - End: ast.Location{ - Line: int(1548), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1548), - Column: int(11), - }, - End: ast.Location{ - Line: int(1548), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "la", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1541), - Column: int(11), - }, - End: ast.Location{ - Line: int(1548), - Column: int(23), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "la", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1538), - Column: int(9), - }, - End: ast.Location{ - Line: int(1548), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1537), - Column: int(9), - }, - End: ast.Location{ - Line: int(1548), - Column: int(23), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(15), - }, - End: ast.Location{ - Line: int(1549), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "primitiveEquals", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(15), - }, - End: ast.Location{ - Line: int(1549), - Column: int(34), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "ta", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16828, - FreeVars: ast.Identifiers{ - "ta", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(35), - }, - End: ast.Location{ - Line: int(1549), - Column: int(37), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "object", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16828, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(39), - }, - End: ast.Location{ - Line: int(1549), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - "ta", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(15), - }, - End: ast.Location{ - Line: int(1549), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(24), - }, - End: ast.Location{ - Line: int(1550), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16839, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(24), - }, - End: ast.Location{ - Line: int(1550), - Column: int(40), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16843, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(41), - }, - End: ast.Location{ - Line: int(1550), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16839, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(24), - }, - End: ast.Location{ - Line: int(1550), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "fields", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(15), - }, - End: ast.Location{ - Line: int(1550), - Column: int(43), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1551), - Column: int(25), - }, - End: ast.Location{ - Line: int(1551), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16853, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1551), - Column: int(25), - }, - End: ast.Location{ - Line: int(1551), - Column: int(35), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "fields", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16857, - FreeVars: ast.Identifiers{ - "fields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1551), - Column: int(36), - }, - End: ast.Location{ - Line: int(1551), - Column: int(42), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16853, - FreeVars: ast.Identifiers{ - "fields", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1551), - Column: int(25), - }, - End: ast.Location{ - Line: int(1551), - Column: int(43), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "lfields", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1551), - Column: int(15), - }, - End: ast.Location{ - Line: int(1551), - Column: int(43), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(22), - }, - End: ast.Location{ - Line: int(1552), - Column: int(25), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(22), - }, - End: ast.Location{ - Line: int(1552), - Column: int(38), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16870, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(39), - }, - End: ast.Location{ - Line: int(1552), - Column: int(40), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(22), - }, - End: ast.Location{ - Line: int(1552), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.Var{ - Id: "fields", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "fields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(12), - }, - End: ast.Location{ - Line: int(1552), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "b", - "fields", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(12), - }, - End: ast.Location{ - Line: int(1552), - Column: int(41), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1553), - Column: int(11), - }, - End: ast.Location{ - Line: int(1553), - Column: int(16), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "lfields", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "lfields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1556), - Column: int(21), - }, - End: ast.Location{ - Line: int(1556), - Column: int(28), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1556), - Column: int(16), - }, - End: ast.Location{ - Line: int(1556), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "i", - "lfields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1556), - Column: int(16), - }, - End: ast.Location{ - Line: int(1556), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p16884, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1557), - Column: int(15), - }, - End: ast.Location{ - Line: int(1557), - Column: int(19), - }, - }, - }, - Value: true, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "fields", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16896, - FreeVars: ast.Identifiers{ - "fields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(31), - }, - End: ast.Location{ - Line: int(1558), - Column: int(37), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16896, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(38), - }, - End: ast.Location{ - Line: int(1558), - Column: int(39), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16896, - FreeVars: ast.Identifiers{ - "fields", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(31), - }, - End: ast.Location{ - Line: int(1558), - Column: int(40), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "f", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(27), - }, - End: ast.Location{ - Line: int(1558), - Column: int(40), - }, - }, - }, - }, - Body: &ast.Binary{ - Right: &ast.Index{ - Target: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(50), - }, - End: ast.Location{ - Line: int(1558), - Column: int(51), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(52), - }, - End: ast.Location{ - Line: int(1558), - Column: int(53), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "b", - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(50), - }, - End: ast.Location{ - Line: int(1558), - Column: int(54), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(42), - }, - End: ast.Location{ - Line: int(1558), - Column: int(43), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(44), - }, - End: ast.Location{ - Line: int(1558), - Column: int(45), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "a", - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(42), - }, - End: ast.Location{ - Line: int(1558), - Column: int(46), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "a", - "b", - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(42), - }, - End: ast.Location{ - Line: int(1558), - Column: int(54), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(21), - }, - End: ast.Location{ - Line: int(1558), - Column: int(54), - }, - }, - }, - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p16884, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1559), - Column: int(15), - }, - End: ast.Location{ - Line: int(1559), - Column: int(20), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(14), - }, - }, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(15), - }, - End: ast.Location{ - Line: int(1561), - Column: int(18), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16924, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(19), - }, - End: ast.Location{ - Line: int(1561), - Column: int(20), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16924, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(22), - }, - End: ast.Location{ - Line: int(1561), - Column: int(23), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16924, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(29), - }, - End: ast.Location{ - Line: int(1561), - Column: int(30), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16924, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(25), - }, - End: ast.Location{ - Line: int(1561), - Column: int(26), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16924, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(25), - }, - End: ast.Location{ - Line: int(1561), - Column: int(30), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1561), - Column: int(15), - }, - End: ast.Location{ - Line: int(1561), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "fields", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1558), - Column: int(18), - }, - End: ast.Location{ - Line: int(1561), - Column: int(31), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(12), - }, - }, - Ctx: p16884, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - "fields", - "i", - "lfields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1556), - Column: int(13), - }, - End: ast.Location{ - Line: int(1561), - Column: int(31), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1555), - Column: int(21), - }, - End: ast.Location{ - Line: int(1555), - Column: int(22), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1555), - Column: int(24), - }, - End: ast.Location{ - Line: int(1555), - Column: int(25), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1555), - Column: int(27), - }, - End: ast.Location{ - Line: int(1555), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p16940, - FreeVars: ast.Identifiers{ - "aux", - "fields", - "lfields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1555), - Column: int(17), - }, - End: ast.Location{ - Line: int(1561), - Column: int(31), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1562), - Column: int(11), - }, - End: ast.Location{ - Line: int(1562), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16948, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1562), - Column: int(15), - }, - End: ast.Location{ - Line: int(1562), - Column: int(16), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16948, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1562), - Column: int(18), - }, - End: ast.Location{ - Line: int(1562), - Column: int(19), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16948, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1562), - Column: int(21), - }, - End: ast.Location{ - Line: int(1562), - Column: int(22), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "aux", - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1562), - Column: int(11), - }, - End: ast.Location{ - Line: int(1562), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "lfields", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1555), - Column: int(11), - }, - End: ast.Location{ - Line: int(1562), - Column: int(23), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "lfields", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1552), - Column: int(9), - }, - End: ast.Location{ - Line: int(1562), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "fields", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1551), - Column: int(9), - }, - End: ast.Location{ - Line: int(1562), - Column: int(23), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1550), - Column: int(9), - }, - End: ast.Location{ - Line: int(1562), - Column: int(23), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(9), - }, - End: ast.Location{ - Line: int(1564), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "primitiveEquals", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(9), - }, - End: ast.Location{ - Line: int(1564), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16972, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(29), - }, - End: ast.Location{ - Line: int(1564), - Column: int(30), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16972, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(32), - }, - End: ast.Location{ - Line: int(1564), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1564), - Column: int(9), - }, - End: ast.Location{ - Line: int(1564), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1549), - Column: int(12), - }, - End: ast.Location{ - Line: int(1564), - Column: int(34), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1536), - Column: int(7), - }, - End: ast.Location{ - Line: int(1564), - Column: int(34), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", - "tb", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1533), - Column: int(5), - }, - End: ast.Location{ - Line: int(1564), - Column: int(34), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - "ta", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1532), - Column: int(5), - }, - End: ast.Location{ - Line: int(1564), - Column: int(34), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p16680, - FreeVars: ast.Identifiers{ - "a", - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1531), - Column: int(5), - }, - End: ast.Location{ - Line: int(1564), - Column: int(34), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1530), - Column: int(10), - }, - End: ast.Location{ - Line: int(1530), - Column: int(11), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1530), - Column: int(13), - }, - End: ast.Location{ - Line: int(1530), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1530), - Column: int(3), - }, - End: ast.Location{ - Line: int(1564), - Column: int(34), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "resolvePath", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1568), - Column: int(17), - }, - End: ast.Location{ - Line: int(1568), - Column: int(20), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "split", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17000, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1568), - Column: int(17), - }, - End: ast.Location{ - Line: int(1568), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "f", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17004, - FreeVars: ast.Identifiers{ - "f", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1568), - Column: int(27), - }, - End: ast.Location{ - Line: int(1568), - Column: int(28), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "/", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17004, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1568), - Column: int(30), - }, - End: ast.Location{ - Line: int(1568), - Column: int(33), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17000, - FreeVars: ast.Identifiers{ - "f", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1568), - Column: int(17), - }, - End: ast.Location{ - Line: int(1568), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "arr", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1568), - Column: int(11), - }, - End: ast.Location{ - Line: int(1568), - Column: int(34), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(5), - }, - End: ast.Location{ - Line: int(1569), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "join", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17014, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(5), - }, - End: ast.Location{ - Line: int(1569), - Column: int(13), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "/", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17018, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(14), - }, - End: ast.Location{ - Line: int(1569), - Column: int(17), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "r", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17023, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(77), - }, - End: ast.Location{ - Line: int(1569), - Column: int(78), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17018, - FreeVars: ast.Identifiers{ - "r", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(76), - }, - End: ast.Location{ - Line: int(1569), - Column: int(79), - }, - }, - }, - TrailingComma: false, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(19), - }, - End: ast.Location{ - Line: int(1569), - Column: int(22), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "makeArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17018, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(19), - }, - End: ast.Location{ - Line: int(1569), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17035, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(51), - }, - End: ast.Location{ - Line: int(1569), - Column: int(52), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(33), - }, - End: ast.Location{ - Line: int(1569), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17035, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(33), - }, - End: ast.Location{ - Line: int(1569), - Column: int(43), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17044, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(44), - }, - End: ast.Location{ - Line: int(1569), - Column: int(47), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17035, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(33), - }, - End: ast.Location{ - Line: int(1569), - Column: int(48), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17035, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(33), - }, - End: ast.Location{ - Line: int(1569), - Column: int(52), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17051, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(66), - }, - End: ast.Location{ - Line: int(1569), - Column: int(69), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17051, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(70), - }, - End: ast.Location{ - Line: int(1569), - Column: int(71), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17051, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(66), - }, - End: ast.Location{ - Line: int(1569), - Column: int(72), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(63), - }, - End: ast.Location{ - Line: int(1569), - Column: int(64), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17035, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(54), - }, - End: ast.Location{ - Line: int(1569), - Column: int(72), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17018, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(19), - }, - End: ast.Location{ - Line: int(1569), - Column: int(73), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17018, - FreeVars: ast.Identifiers{ - "arr", - "r", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(19), - }, - End: ast.Location{ - Line: int(1569), - Column: int(79), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17014, - FreeVars: ast.Identifiers{ - "arr", - "r", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1569), - Column: int(5), - }, - End: ast.Location{ - Line: int(1569), - Column: int(80), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17014, - FreeVars: ast.Identifiers{ - "f", - "r", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1568), - Column: int(5), - }, - End: ast.Location{ - Line: int(1569), - Column: int(80), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "f", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1567), - Column: int(15), - }, - End: ast.Location{ - Line: int(1567), - Column: int(16), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "r", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1567), - Column: int(18), - }, - End: ast.Location{ - Line: int(1567), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1567), - Column: int(3), - }, - End: ast.Location{ - Line: int(1569), - Column: int(80), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "prune", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1573), - Column: int(15), - }, - End: ast.Location{ - Line: int(1573), - Column: int(19), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1573), - Column: int(10), - }, - End: ast.Location{ - Line: int(1573), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1573), - Column: int(10), - }, - End: ast.Location{ - Line: int(1573), - Column: int(19), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p17073, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1574), - Column: int(9), - }, - End: ast.Location{ - Line: int(1574), - Column: int(14), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1575), - Column: int(15), - }, - End: ast.Location{ - Line: int(1575), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1575), - Column: int(15), - }, - End: ast.Location{ - Line: int(1575), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17088, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1575), - Column: int(27), - }, - End: ast.Location{ - Line: int(1575), - Column: int(28), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1575), - Column: int(15), - }, - End: ast.Location{ - Line: int(1575), - Column: int(29), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1576), - Column: int(25), - }, - End: ast.Location{ - Line: int(1576), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1576), - Column: int(9), - }, - End: ast.Location{ - Line: int(1576), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1576), - Column: int(9), - }, - End: ast.Location{ - Line: int(1576), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17102, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1576), - Column: int(20), - }, - End: ast.Location{ - Line: int(1576), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1576), - Column: int(9), - }, - End: ast.Location{ - Line: int(1576), - Column: int(22), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1576), - Column: int(9), - }, - End: ast.Location{ - Line: int(1576), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1577), - Column: int(15), - }, - End: ast.Location{ - Line: int(1577), - Column: int(18), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1577), - Column: int(15), - }, - End: ast.Location{ - Line: int(1577), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17115, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1577), - Column: int(28), - }, - End: ast.Location{ - Line: int(1577), - Column: int(29), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1577), - Column: int(15), - }, - End: ast.Location{ - Line: int(1577), - Column: int(30), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1578), - Column: int(25), - }, - End: ast.Location{ - Line: int(1578), - Column: int(26), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1578), - Column: int(9), - }, - End: ast.Location{ - Line: int(1578), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1578), - Column: int(9), - }, - End: ast.Location{ - Line: int(1578), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "b", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17129, - FreeVars: ast.Identifiers{ - "b", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1578), - Column: int(20), - }, - End: ast.Location{ - Line: int(1578), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1578), - Column: int(9), - }, - End: ast.Location{ - Line: int(1578), - Column: int(22), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1578), - Column: int(9), - }, - End: ast.Location{ - Line: int(1578), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchFalse: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p17073, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1580), - Column: int(9), - }, - End: ast.Location{ - Line: int(1580), - Column: int(13), - }, - }, - }, - Value: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1577), - Column: int(12), - }, - End: ast.Location{ - Line: int(1580), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1575), - Column: int(12), - }, - End: ast.Location{ - Line: int(1580), - Column: int(13), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17073, - FreeVars: ast.Identifiers{ - "b", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1573), - Column: int(7), - }, - End: ast.Location{ - Line: int(1580), - Column: int(13), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "b", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(21), - }, - End: ast.Location{ - Line: int(1572), - Column: int(22), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p17143, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(11), - }, - End: ast.Location{ - Line: int(1580), - Column: int(13), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "isContent", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(8), - }, - End: ast.Location{ - Line: int(1581), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(8), - }, - End: ast.Location{ - Line: int(1581), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17155, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(20), - }, - End: ast.Location{ - Line: int(1581), - Column: int(21), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(8), - }, - End: ast.Location{ - Line: int(1581), - Column: int(22), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Var{ - Id: "isContent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "isContent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(35), - }, - End: ast.Location{ - Line: int(1582), - Column: int(44), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(45), - }, - End: ast.Location{ - Line: int(1582), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "prune", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17176, - FreeVars: ast.Identifiers{ - "$", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(45), - }, - End: ast.Location{ - Line: int(1582), - Column: int(52), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17180, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(53), - }, - End: ast.Location{ - Line: int(1582), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17176, - FreeVars: ast.Identifiers{ - "$", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(45), - }, - End: ast.Location{ - Line: int(1582), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "$", - "isContent", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(35), - }, - End: ast.Location{ - Line: int(1582), - Column: int(56), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(8), - }, - End: ast.Location{ - Line: int(1582), - Column: int(11), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "prune", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17191, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(8), - }, - End: ast.Location{ - Line: int(1582), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17195, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(18), - }, - End: ast.Location{ - Line: int(1582), - Column: int(19), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17191, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(8), - }, - End: ast.Location{ - Line: int(1582), - Column: int(20), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - Elements: nil, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "isContent", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "x", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "isContent", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(30), - }, - End: ast.Location{ - Line: int(1582), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "isContent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1582), - Column: int(7), - }, - End: ast.Location{ - Line: int(1582), - Column: int(57), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1583), - Column: int(13), - }, - End: ast.Location{ - Line: int(1583), - Column: int(16), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isObject", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1583), - Column: int(13), - }, - End: ast.Location{ - Line: int(1583), - Column: int(25), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17215, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1583), - Column: int(26), - }, - End: ast.Location{ - Line: int(1583), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1583), - Column: int(13), - }, - End: ast.Location{ - Line: int(1583), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "$objectFlatMerge", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Var{ - Id: "isContent", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "isContent", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(10), - }, - End: ast.Location{ - Line: int(1586), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(20), - }, - End: ast.Location{ - Line: int(1586), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "prune", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17243, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(20), - }, - End: ast.Location{ - Line: int(1586), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17248, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(30), - }, - End: ast.Location{ - Line: int(1586), - Column: int(31), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17248, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(32), - }, - End: ast.Location{ - Line: int(1586), - Column: int(33), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17248, - FreeVars: ast.Identifiers{ - "a", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(30), - }, - End: ast.Location{ - Line: int(1586), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17243, - FreeVars: ast.Identifiers{ - "a", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(20), - }, - End: ast.Location{ - Line: int(1586), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "a", - "isContent", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1586), - Column: int(10), - }, - End: ast.Location{ - Line: int(1586), - Column: int(36), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(8), - }, - End: ast.Location{ - Line: int(1584), - Column: int(9), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(12), - }, - End: ast.Location{ - Line: int(1584), - Column: int(13), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "prune", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17266, - FreeVars: ast.Identifiers{ - "$", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(12), - }, - End: ast.Location{ - Line: int(1584), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17271, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(20), - }, - End: ast.Location{ - Line: int(1584), - Column: int(21), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17271, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(22), - }, - End: ast.Location{ - Line: int(1584), - Column: int(23), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17271, - FreeVars: ast.Identifiers{ - "a", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(20), - }, - End: ast.Location{ - Line: int(1584), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17266, - FreeVars: ast.Identifiers{ - "$", - "a", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(12), - }, - End: ast.Location{ - Line: int(1584), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1584), - Column: int(7), - }, - End: ast.Location{ - Line: int(1584), - Column: int(25), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "$", - "a", - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1583), - Column: int(34), - }, - End: ast.Location{ - Line: int(1587), - Column: int(6), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "x", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Array{ - Elements: nil, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", - "std", - "x", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "x", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "a", - "isContent", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1585), - Column: int(16), - }, - End: ast.Location{ - Line: int(1585), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "objectFields", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1585), - Column: int(16), - }, - End: ast.Location{ - Line: int(1585), - Column: int(32), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17291, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1585), - Column: int(33), - }, - End: ast.Location{ - Line: int(1585), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1585), - Column: int(16), - }, - End: ast.Location{ - Line: int(1585), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "isContent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1583), - Column: int(34), - }, - End: ast.Location{ - Line: int(1587), - Column: int(6), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "isContent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1583), - Column: int(34), - }, - End: ast.Location{ - Line: int(1587), - Column: int(6), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Var{ - Id: "a", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "a", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1588), - Column: int(7), - }, - End: ast.Location{ - Line: int(1588), - Column: int(8), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "isContent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1583), - Column: int(10), - }, - End: ast.Location{ - Line: int(1588), - Column: int(8), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "isContent", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1581), - Column: int(5), - }, - End: ast.Location{ - Line: int(1588), - Column: int(8), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17151, - FreeVars: ast.Identifiers{ - "$", - "$std", - "a", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1572), - Column: int(5), - }, - End: ast.Location{ - Line: int(1588), - Column: int(8), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "a", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(9), - }, - End: ast.Location{ - Line: int(1571), - Column: int(10), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$", - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1571), - Column: int(3), - }, - End: ast.Location{ - Line: int(1588), - Column: int(8), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "findSubstr", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1591), - Column: int(9), - }, - End: ast.Location{ - Line: int(1591), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1591), - Column: int(9), - }, - End: ast.Location{ - Line: int(1591), - Column: int(21), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "pat", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17320, - FreeVars: ast.Identifiers{ - "pat", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1591), - Column: int(22), - }, - End: ast.Location{ - Line: int(1591), - Column: int(25), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1591), - Column: int(9), - }, - End: ast.Location{ - Line: int(1591), - Column: int(26), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1591), - Column: int(8), - }, - End: ast.Location{ - Line: int(1591), - Column: int(26), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(69), - }, - End: ast.Location{ - Line: int(1592), - Column: int(72), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(69), - }, - End: ast.Location{ - Line: int(1592), - Column: int(77), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "pat", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17334, - FreeVars: ast.Identifiers{ - "pat", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(78), - }, - End: ast.Location{ - Line: int(1592), - Column: int(81), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(69), - }, - End: ast.Location{ - Line: int(1592), - Column: int(82), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "findSubstr first parameter should be a string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(13), - }, - End: ast.Location{ - Line: int(1592), - Column: int(66), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(13), - }, - End: ast.Location{ - Line: int(1592), - Column: int(82), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1592), - Column: int(7), - }, - End: ast.Location{ - Line: int(1592), - Column: int(82), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(14), - }, - End: ast.Location{ - Line: int(1593), - Column: int(17), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isString", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(14), - }, - End: ast.Location{ - Line: int(1593), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17351, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(27), - }, - End: ast.Location{ - Line: int(1593), - Column: int(30), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(14), - }, - End: ast.Location{ - Line: int(1593), - Column: int(31), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(13), - }, - End: ast.Location{ - Line: int(1593), - Column: int(31), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1594), - Column: int(70), - }, - End: ast.Location{ - Line: int(1594), - Column: int(73), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1594), - Column: int(70), - }, - End: ast.Location{ - Line: int(1594), - Column: int(78), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17365, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1594), - Column: int(79), - }, - End: ast.Location{ - Line: int(1594), - Column: int(82), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1594), - Column: int(70), - }, - End: ast.Location{ - Line: int(1594), - Column: int(83), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "findSubstr second parameter should be a string, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1594), - Column: int(13), - }, - End: ast.Location{ - Line: int(1594), - Column: int(67), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1594), - Column: int(13), - }, - End: ast.Location{ - Line: int(1594), - Column: int(83), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1594), - Column: int(7), - }, - End: ast.Location{ - Line: int(1594), - Column: int(83), - }, - }, - }, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1596), - Column: int(23), - }, - End: ast.Location{ - Line: int(1596), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17379, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1596), - Column: int(23), - }, - End: ast.Location{ - Line: int(1596), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "pat", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17383, - FreeVars: ast.Identifiers{ - "pat", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1596), - Column: int(34), - }, - End: ast.Location{ - Line: int(1596), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17379, - FreeVars: ast.Identifiers{ - "pat", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1596), - Column: int(23), - }, - End: ast.Location{ - Line: int(1596), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "pat_len", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1596), - Column: int(13), - }, - End: ast.Location{ - Line: int(1596), - Column: int(38), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1597), - Column: int(23), - }, - End: ast.Location{ - Line: int(1597), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17393, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1597), - Column: int(23), - }, - End: ast.Location{ - Line: int(1597), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17397, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1597), - Column: int(34), - }, - End: ast.Location{ - Line: int(1597), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17393, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1597), - Column: int(23), - }, - End: ast.Location{ - Line: int(1597), - Column: int(38), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "str_len", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1597), - Column: int(13), - }, - End: ast.Location{ - Line: int(1597), - Column: int(38), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Var{ - Id: "str_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(52), - }, - End: ast.Location{ - Line: int(1598), - Column: int(59), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "pat_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(42), - }, - End: ast.Location{ - Line: int(1598), - Column: int(49), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat_len", - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(42), - }, - End: ast.Location{ - Line: int(1598), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(37), - }, - End: ast.Location{ - Line: int(1598), - Column: int(38), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "str_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(26), - }, - End: ast.Location{ - Line: int(1598), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(26), - }, - End: ast.Location{ - Line: int(1598), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(21), - }, - End: ast.Location{ - Line: int(1598), - Column: int(22), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "pat_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(10), - }, - End: ast.Location{ - Line: int(1598), - Column: int(17), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(10), - }, - End: ast.Location{ - Line: int(1598), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat_len", - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(10), - }, - End: ast.Location{ - Line: int(1598), - Column: int(38), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "pat_len", - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(10), - }, - End: ast.Location{ - Line: int(1598), - Column: int(59), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.Array{ - Elements: nil, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p17316, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1599), - Column: int(9), - }, - End: ast.Location{ - Line: int(1599), - Column: int(11), - }, - }, - }, - TrailingComma: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(9), - }, - End: ast.Location{ - Line: int(1601), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "filter", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(9), - }, - End: ast.Location{ - Line: int(1601), - Column: int(19), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "pat", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17434, - FreeVars: ast.Identifiers{ - "pat", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(54), - }, - End: ast.Location{ - Line: int(1601), - Column: int(57), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "slice", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17434, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(32), - }, - End: ast.Location{ - Line: int(1601), - Column: int(35), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17434, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(36), - }, - End: ast.Location{ - Line: int(1601), - Column: int(37), - }, - }, - }, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "pat_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17434, - FreeVars: ast.Identifiers{ - "pat_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(42), - }, - End: ast.Location{ - Line: int(1601), - Column: int(49), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17434, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(38), - }, - End: ast.Location{ - Line: int(1601), - Column: int(39), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17434, - FreeVars: ast.Identifiers{ - "i", - "pat_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(38), - }, - End: ast.Location{ - Line: int(1601), - Column: int(49), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNull{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "i", - "pat_len", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(32), - }, - End: ast.Location{ - Line: int(1601), - Column: int(50), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17434, - FreeVars: ast.Identifiers{ - "$std", - "i", - "pat", - "pat_len", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(32), - }, - End: ast.Location{ - Line: int(1601), - Column: int(57), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(29), - }, - End: ast.Location{ - Line: int(1601), - Column: int(30), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17457, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "pat_len", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(20), - }, - End: ast.Location{ - Line: int(1601), - Column: int(57), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(59), - }, - End: ast.Location{ - Line: int(1601), - Column: int(62), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "range", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17457, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(59), - }, - End: ast.Location{ - Line: int(1601), - Column: int(68), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17467, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(69), - }, - End: ast.Location{ - Line: int(1601), - Column: int(70), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "pat_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17467, - FreeVars: ast.Identifiers{ - "pat_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(82), - }, - End: ast.Location{ - Line: int(1601), - Column: int(89), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "str_len", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17467, - FreeVars: ast.Identifiers{ - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(72), - }, - End: ast.Location{ - Line: int(1601), - Column: int(79), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17467, - FreeVars: ast.Identifiers{ - "pat_len", - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(72), - }, - End: ast.Location{ - Line: int(1601), - Column: int(89), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17457, - FreeVars: ast.Identifiers{ - "pat_len", - "std", - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(59), - }, - End: ast.Location{ - Line: int(1601), - Column: int(90), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "pat_len", - "std", - "str", - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1601), - Column: int(9), - }, - End: ast.Location{ - Line: int(1601), - Column: int(91), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "pat_len", - "std", - "str", - "str_len", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1598), - Column: int(7), - }, - End: ast.Location{ - Line: int(1601), - Column: int(91), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "pat_len", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1597), - Column: int(7), - }, - End: ast.Location{ - Line: int(1601), - Column: int(91), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1596), - Column: int(7), - }, - End: ast.Location{ - Line: int(1601), - Column: int(91), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1593), - Column: int(10), - }, - End: ast.Location{ - Line: int(1601), - Column: int(91), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17316, - FreeVars: ast.Identifiers{ - "$std", - "pat", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1591), - Column: int(5), - }, - End: ast.Location{ - Line: int(1601), - Column: int(91), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "pat", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1590), - Column: int(14), - }, - End: ast.Location{ - Line: int(1590), - Column: int(17), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1590), - Column: int(19), - }, - End: ast.Location{ - Line: int(1590), - Column: int(22), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1590), - Column: int(3), - }, - End: ast.Location{ - Line: int(1601), - Column: int(91), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "find", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(9), - }, - End: ast.Location{ - Line: int(1604), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(9), - }, - End: ast.Location{ - Line: int(1604), - Column: int(20), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17503, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(21), - }, - End: ast.Location{ - Line: int(1604), - Column: int(24), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(9), - }, - End: ast.Location{ - Line: int(1604), - Column: int(25), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(8), - }, - End: ast.Location{ - Line: int(1604), - Column: int(25), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(64), - }, - End: ast.Location{ - Line: int(1605), - Column: int(67), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(64), - }, - End: ast.Location{ - Line: int(1605), - Column: int(72), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17517, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(73), - }, - End: ast.Location{ - Line: int(1605), - Column: int(76), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(64), - }, - End: ast.Location{ - Line: int(1605), - Column: int(77), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "find second parameter should be an array, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17499, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(13), - }, - End: ast.Location{ - Line: int(1605), - Column: int(61), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(13), - }, - End: ast.Location{ - Line: int(1605), - Column: int(77), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1605), - Column: int(7), - }, - End: ast.Location{ - Line: int(1605), - Column: int(77), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(7), - }, - End: ast.Location{ - Line: int(1607), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "filter", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(7), - }, - End: ast.Location{ - Line: int(1607), - Column: int(17), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Var{ - Id: "value", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17535, - FreeVars: ast.Identifiers{ - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(40), - }, - End: ast.Location{ - Line: int(1607), - Column: int(45), - }, - }, - }, - }, - Left: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17535, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(30), - }, - End: ast.Location{ - Line: int(1607), - Column: int(33), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17535, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(34), - }, - End: ast.Location{ - Line: int(1607), - Column: int(35), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17535, - FreeVars: ast.Identifiers{ - "arr", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(30), - }, - End: ast.Location{ - Line: int(1607), - Column: int(36), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17535, - FreeVars: ast.Identifiers{ - "arr", - "i", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(30), - }, - End: ast.Location{ - Line: int(1607), - Column: int(45), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(27), - }, - End: ast.Location{ - Line: int(1607), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17545, - FreeVars: ast.Identifiers{ - "arr", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(18), - }, - End: ast.Location{ - Line: int(1607), - Column: int(45), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(47), - }, - End: ast.Location{ - Line: int(1607), - Column: int(50), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "range", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17545, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(47), - }, - End: ast.Location{ - Line: int(1607), - Column: int(56), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(57), - }, - End: ast.Location{ - Line: int(1607), - Column: int(58), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(78), - }, - End: ast.Location{ - Line: int(1607), - Column: int(79), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(60), - }, - End: ast.Location{ - Line: int(1607), - Column: int(63), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(60), - }, - End: ast.Location{ - Line: int(1607), - Column: int(70), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17566, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(71), - }, - End: ast.Location{ - Line: int(1607), - Column: int(74), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(60), - }, - End: ast.Location{ - Line: int(1607), - Column: int(75), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17555, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(60), - }, - End: ast.Location{ - Line: int(1607), - Column: int(79), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17545, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(47), - }, - End: ast.Location{ - Line: int(1607), - Column: int(80), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "arr", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1607), - Column: int(7), - }, - End: ast.Location{ - Line: int(1607), - Column: int(81), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17499, - FreeVars: ast.Identifiers{ - "arr", - "std", - "value", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1604), - Column: int(5), - }, - End: ast.Location{ - Line: int(1607), - Column: int(81), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "value", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1603), - Column: int(8), - }, - End: ast.Location{ - Line: int(1603), - Column: int(13), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1603), - Column: int(15), - }, - End: ast.Location{ - Line: int(1603), - Column: int(18), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1603), - Column: int(3), - }, - End: ast.Location{ - Line: int(1607), - Column: int(81), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "all", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(12), - }, - End: ast.Location{ - Line: int(1610), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17585, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(12), - }, - End: ast.Location{ - Line: int(1610), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17589, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(24), - }, - End: ast.Location{ - Line: int(1610), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17585, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(12), - }, - End: ast.Location{ - Line: int(1610), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1611), - Column: int(20), - }, - End: ast.Location{ - Line: int(1611), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17599, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1611), - Column: int(20), - }, - End: ast.Location{ - Line: int(1611), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17603, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1611), - Column: int(31), - }, - End: ast.Location{ - Line: int(1611), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17599, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1611), - Column: int(20), - }, - End: ast.Location{ - Line: int(1611), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "arrLen", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1611), - Column: int(11), - }, - End: ast.Location{ - Line: int(1611), - Column: int(35), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "arrLen", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "arrLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(17), - }, - End: ast.Location{ - Line: int(1613), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(10), - }, - End: ast.Location{ - Line: int(1613), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "arrLen", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(10), - }, - End: ast.Location{ - Line: int(1613), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p17612, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1614), - Column: int(9), - }, - End: ast.Location{ - Line: int(1614), - Column: int(13), - }, - }, - }, - Value: true, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17623, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(19), - }, - End: ast.Location{ - Line: int(1616), - Column: int(22), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17623, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(23), - }, - End: ast.Location{ - Line: int(1616), - Column: int(26), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17623, - FreeVars: ast.Identifiers{ - "arr", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(19), - }, - End: ast.Location{ - Line: int(1616), - Column: int(27), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "e", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(15), - }, - End: ast.Location{ - Line: int(1616), - Column: int(27), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(16), - }, - End: ast.Location{ - Line: int(1617), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isBoolean", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(16), - }, - End: ast.Location{ - Line: int(1617), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17637, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(30), - }, - End: ast.Location{ - Line: int(1617), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "e", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(16), - }, - End: ast.Location{ - Line: int(1617), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Unary{ - Expr: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1618), - Column: int(13), - }, - End: ast.Location{ - Line: int(1618), - Column: int(14), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1618), - Column: int(12), - }, - End: ast.Location{ - Line: int(1618), - Column: int(14), - }, - }, - }, - Op: ast.UnaryOp(0), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p17612, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1619), - Column: int(11), - }, - End: ast.Location{ - Line: int(1619), - Column: int(16), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1621), - Column: int(11), - }, - End: ast.Location{ - Line: int(1621), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17654, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1621), - Column: int(21), - }, - End: ast.Location{ - Line: int(1621), - Column: int(22), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17654, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1621), - Column: int(15), - }, - End: ast.Location{ - Line: int(1621), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17654, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1621), - Column: int(15), - }, - End: ast.Location{ - Line: int(1621), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "aux", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1621), - Column: int(11), - }, - End: ast.Location{ - Line: int(1621), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "aux", - "e", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1618), - Column: int(9), - }, - End: ast.Location{ - Line: int(1621), - Column: int(23), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(35), - }, - End: ast.Location{ - Line: int(1617), - Column: int(38), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "format", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(35), - }, - End: ast.Location{ - Line: int(1617), - Column: int(45), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "element \"%s\" of type %s is not a boolean", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17671, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(46), - }, - End: ast.Location{ - Line: int(1617), - Column: int(88), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17671, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(90), - }, - End: ast.Location{ - Line: int(1617), - Column: int(91), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(93), - }, - End: ast.Location{ - Line: int(1617), - Column: int(96), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17671, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(93), - }, - End: ast.Location{ - Line: int(1617), - Column: int(101), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17682, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(102), - }, - End: ast.Location{ - Line: int(1617), - Column: int(103), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17671, - FreeVars: ast.Identifiers{ - "e", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(93), - }, - End: ast.Location{ - Line: int(1617), - Column: int(104), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "e", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(35), - }, - End: ast.Location{ - Line: int(1617), - Column: int(105), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "e", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1617), - Column: int(9), - }, - End: ast.Location{ - Line: int(1621), - Column: int(23), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "e", - "idx", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "idx", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1616), - Column: int(9), - }, - End: ast.Location{ - Line: int(1621), - Column: int(23), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17612, - FreeVars: ast.Identifiers{ - "arr", - "arrLen", - "aux", - "idx", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1613), - Column: int(7), - }, - End: ast.Location{ - Line: int(1621), - Column: int(23), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "idx", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(15), - }, - End: ast.Location{ - Line: int(1612), - Column: int(18), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p17694, - FreeVars: ast.Identifiers{ - "arr", - "arrLen", - "aux", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(11), - }, - End: ast.Location{ - Line: int(1621), - Column: int(23), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17585, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1622), - Column: int(5), - }, - End: ast.Location{ - Line: int(1622), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17702, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1622), - Column: int(9), - }, - End: ast.Location{ - Line: int(1622), - Column: int(10), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17585, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1622), - Column: int(5), - }, - End: ast.Location{ - Line: int(1622), - Column: int(11), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17585, - FreeVars: ast.Identifiers{ - "arr", - "arrLen", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1612), - Column: int(5), - }, - End: ast.Location{ - Line: int(1622), - Column: int(11), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17585, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1611), - Column: int(5), - }, - End: ast.Location{ - Line: int(1622), - Column: int(11), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(76), - }, - End: ast.Location{ - Line: int(1610), - Column: int(79), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17585, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(76), - }, - End: ast.Location{ - Line: int(1610), - Column: int(84), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17718, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(85), - }, - End: ast.Location{ - Line: int(1610), - Column: int(88), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17585, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(76), - }, - End: ast.Location{ - Line: int(1610), - Column: int(89), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "all() parameter should be an array, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17585, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(31), - }, - End: ast.Location{ - Line: int(1610), - Column: int(73), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17585, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(31), - }, - End: ast.Location{ - Line: int(1610), - Column: int(89), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1610), - Column: int(5), - }, - End: ast.Location{ - Line: int(1622), - Column: int(11), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1609), - Column: int(7), - }, - End: ast.Location{ - Line: int(1609), - Column: int(10), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1609), - Column: int(3), - }, - End: ast.Location{ - Line: int(1622), - Column: int(11), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "any", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(12), - }, - End: ast.Location{ - Line: int(1625), - Column: int(15), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isArray", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17735, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(12), - }, - End: ast.Location{ - Line: int(1625), - Column: int(23), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17739, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(24), - }, - End: ast.Location{ - Line: int(1625), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17735, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(12), - }, - End: ast.Location{ - Line: int(1625), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(20), - }, - End: ast.Location{ - Line: int(1626), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17749, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(20), - }, - End: ast.Location{ - Line: int(1626), - Column: int(30), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17753, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(31), - }, - End: ast.Location{ - Line: int(1626), - Column: int(34), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17749, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(20), - }, - End: ast.Location{ - Line: int(1626), - Column: int(35), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "arrLen", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(11), - }, - End: ast.Location{ - Line: int(1626), - Column: int(35), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "arrLen", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "arrLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(17), - }, - End: ast.Location{ - Line: int(1628), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(10), - }, - End: ast.Location{ - Line: int(1628), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "arrLen", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(10), - }, - End: ast.Location{ - Line: int(1628), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p17762, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1629), - Column: int(9), - }, - End: ast.Location{ - Line: int(1629), - Column: int(14), - }, - }, - }, - Value: false, - }, - BranchFalse: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Index{ - Target: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17773, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1631), - Column: int(19), - }, - End: ast.Location{ - Line: int(1631), - Column: int(22), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17773, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1631), - Column: int(23), - }, - End: ast.Location{ - Line: int(1631), - Column: int(26), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17773, - FreeVars: ast.Identifiers{ - "arr", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1631), - Column: int(19), - }, - End: ast.Location{ - Line: int(1631), - Column: int(27), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "e", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1631), - Column: int(15), - }, - End: ast.Location{ - Line: int(1631), - Column: int(27), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(16), - }, - End: ast.Location{ - Line: int(1632), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "isBoolean", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(16), - }, - End: ast.Location{ - Line: int(1632), - Column: int(29), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17787, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(30), - }, - End: ast.Location{ - Line: int(1632), - Column: int(31), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "e", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(16), - }, - End: ast.Location{ - Line: int(1632), - Column: int(32), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchTrue: &ast.Conditional{ - Cond: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1633), - Column: int(12), - }, - End: ast.Location{ - Line: int(1633), - Column: int(13), - }, - }, - }, - }, - BranchTrue: &ast.LiteralBoolean{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p17762, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1634), - Column: int(11), - }, - End: ast.Location{ - Line: int(1634), - Column: int(15), - }, - }, - }, - Value: true, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1636), - Column: int(11), - }, - End: ast.Location{ - Line: int(1636), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17802, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1636), - Column: int(21), - }, - End: ast.Location{ - Line: int(1636), - Column: int(22), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "idx", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17802, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1636), - Column: int(15), - }, - End: ast.Location{ - Line: int(1636), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17802, - FreeVars: ast.Identifiers{ - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1636), - Column: int(15), - }, - End: ast.Location{ - Line: int(1636), - Column: int(22), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "aux", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1636), - Column: int(11), - }, - End: ast.Location{ - Line: int(1636), - Column: int(23), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "aux", - "e", - "idx", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1633), - Column: int(9), - }, - End: ast.Location{ - Line: int(1636), - Column: int(23), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(35), - }, - End: ast.Location{ - Line: int(1632), - Column: int(38), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "format", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(35), - }, - End: ast.Location{ - Line: int(1632), - Column: int(45), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "element \"%s\" of type %s is not a boolean", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17819, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(46), - }, - End: ast.Location{ - Line: int(1632), - Column: int(88), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17819, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(90), - }, - End: ast.Location{ - Line: int(1632), - Column: int(91), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(93), - }, - End: ast.Location{ - Line: int(1632), - Column: int(96), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17819, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(93), - }, - End: ast.Location{ - Line: int(1632), - Column: int(101), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "e", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17830, - FreeVars: ast.Identifiers{ - "e", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(102), - }, - End: ast.Location{ - Line: int(1632), - Column: int(103), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17819, - FreeVars: ast.Identifiers{ - "e", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(93), - }, - End: ast.Location{ - Line: int(1632), - Column: int(104), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "e", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(35), - }, - End: ast.Location{ - Line: int(1632), - Column: int(105), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "e", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1632), - Column: int(9), - }, - End: ast.Location{ - Line: int(1636), - Column: int(23), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "aux", - "e", - "idx", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "arr", - "aux", - "idx", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1631), - Column: int(9), - }, - End: ast.Location{ - Line: int(1636), - Column: int(23), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17762, - FreeVars: ast.Identifiers{ - "arr", - "arrLen", - "aux", - "idx", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1628), - Column: int(7), - }, - End: ast.Location{ - Line: int(1636), - Column: int(23), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "idx", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(15), - }, - End: ast.Location{ - Line: int(1627), - Column: int(18), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p17842, - FreeVars: ast.Identifiers{ - "arr", - "arrLen", - "aux", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(11), - }, - End: ast.Location{ - Line: int(1636), - Column: int(23), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17735, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1637), - Column: int(5), - }, - End: ast.Location{ - Line: int(1637), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17850, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1637), - Column: int(9), - }, - End: ast.Location{ - Line: int(1637), - Column: int(10), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17735, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1637), - Column: int(5), - }, - End: ast.Location{ - Line: int(1637), - Column: int(11), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17735, - FreeVars: ast.Identifiers{ - "arr", - "arrLen", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1627), - Column: int(5), - }, - End: ast.Location{ - Line: int(1637), - Column: int(11), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17735, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1626), - Column: int(5), - }, - End: ast.Location{ - Line: int(1637), - Column: int(11), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(76), - }, - End: ast.Location{ - Line: int(1625), - Column: int(79), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17735, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(76), - }, - End: ast.Location{ - Line: int(1625), - Column: int(84), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17866, - FreeVars: ast.Identifiers{ - "arr", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(85), - }, - End: ast.Location{ - Line: int(1625), - Column: int(88), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17735, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(76), - }, - End: ast.Location{ - Line: int(1625), - Column: int(89), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - Left: &ast.LiteralString{ - Value: "any() parameter should be an array, got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17735, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(31), - }, - End: ast.Location{ - Line: int(1625), - Column: int(73), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17735, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(31), - }, - End: ast.Location{ - Line: int(1625), - Column: int(89), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1625), - Column: int(5), - }, - End: ast.Location{ - Line: int(1637), - Column: int(11), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "arr", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1624), - Column: int(7), - }, - End: ast.Location{ - Line: int(1624), - Column: int(10), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1624), - Column: int(3), - }, - End: ast.Location{ - Line: int(1637), - Column: int(11), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "__compare", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(16), - }, - End: ast.Location{ - Line: int(1642), - Column: int(19), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17884, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(16), - }, - End: ast.Location{ - Line: int(1642), - Column: int(24), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17888, - FreeVars: ast.Identifiers{ - "v1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(25), - }, - End: ast.Location{ - Line: int(1642), - Column: int(27), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17884, - FreeVars: ast.Identifiers{ - "std", - "v1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(16), - }, - End: ast.Location{ - Line: int(1642), - Column: int(28), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "t1", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(11), - }, - End: ast.Location{ - Line: int(1642), - Column: int(28), - }, - }, - }, - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(35), - }, - End: ast.Location{ - Line: int(1642), - Column: int(38), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "type", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17896, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(35), - }, - End: ast.Location{ - Line: int(1642), - Column: int(43), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17900, - FreeVars: ast.Identifiers{ - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(44), - }, - End: ast.Location{ - Line: int(1642), - Column: int(46), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17896, - FreeVars: ast.Identifiers{ - "std", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(35), - }, - End: ast.Location{ - Line: int(1642), - Column: int(47), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "t2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(30), - }, - End: ast.Location{ - Line: int(1642), - Column: int(47), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "t2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1643), - Column: int(14), - }, - End: ast.Location{ - Line: int(1643), - Column: int(16), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "t1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1643), - Column: int(8), - }, - End: ast.Location{ - Line: int(1643), - Column: int(10), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - "t2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1643), - Column: int(8), - }, - End: ast.Location{ - Line: int(1643), - Column: int(16), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.Var{ - Id: "t2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1644), - Column: int(73), - }, - End: ast.Location{ - Line: int(1644), - Column: int(75), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " and ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1644), - Column: int(63), - }, - End: ast.Location{ - Line: int(1644), - Column: int(70), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "t1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1644), - Column: int(58), - }, - End: ast.Location{ - Line: int(1644), - Column: int(60), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Comparison requires matching types. Got ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1644), - Column: int(13), - }, - End: ast.Location{ - Line: int(1644), - Column: int(55), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1644), - Column: int(13), - }, - End: ast.Location{ - Line: int(1644), - Column: int(60), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1644), - Column: int(13), - }, - End: ast.Location{ - Line: int(1644), - Column: int(70), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - "t2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1644), - Column: int(13), - }, - End: ast.Location{ - Line: int(1644), - Column: int(75), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - "t2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1644), - Column: int(7), - }, - End: ast.Location{ - Line: int(1644), - Column: int(75), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "array", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1645), - Column: int(19), - }, - End: ast.Location{ - Line: int(1645), - Column: int(26), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "t1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1645), - Column: int(13), - }, - End: ast.Location{ - Line: int(1645), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1645), - Column: int(13), - }, - End: ast.Location{ - Line: int(1645), - Column: int(26), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - BranchTrue: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1646), - Column: int(7), - }, - End: ast.Location{ - Line: int(1646), - Column: int(10), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "__compare_array", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1646), - Column: int(7), - }, - End: ast.Location{ - Line: int(1646), - Column: int(26), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17941, - FreeVars: ast.Identifiers{ - "v1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1646), - Column: int(27), - }, - End: ast.Location{ - Line: int(1646), - Column: int(29), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "v2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17941, - FreeVars: ast.Identifiers{ - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1646), - Column: int(31), - }, - End: ast.Location{ - Line: int(1646), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "std", - "v1", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1646), - Column: int(7), - }, - End: ast.Location{ - Line: int(1646), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "boolean", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(57), - }, - End: ast.Location{ - Line: int(1647), - Column: int(66), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "t1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(51), - }, - End: ast.Location{ - Line: int(1647), - Column: int(53), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(51), - }, - End: ast.Location{ - Line: int(1647), - Column: int(66), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "object", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(39), - }, - End: ast.Location{ - Line: int(1647), - Column: int(47), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "t1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(33), - }, - End: ast.Location{ - Line: int(1647), - Column: int(35), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(33), - }, - End: ast.Location{ - Line: int(1647), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Left: &ast.Binary{ - Right: &ast.LiteralString{ - Value: "function", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(19), - }, - End: ast.Location{ - Line: int(1647), - Column: int(29), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Var{ - Id: "t1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(13), - }, - End: ast.Location{ - Line: int(1647), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(13), - }, - End: ast.Location{ - Line: int(1647), - Column: int(29), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(13), - }, - End: ast.Location{ - Line: int(1647), - Column: int(47), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(13), - }, - End: ast.Location{ - Line: int(1647), - Column: int(66), - }, - }, - }, - Op: ast.BinaryOp(18), - }, - BranchTrue: &ast.Error{ - Expr: &ast.Binary{ - Right: &ast.LiteralString{ - Value: " are not comparable.", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1648), - Column: int(38), - }, - End: ast.Location{ - Line: int(1648), - Column: int(60), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "t1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1648), - Column: int(33), - }, - End: ast.Location{ - Line: int(1648), - Column: int(35), - }, - }, - }, - }, - Left: &ast.LiteralString{ - Value: "Values of type ", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1648), - Column: int(13), - }, - End: ast.Location{ - Line: int(1648), - Column: int(30), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1648), - Column: int(13), - }, - End: ast.Location{ - Line: int(1648), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1648), - Column: int(13), - }, - End: ast.Location{ - Line: int(1648), - Column: int(60), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1648), - Column: int(7), - }, - End: ast.Location{ - Line: int(1648), - Column: int(60), - }, - }, - }, - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "v2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1649), - Column: int(18), - }, - End: ast.Location{ - Line: int(1649), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "v1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1649), - Column: int(13), - }, - End: ast.Location{ - Line: int(1649), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "v1", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1649), - Column: int(13), - }, - End: ast.Location{ - Line: int(1649), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1649), - Column: int(27), - }, - End: ast.Location{ - Line: int(1649), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1649), - Column: int(26), - }, - End: ast.Location{ - Line: int(1649), - Column: int(28), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "v2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1650), - Column: int(18), - }, - End: ast.Location{ - Line: int(1650), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "v1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "v1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1650), - Column: int(13), - }, - End: ast.Location{ - Line: int(1650), - Column: int(15), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "v1", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1650), - Column: int(13), - }, - End: ast.Location{ - Line: int(1650), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - BranchTrue: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1650), - Column: int(26), - }, - End: ast.Location{ - Line: int(1650), - Column: int(27), - }, - }, - }, - }, - BranchFalse: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1651), - Column: int(10), - }, - End: ast.Location{ - Line: int(1651), - Column: int(11), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "v1", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1650), - Column: int(10), - }, - End: ast.Location{ - Line: int(1651), - Column: int(11), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "v1", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1649), - Column: int(10), - }, - End: ast.Location{ - Line: int(1651), - Column: int(11), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "t1", - "v1", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1647), - Column: int(10), - }, - End: ast.Location{ - Line: int(1651), - Column: int(11), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "std", - "t1", - "v1", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1645), - Column: int(10), - }, - End: ast.Location{ - Line: int(1651), - Column: int(11), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "std", - "t1", - "t2", - "v1", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1643), - Column: int(5), - }, - End: ast.Location{ - Line: int(1651), - Column: int(11), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p17906, - FreeVars: ast.Identifiers{ - "std", - "v1", - "v2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1642), - Column: int(5), - }, - End: ast.Location{ - Line: int(1651), - Column: int(11), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v1", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1641), - Column: int(13), - }, - End: ast.Location{ - Line: int(1641), - Column: int(15), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "v2", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1641), - Column: int(17), - }, - End: ast.Location{ - Line: int(1641), - Column: int(19), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1641), - Column: int(3), - }, - End: ast.Location{ - Line: int(1651), - Column: int(11), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "__compare_array", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(18), - }, - End: ast.Location{ - Line: int(1654), - Column: int(21), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18019, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(18), - }, - End: ast.Location{ - Line: int(1654), - Column: int(28), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18023, - FreeVars: ast.Identifiers{ - "arr1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(29), - }, - End: ast.Location{ - Line: int(1654), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18019, - FreeVars: ast.Identifiers{ - "arr1", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(18), - }, - End: ast.Location{ - Line: int(1654), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "len1", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(11), - }, - End: ast.Location{ - Line: int(1654), - Column: int(34), - }, - }, - }, - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(43), - }, - End: ast.Location{ - Line: int(1654), - Column: int(46), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "length", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18031, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(43), - }, - End: ast.Location{ - Line: int(1654), - Column: int(53), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18035, - FreeVars: ast.Identifiers{ - "arr2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(54), - }, - End: ast.Location{ - Line: int(1654), - Column: int(58), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18031, - FreeVars: ast.Identifiers{ - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(43), - }, - End: ast.Location{ - Line: int(1654), - Column: int(59), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "len2", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(36), - }, - End: ast.Location{ - Line: int(1654), - Column: int(59), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1655), - Column: int(20), - }, - End: ast.Location{ - Line: int(1655), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "min", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18045, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1655), - Column: int(20), - }, - End: ast.Location{ - Line: int(1655), - Column: int(27), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "len1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18049, - FreeVars: ast.Identifiers{ - "len1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1655), - Column: int(28), - }, - End: ast.Location{ - Line: int(1655), - Column: int(32), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "len2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18049, - FreeVars: ast.Identifiers{ - "len2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1655), - Column: int(34), - }, - End: ast.Location{ - Line: int(1655), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18045, - FreeVars: ast.Identifiers{ - "len1", - "len2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1655), - Column: int(20), - }, - End: ast.Location{ - Line: int(1655), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "minLen", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1655), - Column: int(11), - }, - End: ast.Location{ - Line: int(1655), - Column: int(39), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "minLen", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "minLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1657), - Column: int(14), - }, - End: ast.Location{ - Line: int(1657), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1657), - Column: int(10), - }, - End: ast.Location{ - Line: int(1657), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "i", - "minLen", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1657), - Column: int(10), - }, - End: ast.Location{ - Line: int(1657), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(24), - }, - End: ast.Location{ - Line: int(1658), - Column: int(27), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "__compare", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18072, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(24), - }, - End: ast.Location{ - Line: int(1658), - Column: int(37), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18077, - FreeVars: ast.Identifiers{ - "arr1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(38), - }, - End: ast.Location{ - Line: int(1658), - Column: int(42), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18077, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(43), - }, - End: ast.Location{ - Line: int(1658), - Column: int(44), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18077, - FreeVars: ast.Identifiers{ - "arr1", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(38), - }, - End: ast.Location{ - Line: int(1658), - Column: int(45), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Index{ - Target: &ast.Var{ - Id: "arr2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18077, - FreeVars: ast.Identifiers{ - "arr2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(47), - }, - End: ast.Location{ - Line: int(1658), - Column: int(51), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18077, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(52), - }, - End: ast.Location{ - Line: int(1658), - Column: int(53), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18077, - FreeVars: ast.Identifiers{ - "arr2", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(47), - }, - End: ast.Location{ - Line: int(1658), - Column: int(54), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18072, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(24), - }, - End: ast.Location{ - Line: int(1658), - Column: int(55), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "cmpRes", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(15), - }, - End: ast.Location{ - Line: int(1658), - Column: int(55), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18060, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1659), - Column: int(22), - }, - End: ast.Location{ - Line: int(1659), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "cmpRes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "cmpRes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1659), - Column: int(12), - }, - End: ast.Location{ - Line: int(1659), - Column: int(18), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "cmpRes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1659), - Column: int(12), - }, - End: ast.Location{ - Line: int(1659), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(13), - }, - BranchTrue: &ast.Var{ - Id: "cmpRes", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "cmpRes", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1660), - Column: int(11), - }, - End: ast.Location{ - Line: int(1660), - Column: int(17), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(10), - }, - }, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1662), - Column: int(11), - }, - End: ast.Location{ - Line: int(1662), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18105, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1662), - Column: int(19), - }, - End: ast.Location{ - Line: int(1662), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18105, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1662), - Column: int(15), - }, - End: ast.Location{ - Line: int(1662), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18105, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1662), - Column: int(15), - }, - End: ast.Location{ - Line: int(1662), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "aux", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1662), - Column: int(11), - }, - End: ast.Location{ - Line: int(1662), - Column: int(21), - }, - }, - }, - TrailingComma: false, - TailStrict: true, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "aux", - "cmpRes", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1659), - Column: int(9), - }, - End: ast.Location{ - Line: int(1662), - Column: int(21), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "aux", - "i", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1658), - Column: int(9), - }, - End: ast.Location{ - Line: int(1662), - Column: int(21), - }, - }, - }, - }, - BranchFalse: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1664), - Column: int(9), - }, - End: ast.Location{ - Line: int(1664), - Column: int(12), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "__compare", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1664), - Column: int(9), - }, - End: ast.Location{ - Line: int(1664), - Column: int(22), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "len1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18124, - FreeVars: ast.Identifiers{ - "len1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1664), - Column: int(23), - }, - End: ast.Location{ - Line: int(1664), - Column: int(27), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "len2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18124, - FreeVars: ast.Identifiers{ - "len2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1664), - Column: int(29), - }, - End: ast.Location{ - Line: int(1664), - Column: int(33), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "len1", - "len2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1664), - Column: int(9), - }, - End: ast.Location{ - Line: int(1664), - Column: int(34), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p18060, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "aux", - "i", - "len1", - "len2", - "minLen", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1657), - Column: int(7), - }, - End: ast.Location{ - Line: int(1664), - Column: int(34), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1656), - Column: int(15), - }, - End: ast.Location{ - Line: int(1656), - Column: int(16), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p18133, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "aux", - "len1", - "len2", - "minLen", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1656), - Column: int(11), - }, - End: ast.Location{ - Line: int(1664), - Column: int(34), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "aux", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Var{ - Id: "aux", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p18138, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1665), - Column: int(5), - }, - End: ast.Location{ - Line: int(1665), - Column: int(8), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18142, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1665), - Column: int(9), - }, - End: ast.Location{ - Line: int(1665), - Column: int(10), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18138, - FreeVars: ast.Identifiers{ - "aux", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1665), - Column: int(5), - }, - End: ast.Location{ - Line: int(1665), - Column: int(11), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p18138, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "len1", - "len2", - "minLen", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1656), - Column: int(5), - }, - End: ast.Location{ - Line: int(1665), - Column: int(11), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p18138, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "len1", - "len2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1655), - Column: int(5), - }, - End: ast.Location{ - Line: int(1665), - Column: int(11), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p18138, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1654), - Column: int(5), - }, - End: ast.Location{ - Line: int(1665), - Column: int(11), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr1", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1653), - Column: int(19), - }, - End: ast.Location{ - Line: int(1653), - Column: int(23), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr2", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1653), - Column: int(25), - }, - End: ast.Location{ - Line: int(1653), - Column: int(29), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1653), - Column: int(3), - }, - End: ast.Location{ - Line: int(1665), - Column: int(11), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "__array_less", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.Unary{ - Expr: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18157, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(66), - }, - End: ast.Location{ - Line: int(1667), - Column: int(67), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18157, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(65), - }, - End: ast.Location{ - Line: int(1667), - Column: int(67), - }, - }, - }, - Op: ast.UnaryOp(3), - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(30), - }, - End: ast.Location{ - Line: int(1667), - Column: int(33), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "__compare_array", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18157, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(30), - }, - End: ast.Location{ - Line: int(1667), - Column: int(49), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18166, - FreeVars: ast.Identifiers{ - "arr1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(50), - }, - End: ast.Location{ - Line: int(1667), - Column: int(54), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18166, - FreeVars: ast.Identifiers{ - "arr2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(56), - }, - End: ast.Location{ - Line: int(1667), - Column: int(60), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18157, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(30), - }, - End: ast.Location{ - Line: int(1667), - Column: int(61), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18157, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(30), - }, - End: ast.Location{ - Line: int(1667), - Column: int(67), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr1", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(16), - }, - End: ast.Location{ - Line: int(1667), - Column: int(20), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr2", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(22), - }, - End: ast.Location{ - Line: int(1667), - Column: int(26), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1667), - Column: int(3), - }, - End: ast.Location{ - Line: int(1667), - Column: int(67), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "__array_greater", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18178, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(68), - }, - End: ast.Location{ - Line: int(1668), - Column: int(69), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(33), - }, - End: ast.Location{ - Line: int(1668), - Column: int(36), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "__compare_array", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18178, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(33), - }, - End: ast.Location{ - Line: int(1668), - Column: int(52), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18187, - FreeVars: ast.Identifiers{ - "arr1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(53), - }, - End: ast.Location{ - Line: int(1668), - Column: int(57), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18187, - FreeVars: ast.Identifiers{ - "arr2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(59), - }, - End: ast.Location{ - Line: int(1668), - Column: int(63), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18178, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(33), - }, - End: ast.Location{ - Line: int(1668), - Column: int(64), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18178, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(33), - }, - End: ast.Location{ - Line: int(1668), - Column: int(69), - }, - }, - }, - Op: ast.BinaryOp(12), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr1", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(19), - }, - End: ast.Location{ - Line: int(1668), - Column: int(23), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr2", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(25), - }, - End: ast.Location{ - Line: int(1668), - Column: int(29), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1668), - Column: int(3), - }, - End: ast.Location{ - Line: int(1668), - Column: int(69), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "__array_less_or_equal", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18199, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(74), - }, - End: ast.Location{ - Line: int(1669), - Column: int(75), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(39), - }, - End: ast.Location{ - Line: int(1669), - Column: int(42), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "__compare_array", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18199, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(39), - }, - End: ast.Location{ - Line: int(1669), - Column: int(58), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18208, - FreeVars: ast.Identifiers{ - "arr1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(59), - }, - End: ast.Location{ - Line: int(1669), - Column: int(63), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18208, - FreeVars: ast.Identifiers{ - "arr2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(65), - }, - End: ast.Location{ - Line: int(1669), - Column: int(69), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18199, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(39), - }, - End: ast.Location{ - Line: int(1669), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18199, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(39), - }, - End: ast.Location{ - Line: int(1669), - Column: int(75), - }, - }, - }, - Op: ast.BinaryOp(10), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr1", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(25), - }, - End: ast.Location{ - Line: int(1669), - Column: int(29), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr2", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(31), - }, - End: ast.Location{ - Line: int(1669), - Column: int(35), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1669), - Column: int(3), - }, - End: ast.Location{ - Line: int(1669), - Column: int(75), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - ast.DesugaredObjectField{ - Name: &ast.LiteralString{ - Value: "__array_greater_or_equal", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18220, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(77), - }, - End: ast.Location{ - Line: int(1670), - Column: int(78), - }, - }, - }, - }, - Left: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(42), - }, - End: ast.Location{ - Line: int(1670), - Column: int(45), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "__compare_array", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18220, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(42), - }, - End: ast.Location{ - Line: int(1670), - Column: int(61), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr1", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18229, - FreeVars: ast.Identifiers{ - "arr1", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(62), - }, - End: ast.Location{ - Line: int(1670), - Column: int(66), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "arr2", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18229, - FreeVars: ast.Identifiers{ - "arr2", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(68), - }, - End: ast.Location{ - Line: int(1670), - Column: int(72), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18220, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(42), - }, - End: ast.Location{ - Line: int(1670), - Column: int(73), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18220, - FreeVars: ast.Identifiers{ - "arr1", - "arr2", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(42), - }, - End: ast.Location{ - Line: int(1670), - Column: int(78), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr1", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(28), - }, - End: ast.Location{ - Line: int(1670), - Column: int(32), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "arr2", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(34), - }, - End: ast.Location{ - Line: int(1670), - Column: int(38), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p23, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1670), - Column: int(3), - }, - End: ast.Location{ - Line: int(1670), - Column: int(78), - }, - }, - Hide: ast.ObjectFieldHide(0), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Self{ - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18239, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(25), - Column: int(15), - }, - End: ast.Location{ - Line: int(25), - Column: int(19), - }, - }, - }, - }, - EqFodder: nil, - Variable: "std", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(25), - Column: int(9), - }, - End: ast.Location{ - Line: int(25), - Column: int(19), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Var{ - Id: "x", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18242, - FreeVars: ast.Identifiers{ - "x", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(26), - Column: int(26), - }, - End: ast.Location{ - Line: int(26), - Column: int(27), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "x", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(26), - Column: int(23), - }, - End: ast.Location{ - Line: int(26), - Column: int(24), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18245, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(26), - Column: int(14), - }, - End: ast.Location{ - Line: int(26), - Column: int(27), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "id", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(26), - Column: int(9), - }, - End: ast.Location{ - Line: int(26), - Column: int(27), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "16", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18251, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(32), - }, - End: ast.Location{ - Line: int(77), - Column: int(34), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "base", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18253, - FreeVars: ast.Identifiers{ - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(24), - }, - End: ast.Location{ - Line: int(77), - Column: int(28), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18255, - FreeVars: ast.Identifiers{ - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(24), - }, - End: ast.Location{ - Line: int(77), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(10), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18259, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(19), - }, - End: ast.Location{ - Line: int(77), - Column: int(20), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "base", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18261, - FreeVars: ast.Identifiers{ - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(12), - }, - End: ast.Location{ - Line: int(77), - Column: int(16), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18263, - FreeVars: ast.Identifiers{ - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(12), - }, - End: ast.Location{ - Line: int(77), - Column: int(20), - }, - }, - }, - Op: ast.BinaryOp(7), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18265, - FreeVars: ast.Identifiers{ - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(12), - }, - End: ast.Location{ - Line: int(77), - Column: int(34), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(23), - }, - End: ast.Location{ - Line: int(79), - Column: int(26), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "codepoint", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18274, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(23), - }, - End: ast.Location{ - Line: int(79), - Column: int(36), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "0", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18278, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(37), - }, - End: ast.Location{ - Line: int(79), - Column: int(40), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: []ast.NamedArgument{}, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18279, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(23), - }, - End: ast.Location{ - Line: int(79), - Column: int(41), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "zero_code", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(11), - }, - End: ast.Location{ - Line: int(79), - Column: int(41), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(80), - Column: int(26), - }, - End: ast.Location{ - Line: int(80), - Column: int(29), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "codepoint", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18288, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(80), - Column: int(26), - }, - End: ast.Location{ - Line: int(80), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "A", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18292, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(80), - Column: int(40), - }, - End: ast.Location{ - Line: int(80), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: []ast.NamedArgument{}, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18293, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(80), - Column: int(26), - }, - End: ast.Location{ - Line: int(80), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "upper_a_code", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(80), - Column: int(11), - }, - End: ast.Location{ - Line: int(80), - Column: int(44), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(26), - }, - End: ast.Location{ - Line: int(81), - Column: int(29), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "codepoint", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18302, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(26), - }, - End: ast.Location{ - Line: int(81), - Column: int(39), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "a", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18306, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(40), - }, - End: ast.Location{ - Line: int(81), - Column: int(43), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - }, - Named: []ast.NamedArgument{}, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18307, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(26), - }, - End: ast.Location{ - Line: int(81), - Column: int(44), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "lower_a_code", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(11), - }, - End: ast.Location{ - Line: int(81), - Column: int(44), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Function{ - ParenLeftFodder: ast.Fodder{}, - ParenRightFodder: ast.Fodder{}, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(20), - }, - End: ast.Location{ - Line: int(83), - Column: int(23), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "codepoint", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18319, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(20), - }, - End: ast.Location{ - Line: int(83), - Column: int(33), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "char", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18323, - FreeVars: ast.Identifiers{ - "char", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(34), - }, - End: ast.Location{ - Line: int(83), - Column: int(38), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: []ast.NamedArgument{}, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18325, - FreeVars: ast.Identifiers{ - "char", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(20), - }, - End: ast.Location{ - Line: int(83), - Column: int(39), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: ast.Fodder{}, - Variable: "code", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(13), - }, - End: ast.Location{ - Line: int(83), - Column: int(39), - }, - }, - }, - }, - Body: &ast.Local{ - Binds: ast.LocalBinds{ - ast.LocalBind{ - VarFodder: ast.Fodder{}, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "lower_a_code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18332, - FreeVars: ast.Identifiers{ - "lower_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(32), - }, - End: ast.Location{ - Line: int(84), - Column: int(44), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18335, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(24), - }, - End: ast.Location{ - Line: int(84), - Column: int(28), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18337, - FreeVars: ast.Identifiers{ - "code", - "lower_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(24), - }, - End: ast.Location{ - Line: int(84), - Column: int(44), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18341, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(31), - }, - End: ast.Location{ - Line: int(85), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "lower_a_code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18344, - FreeVars: ast.Identifiers{ - "lower_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(16), - }, - End: ast.Location{ - Line: int(85), - Column: int(28), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p18348, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(9), - }, - End: ast.Location{ - Line: int(85), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18350, - FreeVars: ast.Identifiers{ - "code", - "lower_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(9), - }, - End: ast.Location{ - Line: int(85), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18352, - FreeVars: ast.Identifiers{ - "code", - "lower_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(85), - Column: int(9), - }, - End: ast.Location{ - Line: int(85), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Var{ - Id: "upper_a_code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18357, - FreeVars: ast.Identifiers{ - "upper_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(23), - }, - End: ast.Location{ - Line: int(86), - Column: int(35), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18360, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(15), - }, - End: ast.Location{ - Line: int(86), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18362, - FreeVars: ast.Identifiers{ - "code", - "upper_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(15), - }, - End: ast.Location{ - Line: int(86), - Column: int(35), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - BranchTrue: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "10", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18366, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(31), - }, - End: ast.Location{ - Line: int(87), - Column: int(33), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "upper_a_code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18369, - FreeVars: ast.Identifiers{ - "upper_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(16), - }, - End: ast.Location{ - Line: int(87), - Column: int(28), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p18373, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(9), - }, - End: ast.Location{ - Line: int(87), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18375, - FreeVars: ast.Identifiers{ - "code", - "upper_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(9), - }, - End: ast.Location{ - Line: int(87), - Column: int(28), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18377, - FreeVars: ast.Identifiers{ - "code", - "upper_a_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(87), - Column: int(9), - }, - End: ast.Location{ - Line: int(87), - Column: int(33), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Binary{ - Right: &ast.Var{ - Id: "zero_code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18381, - FreeVars: ast.Identifiers{ - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(89), - Column: int(16), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "code", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(8), - }, - }, - Ctx: p18385, - FreeVars: ast.Identifiers{ - "code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(89), - Column: int(9), - }, - End: ast.Location{ - Line: int(89), - Column: int(13), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18387, - FreeVars: ast.Identifiers{ - "code", - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(89), - Column: int(9), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - }, - }, - Op: ast.BinaryOp(4), - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18390, - FreeVars: ast.Identifiers{ - "code", - "upper_a_code", - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(86), - Column: int(12), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - }, - }, - }, - ThenFodder: ast.Fodder{}, - ElseFodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18393, - FreeVars: ast.Identifiers{ - "code", - "lower_a_code", - "upper_a_code", - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(21), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - }, - }, - }, - EqFodder: ast.Fodder{}, - Variable: "digit", - CloseFodder: ast.Fodder{}, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(13), - }, - End: ast.Location{ - Line: int(89), - Column: int(25), - }, - }, - }, - }, - Body: &ast.Conditional{ - Cond: &ast.Binary{ - Right: &ast.Binary{ - Right: &ast.Var{ - Id: "base", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18399, - FreeVars: ast.Identifiers{ - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(36), - }, - End: ast.Location{ - Line: int(90), - Column: int(40), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "digit", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18402, - FreeVars: ast.Identifiers{ - "digit", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(28), - }, - End: ast.Location{ - Line: int(90), - Column: int(33), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18404, - FreeVars: ast.Identifiers{ - "base", - "digit", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(28), - }, - End: ast.Location{ - Line: int(90), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(9), - }, - Left: &ast.Binary{ - Right: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18408, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(23), - }, - End: ast.Location{ - Line: int(90), - Column: int(24), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "digit", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18410, - FreeVars: ast.Identifiers{ - "digit", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(14), - }, - End: ast.Location{ - Line: int(90), - Column: int(19), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18412, - FreeVars: ast.Identifiers{ - "digit", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(14), - }, - End: ast.Location{ - Line: int(90), - Column: int(24), - }, - }, - }, - Op: ast.BinaryOp(8), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18414, - FreeVars: ast.Identifiers{ - "base", - "digit", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(14), - }, - End: ast.Location{ - Line: int(90), - Column: int(40), - }, - }, - }, - Op: ast.BinaryOp(17), - }, - BranchTrue: &ast.Binary{ - Right: &ast.Var{ - Id: "digit", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18418, - FreeVars: ast.Identifiers{ - "digit", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(26), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - }, - }, - }, - Left: &ast.Binary{ - Right: &ast.Var{ - Id: "aggregate", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18422, - FreeVars: ast.Identifiers{ - "aggregate", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(14), - }, - End: ast.Location{ - Line: int(91), - Column: int(23), - }, - }, - }, - }, - Left: &ast.Var{ - Id: "base", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p18426, - FreeVars: ast.Identifiers{ - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(11), - }, - }, - }, - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18428, - FreeVars: ast.Identifiers{ - "aggregate", - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(23), - }, - }, - }, - Op: ast.BinaryOp(0), - }, - OpFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18430, - FreeVars: ast.Identifiers{ - "aggregate", - "base", - "digit", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(91), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - }, - }, - Op: ast.BinaryOp(3), - }, - BranchFalse: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "%s is not a base %d integer", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18441, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(43), - }, - End: ast.Location{ - Line: int(90), - Column: int(72), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18445, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(76), - }, - End: ast.Location{ - Line: int(90), - Column: int(79), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "base", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18448, - FreeVars: ast.Identifiers{ - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(81), - }, - End: ast.Location{ - Line: int(90), - Column: int(85), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: ast.Fodder{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18450, - FreeVars: ast.Identifiers{ - "base", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(75), - }, - End: ast.Location{ - Line: int(90), - Column: int(86), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(43), - }, - End: ast.Location{ - Line: int(90), - Column: int(86), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(90), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "aggregate", - "base", - "digit", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p18456, - FreeVars: ast.Identifiers{ - "$std", - "aggregate", - "base", - "code", - "lower_a_code", - "str", - "upper_a_code", - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(84), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(6), - }, - }, - Ctx: p18459, - FreeVars: ast.Identifiers{ - "$std", - "aggregate", - "base", - "char", - "lower_a_code", - "std", - "str", - "upper_a_code", - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(83), - Column: int(7), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "aggregate", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(82), - Column: int(20), - }, - End: ast.Location{ - Line: int(82), - Column: int(29), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "char", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(82), - Column: int(31), - }, - End: ast.Location{ - Line: int(82), - Column: int(35), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p18462, - FreeVars: ast.Identifiers{ - "$std", - "base", - "lower_a_code", - "std", - "str", - "upper_a_code", - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(82), - Column: int(11), - }, - End: ast.Location{ - Line: int(91), - Column: int(31), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "addDigit", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(8), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "foldl", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18470, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(14), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "addDigit", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18474, - FreeVars: ast.Identifiers{ - "addDigit", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(15), - }, - End: ast.Location{ - Line: int(92), - Column: int(23), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(25), - }, - End: ast.Location{ - Line: int(92), - Column: int(28), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "stringChars", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18481, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(25), - }, - End: ast.Location{ - Line: int(92), - Column: int(40), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "str", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18485, - FreeVars: ast.Identifiers{ - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(41), - }, - End: ast.Location{ - Line: int(92), - Column: int(44), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: []ast.NamedArgument{}, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18487, - FreeVars: ast.Identifiers{ - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(25), - }, - End: ast.Location{ - Line: int(92), - Column: int(45), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18490, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(47), - }, - End: ast.Location{ - Line: int(92), - Column: int(48), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: []ast.NamedArgument{}, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18491, - FreeVars: ast.Identifiers{ - "addDigit", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(92), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p18494, - FreeVars: ast.Identifiers{ - "$std", - "base", - "lower_a_code", - "std", - "str", - "upper_a_code", - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(82), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p18497, - FreeVars: ast.Identifiers{ - "$std", - "base", - "std", - "str", - "upper_a_code", - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(81), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p18500, - FreeVars: ast.Identifiers{ - "$std", - "base", - "std", - "str", - "zero_code", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(80), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(4), - }, - ast.FodderElement{ - Comment: []string{ - "// These codepoints are in ascending order:", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(4), - }, - }, - Ctx: p18504, - FreeVars: ast.Identifiers{ - "$std", - "base", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(79), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - }, - }, - }, - BranchFalse: &ast.Error{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "mod", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralString{ - Value: "integer base %d invalid", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18515, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(37), - }, - End: ast.Location{ - Line: int(77), - Column: int(62), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Var{ - Id: "base", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18517, - FreeVars: ast.Identifiers{ - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(65), - }, - End: ast.Location{ - Line: int(77), - Column: int(69), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(37), - }, - End: ast.Location{ - Line: int(77), - Column: int(69), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(77), - Column: int(5), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - }, - }, - }, - ThenFodder: nil, - ElseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base", - "std", - "str", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "str", - CommaFodder: ast.Fodder{}, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(76), - Column: int(19), - }, - End: ast.Location{ - Line: int(76), - Column: int(22), - }, - }, - }, - ast.Parameter{ - NameFodder: ast.Fodder{}, - Name: "base", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(76), - Column: int(24), - }, - End: ast.Location{ - Line: int(76), - Column: int(28), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: p18523, - FreeVars: ast.Identifiers{ - "$std", - "std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - EqFodder: nil, - Variable: "parse_nat", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(76), - Column: int(9), - }, - End: ast.Location{ - Line: int(92), - Column: int(49), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.LiteralString{ - Value: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18526, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1307), - Column: int(24), - }, - End: ast.Location{ - Line: int(1307), - Column: int(90), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - EqFodder: nil, - Variable: "base64_table", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1307), - Column: int(9), - }, - End: ast.Location{ - Line: int(1307), - Column: int(90), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "$objectFlatMerge", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "$std", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "flatMap", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: nil, - LeftBracketFodder: nil, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - FodderLeft: nil, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.Function{ - ParenLeftFodder: nil, - ParenRightFodder: nil, - Body: &ast.Array{ - Elements: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.DesugaredObject{ - Asserts: ast.Nodes{}, - Fields: ast.DesugaredObjectFields{ - ast.DesugaredObjectField{ - Name: &ast.Index{ - Target: &ast.Var{ - Id: "base64_table", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18548, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(25), - }, - End: ast.Location{ - Line: int(1308), - Column: int(37), - }, - }, - }, - }, - Index: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18551, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(38), - }, - End: ast.Location{ - Line: int(1308), - Column: int(39), - }, - }, - }, - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18553, - FreeVars: ast.Identifiers{ - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(25), - }, - End: ast.Location{ - Line: int(1308), - Column: int(40), - }, - }, - }, - }, - Body: &ast.Var{ - Id: "i", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18556, - FreeVars: ast.Identifiers{ - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(43), - }, - End: ast.Location{ - Line: int(1308), - Column: int(44), - }, - }, - }, - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(24), - }, - End: ast.Location{ - Line: int(1308), - Column: int(44), - }, - }, - Hide: ast.ObjectFieldHide(1), - PlusSuper: false, - }, - }, - Locals: ast.LocalBinds{}, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18558, - FreeVars: ast.Identifiers{ - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(22), - }, - End: ast.Location{ - Line: int(1308), - Column: int(72), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - CloseFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "base64_table", - "i", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - Parameters: []ast.Parameter{ - ast.Parameter{ - NameFodder: nil, - Name: "i", - CommaFodder: nil, - EqFodder: nil, - DefaultArg: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "base64_table", - }, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - TrailingComma: false, - }, - CommaFodder: nil, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.Apply{ - Target: &ast.Index{ - Target: &ast.Var{ - Id: "std", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: nil, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(54), - }, - End: ast.Location{ - Line: int(1308), - Column: int(57), - }, - }, - }, - }, - Index: &ast.LiteralString{ - Value: "range", - BlockIndent: "", - BlockTermIndent: "", - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - Kind: ast.LiteralStringKind(1), - }, - RightBracketFodder: ast.Fodder{}, - LeftBracketFodder: ast.Fodder{}, - Id: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18568, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(54), - }, - End: ast.Location{ - Line: int(1308), - Column: int(63), - }, - }, - }, - }, - FodderLeft: ast.Fodder{}, - Arguments: ast.Arguments{ - Positional: []ast.CommaSeparatedExpr{ - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "0", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18572, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(64), - }, - End: ast.Location{ - Line: int(1308), - Column: int(65), - }, - }, - }, - }, - CommaFodder: ast.Fodder{}, - }, - ast.CommaSeparatedExpr{ - Expr: &ast.LiteralNumber{ - OriginalString: "63", - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18574, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(67), - }, - End: ast.Location{ - Line: int(1308), - Column: int(69), - }, - }, - }, - }, - CommaFodder: nil, - }, - }, - Named: []ast.NamedArgument{}, - }, - FodderRight: ast.Fodder{}, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{}, - Ctx: p18575, - FreeVars: ast.Identifiers{ - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(54), - }, - End: ast.Location{ - Line: int(1308), - Column: int(70), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base64_table", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(22), - }, - End: ast.Location{ - Line: int(1308), - Column: int(72), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - CommaFodder: nil, - }, - }, - Named: nil, - }, - FodderRight: nil, - TailStrictFodder: nil, - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{ - "$std", - "base64_table", - "std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(22), - }, - End: ast.Location{ - Line: int(1308), - Column: int(72), - }, - }, - }, - TrailingComma: false, - TailStrict: false, - }, - EqFodder: nil, - Variable: "base64_inv", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(1308), - Column: int(9), - }, - End: ast.Location{ - Line: int(1308), - Column: int(72), - }, - }, - }, - ast.LocalBind{ - VarFodder: nil, - Body: &ast.Self{ - NodeBase: ast.NodeBase{ - Fodder: nil, - Ctx: nil, - FreeVars: ast.Identifiers{}, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - EqFodder: nil, - Variable: "$", - CloseFodder: nil, - Fun: nil, - LocRange: ast.LocationRange{ - File: nil, - FileName: "", - Begin: ast.Location{ - Line: int(0), - Column: int(0), - }, - End: ast.Location{ - Line: int(0), - Column: int(0), - }, - }, - }, - }, - NodeBase: ast.NodeBase{ - Fodder: ast.Fodder{ - ast.FodderElement{ - Comment: []string{}, - Kind: ast.FodderKind(0), - Blanks: int(0), - Indent: int(0), - }, - ast.FodderElement{ - Comment: []string{ - "/*", - "Copyright 2015 Google Inc. All rights reserved.", - "", - "Licensed under the Apache License, Version 2.0 (the \"License\");", - "you may not use this file except in compliance with the License.", - "You may obtain a copy of the License at", - "", - " http://www.apache.org/licenses/LICENSE-2.0", - "", - "Unless required by applicable law or agreed to in writing, software", - "distributed under the License is distributed on an \"AS IS\" BASIS,", - "WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.", - "See the License for the specific language governing permissions and", - "limitations under the License.", - "*/", - }, - Kind: ast.FodderKind(2), - Blanks: int(1), - Indent: int(0), - }, - ast.FodderElement{ - Comment: []string{ - "/* This is the Jsonnet standard library, at least the parts of it that are written in Jsonnet.", - " *", - " * There are some native methods as well, which are defined in the interpreter and added to this", - " * file. It is never necessary to import std.jsonnet, it is embedded into the interpreter at", - " * compile-time and automatically imported into all other Jsonnet programs.", - " */", - }, - Kind: ast.FodderKind(2), - Blanks: int(0), - Indent: int(0), - }, - }, - Ctx: p18583, - FreeVars: ast.Identifiers{ - "$std", - }, - LocRange: ast.LocationRange{ - File: p8, - FileName: "", - Begin: ast.Location{ - Line: int(23), - Column: int(1), - }, - End: ast.Location{ - Line: int(1672), - Column: int(2), - }, - }, - }, -} diff --git a/vendor/github.com/google/go-jsonnet/benchmark.sh b/vendor/github.com/google/go-jsonnet/benchmark.sh deleted file mode 100644 index 80b4cd284..000000000 --- a/vendor/github.com/google/go-jsonnet/benchmark.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/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 deleted file mode 100644 index 38552fb91..000000000 --- a/vendor/github.com/google/go-jsonnet/builtins.go +++ /dev/null @@ -1,2193 +0,0 @@ -/* -Copyright 2017 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 jsonnet - -import ( - "bytes" - "crypto/md5" - "encoding/base64" - "encoding/hex" - "encoding/json" - "fmt" - "io" - "math" - "reflect" - "sort" - "strconv" - "strings" - - "github.com/google/go-jsonnet/ast" -) - -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, x) - if err != nil { - return nil, err - } - return concatStrings(left.(valueString), right), nil - - } - switch left := x.(type) { - case *valueNumber: - right, err := i.getNumber(y) - if err != nil { - return nil, err - } - 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 - case *valueObject: - switch right := y.(type) { - case *valueObject: - return makeValueExtendedObject(left, right), nil - default: - return nil, i.typeErrorSpecific(y, &valueObject{}) - } - - case *valueArray: - right, err := i.getArray(y) - if err != nil { - return nil, err - } - return concatArrays(left, right), nil - default: - return nil, i.typeErrorGeneral(x) - } -} - -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) - if err != nil { - return nil, err - } - return makeDoubleCheck(i, x.value-y.value) -} - -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) - if err != nil { - return nil, err - } - return makeDoubleCheck(i, x.value*y.value) -} - -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) - if err != nil { - return nil, err - } - if y.value == 0 { - return nil, i.Error("Division by zero.") - } - return makeDoubleCheck(i, x.value/y.value) -} - -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) - if err != nil { - return nil, err - } - if y.value == 0 { - return nil, i.Error("Division by zero.") - } - return makeDoubleCheck(i, math.Mod(x.value, y.value)) -} - -func valueCmp(i *interpreter, x, y value) (int, error) { - switch left := x.(type) { - case *valueNumber: - right, err := i.getNumber(y) - if err != nil { - return 0, err - } - return float64Cmp(left.value, right.value), nil - case valueString: - right, err := i.getString(y) - if err != nil { - return 0, err - } - 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 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, 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, 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, x, y value) (value, error) { - r, err := valueCmp(i, x, y) - if err != nil { - return nil, err - } - return makeValueBoolean(r >= 0), nil -} - -func builtinLessEq(i *interpreter, x, y value) (value, error) { - r, err := valueCmp(i, x, y) - if err != nil { - return nil, err - } - return makeValueBoolean(r <= 0), nil -} - -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: - num = x.length() - case *valueFunction: - for _, param := range x.parameters() { - if param.defaultArg == nil { - num++ - } - } - default: - return nil, i.typeErrorGeneral(x) - } - return makeValueNumber(float64(num)), nil -} - -func builtinToString(i *interpreter, x value) (value, error) { - switch x := x.(type) { - case valueString: - return x, nil - } - var buf bytes.Buffer - err := i.manifestAndSerializeJSON(&buf, x, false, "") - if err != nil { - return nil, err - } - return makeValueString(buf.String()), nil -} - -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.File.DiagnosticFileName - line := trace.loc.Begin.Line - fmt.Fprintf( - i.traceOut, "TRACE: %s:%d %s\n", filename, line, xStr.getGoString()) - return y, nil -} - -// astMakeArrayElement wraps the function argument of std.makeArray so that -// it can be embedded in cachedThunk without needing to execute it ahead of -// time. It is equivalent to `local i = 42; func(i)`. It therefore has no -// free variables and needs only an empty environment to execute. -type astMakeArrayElement struct { - function *valueFunction - ast.NodeBase - index int -} - -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) - if err != nil { - return nil, err - } - var elems []*cachedThunk - for i := 0; i < sz; i++ { - elem := &cachedThunk{ - env: &environment{}, - body: &astMakeArrayElement{ - NodeBase: ast.NodeBase{}, - function: fun, - index: i, - }, - } - elems = append(elems, elem) - } - return makeValueArray(elems), nil -} - -func builtinFlatMap(i *interpreter, funcv, arrv value) (value, error) { - fun, err := i.getFunction(funcv) - 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...) - } - 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) - } -} - -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) - if err != nil { - return nil, err - } - switch v := elemValue.(type) { - case *valueNull: - continue - case *valueArray: - if !first { - result = append(result, sep.elements...) - } - result = append(result, v.elements...) - default: - return nil, i.typeErrorSpecific(elemValue, &valueArray{}) - } - first = false - - } - return makeValueArray(result), nil -} - -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) - if err != nil { - return nil, err - } - switch v := elemValue.(type) { - case *valueNull: - continue - case valueString: - if !first { - result = append(result, sep.getRunes()...) - } - result = append(result, v.getRunes()...) - default: - return nil, i.typeErrorSpecific(elemValue, emptyString()) - } - first = false - } - return makeStringFromRunes(result), nil -} - -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, sep, arr) - case *valueArray: - return joinArrays(i, sep, arr) - default: - return nil, i.Error("join first parameter should be string or array, got " + sep.getType().name) - } -} - -func builtinFoldl(i *interpreter, funcv, arrv, initv value) (value, error) { - fun, err := i.getFunction(funcv) - if err != nil { - return nil, err - } - var numElements int - var elements []*cachedThunk - switch arrType := arrv.(type) { - case valueString: - for _, item := range arrType.getRunes() { - elements = append(elements, readyThunk(makeStringFromRunes([]rune{item}))) - } - numElements = len(elements) - case *valueArray: - numElements = arrType.length() - elements = arrType.elements - default: - return nil, i.Error("foldl second parameter should be string or array, got " + arrType.getType().name) - } - - accValue := initv - for counter := 0; counter < numElements; counter++ { - accValue, err = fun.call(i, args([]*cachedThunk{readyThunk(accValue), elements[counter]}...)) - if err != nil { - return nil, err - } - } - - return accValue, nil -} - -func builtinFoldr(i *interpreter, funcv, arrv, initv value) (value, error) { - fun, err := i.getFunction(funcv) - if err != nil { - return nil, err - } - var numElements int - var elements []*cachedThunk - switch arrType := arrv.(type) { - case valueString: - for _, item := range arrType.getRunes() { - elements = append(elements, readyThunk(makeStringFromRunes([]rune{item}))) - } - numElements = len(elements) - case *valueArray: - numElements = arrType.length() - elements = arrType.elements - default: - return nil, i.Error("foldr second parameter should be string or array, got " + arrType.getType().name) - } - - accValue := initv - for counter := numElements - 1; counter >= 0; counter-- { - accValue, err = fun.call(i, args([]*cachedThunk{elements[counter], readyThunk(accValue)}...)) - if err != nil { - return nil, err - } - } - - return accValue, nil -} - -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, funcv, arrv value) (value, error) { - arr, err := i.getArray(arrv) - if err != nil { - return nil, err - } - fun, err := i.getFunction(funcv) - 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++ { - includedValue, err := fun.call(i, args(arr.elements[counter])) - if err != nil { - return nil, err - } - included, err := i.getBoolean(includedValue) - if err != nil { - return nil, err - } - if included.value { - elems = append(elems, arr.elements[counter]) - } - } - return makeValueArray(elems), nil -} -func builtinLstripChars(i *interpreter, str, chars value) (value, error) { - switch strType := str.(type) { - case valueString: - if strType.length() > 0 { - index, err := strType.index(i, 0) - if err != nil { - return nil, err - } - member, err := rawMember(i, chars, index) - if err != nil { - return nil, err - } - if member { - s := strType.getGoString()[1:] - return builtinLstripChars(i, makeValueString(s), chars) - } else { - return str, nil - } - } - return str, nil - default: - return nil, i.Error(fmt.Sprintf("Unexpected type %s, expected string", strType.getType().name)) - } -} - -func builtinRstripChars(i *interpreter, str, chars value) (value, error) { - switch strType := str.(type) { - case valueString: - if strType.length() > 0 { - index, err := strType.index(i, strType.length()-1) - if err != nil { - return nil, err - } - member, err := rawMember(i, chars, index) - if err != nil { - return nil, err - } - if member { - s := strType.getGoString()[:strType.length()-1] - return builtinRstripChars(i, makeValueString(s), chars) - } else { - return str, nil - } - } - return str, nil - default: - return nil, i.Error(fmt.Sprintf("Unexpected type %s, expected string", strType.getType().name)) - } -} - -func builtinStripChars(i *interpreter, str, chars value) (value, error) { - lstripChars, err := builtinLstripChars(i, str, chars) - if err != nil { - return nil, err - } - rstripChars, err := builtinRstripChars(i, lstripChars, chars) - if err != nil { - return nil, err - } - return rstripChars, nil -} - -func rawMember(i *interpreter, arrv, value value) (bool, error) { - switch arrType := arrv.(type) { - case valueString: - valString, err := i.getString(value) - if err != nil { - return false, err - } - for _, char := range arrType.getRunes() { - if string(char) == valString.getGoString() { - return true, nil - } - } - return false, nil - case *valueArray: - for _, elem := range arrType.elements { - cachedThunkValue, err := elem.getValue(i) - if err != nil { - return false, err - } - equal, err := rawEquals(i, cachedThunkValue, value) - if err != nil { - return false, err - } - if equal { - return true, nil - } - } - default: - return false, i.Error("std.member first argument must be an array or a string") - } - return false, nil -} - -func builtinMember(i *interpreter, arrv, value value) (value, error) { - eq, err := rawMember(i, arrv, value) - if err != nil { - return nil, err - } - return makeValueBoolean(eq), nil -} - -type sortData struct { - err error - i *interpreter - thunks []*cachedThunk - keys []value -} - -func (d *sortData) Len() int { - return len(d.thunks) -} - -func (d *sortData) Less(i, j int) bool { - r, err := valueCmp(d.i, d.keys[i], d.keys[j]) - if err != nil { - d.err = err - panic("Error while comparing elements") - } - return r == -1 -} - -func (d *sortData) Swap(i, j int) { - d.thunks[i], d.thunks[j] = d.thunks[j], d.thunks[i] - d.keys[i], d.keys[j] = d.keys[j], d.keys[i] -} - -func (d *sortData) Sort() (err error) { - defer func() { - if d.err != nil { - if r := recover(); r != nil { - err = d.err - } - } - }() - sort.Stable(d) - return -} - -func builtinSort(i *interpreter, arguments []value) (value, error) { - arrv := arguments[0] - keyFv := arguments[1] - - arr, err := i.getArray(arrv) - if err != nil { - return nil, err - } - keyF, err := i.getFunction(keyFv) - if err != nil { - return nil, err - } - num := arr.length() - - 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, args(arr.elements[counter])) - if err != nil { - return nil, err - } - } - - err = data.Sort() - if err != nil { - return nil, err - } - - return makeValueArray(data.thunks), nil -} - -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) - if err != nil { - return nil, err - } - elems := make([]*cachedThunk, to-from+1) - for i := from; i <= to; i++ { - elems[i-from] = readyThunk(intToValue(i)) - } - return makeValueArray(elems), nil -} - -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, x value) (value, error) { - n, err := i.getNumber(x) - if err != nil { - return nil, err - } - intValue := int64(n.value) - return int64ToValue(^intValue), nil -} - -func builtinIdentity(i *interpreter, x value) (value, error) { - return x, nil -} - -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 - } - return makeValueNumber(-n.value), nil -} - -// 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, 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) - if err != nil { - return nil, err - } - return makeValueBoolean(left.value == right.value), nil - case *valueNumber: - 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) - if err != nil { - return nil, err - } - return makeValueBoolean(stringEqual(left, right)), nil - case *valueNull: - return makeValueBoolean(true), nil - case *valueFunction: - return nil, i.Error("Cannot test equality of functions") - default: - return nil, i.Error( - "primitiveEquals operates on primitive types, got " + x.getType().name, - ) - } -} - -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) - if err != nil { - return false, err - } - return left.value == right.value, nil - case *valueNumber: - right, err := i.getNumber(y) - if err != nil { - return false, err - } - return left.value == right.value, nil - case valueString: - right, err := i.getString(y) - if err != nil { - return false, err - } - return stringEqual(left, right), nil - case *valueNull: - return true, nil - case *valueArray: - right, err := i.getArray(y) - if err != nil { - return false, err - } - if left.length() != right.length() { - return false, nil - } - for j := range left.elements { - leftElem, err := i.evaluatePV(left.elements[j]) - if err != nil { - return false, err - } - rightElem, err := i.evaluatePV(right.elements[j]) - if err != nil { - return false, err - } - eq, err := rawEquals(i, leftElem, rightElem) - if err != nil { - return false, err - } - if !eq { - return false, nil - } - } - return true, nil - case *valueObject: - right, err := i.getObject(y) - if err != nil { - return false, err - } - leftFields := objectFields(left, withoutHidden) - rightFields := objectFields(right, withoutHidden) - sort.Strings(leftFields) - sort.Strings(rightFields) - if len(leftFields) != len(rightFields) { - return false, nil - } - for i := range leftFields { - if leftFields[i] != rightFields[i] { - return false, nil - } - } - for j := range leftFields { - fieldName := leftFields[j] - leftField, err := left.index(i, fieldName) - if err != nil { - return false, err - } - rightField, err := right.index(i, fieldName) - if err != nil { - return false, err - } - eq, err := rawEquals(i, leftField, rightField) - if err != nil { - return false, err - } - if !eq { - return false, nil - } - } - return true, nil - case *valueFunction: - return false, i.Error("Cannot test equality of functions") - } - panic(fmt.Sprintf("Unhandled case in equals %#+v %#+v", 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, 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, x value) (value, error) { - return makeValueString(x.getType().name), nil -} - -func builtinMd5(i *interpreter, x value) (value, error) { - str, err := i.getString(x) - if err != nil { - return nil, err - } - hash := md5.Sum([]byte(str.getGoString())) - return makeValueString(hex.EncodeToString(hash[:])), nil -} - -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.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)))) - } - return makeValueArray(elems), nil -} - -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]) - 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)) - } - bs[pos] = byte(v) - } - return makeValueString(string(bs)), nil -} - -// Maximum allowed unicode codepoint -// https://en.wikipedia.org/wiki/Unicode#Architecture_and_terminology -const codepointMax = 0x10FFFF - -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)) - } else if n.value < 0 { - 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, 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())) - } - return makeValueNumber(float64(str.getRunes()[0])), nil -} - -func makeDoubleCheck(i *interpreter, x float64) (value, error) { - if math.IsNaN(x) { - return nil, i.Error("Not a number") - } - if math.IsInf(x, 0) { - return nil, i.Error("Overflow") - } - return makeValueNumber(x), nil -} - -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, f(n.value)) - } -} - -var builtinSqrt = liftNumeric(math.Sqrt) -var builtinCeil = liftNumeric(math.Ceil) -var builtinFloor = liftNumeric(math.Floor) -var builtinSin = liftNumeric(math.Sin) -var builtinCos = liftNumeric(math.Cos) -var builtinTan = liftNumeric(math.Tan) -var builtinAsin = liftNumeric(math.Asin) -var builtinAcos = liftNumeric(math.Acos) -var builtinAtan = liftNumeric(math.Atan) -var builtinLog = liftNumeric(math.Log) -var builtinExp = liftNumeric(func(f float64) float64 { - res := math.Exp(f) - if res == 0 && f > 0 { - return math.Inf(1) - } - return res -}) -var builtinMantissa = liftNumeric(func(f float64) float64 { - mantissa, _ := math.Frexp(f) - return mantissa -}) -var builtinExponent = liftNumeric(func(f float64) float64 { - _, exponent := math.Frexp(f) - return float64(exponent) -}) - -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) - if err != nil { - return nil, err - } - 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)))) - } -} - -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, objv, includeHiddenV value) (value, error) { - obj, err := i.getObject(objv) - if err != nil { - return nil, err - } - includeHidden, err := i.getBoolean(includeHiddenV) - if err != nil { - return nil, err - } - fields := objectFields(obj, withHiddenFromBool(includeHidden.value)) - sort.Strings(fields) - elems := []*cachedThunk{} - for _, fieldname := range fields { - elems = append(elems, readyThunk(makeValueString(fieldname))) - } - return makeValueArray(elems), nil -} - -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) - if err != nil { - return nil, err - } - includeHidden, err := i.getBoolean(includeHiddenV) - if err != nil { - return nil, err - } - h := withHiddenFromBool(includeHidden.value) - hasField := objectHasField(objectBinding(obj), string(fname.getRunes()), h) - return makeValueBoolean(hasField), nil -} - -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) - if err != nil { - return nil, err - } - return makeDoubleCheck(i, math.Pow(base.value, exp.value)) -} - -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()) - } - - if fromV.value < 0 { - msg := fmt.Sprintf("substr second parameter should be greater than zero, 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.getRunes() - - endIndex := fromInt + lenInt - - if endIndex > len(strStr) { - endIndex = len(strStr) - } - - if fromInt > len(strStr) { - return makeValueString(""), nil - } - return makeValueString(string(strStr[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) - if err != nil { - return nil, err - } - 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)) - } - sStr := str.getGoString() - sC := c.getGoString() - if len(sC) < 1 { - return nil, i.Error(fmt.Sprintf("std.splitLimit second parameter should have length 1 or greater, got %v", len(sC))) - } - - // the convention is slightly different from strings.splitN in Go (the meaning of non-negative values is shifted by one) - var strs []string - if maxSplits == -1 { - strs = strings.SplitN(sStr, sC, -1) - } else { - strs = strings.SplitN(sStr, sC, maxSplits+1) - } - res := make([]*cachedThunk, len(strs)) - for i := range strs { - res[i] = readyThunk(makeValueString(strs[i])) - } - - return makeValueArray(res), nil -} - -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) - if err != nil { - return nil, err - } - to, err := i.getString(tov) - if err != nil { - return nil, err - } - sStr := str.getGoString() - sFrom := from.getGoString() - sTo := to.getGoString() - if len(sFrom) == 0 { - return nil, i.Error("'from' string must not be zero length.") - } - return makeValueString(strings.Replace(sStr, sFrom, sTo, -1)), nil -} - -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) - if err != nil { - return nil, err - } - newFields := make(simpleObjectFieldMap) - for _, elem := range objarr.elements { - 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)) - } - - newFields[fieldName] = simpleObjectField{ - hide: fieldVal.hide, - field: &bindingsUnboundField{ - inner: fieldVal.field, - bindings: simpleObj.upValues, - }, - } - } - } - - return makeValueSimpleObject( - nil, - newFields, - []unboundField{}, // No asserts allowed - nil, - ), nil -} - -func builtinParseJSON(i *interpreter, str value) (value, error) { - sval, err := i.getString(str) - if err != nil { - return nil, err - } - 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())) - } - return jsonToValue(i, parsedJSON) -} - -func builtinParseYAML(i *interpreter, str value) (value, error) { - sval, err := i.getString(str) - if err != nil { - return nil, err - } - s := sval.getGoString() - - isYamlStream := strings.Contains(s, "---") - - elems := []interface{}{} - d := NewYAMLToJSONDecoder(strings.NewReader(s)) - for { - var elem interface{} - if err := d.Decode(&elem); err != nil { - if err == io.EOF { - break - } - return nil, i.Error(fmt.Sprintf("failed to parse YAML: %v", err.Error())) - } - elems = append(elems, elem) - } - - if isYamlStream { - return jsonToValue(i, elems) - } - return jsonToValue(i, elems[0]) -} - -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 -} - -// tomlIsSection checks whether an object or array is a section - a TOML section is an -// object or an an array has all of its children being objects -func tomlIsSection(i *interpreter, val value) (bool, error) { - switch v := val.(type) { - case *valueObject: - return true, nil - case *valueArray: - if v.length() == 0 { - return false, nil - } - - for _, thunk := range v.elements { - thunkValue, err := thunk.getValue(i) - if err != nil { - return false, err - } - - switch thunkValue.(type) { - case *valueObject: - // this is expected, return true if all children are objects - default: - // return false if at least one child is not an object - return false, nil - } - } - - return true, nil - default: - return false, nil - } -} - -// tomlEncodeString encodes a string as quoted TOML string -func tomlEncodeString(s string) string { - res := "\"" - - for _, c := range s { - // escape specific characters, rendering non-ASCII ones as \uXXXX, - // appending remaining characters as is - if c == '"' { - res = res + "\\\"" - } else if c == '\\' { - res = res + "\\\\" - } else if c == '\b' { - res = res + "\\b" - } else if c == '\f' { - res = res + "\\f" - } else if c == '\n' { - res = res + "\\n" - } else if c == '\r' { - res = res + "\\r" - } else if c == '\t' { - res = res + "\\t" - } else if c < 32 || (c >= 127 && c <= 159) { - res = res + fmt.Sprintf("\\u%04x", c) - } else { - res = res + string(c) - } - } - - res = res + "\"" - - return res -} - -// tomlEncodeKey encodes a key - returning same string if it does not need quoting, -// otherwise return it quoted; returns empty key as '' -func tomlEncodeKey(s string) string { - bareAllowed := true - - // for empty string, return '' - if len(s) == 0 { - return "''" - } - - for _, c := range s { - if (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || c == '-' || c == '_' { - continue - } - - bareAllowed = false - break - } - - if bareAllowed { - return s - } - return tomlEncodeString(s) -} - -func tomlAddToPath(path []string, tail string) []string { - result := make([]string, 0, len(path)+1) - result = append(result, path...) - result = append(result, tail) - return result -} - -// tomlRenderValue returns a rendered value as string, with proper indenting -func tomlRenderValue(i *interpreter, val value, sindent string, indexedPath []string, inline bool, cindent string) (string, error) { - switch v := val.(type) { - case *valueNull: - return "", i.Error(fmt.Sprintf("Tried to manifest \"null\" at %v", indexedPath)) - case *valueBoolean: - return fmt.Sprintf("%t", v.value), nil - case *valueNumber: - return unparseNumber(v.value), nil - case valueString: - return tomlEncodeString(v.getGoString()), nil - case *valueFunction: - return "", i.Error(fmt.Sprintf("Tried to manifest function at %v", indexedPath)) - case *valueArray: - if len(v.elements) == 0 { - return "[]", nil - } - - // initialize indenting and separators based on whether this is added inline or not - newIndent := cindent + sindent - separator := "\n" - if inline { - newIndent = "" - separator = " " - } - - // open the square bracket to start array values - res := "[" + separator - - // iterate over elents and add their values to result - for j, thunk := range v.elements { - thunkValue, err := thunk.getValue(i) - if err != nil { - return "", err - } - - childIndexedPath := tomlAddToPath(indexedPath, strconv.FormatInt(int64(j), 10)) - - if j > 0 { - res = res + "," + separator - } - - res = res + newIndent - value, err := tomlRenderValue(i, thunkValue, sindent, childIndexedPath, true, "") - if err != nil { - return "", err - } - res = res + value - } - - res = res + separator - if inline { - res = res + cindent - } - - // close the array and return it - res = res + "]" - - return res, nil - case *valueObject: - res := "" - - fields := objectFields(v, withoutHidden) - sort.Strings(fields) - - // iterate over sorted field keys and render their values - for j, fieldName := range fields { - fieldValue, err := v.index(i, fieldName) - if err != nil { - return "", err - } - - childIndexedPath := tomlAddToPath(indexedPath, fieldName) - - value, err := tomlRenderValue(i, fieldValue, sindent, childIndexedPath, true, "") - if err != nil { - return "", err - } - - if j > 0 { - res = res + ", " - } - res = res + tomlEncodeKey(fieldName) + " = " + value - } - - // wrap fields in an array - return "{ " + res + " }", nil - default: - return "", i.Error(fmt.Sprintf("Unknown object type %v at %v", reflect.TypeOf(v), indexedPath)) - } -} - -func tomlRenderTableArray(i *interpreter, v *valueArray, sindent string, path []string, indexedPath []string, cindent string) (string, error) { - - sections := make([]string, 0, len(v.elements)) - - // render all elements of an array - for j, thunk := range v.elements { - thunkValue, err := thunk.getValue(i) - if err != nil { - return "", err - } - - switch tv := thunkValue.(type) { - case *valueObject: - // render the entire path as section name - section := cindent + "[[" - - for i, element := range path { - if i > 0 { - section = section + "." - } - section = section + tomlEncodeKey(element) - } - - section = section + "]]" - - // add newline if the table has elements - if len(objectFields(tv, withoutHidden)) > 0 { - section = section + "\n" - } - - childIndexedPath := tomlAddToPath(indexedPath, strconv.FormatInt(int64(j), 10)) - - // render the table and add it to result - table, err := tomlTableInternal(i, tv, sindent, path, childIndexedPath, cindent+sindent) - if err != nil { - return "", err - } - section = section + table - - sections = append(sections, section) - default: - return "", i.Error(fmt.Sprintf("invalid type for section: %v", reflect.TypeOf(thunkValue))) - } - } - - // combine all sections - return strings.Join(sections, "\n\n"), nil -} - -func tomlRenderTable(i *interpreter, v *valueObject, sindent string, path []string, indexedPath []string, cindent string) (string, error) { - res := cindent + "[" - for i, element := range path { - if i > 0 { - res = res + "." - } - res = res + tomlEncodeKey(element) - } - res = res + "]" - if len(objectFields(v, withoutHidden)) > 0 { - res = res + "\n" - } - - table, err := tomlTableInternal(i, v, sindent, path, indexedPath, cindent+sindent) - if err != nil { - return "", err - } - res = res + table - - return res, nil -} - -func tomlTableInternal(i *interpreter, v *valueObject, sindent string, path []string, indexedPath []string, cindent string) (string, error) { - resFields := []string{} - resSections := []string{""} - fields := objectFields(v, withoutHidden) - sort.Strings(fields) - - // iterate over non-section items - for _, fieldName := range fields { - fieldValue, err := v.index(i, fieldName) - if err != nil { - return "", err - } - - isSection, err := tomlIsSection(i, fieldValue) - if err != nil { - return "", err - } - - childIndexedPath := tomlAddToPath(indexedPath, fieldName) - - if isSection { - // render as section and add to array of sections - - childPath := tomlAddToPath(path, fieldName) - - switch fv := fieldValue.(type) { - case *valueObject: - section, err := tomlRenderTable(i, fv, sindent, childPath, childIndexedPath, cindent) - if err != nil { - return "", err - } - resSections = append(resSections, section) - case *valueArray: - section, err := tomlRenderTableArray(i, fv, sindent, childPath, childIndexedPath, cindent) - if err != nil { - return "", err - } - resSections = append(resSections, section) - default: - return "", i.Error(fmt.Sprintf("invalid type for section: %v", reflect.TypeOf(fieldValue))) - } - } else { - // render as value and append to result fields - - renderedValue, err := tomlRenderValue(i, fieldValue, sindent, childIndexedPath, false, "") - if err != nil { - return "", err - } - resFields = append(resFields, strings.Split(tomlEncodeKey(fieldName)+" = "+renderedValue, "\n")...) - } - } - - // create the result string - res := "" - - if len(resFields) > 0 { - res = "" + cindent - } - res = res + strings.Join(resFields, "\n"+cindent) + strings.Join(resSections, "\n\n") - return res, nil -} - -func builtinManifestTomlEx(i *interpreter, arguments []value) (value, error) { - val := arguments[0] - vindent, err := i.getString(arguments[1]) - if err != nil { - return nil, err - } - sindent := vindent.getGoString() - - switch v := val.(type) { - case *valueObject: - res, err := tomlTableInternal(i, v, sindent, []string{}, []string{}, "") - if err != nil { - return nil, err - } - return makeValueString(res), nil - default: - return nil, i.Error(fmt.Sprintf("TOML body must be an object. Got %s", v.getType().name)) - } -} - -// 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, arguments []value) (value, error) { - val := arguments[0] - - vindent, err := i.getString(arguments[1]) - if err != nil { - return nil, err - } - - vnewline, err := i.getString(arguments[2]) - if err != nil { - return nil, err - } - - vkvSep, err := i.getString(arguments[3]) - if err != nil { - return nil, err - } - - sindent := vindent.getGoString() - newline := vnewline.getGoString() - kvSep := vkvSep.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{"[" + newline} - - 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, ","+newline)) - lines = append(lines, newline+cindent+"]") - return strings.Join(lines, ""), nil - case *valueObject: - newIndent := cindent + sindent - lines := []string{"{" + newline} - - 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) + kvSep + mvs - objectLines = append(objectLines, line) - } - lines = append(lines, strings.Join(objectLines, ","+newline)) - lines = append(lines, newline+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(val, 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) - } - return nil, i.Error("Undefined external variable: " + string(index)) -} - -func builtinNative(i *interpreter, name value) (value, error) { - str, err := i.getString(name) - if err != nil { - return nil, err - } - index := str.getGoString() - if f, exists := i.nativeFuncs[index]; exists { - return &valueFunction{ec: f}, nil - } - return &valueNull{}, nil -} - -// Utils for builtins - TODO(sbarzowski) move to a separate file in another commit - -type builtin interface { - evalCallable - Name() ast.Identifier -} - -func flattenArgs(args callArguments, params []namedParameter, defaults []value) []*cachedThunk { - positions := make(map[ast.Identifier]int, len(params)) - for i, param := range params { - positions[param.name] = i - } - - 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 - } - // 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, value) (value, error) - -type unaryBuiltin struct { - name ast.Identifier - function unaryBuiltinFunc - params ast.Identifiers -} - -func (b *unaryBuiltin) 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 - } - return b.function(i, x) -} - -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, value, value) (value, error) - -type binaryBuiltin struct { - name ast.Identifier - function binaryBuiltinFunc - params ast.Identifiers -} - -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) - if err != nil { - return nil, err - } - return b.function(i, x, y) -} - -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, value, value, value) (value, error) - -type ternaryBuiltin struct { - name ast.Identifier - function ternaryBuiltinFunc - params ast.Identifiers -} - -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) - if err != nil { - return nil, err - } - z, err := flatArgs[2].getValue(i) - if err != nil { - return nil, err - } - return b.function(i, x, y, z) -} - -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, []value) (value, error) - -type generalBuiltinParameter struct { - // Note that the defaults are passed as values rather than AST nodes like in Parameters. - // This spares us unnecessary evaluation. - defaultValue value - name ast.Identifier -} - -// generalBuiltin covers cases that other builtin structures do not, -// in particular it can have any number of parameters. It can also -// have optional parameters. The optional ones have non-nil defaultValues -// at the same index. -type generalBuiltin struct { - name ast.Identifier - function generalBuiltinFunc - params []generalBuiltinParameter -} - -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) defaultValues() []value { - ret := make([]value, len(b.params)) - for i := range ret { - ret[i] = b.params[i].defaultValue - } - return ret -} - -func (b *generalBuiltin) Name() ast.Identifier { - return 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) - if err != nil { - return nil, err - } - } - return b.function(i, values) -} - -// End of builtin utils - -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, params: ast.Identifiers{"x", "y"}}, - ast.BopDiv: &binaryBuiltin{name: "operator/", function: builtinDiv, params: 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, params: ast.Identifiers{"x", "y"}}, - ast.BopShiftR: &binaryBuiltin{name: "operator>>", function: builtinShiftR, params: 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, 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, 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, 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 { - result := make(map[string]evalCallable, len(builtins)) - for _, b := range builtins { - result[string(b.Name())] = b - } - return result -} - -func builtinParseInt(i *interpreter, x value) (value, error) { - str, err := i.getString(x) - if err != nil { - return nil, err - } - res, err := strconv.ParseInt(str.getGoString(), 10, 64) - if err != nil { - return nil, i.Error(fmt.Sprintf("%s is not a base 10 integer", str.getGoString())) - } - return makeValueNumber(float64(res)), nil -} - -var funcBuiltins = buildBuiltinMap([]builtin{ - builtinID, - &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"}}, - &ternaryBuiltin{name: "foldl", function: builtinFoldl, params: ast.Identifiers{"func", "arr", "init"}}, - &ternaryBuiltin{name: "foldr", function: builtinFoldr, params: ast.Identifiers{"func", "arr", "init"}}, - &binaryBuiltin{name: "member", function: builtinMember, params: ast.Identifiers{"arr", "x"}}, - &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"}}, - &binaryBuiltin{name: "lstripChars", function: builtinLstripChars, params: ast.Identifiers{"str", "chars"}}, - &binaryBuiltin{name: "rstripChars", function: builtinRstripChars, params: ast.Identifiers{"str", "chars"}}, - &binaryBuiltin{name: "stripChars", function: builtinStripChars, params: ast.Identifiers{"str", "chars"}}, - &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: "parseInt", function: builtinParseInt, params: ast.Identifiers{"str"}}, - &unaryBuiltin{name: "parseJson", function: builtinParseJSON, params: ast.Identifiers{"str"}}, - &unaryBuiltin{name: "parseYaml", function: builtinParseYAML, params: ast.Identifiers{"str"}}, - &generalBuiltin{name: "manifestJsonEx", function: builtinManifestJSONEx, params: []generalBuiltinParameter{{name: "value"}, {name: "indent"}, - {name: "newline", defaultValue: &valueFlatString{value: []rune("\n")}}, - {name: "key_val_sep", defaultValue: &valueFlatString{value: []rune(": ")}}}}, - &generalBuiltin{name: "manifestTomlEx", function: builtinManifestTomlEx, params: []generalBuiltinParameter{{name: "value"}, {name: "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, params: ast.Identifiers{"x"}}, -}) diff --git a/vendor/github.com/google/go-jsonnet/doc.go b/vendor/github.com/google/go-jsonnet/doc.go deleted file mode 100644 index 94d1b64a4..000000000 --- a/vendor/github.com/google/go-jsonnet/doc.go +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2016 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 jsonnet implements a parser and evaluator for jsonnet. - -Jsonnet is a domain specific configuration language that helps you define JSON -data. Jsonnet lets you compute fragments of JSON within the structure, bringing -the same benefit to structured data that templating languages bring to plain -text. - -See http://jsonnet.org/ for a full language description and tutorial. -*/ -package jsonnet diff --git a/vendor/github.com/google/go-jsonnet/error_formatter.go b/vendor/github.com/google/go-jsonnet/error_formatter.go deleted file mode 100644 index 03a803ab1..000000000 --- a/vendor/github.com/google/go-jsonnet/error_formatter.go +++ /dev/null @@ -1,145 +0,0 @@ -/* -Copyright 2017 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 jsonnet - -import ( - "bytes" - "fmt" - "io" - - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/internal/errors" -) - -// An ErrorFormatter formats errors with stacktraces and color. -type ErrorFormatter interface { - // Format static, runtime, and unexpected errors prior to printing them. - Format(err error) string - - // Set the the maximum length of stack trace before cropping. - SetMaxStackTraceSize(size int) - - // Set the color formatter for the location color. - SetColorFormatter(color ColorFormatter) -} - -// ColorFormatter represents a function that writes to the terminal using color. -type ColorFormatter func(w io.Writer, f string, a ...interface{}) (n int, err error) - -var _ ErrorFormatter = &termErrorFormatter{} - -type termErrorFormatter struct { - // Examples of current state of the art. - // http://elm-lang.org/blog/compiler-errors-for-humans - // https://clang.llvm.org/diagnostics.html - color ColorFormatter - // sp is currently never set, but is used to format locations. - sp *ast.SourceProvider - // maxStackTraceSize is the maximum length of stack trace before cropping - maxStackTraceSize int - pretty bool -} - -func (ef *termErrorFormatter) SetMaxStackTraceSize(size int) { - ef.maxStackTraceSize = size -} - -func (ef *termErrorFormatter) SetColorFormatter(color ColorFormatter) { - ef.color = color -} - -func (ef *termErrorFormatter) Format(err error) string { - switch err := err.(type) { - case RuntimeError: - return ef.formatRuntime(&err) - case errors.StaticError: - return ef.formatStatic(err) - default: - return ef.formatInternal(err) - } -} - -func (ef *termErrorFormatter) formatRuntime(err *RuntimeError) string { - return err.Error() + "\n" + ef.buildStackTrace(err.StackTrace) -} - -func (ef *termErrorFormatter) formatStatic(err errors.StaticError) string { - var buf bytes.Buffer - buf.WriteString(err.Error() + "\n") - ef.showCode(&buf, err.Loc()) - return buf.String() -} - -const bugURL = "https://github.com/google/go-jsonnet/issues" - -func (ef *termErrorFormatter) formatInternal(err error) string { - return "INTERNAL ERROR: " + err.Error() + "\n" + - "Please report a bug here: " + bugURL + "\n" -} - -func (ef *termErrorFormatter) showCode(buf *bytes.Buffer, loc ast.LocationRange) { - errFprintf := fmt.Fprintf - if ef.color != nil { - errFprintf = ef.color - } - if loc.WithCode() { - // TODO(sbarzowski) include line numbers - // TODO(sbarzowski) underline errors instead of depending only on color - fmt.Fprintf(buf, "\n") - beginning := ast.LineBeginning(&loc) - ending := ast.LineEnding(&loc) - fmt.Fprintf(buf, "%v", ef.sp.GetSnippet(beginning)) - errFprintf(buf, "%v", ef.sp.GetSnippet(loc)) //nolint:errcheck - fmt.Fprintf(buf, "%v", ef.sp.GetSnippet(ending)) - buf.WriteByte('\n') - } - fmt.Fprintf(buf, "\n") -} - -func (ef *termErrorFormatter) frame(frame *traceFrame, buf *bytes.Buffer) { - // TODO(sbarzowski) tabs are probably a bad idea - fmt.Fprintf(buf, "\t%v\t%v\n", frame.Loc.String(), frame.Name) - if ef.pretty { - ef.showCode(buf, frame.Loc) - } -} - -func (ef *termErrorFormatter) buildStackTrace(frames []traceFrame) string { - // https://github.com/google/jsonnet/blob/master/core/libjsonnet.cpp#L594 - maxAbove := ef.maxStackTraceSize / 2 - maxBelow := ef.maxStackTraceSize - maxAbove - var buf bytes.Buffer - sz := len(frames) - for i := 0; i < sz; i++ { - // TODO(sbarzowski) make pretty format more readable (it's already useful) - if ef.pretty { - fmt.Fprintf(&buf, "-------------------------------------------------\n") - } - if ef.maxStackTraceSize > 0 && i >= maxAbove && i < sz-maxBelow { - if ef.pretty { - fmt.Fprintf(&buf, "\t... (skipped %v frames)\n", sz-maxAbove-maxBelow) - } else { - buf.WriteString("\t...\n") - } - - i = sz - maxBelow - 1 - } else { - ef.frame(&frames[sz-i-1], &buf) - } - } - return buf.String() -} diff --git a/vendor/github.com/google/go-jsonnet/imports.go b/vendor/github.com/google/go-jsonnet/imports.go deleted file mode 100644 index 297511468..000000000 --- a/vendor/github.com/google/go-jsonnet/imports.go +++ /dev/null @@ -1,302 +0,0 @@ -/* -Copyright 2017 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 jsonnet - -import ( - "fmt" - "io/ioutil" - "os" - "path/filepath" - "unsafe" - - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/internal/program" -) - -// An Importer imports data from a path. -// TODO(sbarzowski) caching of errors (may require breaking changes) -type Importer interface { - // Import fetches data from a given path. It may be relative - // to the file where we do the import. What "relative path" - // means depends on the importer. - // - // It is required that: - // a) for given (importedFrom, importedPath) the same - // (contents, foundAt) are returned on subsequent calls. - // b) for given foundAt, the contents are always the same - // - // It is recommended that if there are multiple locations that - // need to be probed (e.g. relative + multiple library paths) - // then all results of all attempts will be cached separately, - // both nonexistence and contents of existing ones. - // FileImporter may serve as an example. - // - // IMPORTANT: The passed importedFrom might be "" (an empty string). - // It means that the import is coming from an ad-hoc snippet, e.g. - // code passed on the command line, read from stdin or passed as - // a snippet to execute. Importer may have a "default" path to use - // in such case or it may only allow absolute imports from such - // "anonymous locations". - // - // Importing the same file multiple times must be a cheap operation - // and shouldn't involve copying the whole file - the same buffer - // should be returned. - Import(importedFrom, importedPath string) (contents Contents, foundAt string, err error) -} - -// Contents is a representation of imported data. It is a simple -// byte wrapper, which makes it easier to enforce the caching policy. -type Contents struct { - data *[]byte -} - -func (c Contents) String() string { - // Construct string without copying underlying bytes. - // NB: This only works because c.data is not modified. - return *(*string)(unsafe.Pointer(c.data)) -} - -// Data returns content bytes -func (c Contents) Data() []byte { - return *c.data -} - -// MakeContents creates Contents from a string. -func MakeContents(s string) Contents { - data := []byte(s) - return Contents{ - data: &data, - } -} - -// MakeContentsRaw creates Contents from (possibly non-utf8) []byte data. -func MakeContentsRaw(bytes []byte) Contents { - return Contents{ - data: &bytes, - } -} - -// importCache represents a cache of imported data. -// -// While the user-defined Importer implementations -// are required to cache file content, this cache -// is an additional layer of optimization that caches values -// (i.e. the result of executing the file content). -// It also verifies that the content pointer is the same for two foundAt values. -type importCache struct { - foundAtVerification map[string]Contents - astCache map[string]ast.Node - codeCache map[string]potentialValue - importer Importer -} - -// makeImportCache creates an importCache using an Importer. -func makeImportCache(importer Importer) *importCache { - return &importCache{ - importer: importer, - foundAtVerification: make(map[string]Contents), - astCache: make(map[string]ast.Node), - codeCache: make(map[string]potentialValue), - } -} - -func (cache *importCache) flushValueCache() { - cache.codeCache = make(map[string]potentialValue) -} - -func (cache *importCache) importData(importedFrom, importedPath string) (contents Contents, foundAt string, err error) { - contents, foundAt, err = cache.importer.Import(importedFrom, importedPath) - if err != nil { - return Contents{}, "", err - } - if cached, importedBefore := cache.foundAtVerification[foundAt]; importedBefore { - if cached != contents { - panic(fmt.Sprintf("importer problem: a different instance of Contents returned when importing %#v again", foundAt)) - } - } else { - cache.foundAtVerification[foundAt] = contents - } - return -} - -func (cache *importCache) importAST(importedFrom, importedPath string) (ast.Node, string, error) { - contents, foundAt, err := cache.importData(importedFrom, importedPath) - if err != nil { - return nil, "", err - } - if cachedNode, isCached := cache.astCache[foundAt]; isCached { - return cachedNode, foundAt, nil - } - node, err := program.SnippetToAST(ast.DiagnosticFileName(foundAt), foundAt, contents.String()) - cache.astCache[foundAt] = node - return node, foundAt, err -} - -// ImportString imports a string, caches it and then returns it. -func (cache *importCache) importString(importedFrom, importedPath string, i *interpreter) (valueString, error) { - data, _, err := cache.importData(importedFrom, importedPath) - if err != nil { - return nil, i.Error(err.Error()) - } - return makeValueString(data.String()), nil -} - -// ImportString imports an array of bytes, caches it and then returns it. -func (cache *importCache) importBinary(importedFrom, importedPath string, i *interpreter) (*valueArray, error) { - data, _, err := cache.importData(importedFrom, importedPath) - if err != nil { - return nil, i.Error(err.Error()) - } - bytes := data.Data() - elements := make([]*cachedThunk, len(bytes)) - for i := range bytes { - elements[i] = readyThunk(intToValue(int(bytes[i]))) - } - return makeValueArray(elements), nil -} - -func nodeToPV(i *interpreter, filename string, node ast.Node) *cachedThunk { - env := makeInitialEnv(filename, i.baseStd) - return &cachedThunk{ - env: &env, - body: node, - content: nil, - } -} - -func codeToPV(i *interpreter, filename string, code string) *cachedThunk { - node, err := program.SnippetToAST(ast.DiagnosticFileName(filename), "", code) - if err != nil { - // TODO(sbarzowski) we should wrap (static) error here - // within a RuntimeError. Because whether we get this error or not - // actually depends on what happens in Runtime (whether import gets - // evaluated). - // The same thinking applies to external variables. - return &cachedThunk{err: err} - } - return nodeToPV(i, filename, node) -} - -// ImportCode imports code from a path. -func (cache *importCache) importCode(importedFrom, importedPath string, i *interpreter) (value, error) { - node, foundAt, err := cache.importAST(importedFrom, importedPath) - if err != nil { - return nil, i.Error(err.Error()) - } - var pv potentialValue - if cachedPV, isCached := cache.codeCache[foundAt]; !isCached { - // File hasn't been parsed and analyzed before, update the cache record. - env := makeInitialEnv(foundAt, i.baseStd) - pv = &cachedThunk{ - env: &env, - body: node, - content: nil, - } - cache.codeCache[foundAt] = pv - } else { - pv = cachedPV - } - return i.evaluatePV(pv) -} - -// Concrete importers -// ------------------------------------- - -// FileImporter imports data from the filesystem. -type FileImporter struct { - fsCache map[string]*fsCacheEntry - JPaths []string -} - -type fsCacheEntry struct { - contents Contents - exists bool -} - -func (importer *FileImporter) tryPath(dir, importedPath string) (found bool, contents Contents, foundHere string, err error) { - if importer.fsCache == nil { - importer.fsCache = make(map[string]*fsCacheEntry) - } - var absPath string - if filepath.IsAbs(importedPath) { - absPath = importedPath - } else { - absPath = filepath.Join(dir, importedPath) - } - var entry *fsCacheEntry - if cacheEntry, isCached := importer.fsCache[absPath]; isCached { - entry = cacheEntry - } else { - contentBytes, err := ioutil.ReadFile(absPath) - if err != nil { - if os.IsNotExist(err) { - entry = &fsCacheEntry{ - exists: false, - } - } else { - return false, Contents{}, "", err - } - } else { - entry = &fsCacheEntry{ - exists: true, - contents: MakeContentsRaw(contentBytes), - } - } - importer.fsCache[absPath] = entry - } - return entry.exists, entry.contents, absPath, nil -} - -// Import imports file from the filesystem. -func (importer *FileImporter) Import(importedFrom, importedPath string) (contents Contents, foundAt string, err error) { - // TODO(sbarzowski) Make sure that dir is absolute and resolving of "" - // is independent from current CWD. The default path should be saved - // in the importer. - // We need to relativize the paths in the error formatter, so that the stack traces - // don't have ugly absolute paths (less readable and messy with golden tests). - dir, _ := filepath.Split(importedFrom) - found, content, foundHere, err := importer.tryPath(dir, importedPath) - if err != nil { - return Contents{}, "", err - } - - for i := len(importer.JPaths) - 1; !found && i >= 0; i-- { - found, content, foundHere, err = importer.tryPath(importer.JPaths[i], importedPath) - if err != nil { - return Contents{}, "", err - } - } - - if !found { - return Contents{}, "", fmt.Errorf("couldn't open import %#v: no match locally or in the Jsonnet library paths", importedPath) - } - return content, foundHere, nil -} - -// MemoryImporter "imports" data from an in-memory map. -type MemoryImporter struct { - Data map[string]Contents -} - -// Import fetches data from a map entry. -// All paths are treated as absolute keys. -func (importer *MemoryImporter) Import(importedFrom, importedPath string) (contents Contents, foundAt string, err error) { - if content, ok := importer.Data[importedPath]; ok { - return content, importedPath, nil - } - return Contents{}, "", fmt.Errorf("import not available %v", importedPath) -} diff --git a/vendor/github.com/google/go-jsonnet/internal/errors/BUILD.bazel b/vendor/github.com/google/go-jsonnet/internal/errors/BUILD.bazel deleted file mode 100644 index cb23f94f8..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/errors/BUILD.bazel +++ /dev/null @@ -1,9 +0,0 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library") - -go_library( - name = "go_default_library", - srcs = ["static_error.go"], - importpath = "github.com/google/go-jsonnet/internal/errors", - visibility = ["//visibility:public"], - deps = ["//ast:go_default_library"], -) diff --git a/vendor/github.com/google/go-jsonnet/internal/errors/static_error.go b/vendor/github.com/google/go-jsonnet/internal/errors/static_error.go deleted file mode 100644 index cd5f293ba..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/errors/static_error.go +++ /dev/null @@ -1,72 +0,0 @@ -/* -Copyright 2016 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 errors provides internal representation of errors. -package errors - -import ( - "fmt" - - "github.com/google/go-jsonnet/ast" -) - -////////////////////////////////////////////////////////////////////////////// -// StaticError - -// StaticError represents an error during parsing/lexing or static analysis. -// TODO(sbarzowski) Make it possible to have multiple static errors and warnings -type StaticError interface { - // WithContext returns a new StaticError with additional context before the error message. - WithContext(string) StaticError - // Error returns the string representation of a StaticError. - Error() string - // Loc returns the place in the source code that triggerred the error. - Loc() ast.LocationRange -} - -type staticError struct { - msg string - loc ast.LocationRange -} - -func (err staticError) WithContext(context string) StaticError { - return staticError{ - loc: err.loc, - msg: fmt.Sprintf("%v while %s", err.msg, context), - } -} - -func (err staticError) Error() string { - loc := "" - if err.loc.IsSet() { - loc = err.loc.String() - } - return fmt.Sprintf("%v %v", loc, err.msg) -} - -func (err staticError) Loc() ast.LocationRange { - return err.loc -} - -// MakeStaticErrorMsg returns a staticError with a message. -func MakeStaticErrorMsg(msg string) StaticError { - return staticError{msg: msg} -} - -// MakeStaticError returns a StaticError with a message and a LocationRange. -func MakeStaticError(msg string, lr ast.LocationRange) StaticError { - return staticError{msg: msg, loc: lr} -} diff --git a/vendor/github.com/google/go-jsonnet/internal/parser/BUILD.bazel b/vendor/github.com/google/go-jsonnet/internal/parser/BUILD.bazel deleted file mode 100644 index 97e2d5d8c..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/parser/BUILD.bazel +++ /dev/null @@ -1,28 +0,0 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") - -go_library( - name = "go_default_library", - srcs = [ - "context.go", - "lexer.go", - "literalfield_set.go", - "parser.go", - "string_util.go", - ], - importpath = "github.com/google/go-jsonnet/internal/parser", - visibility = ["//:__subpackages__"], - deps = [ - "//ast:go_default_library", - "//internal/errors:go_default_library", - ], -) - -go_test( - name = "go_default_test", - srcs = [ - "lexer_test.go", - "parser_test.go", - ], - embed = [":go_default_library"], - deps = ["//ast:go_default_library"], -) diff --git a/vendor/github.com/google/go-jsonnet/internal/parser/context.go b/vendor/github.com/google/go-jsonnet/internal/parser/context.go deleted file mode 100644 index 245e53ec4..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/parser/context.go +++ /dev/null @@ -1,446 +0,0 @@ -/* -Copyright 2017 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 parser - -import ( - "fmt" - - "github.com/google/go-jsonnet/ast" -) - -var topLevelContext = "$" - -const anonymous = "anonymous" - -// TODO(sbarzowski) The children functions should definitely be moved to ast -// package or a separate internal astutils package. The only reason I'm not doing it -// right now is that it's a pretty invasive change that deserves a separate PR. - -// DirectChildren are children of AST node that are executed in the same context -// and environment as their parent. It supports ASTs before and after desugaring. -// -// They must satisfy the following rules: -// * (no-delayed-evaluation) They are evaluated when their parent is evaluated or never. -// * (no-indirect-evaluation) They cannot be evaluated during evaluation of any non-direct children -// * (same-environment) They must be evaluated in the same environment as their parent -func DirectChildren(node ast.Node) []ast.Node { - switch node := node.(type) { - case *ast.Apply: - return []ast.Node{node.Target} - // TODO(sbarzowski) tailstrict call arguments (once we have tailstrict) - case *ast.ApplyBrace: - return []ast.Node{node.Left, node.Right} - case *ast.Array: - return nil - case *ast.Assert: - if node.Message != nil { - return []ast.Node{node.Cond, node.Message, node.Rest} - } - return []ast.Node{node.Cond, node.Rest} - case *ast.Binary: - return []ast.Node{node.Left, node.Right} - case *ast.Conditional: - if node.BranchFalse != nil { - return []ast.Node{node.Cond, node.BranchTrue, node.BranchFalse} - } - return []ast.Node{node.Cond, node.BranchTrue} - case *ast.Dollar: - return nil - case *ast.Error: - return []ast.Node{node.Expr} - case *ast.Function: - return nil - case *ast.Import, *ast.ImportStr, *ast.ImportBin: - return nil - case *ast.Index: - if node.Id != nil { - return nil // non-desugared dot reference - } - return []ast.Node{node.Target, node.Index} - case *ast.Slice: - var params []ast.Node - if node.Target != nil { - params = append(params, node.Target) - } - if node.BeginIndex != nil { - params = append(params, node.BeginIndex) - } - if node.EndIndex != nil { - params = append(params, node.EndIndex) - } - return params - case *ast.Local: - return nil - case *ast.LiteralBoolean: - return nil - case *ast.LiteralNull: - return nil - case *ast.LiteralNumber: - return nil - case *ast.LiteralString: - return nil - case *ast.Object: - return objectFieldsDirectChildren(node.Fields) - case *ast.DesugaredObject: - return desugaredObjectDirectChildren(node) - case *ast.ArrayComp: - result := []ast.Node{} - spec := &node.Spec - for spec != nil { - result = append(result, spec.Expr) - for _, ifspec := range spec.Conditions { - result = append(result, ifspec.Expr) - } - spec = spec.Outer - } - return result - case *ast.ObjectComp: - result := objectFieldsDirectChildren(node.Fields) - spec := &node.Spec - for spec != nil { - result = append(result, spec.Expr) - for _, ifspec := range spec.Conditions { - result = append(result, ifspec.Expr) - } - spec = spec.Outer - } - return result - case *ast.Parens: - return []ast.Node{node.Inner} - case *ast.Self: - return nil - case *ast.SuperIndex: - if node.Id != nil { - return nil - } - return []ast.Node{node.Index} - case *ast.InSuper: - return []ast.Node{node.Index} - case *ast.Unary: - return []ast.Node{node.Expr} - case *ast.Var: - return nil - } - panic(fmt.Sprintf("directChildren: Unknown node %#v", node)) -} - -// thunkChildren are children of AST node that are executed in a new context -// and capture environment from parent (thunked). -// -// It supports ASTs before and after desugaring. -// -// TODO(sbarzowski) Make sure it works well with boundary cases like tailstrict arguments, -// make it more precise. -// -// Rules: -// * (same-environment) They must be evaluated in the same environment as their parent -// * (not-direct) If they can be direct children, they should (and cannot be thunked). -func thunkChildren(node ast.Node) []ast.Node { - switch node := node.(type) { - case *ast.Apply: - var nodes []ast.Node - for _, arg := range node.Arguments.Positional { - nodes = append(nodes, arg.Expr) - } - for _, arg := range node.Arguments.Named { - nodes = append(nodes, arg.Arg) - } - return nodes - case *ast.ApplyBrace: - return nil - case *ast.Array: - var nodes []ast.Node - for _, element := range node.Elements { - nodes = append(nodes, element.Expr) - } - return nodes - case *ast.Assert: - return nil - case *ast.Binary: - return nil - case *ast.Conditional: - return nil - case *ast.Dollar: - return nil - case *ast.Error: - return nil - case *ast.Function: - return nil - case *ast.Import, *ast.ImportStr, *ast.ImportBin: - return nil - case *ast.Index: - return nil - case *ast.Slice: - return nil - case *ast.Local: - // TODO(sbarzowski) complicated - return nil - case *ast.LiteralBoolean: - return nil - case *ast.LiteralNull: - return nil - case *ast.LiteralNumber: - return nil - case *ast.LiteralString: - return nil - case *ast.DesugaredObject: - return nil - case *ast.Object: - return nil - case *ast.ArrayComp: - return []ast.Node{node.Body} - case *ast.ObjectComp: - return nil - case *ast.Parens: - return nil - case *ast.Self: - return nil - case *ast.SuperIndex: - return nil - case *ast.InSuper: - return nil - case *ast.Unary: - return nil - case *ast.Var: - return nil - } - panic(fmt.Sprintf("thunkChildren: Unknown node %#v", node)) -} - -func objectFieldsDirectChildren(fields ast.ObjectFields) ast.Nodes { - result := ast.Nodes{} - for _, field := range fields { - if field.Expr1 != nil { - result = append(result, field.Expr1) - } - } - return result -} - -func inObjectFieldsChildren(fields ast.ObjectFields) ast.Nodes { - result := ast.Nodes{} - for _, field := range fields { - if field.Method != nil { - result = append(result, field.Method) - } else { - if field.Expr2 != nil { - result = append(result, field.Expr2) - } - if field.Expr3 != nil { - result = append(result, field.Expr3) - } - } - } - return result -} - -func desugaredObjectDirectChildren(obj *ast.DesugaredObject) ast.Nodes { - result := ast.Nodes{} - for _, field := range obj.Fields { - if field.Name == nil { - panic("Name cannot be nil") - } - result = append(result, field.Name) - } - return result -} - -func inDesugaredObjectSpecialChildren(obj *ast.DesugaredObject) ast.Nodes { - result := make([]ast.Node, 0, len(obj.Fields)+len(obj.Locals)) - for _, field := range obj.Fields { - result = append(result, field.Body) - } - for _, local := range obj.Locals { - result = append(result, local.Body) - } - return result -} - -// specialChildren returns children that are neither direct nor thunked, -// e.g. object field body. -// These nodes are evaluated in a different environment from their parent. -// -// It supports ASTs before and after desugaring. -func specialChildren(node ast.Node) []ast.Node { - switch node := node.(type) { - case *ast.Apply: - return nil - case *ast.ApplyBrace: - return nil - case *ast.Array: - return nil - case *ast.Assert: - return nil - case *ast.Binary: - return nil - case *ast.Conditional: - return nil - case *ast.Dollar: - return nil - case *ast.Error: - return nil - case *ast.Function: - children := []ast.Node{node.Body} - for _, child := range node.Parameters { - if child.DefaultArg != nil { - children = append(children, child.DefaultArg) - } - } - return children - case *ast.Import, *ast.ImportStr, *ast.ImportBin: - return nil - case *ast.Index: - return nil - case *ast.Slice: - return nil - case *ast.Local: - children := make([]ast.Node, 1, len(node.Binds)+1) - children[0] = node.Body - for _, bind := range node.Binds { - children = append(children, bind.Body) - } - return children - case *ast.LiteralBoolean: - return nil - case *ast.LiteralNull: - return nil - case *ast.LiteralNumber: - return nil - case *ast.LiteralString: - return nil - case *ast.DesugaredObject: - return inDesugaredObjectSpecialChildren(node) - case *ast.Object: - return inObjectFieldsChildren(node.Fields) - case *ast.ArrayComp: - return []ast.Node{node.Body} - case *ast.ObjectComp: - return inObjectFieldsChildren(node.Fields) - case *ast.Self: - return nil - case *ast.SuperIndex: - return nil - case *ast.InSuper: - return nil - case *ast.Unary: - return nil - case *ast.Var: - return nil - case *ast.Parens: - return nil - } - panic(fmt.Sprintf("specialChildren: Unknown node %#v", node)) -} - -// Children returns all children of a node. It supports ASTs before and after desugaring. -func Children(node ast.Node) []ast.Node { - var result []ast.Node - result = append(result, DirectChildren(node)...) - result = append(result, thunkChildren(node)...) - result = append(result, specialChildren(node)...) - return result -} - -func functionContext(funcName string) *string { - r := "function <" + funcName + ">" - return &r -} - -func objectContext(objName string) *string { - r := "object <" + objName + ">" - return &r -} - -// addContext adds context to a node and its whole subtree. -// -// context is the surrounding context of a node (e.g. a function it's in) -// -// bind is a name that the node is bound to, i.e. if node is a local bind body -// then bind is its name. For nodes that are not bound to variables `anonymous` -// should be passed. For example: -// local x = 2 + 2; x -// In such case bind for binary node 2 + 2 is "x" and for every other node, -// including its children, its anonymous. -func addContext(node ast.Node, context *string, bind string) { - if node == nil { - return - } - - node.SetContext(context) - - switch node := node.(type) { - case *ast.Function: - funContext := functionContext(bind) - addContext(node.Body, funContext, anonymous) - for i := range node.Parameters { - if node.Parameters[i].DefaultArg != nil { - // Default arguments have the same context as the function body. - addContext(node.Parameters[i].DefaultArg, funContext, anonymous) - } - } - case *ast.Object: - // TODO(sbarzowski) include fieldname, maybe even chains - - outOfObject := DirectChildren(node) - for _, f := range outOfObject { - // This actually is evaluated outside of object - addContext(f, context, anonymous) - } - - objContext := objectContext(bind) - inObject := inObjectFieldsChildren(node.Fields) - for _, f := range inObject { - // This actually is evaluated outside of object - addContext(f, objContext, anonymous) - } - - case *ast.ObjectComp: - outOfObject := DirectChildren(node) - for _, f := range outOfObject { - // This actually is evaluated outside of object - addContext(f, context, anonymous) - } - - objContext := objectContext(bind) - inObject := inObjectFieldsChildren(node.Fields) - for _, f := range inObject { - // This actually is evaluated outside of object - addContext(f, objContext, anonymous) - } - - case *ast.Local: - for _, bind := range node.Binds { - namedThunkContext := "thunk <" + string(bind.Variable) + "> from <" + *context + ">" - if bind.Fun != nil { - addContext(bind.Fun, &namedThunkContext, string(bind.Variable)) - } else { - addContext(bind.Body, &namedThunkContext, string(bind.Variable)) - } - } - addContext(node.Body, context, bind) - default: - for _, child := range DirectChildren(node) { - addContext(child, context, anonymous) - } - - // TODO(sbarzowski) avoid "thunk from " - for _, child := range thunkChildren(node) { - addContext(child, &thunkContext, anonymous) - } - } -} diff --git a/vendor/github.com/google/go-jsonnet/internal/parser/lexer.go b/vendor/github.com/google/go-jsonnet/internal/parser/lexer.go deleted file mode 100644 index 374343625..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/parser/lexer.go +++ /dev/null @@ -1,976 +0,0 @@ -/* -Copyright 2016 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 parser - -import ( - "bytes" - "fmt" - "strconv" - "strings" - "unicode/utf8" - - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/internal/errors" -) - -// --------------------------------------------------------------------------- -// Token - -type tokenKind int - -const ( - // Symbols - tokenBraceL tokenKind = iota - tokenBraceR - tokenBracketL - tokenBracketR - tokenComma - tokenDollar - tokenDot - tokenParenL - tokenParenR - tokenSemicolon - - // Arbitrary length lexemes - tokenIdentifier - tokenNumber - tokenOperator - tokenStringBlock - tokenStringDouble - tokenStringSingle - tokenVerbatimStringDouble - tokenVerbatimStringSingle - - // Keywords - tokenAssert - tokenElse - tokenError - tokenFalse - tokenFor - tokenFunction - tokenIf - tokenImport - tokenImportStr - tokenImportBin - tokenIn - tokenLocal - tokenNullLit - tokenSelf - tokenSuper - tokenTailStrict - tokenThen - tokenTrue - - // A special token that holds line/column information about the end of the - // file. - tokenEndOfFile -) - -var tokenKindStrings = []string{ - // Symbols - tokenBraceL: `"{"`, - tokenBraceR: `"}"`, - tokenBracketL: `"["`, - tokenBracketR: `"]"`, - tokenComma: `","`, - tokenDollar: `"$"`, - tokenDot: `"."`, - tokenParenL: `"("`, - tokenParenR: `")"`, - tokenSemicolon: `";"`, - - // Arbitrary length lexemes - tokenIdentifier: "IDENTIFIER", - tokenNumber: "NUMBER", - tokenOperator: "OPERATOR", - tokenStringBlock: "STRING_BLOCK", - tokenStringDouble: "STRING_DOUBLE", - tokenStringSingle: "STRING_SINGLE", - tokenVerbatimStringDouble: "VERBATIM_STRING_DOUBLE", - tokenVerbatimStringSingle: "VERBATIM_STRING_SINGLE", - - // Keywords - tokenAssert: "assert", - tokenElse: "else", - tokenError: "error", - tokenFalse: "false", - tokenFor: "for", - tokenFunction: "function", - tokenIf: "if", - tokenImport: "import", - tokenImportStr: "importstr", - tokenImportBin: "importbin", - tokenIn: "in", - tokenLocal: "local", - tokenNullLit: "null", - tokenSelf: "self", - tokenSuper: "super", - tokenTailStrict: "tailstrict", - tokenThen: "then", - tokenTrue: "true", - - // A special token that holds line/column information about the end of the - // file. - tokenEndOfFile: "end of file", -} - -var tokenHasContent = map[tokenKind]bool{ - tokenIdentifier: true, - tokenNumber: true, - tokenOperator: true, - tokenStringBlock: true, - tokenStringDouble: true, - tokenStringSingle: true, - tokenVerbatimStringDouble: true, - tokenVerbatimStringSingle: true, -} - -func (tk tokenKind) String() string { - if tk < 0 || int(tk) >= len(tokenKindStrings) { - panic(fmt.Sprintf("INTERNAL ERROR: Unknown token kind:: %d", tk)) - } - return tokenKindStrings[tk] -} - -type token struct { - fodder ast.Fodder // Any fodder that occurs before this token - data string // Content of the token if it is not a keyword - // Extra info for when kind == tokenStringBlock - stringBlockIndent string // The sequence of whitespace that indented the block. - stringBlockTermIndent string // This is always fewer whitespace characters than in stringBlockIndent. - loc ast.LocationRange - kind tokenKind // The type of the token -} - -// Tokens is a slice of token structs. -type Tokens []token - -func (t *token) String() string { - if t.data == "" { - return t.kind.String() - } else if tokenHasContent[t.kind] { - return fmt.Sprintf("(%v, \"%v\")", t.kind, t.data) - } else { - return fmt.Sprintf("\"%v\"", t.data) - } -} - -// --------------------------------------------------------------------------- -// Helpers - -func isUpper(r rune) bool { - return r >= 'A' && r <= 'Z' -} - -func isLower(r rune) bool { - return r >= 'a' && r <= 'z' -} - -func isNumber(r rune) bool { - return r >= '0' && r <= '9' -} - -func isIdentifierFirst(r rune) bool { - return isUpper(r) || isLower(r) || r == '_' -} - -func isIdentifier(r rune) bool { - return isIdentifierFirst(r) || isNumber(r) -} - -func isSymbol(r rune) bool { - switch r { - case '!', '$', ':', '~', '+', '-', '&', '|', '^', '=', '<', '>', '*', '/', '%': - return true - } - return false -} - -func isHorizontalWhitespace(r rune) bool { - return r == ' ' || r == '\t' || r == '\r' -} - -func isWhitespace(r rune) bool { - return r == '\n' || isHorizontalWhitespace(r) -} - -// stripWhitespace strips whitespace from both ends of a string, but only up to -// margin on the left hand side. E.g., stripWhitespace(" foo ", 1) == " foo". -func stripWhitespace(s string, margin int) string { - runes := []rune(s) - if len(s) == 0 { - return s // Avoid underflow below. - } - i := 0 - for i < len(runes) && isHorizontalWhitespace(runes[i]) && i < margin { - i++ - } - j := len(runes) - for j > i && isHorizontalWhitespace(runes[j-1]) { - j-- - } - return string(runes[i:j]) -} - -// Split a string by \n and also strip left (up to margin) & right whitespace from each line. */ -func lineSplit(s string, margin int) []string { - var ret []string - var buf bytes.Buffer - for _, r := range s { - if r == '\n' { - ret = append(ret, stripWhitespace(buf.String(), margin)) - buf.Reset() - } else { - buf.WriteRune(r) - } - } - return append(ret, stripWhitespace(buf.String(), margin)) -} - -// Check that b has at least the same whitespace prefix as a and returns the -// amount of this whitespace, otherwise returns 0. If a has no whitespace -// prefix than return 0. -func checkWhitespace(a, b string) int { - i := 0 - for ; i < len(a); i++ { - if a[i] != ' ' && a[i] != '\t' { - // a has run out of whitespace and b matched up to this point. Return - // result. - return i - } - if i >= len(b) { - // We ran off the edge of b while a still has whitespace. Return 0 as - // failure. - return 0 - } - if a[i] != b[i] { - // a has whitespace but b does not. Return 0 as failure. - return 0 - } - } - // We ran off the end of a and b kept up - return i -} - -// --------------------------------------------------------------------------- -// Lexer - -type position struct { - byteNo int // Byte position of last rune read - lineNo int // Line number - lineStart int // Rune position of the last newline -} - -type lexer struct { - diagnosticFilename ast.DiagnosticFileName // The file name being lexed, only used for errors - importedFilename string // Imported filename, used for resolving relative imports - input string // The input string - source *ast.Source - - tokens Tokens // The tokens that we've generated so far - - // Information about the token we are working on right now - fodder ast.Fodder - tokenStart int - tokenStartLoc ast.Location - - // Was the last rune the first rune on a line (ignoring initial whitespace). - freshLine bool - - pos position // Current position in input -} - -const lexEOF = -1 - -func makeLexer(diagnosticFilename ast.DiagnosticFileName, importedFilename, input string) *lexer { - return &lexer{ - input: input, - diagnosticFilename: diagnosticFilename, - importedFilename: importedFilename, - source: ast.BuildSource(diagnosticFilename, input), - pos: position{byteNo: 0, lineNo: 1, lineStart: 0}, - tokenStartLoc: ast.Location{Line: 1, Column: 1}, - freshLine: true, - } -} - -// next returns the next rune in the input. -func (l *lexer) next() rune { - if int(l.pos.byteNo) >= len(l.input) { - return lexEOF - } - r, w := utf8.DecodeRuneInString(l.input[l.pos.byteNo:]) - l.pos.byteNo += w - if r == '\n' { - l.pos.lineStart = l.pos.byteNo - l.pos.lineNo++ - l.freshLine = true - } else if l.freshLine { - if !isWhitespace(r) { - l.freshLine = false - } - } - return r -} - -func (l *lexer) acceptN(n int) { - for i := 0; i < n; i++ { - l.next() - } -} - -// peek returns but does not consume the next rune in the input. -func (l *lexer) peek() rune { - if int(l.pos.byteNo) >= len(l.input) { - return lexEOF - } - r, _ := utf8.DecodeRuneInString(l.input[l.pos.byteNo:]) - return r -} - -func locationFromPosition(pos position) ast.Location { - return ast.Location{Line: pos.lineNo, Column: pos.byteNo - pos.lineStart + 1} -} - -func (l *lexer) location() ast.Location { - return locationFromPosition(l.pos) -} - -// Reset the current working token start to the current cursor position. This -// may throw away some characters. This does not throw away any accumulated -// fodder. -func (l *lexer) resetTokenStart() { - l.tokenStart = l.pos.byteNo - l.tokenStartLoc = l.location() -} - -func (l *lexer) emitFullToken(kind tokenKind, data, stringBlockIndent, stringBlockTermIndent string) { - l.tokens = append(l.tokens, token{ - kind: kind, - fodder: l.fodder, - data: data, - stringBlockIndent: stringBlockIndent, - stringBlockTermIndent: stringBlockTermIndent, - loc: ast.MakeLocationRange(l.importedFilename, l.source, l.tokenStartLoc, l.location()), - }) - l.fodder = ast.Fodder{} -} - -func (l *lexer) emitToken(kind tokenKind) { - l.emitFullToken(kind, l.input[l.tokenStart:l.pos.byteNo], "", "") - l.resetTokenStart() -} - -func (l *lexer) addFodder(kind ast.FodderKind, blanks int, indent int, comment []string) { - elem := ast.MakeFodderElement(kind, blanks, indent, comment) - l.fodder = append(l.fodder, elem) -} - -func (l *lexer) addFodderSafe(kind ast.FodderKind, blanks int, indent int, comment []string) { - elem := ast.MakeFodderElement(kind, blanks, indent, comment) - ast.FodderAppend(&l.fodder, elem) -} - -func (l *lexer) makeStaticErrorPoint(msg string, loc ast.Location) errors.StaticError { - return errors.MakeStaticError(msg, ast.MakeLocationRange(l.importedFilename, l.source, loc, loc)) -} - -// lexWhitespace consumes all whitespace and returns the number of \n and number of -// spaces after last \n. It also converts \t to spaces. -// The parameter 'r' is the rune that begins the whitespace. -func (l *lexer) lexWhitespace() (int, int) { - r := l.peek() - indent := 0 - newLines := 0 - for ; isWhitespace(r); r = l.peek() { - l.next() - switch r { - case '\r': - // Ignore. - - case '\n': - indent = 0 - newLines++ - - case ' ': - indent++ - - // This only works for \t at the beginning of lines, but we strip it everywhere else - // anyway. The only case where this will cause a problem is spaces followed by \t - // at the beginning of a line. However that is rare, ill-advised, and if re-indentation - // is enabled it will be fixed later. - case '\t': - indent += 8 - } - } - return newLines, indent -} - -// lexUntilNewLine consumes all text until the end of the line and returns the -// number of newlines after that as well as the next indent. -func (l *lexer) lexUntilNewline() (string, int, int) { - // Compute 'text'. - var buf bytes.Buffer - lastNonSpace := 0 - for r := l.peek(); r != lexEOF && r != '\n'; r = l.peek() { - l.next() - buf.WriteRune(r) - if !isHorizontalWhitespace(r) { - lastNonSpace = buf.Len() - } - } - // Trim whitespace off the end. - buf.Truncate(lastNonSpace) - text := buf.String() - - // Consume the '\n' and following indent. - var newLines int - newLines, indent := l.lexWhitespace() - blanks := 0 - if newLines > 0 { - blanks = newLines - 1 - } - return text, blanks, indent -} - -// lexNumber will consume a number and emit a token. It is assumed -// that the next rune to be served by the lexer will be a leading digit. -func (l *lexer) lexNumber() error { - // This function should be understood with reference to the linked image: - // http://www.json.org/number.gif - - // Note, we deviate from the json.org documentation as follows: - // There is no reason to lex negative numbers as atomic tokens, it is better to parse them - // as a unary operator combined with a numeric literal. This avoids x-1 being tokenized as - // instead of the intended . - - type numLexState int - const ( - numBegin numLexState = iota - numAfterZero - numAfterOneToNine - numAfterDot - numAfterDigit - numAfterE - numAfterExpSign - numAfterExpDigit - ) - - state := numBegin - -outerLoop: - for { - r := l.peek() - switch state { - case numBegin: - switch { - case r == '0': - state = numAfterZero - case r >= '1' && r <= '9': - state = numAfterOneToNine - default: - // The caller should ensure the first rune is a digit. - panic("Couldn't lex number") - } - case numAfterZero: - switch r { - case '.': - state = numAfterDot - case 'e', 'E': - state = numAfterE - default: - break outerLoop - } - case numAfterOneToNine: - switch { - case r == '.': - state = numAfterDot - case r == 'e' || r == 'E': - state = numAfterE - case r >= '0' && r <= '9': - state = numAfterOneToNine - default: - break outerLoop - } - case numAfterDot: - switch { - case r >= '0' && r <= '9': - state = numAfterDigit - default: - return l.makeStaticErrorPoint( - fmt.Sprintf("Couldn't lex number, junk after decimal point: %v", strconv.QuoteRuneToASCII(r)), - l.location()) - } - case numAfterDigit: - switch { - case r == 'e' || r == 'E': - state = numAfterE - case r >= '0' && r <= '9': - state = numAfterDigit - default: - break outerLoop - } - case numAfterE: - switch { - case r == '+' || r == '-': - state = numAfterExpSign - case r >= '0' && r <= '9': - state = numAfterExpDigit - default: - return l.makeStaticErrorPoint( - fmt.Sprintf("Couldn't lex number, junk after 'E': %v", strconv.QuoteRuneToASCII(r)), - l.location()) - } - case numAfterExpSign: - if r >= '0' && r <= '9' { - state = numAfterExpDigit - } else { - return l.makeStaticErrorPoint( - fmt.Sprintf("Couldn't lex number, junk after exponent sign: %v", strconv.QuoteRuneToASCII(r)), - l.location()) - } - - case numAfterExpDigit: - if r >= '0' && r <= '9' { - state = numAfterExpDigit - } else { - break outerLoop - } - } - l.next() - } - - l.emitToken(tokenNumber) - return nil -} - -// getTokenKindFromID will return a keyword if the identifier string is -// recognised as one, otherwise it will return tokenIdentifier. -func getTokenKindFromID(str string) tokenKind { - switch str { - case "assert": - return tokenAssert - case "else": - return tokenElse - case "error": - return tokenError - case "false": - return tokenFalse - case "for": - return tokenFor - case "function": - return tokenFunction - case "if": - return tokenIf - case "import": - return tokenImport - case "importstr": - return tokenImportStr - case "importbin": - return tokenImportBin - case "in": - return tokenIn - case "local": - return tokenLocal - case "null": - return tokenNullLit - case "self": - return tokenSelf - case "super": - return tokenSuper - case "tailstrict": - return tokenTailStrict - case "then": - return tokenThen - case "true": - return tokenTrue - default: - // Not a keyword, assume it is an identifier - return tokenIdentifier - } -} - -// IsValidIdentifier is true if the string could be a valid identifier. -func IsValidIdentifier(str string) bool { - if len(str) == 0 { - return false - } - for i, r := range str { - if i == 0 { - if !isIdentifierFirst(r) { - return false - } - } else { - if !isIdentifier(r) { - return false - } - } - } - return getTokenKindFromID(str) == tokenIdentifier -} - -// lexIdentifier will consume an identifer and emit a token. It is assumed -// that the next rune to be served by the lexer will not be a leading digit. -// This may emit a keyword or an identifier. -func (l *lexer) lexIdentifier() { - r := l.peek() - if !isIdentifierFirst(r) { - panic("Unexpected character in lexIdentifier") - } - for ; r != lexEOF; r = l.peek() { - if !isIdentifier(r) { - break - } - l.next() - } - l.emitToken(getTokenKindFromID(l.input[l.tokenStart:l.pos.byteNo])) -} - -// lexSymbol will lex a token that starts with a symbol. This could be a -// C or C++ comment, block quote or an operator. This function assumes that the next -// rune to be served by the lexer will be the first rune of the new token. -func (l *lexer) lexSymbol() error { - // freshLine is reset by next() so cache it here. - freshLine := l.freshLine - r := l.next() - - // Single line C++ style comment - if r == '#' || (r == '/' && l.peek() == '/') { - comment, blanks, indent := l.lexUntilNewline() - var k ast.FodderKind - if freshLine { - k = ast.FodderParagraph - } else { - k = ast.FodderLineEnd - } - l.addFodder(k, blanks, indent, []string{string(r) + comment}) - return nil - } - - // C style comment (could be interstitial or paragraph comment) - if r == '/' && l.peek() == '*' { - margin := l.pos.byteNo - l.pos.lineStart - 1 - commentStartLoc := l.tokenStartLoc - - //nolint:ineffassign,staticcheck - r := l.next() // consume the initial '*' - for r = l.next(); r != '*' || l.peek() != '/'; r = l.next() { - if r == lexEOF { - return l.makeStaticErrorPoint( - "Multi-line comment has no terminating */", - commentStartLoc) - } - } - - l.next() // Consume trailing '/' - // Includes the "/*" and "*/". - comment := l.input[l.tokenStart:l.pos.byteNo] - - newLinesAfter, indentAfter := l.lexWhitespace() - if !strings.ContainsRune(comment, '\n') { - l.addFodder(ast.FodderInterstitial, 0, 0, []string{comment}) - if newLinesAfter > 0 { - l.addFodder(ast.FodderLineEnd, newLinesAfter-1, indentAfter, []string{}) - } - } else { - lines := lineSplit(comment, margin) - if lines[0][0] != '/' { - panic(fmt.Sprintf("Invalid parsing of C style comment %v", lines)) - } - // Little hack to support FodderParagraphs with * down the LHS: - // Add a space to lines that start with a '*' - allStar := true - for _, l := range lines { - if len(l) == 0 || l[0] != '*' { - allStar = false - } - } - if allStar { - for i := range lines { - if lines[i][0] == '*' { - lines[i] = " " + lines[i] - } - } - } - if newLinesAfter == 0 { - // Ensure a line end after the paragraph. - newLinesAfter = 1 - indentAfter = 0 - } - l.addFodderSafe(ast.FodderParagraph, newLinesAfter-1, indentAfter, lines) - } - return nil - } - - if r == '|' && strings.HasPrefix(l.input[l.pos.byteNo:], "||") { - commentStartLoc := l.tokenStartLoc - l.acceptN(2) // Skip "||" - var cb bytes.Buffer - - // Skip whitespace - for r = l.next(); r == ' ' || r == '\t' || r == '\r'; r = l.next() { - } - - // Skip \n - if r != '\n' { - return l.makeStaticErrorPoint("Text block requires new line after |||.", - commentStartLoc) - } - - // Process leading blank lines before calculating stringBlockIndent - for r = l.peek(); r == '\n'; r = l.peek() { - l.next() - cb.WriteRune(r) - } - numWhiteSpace := checkWhitespace(l.input[l.pos.byteNo:], l.input[l.pos.byteNo:]) - stringBlockIndent := l.input[l.pos.byteNo : l.pos.byteNo+numWhiteSpace] - if numWhiteSpace == 0 { - return l.makeStaticErrorPoint("Text block's first line must start with whitespace", - commentStartLoc) - } - - for { - if numWhiteSpace <= 0 { - panic("Unexpected value for numWhiteSpace") - } - l.acceptN(numWhiteSpace) - for r = l.next(); r != '\n'; r = l.next() { - if r == lexEOF { - return l.makeStaticErrorPoint("Unexpected EOF", commentStartLoc) - } - cb.WriteRune(r) - } - cb.WriteRune('\n') - - // Skip any blank lines - for r = l.peek(); r == '\n'; r = l.peek() { - l.next() - cb.WriteRune(r) - } - - // Look at the next line - numWhiteSpace = checkWhitespace(stringBlockIndent, l.input[l.pos.byteNo:]) - if numWhiteSpace == 0 { - // End of the text block - var stringBlockTermIndent string - for r = l.peek(); r == ' ' || r == '\t'; r = l.peek() { - l.next() - stringBlockTermIndent += string(r) - } - if !strings.HasPrefix(l.input[l.pos.byteNo:], "|||") { - return l.makeStaticErrorPoint("Text block not terminated with |||", commentStartLoc) - } - l.acceptN(3) // Skip '|||' - l.emitFullToken(tokenStringBlock, cb.String(), - stringBlockIndent, stringBlockTermIndent) - l.resetTokenStart() - return nil - } - } - } - - // Assume any string of symbols is a single operator. - for r = l.peek(); isSymbol(r); r = l.peek() { - // Not allowed // in operators - if r == '/' && strings.HasPrefix(l.input[l.pos.byteNo:], "/") { - break - } - // Not allowed /* in operators - if r == '/' && strings.HasPrefix(l.input[l.pos.byteNo:], "*") { - break - } - // Not allowed ||| in operators - if r == '|' && strings.HasPrefix(l.input[l.pos.byteNo:], "||") { - break - } - l.next() - } - - // Operators are not allowed to end with + - ~ ! unless they are one rune long. - // So, wind it back if we need to, but stop at the first rune. - // This relies on the hack that all operator symbols are ASCII and thus there is - // no need to treat this substring as general UTF-8. - for r = rune(l.input[l.pos.byteNo-1]); l.pos.byteNo > l.tokenStart+1; l.pos.byteNo-- { - switch r { - case '+', '-', '~', '!', '$': - continue - } - break - } - - if l.input[l.tokenStart:l.pos.byteNo] == "$" { - l.emitToken(tokenDollar) - } else { - l.emitToken(tokenOperator) - } - return nil -} - -// Lex returns a slice of tokens recognised in input. -func Lex(diagnosticFilename ast.DiagnosticFileName, importedFilename, input string) (Tokens, error) { - l := makeLexer(diagnosticFilename, importedFilename, input) - - var err error - for { - newLines, indent := l.lexWhitespace() - // If it's the end of the file, discard final whitespace. - if l.peek() == lexEOF { - l.next() - l.resetTokenStart() - break - } - if newLines > 0 { - // Otherwise store whitespace in fodder. - blanks := newLines - 1 - l.addFodder(ast.FodderLineEnd, blanks, indent, []string{}) - } - l.resetTokenStart() // Don't include whitespace in actual token. - r := l.peek() - switch r { - case '{': - l.next() - l.emitToken(tokenBraceL) - case '}': - l.next() - l.emitToken(tokenBraceR) - case '[': - l.next() - l.emitToken(tokenBracketL) - case ']': - l.next() - l.emitToken(tokenBracketR) - case ',': - l.next() - l.emitToken(tokenComma) - case '.': - l.next() - l.emitToken(tokenDot) - case '(': - l.next() - l.emitToken(tokenParenL) - case ')': - l.next() - l.emitToken(tokenParenR) - case ';': - l.next() - l.emitToken(tokenSemicolon) - - case '0', '1', '2', '3', '4', '5', '6', '7', '8', '9': - err = l.lexNumber() - if err != nil { - return nil, err - } - - // String literals - - case '"': - stringStartLoc := l.location() - l.next() - for r = l.next(); ; r = l.next() { - if r == lexEOF { - return nil, l.makeStaticErrorPoint("Unterminated String", stringStartLoc) - } - if r == '"' { - // Don't include the quotes in the token data - l.emitFullToken(tokenStringDouble, l.input[l.tokenStart+1:l.pos.byteNo-1], "", "") - l.resetTokenStart() - break - } - if r == '\\' && l.peek() != lexEOF { - //nolint:ineffassign,staticcheck - r = l.next() - } - } - case '\'': - stringStartLoc := l.location() - l.next() - for r = l.next(); ; r = l.next() { - if r == lexEOF { - return nil, l.makeStaticErrorPoint("Unterminated String", stringStartLoc) - } - if r == '\'' { - // Don't include the quotes in the token data - l.emitFullToken(tokenStringSingle, l.input[l.tokenStart+1:l.pos.byteNo-1], "", "") - l.resetTokenStart() - break - } - if r == '\\' && l.peek() != lexEOF { - //nolint:ineffassign,staticcheck - r = l.next() - } - } - case '@': - stringStartLoc := l.location() - l.next() - // Verbatim string literals. - // ' and " quoting is interpreted here, unlike non-verbatim strings - // where it is done later by jsonnet_string_unescape. This is OK - // in this case because no information is lost by resoving the - // repeated quote into a single quote, so we can go back to the - // original form in the formatter. - var data []rune - quot := l.next() - var kind tokenKind - if quot == '"' { - kind = tokenVerbatimStringDouble - } else if quot == '\'' { - kind = tokenVerbatimStringSingle - } else { - return nil, l.makeStaticErrorPoint( - fmt.Sprintf("Couldn't lex verbatim string, junk after '@': %v", quot), - stringStartLoc, - ) - } - for r = l.next(); ; r = l.next() { - if r == lexEOF { - return nil, l.makeStaticErrorPoint("Unterminated String", stringStartLoc) - } else if r == quot { - if l.peek() == quot { - l.next() - data = append(data, r) - } else { - l.emitFullToken(kind, string(data), "", "") - l.resetTokenStart() - break - } - } else { - data = append(data, r) - } - } - - default: - if isIdentifierFirst(r) { - l.lexIdentifier() - } else if isSymbol(r) || r == '#' { - err = l.lexSymbol() - if err != nil { - return nil, err - } - } else { - return nil, l.makeStaticErrorPoint( - fmt.Sprintf("Could not lex the character %s", strconv.QuoteRuneToASCII(r)), - l.location()) - } - - } - } - - // We are currently at the EOF. Emit a special token to capture any - // trailing fodder - l.emitToken(tokenEndOfFile) - return l.tokens, nil -} diff --git a/vendor/github.com/google/go-jsonnet/internal/parser/literalfield_set.go b/vendor/github.com/google/go-jsonnet/internal/parser/literalfield_set.go deleted file mode 100644 index e39b4cd5b..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/parser/literalfield_set.go +++ /dev/null @@ -1,172 +0,0 @@ -// Generated by: main -// TypeWriter: set -// Directive: +gen on LiteralField - -package parser - -// Set is a modification of https://github.com/deckarep/golang-set -// The MIT License (MIT) -// Copyright (c) 2013 Ralph Caraveo (deckarep@gmail.com) - -// LiteralFieldSet is the primary type that represents a set -type LiteralFieldSet map[LiteralField]struct{} - -// NewLiteralFieldSet creates and returns a reference to an empty set. -func NewLiteralFieldSet(a ...LiteralField) LiteralFieldSet { - s := make(LiteralFieldSet) - for _, i := range a { - s.Add(i) - } - return s -} - -// ToSlice returns the elements of the current set as a slice -func (set LiteralFieldSet) ToSlice() []LiteralField { - var s []LiteralField - for v := range set { - s = append(s, v) - } - return s -} - -// Add adds an item to the current set if it doesn't already exist in the set. -func (set LiteralFieldSet) Add(i LiteralField) bool { - _, found := set[i] - set[i] = struct{}{} - return !found //False if it existed already -} - -// Contains determines if a given item is already in the set. -func (set LiteralFieldSet) Contains(i LiteralField) bool { - _, found := set[i] - return found -} - -// ContainsAll determines if the given items are all in the set -func (set LiteralFieldSet) ContainsAll(i ...LiteralField) bool { - for _, v := range i { - if !set.Contains(v) { - return false - } - } - return true -} - -// IsSubset determines if every item in the other set is in this set. -func (set LiteralFieldSet) IsSubset(other LiteralFieldSet) bool { - for elem := range set { - if !other.Contains(elem) { - return false - } - } - return true -} - -// IsSuperset determines if every item of this set is in the other set. -func (set LiteralFieldSet) IsSuperset(other LiteralFieldSet) bool { - return other.IsSubset(set) -} - -// Union returns a new set with all items in both sets. -func (set LiteralFieldSet) Union(other LiteralFieldSet) LiteralFieldSet { - unionedSet := NewLiteralFieldSet() - - for elem := range set { - unionedSet.Add(elem) - } - for elem := range other { - unionedSet.Add(elem) - } - return unionedSet -} - -// Intersect returns a new set with items that exist only in both sets. -func (set LiteralFieldSet) Intersect(other LiteralFieldSet) LiteralFieldSet { - intersection := NewLiteralFieldSet() - // loop over smaller set - if set.Cardinality() < other.Cardinality() { - for elem := range set { - if other.Contains(elem) { - intersection.Add(elem) - } - } - } else { - for elem := range other { - if set.Contains(elem) { - intersection.Add(elem) - } - } - } - return intersection -} - -// Difference returns a new set with items in the current set but not in the other set -func (set LiteralFieldSet) Difference(other LiteralFieldSet) LiteralFieldSet { - differencedSet := NewLiteralFieldSet() - for elem := range set { - if !other.Contains(elem) { - differencedSet.Add(elem) - } - } - return differencedSet -} - -// SymmetricDifference returns a new set with items in the current set or the other set but not in both. -func (set LiteralFieldSet) SymmetricDifference(other LiteralFieldSet) LiteralFieldSet { - aDiff := set.Difference(other) - bDiff := other.Difference(set) - return aDiff.Union(bDiff) -} - -// Clear clears the entire set to be the empty set. -func (set *LiteralFieldSet) Clear() { - *set = make(LiteralFieldSet) -} - -// Remove allows the removal of a single item in the set. -func (set LiteralFieldSet) Remove(i LiteralField) { - delete(set, i) -} - -// Cardinality returns how many items are currently in the set. -func (set LiteralFieldSet) Cardinality() int { - return len(set) -} - -// Iter returns a channel of type LiteralField that you can range over. -func (set LiteralFieldSet) Iter() <-chan LiteralField { - ch := make(chan LiteralField) - go func() { - for elem := range set { - ch <- elem - } - close(ch) - }() - - return ch -} - -// Equal determines if two sets are equal to each other. -// If they both are the same size and have the same items they are considered equal. -// Order of items is not relevent for sets to be equal. -func (set LiteralFieldSet) Equal(other LiteralFieldSet) bool { - if set.Cardinality() != other.Cardinality() { - return false - } - for elem := range set { - if !other.Contains(elem) { - return false - } - } - return true -} - -// Clone returns a clone of the set. -// Does NOT clone the underlying elements. -func (set LiteralFieldSet) Clone() LiteralFieldSet { - clonedSet := NewLiteralFieldSet() - for elem := range set { - clonedSet.Add(elem) - } - return clonedSet -} diff --git a/vendor/github.com/google/go-jsonnet/internal/parser/parser.go b/vendor/github.com/google/go-jsonnet/internal/parser/parser.go deleted file mode 100644 index 7589d67cb..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/parser/parser.go +++ /dev/null @@ -1,1410 +0,0 @@ -/* -Copyright 2016 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 parser reads Jsonnet files and parses them into AST nodes. -package parser - -import ( - "fmt" - - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/internal/errors" -) - -type precedence int - -const ( - applyPrecedence precedence = 2 // ast.Function calls and indexing. - unaryPrecedence precedence = 4 // Logical and bitwise negation, unary + - - maxPrecedence precedence = 16 // ast.Local, If, ast.Import, ast.Function, Error -) - -var bopPrecedence = map[ast.BinaryOp]precedence{ - ast.BopMult: 5, - ast.BopDiv: 5, - ast.BopPercent: 5, - ast.BopPlus: 6, - ast.BopMinus: 6, - ast.BopShiftL: 7, - ast.BopShiftR: 7, - ast.BopGreater: 8, - ast.BopGreaterEq: 8, - ast.BopLess: 8, - ast.BopLessEq: 8, - ast.BopIn: 8, - ast.BopManifestEqual: 9, - ast.BopManifestUnequal: 9, - ast.BopBitwiseAnd: 10, - ast.BopBitwiseXor: 11, - ast.BopBitwiseOr: 12, - ast.BopAnd: 13, - ast.BopOr: 14, -} - -// --------------------------------------------------------------------------- - -func makeUnexpectedError(t *token, while string) errors.StaticError { - return errors.MakeStaticError( - fmt.Sprintf("Unexpected: %v", t), t.loc).WithContext(while) -} - -func locFromTokens(begin, end *token) ast.LocationRange { - return ast.LocationRangeBetween(&begin.loc, &end.loc) -} - -func locFromTokenAST(begin *token, end ast.Node) ast.LocationRange { - return ast.LocationRangeBetween(&begin.loc, end.Loc()) -} - -// --------------------------------------------------------------------------- - -type parser struct { - t Tokens - currT int -} - -func makeParser(t Tokens) *parser { - return &parser{ - t: t, - } -} - -func (p *parser) pop() *token { - t := &p.t[p.currT] - p.currT++ - return t -} - -func (p *parser) unexpectedTokenError(tk tokenKind, t *token) errors.StaticError { - if tk == t.kind { - panic("Unexpectedly expected token kind") - } - return errors.MakeStaticError(fmt.Sprintf("Expected token %v but got %v", tk, t), t.loc) -} - -func (p *parser) popExpect(tk tokenKind) (*token, errors.StaticError) { - t := p.pop() - if t.kind != tk { - return nil, p.unexpectedTokenError(tk, t) - } - return t, nil -} - -func (p *parser) popExpectOp(op string) (*token, errors.StaticError) { - t := p.pop() - if t.kind != tokenOperator || t.data != op { - return nil, errors.MakeStaticError( - fmt.Sprintf("Expected operator %v but got %v", op, t), t.loc) - } - return t, nil -} - -func (p *parser) peek() *token { - return &p.t[p.currT] -} - -func (p *parser) doublePeek() *token { - return &p.t[p.currT+1] -} - -// parseArgument parses either id = expr or just expr. -// It returns either (, id, , expr) or (nil, nil, nil, expr) -// respectively. -func (p *parser) parseArgument() (ast.Fodder, *ast.Identifier, ast.Fodder, ast.Node, errors.StaticError) { - var idFodder ast.Fodder - var id *ast.Identifier - var eqFodder ast.Fodder - if p.peek().kind == tokenIdentifier && p.doublePeek().kind == tokenOperator && p.doublePeek().data == "=" { - ident := p.pop() - var tmpID = ast.Identifier(ident.data) - id = &tmpID - idFodder = ident.fodder - eq := p.pop() - eqFodder = eq.fodder - } - expr, err := p.parse(maxPrecedence) - if err != nil { - return nil, nil, nil, nil, err - } - return idFodder, id, eqFodder, expr, nil -} - -// TODO(sbarzowski) - this returned bool is weird -func (p *parser) parseArguments(elementKind string) (*token, *ast.Arguments, bool, errors.StaticError) { - args := &ast.Arguments{} - gotComma := false - namedArgumentAdded := false - first := true - for { - commaFodder := ast.Fodder{} - next := p.peek() - - if next.kind == tokenParenR { - // gotComma can be true or false here. - return p.pop(), args, gotComma, nil - } - - if !first && !gotComma { - return nil, nil, false, errors.MakeStaticError(fmt.Sprintf("Expected a comma before next %s, got %s", elementKind, next), next.loc) - } - - idFodder, id, eqFodder, expr, err := p.parseArgument() - if err != nil { - return nil, nil, false, err - } - - if p.peek().kind == tokenComma { - comma := p.pop() - gotComma = true - commaFodder = comma.fodder - } else { - gotComma = false - } - - if id == nil { - if namedArgumentAdded { - return nil, nil, false, errors.MakeStaticError("Positional argument after a named argument is not allowed", next.loc) - } - el := ast.CommaSeparatedExpr{Expr: expr} - if gotComma { - el.CommaFodder = commaFodder - } - args.Positional = append(args.Positional, el) - } else { - namedArgumentAdded = true - args.Named = append(args.Named, ast.NamedArgument{ - NameFodder: idFodder, - Name: *id, - EqFodder: eqFodder, - Arg: expr, - CommaFodder: commaFodder, - }) - } - - first = false - } -} - -// parseParameter parses either id = expr or just id. -// It returns either (, id, , expr) or (, id, nil, nil) -// respectively. -func (p *parser) parseParameter() (ast.Parameter, errors.StaticError) { - ret := ast.Parameter{} - ident, err := p.popExpect(tokenIdentifier) - if err != nil { - return ret, err.WithContext("parsing parameter") - } - ret.Name = ast.Identifier(ident.data) - ret.NameFodder = ident.fodder - ret.LocRange = ident.loc - if p.peek().kind == tokenOperator && p.peek().data == "=" { - eq := p.pop() - ret.EqFodder = eq.fodder - ret.DefaultArg, err = p.parse(maxPrecedence) - if err != nil { - return ret, err - } - ret.LocRange = locFromTokenAST(ident, ret.DefaultArg) - } - return ret, nil -} - -// TODO(sbarzowski) - this returned bool is weird -func (p *parser) parseParameters(elementKind string) (*token, []ast.Parameter, bool, errors.StaticError) { - - var parenR *token - var params []ast.Parameter - gotComma := false - first := true - for { - next := p.peek() - - if next.kind == tokenParenR { - // gotComma can be true or false here. - parenR = p.pop() - break - } - - if !first && !gotComma { - return nil, nil, false, errors.MakeStaticError(fmt.Sprintf("Expected a comma before next %s, got %s", elementKind, next), next.loc) - } - - param, err := p.parseParameter() - if err != nil { - return nil, nil, false, err - } - - if p.peek().kind == tokenComma { - comma := p.pop() - param.CommaFodder = comma.fodder - gotComma = true - } else { - gotComma = false - } - params = append(params, param) - - first = false - } - - return parenR, params, gotComma, nil -} - -// TODO(sbarzowski) add location to all individual binds -func (p *parser) parseBind(binds *ast.LocalBinds) (*token, errors.StaticError) { - varID, popErr := p.popExpect(tokenIdentifier) - if popErr != nil { - return nil, popErr - } - for _, b := range *binds { - if b.Variable == ast.Identifier(varID.data) { - return nil, errors.MakeStaticError(fmt.Sprintf("Duplicate local var: %v", varID.data), varID.loc) - } - } - - var fun *ast.Function - if p.peek().kind == tokenParenL { - parenL := p.pop() - parenR, params, gotComma, err := p.parseParameters("function parameter") - if err != nil { - return nil, err - } - fun = &ast.Function{ - ParenLeftFodder: parenL.fodder, - Parameters: params, - TrailingComma: gotComma, - ParenRightFodder: parenR.fodder, - // Body gets filled in later. - } - } - - eqToken, popErr := p.popExpectOp("=") - if popErr != nil { - return nil, popErr - } - body, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - - delim := p.pop() - if delim.kind != tokenSemicolon && delim.kind != tokenComma { - return nil, errors.MakeStaticError(fmt.Sprintf("Expected , or ; but got %v", delim), delim.loc) - } - - if fun != nil { - fun.NodeBase = ast.NewNodeBaseLoc(locFromTokenAST(varID, body), nil) - fun.Body = body - *binds = append(*binds, ast.LocalBind{ - VarFodder: varID.fodder, - Variable: ast.Identifier(varID.data), - EqFodder: eqToken.fodder, - Body: body, - Fun: fun, - CloseFodder: delim.fodder, - LocRange: locFromTokenAST(varID, body), - }) - } else { - *binds = append(*binds, ast.LocalBind{ - VarFodder: varID.fodder, - Variable: ast.Identifier(varID.data), - EqFodder: eqToken.fodder, - Body: body, - CloseFodder: delim.fodder, - LocRange: locFromTokenAST(varID, body), - }) - } - - return delim, nil -} - -func (p *parser) parseObjectAssignmentOp() (opFodder ast.Fodder, plusSugar bool, hide ast.ObjectFieldHide, err errors.StaticError) { - op, err := p.popExpect(tokenOperator) - if err != nil { - return - } - opFodder = op.fodder - opStr := op.data - if opStr[0] == '+' { - plusSugar = true - opStr = opStr[1:] - } - - numColons := 0 - for len(opStr) > 0 { - if opStr[0] != ':' { - err = errors.MakeStaticError( - fmt.Sprintf("Expected one of :, ::, :::, +:, +::, +:::, got: %v", op.data), op.loc) - return - } - opStr = opStr[1:] - numColons++ - } - - switch numColons { - case 1: - hide = ast.ObjectFieldInherit - case 2: - hide = ast.ObjectFieldHidden - case 3: - hide = ast.ObjectFieldVisible - default: - err = errors.MakeStaticError( - fmt.Sprintf("Expected one of :, ::, :::, +:, +::, +:::, got: %v", op.data), op.loc) - return - } - - return -} - -// A LiteralField is a field of an object or object comprehension. -// +gen set -type LiteralField string - -func (p *parser) parseObjectRemainderComp(fields ast.ObjectFields, gotComma bool, tok *token, next *token) (ast.Node, *token, errors.StaticError) { - numFields := 0 - numAsserts := 0 - var field ast.ObjectField - for _, f := range fields { - if f.Kind == ast.ObjectLocal { - continue - } - if f.Kind == ast.ObjectAssert { - numAsserts++ - continue - } - numFields++ - field = f - } - - if numAsserts > 0 { - return nil, nil, errors.MakeStaticError("Object comprehension cannot have asserts", next.loc) - } - if numFields != 1 { - return nil, nil, errors.MakeStaticError("Object comprehension can only have one field", next.loc) - } - if field.Hide != ast.ObjectFieldInherit { - return nil, nil, errors.MakeStaticError("Object comprehensions cannot have hidden fields", next.loc) - } - if field.Kind != ast.ObjectFieldExpr { - return nil, nil, errors.MakeStaticError("Object comprehensions can only have [e] fields", next.loc) - } - spec, last, err := p.parseComprehensionSpecs(next, tokenBraceR) - if err != nil { - return nil, nil, err - } - return &ast.ObjectComp{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(tok, last), tok.fodder), - Fields: fields, - TrailingComma: gotComma, - Spec: *spec, - CloseFodder: last.fodder, - }, last, nil -} - -func (p *parser) parseObjectRemainderField(literalFields *LiteralFieldSet, tok *token, next *token) (*ast.ObjectField, errors.StaticError) { - var kind ast.ObjectFieldKind - var fodder1 ast.Fodder - var expr1 ast.Node - var id *ast.Identifier - var fodder2 ast.Fodder - switch next.kind { - case tokenIdentifier: - kind = ast.ObjectFieldID - id = (*ast.Identifier)(&next.data) - fodder1 = next.fodder - case tokenStringDouble, tokenStringSingle, - tokenStringBlock, tokenVerbatimStringDouble, tokenVerbatimStringSingle: - kind = ast.ObjectFieldStr - expr1 = tokenStringToAst(next) - default: - fodder1 = next.fodder - kind = ast.ObjectFieldExpr - var err errors.StaticError - expr1, err = p.parse(maxPrecedence) - if err != nil { - return nil, err - } - bracketR, err := p.popExpect(tokenBracketR) - if err != nil { - return nil, err - } - fodder2 = bracketR.fodder - } - - isMethod := false - methComma := false - var parenL *token - var parenR *token - var params []ast.Parameter - if p.peek().kind == tokenParenL { - parenL = p.pop() - var err errors.StaticError - parenR, params, methComma, err = p.parseParameters("method parameter") - if err != nil { - return nil, err - } - isMethod = true - } - - opFodder, plusSugar, hide, err := p.parseObjectAssignmentOp() - if err != nil { - return nil, err - } - - if plusSugar && isMethod { - return nil, errors.MakeStaticError( - fmt.Sprintf("Cannot use +: syntax sugar in a method: %v", next.data), next.loc) - } - - if kind != ast.ObjectFieldExpr { - if !literalFields.Add(LiteralField(next.data)) { - return nil, errors.MakeStaticError( - fmt.Sprintf("Duplicate field: %v", next.data), next.loc) - } - } - - body, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - - var method *ast.Function - if isMethod { - method = &ast.Function{ - ParenLeftFodder: parenL.fodder, - Parameters: params, - TrailingComma: methComma, - ParenRightFodder: parenR.fodder, - Body: body, - } - } - - var commaFodder ast.Fodder - if p.peek().kind == tokenComma { - commaFodder = p.peek().fodder - } - - return &ast.ObjectField{ - Kind: kind, - Hide: hide, - SuperSugar: plusSugar, - Method: method, - Fodder1: fodder1, - Expr1: expr1, - Id: id, - Fodder2: fodder2, - OpFodder: opFodder, - Expr2: body, - CommaFodder: commaFodder, - LocRange: locFromTokenAST(next, body), - }, nil -} - -func (p *parser) parseObjectRemainderLocal(binds *ast.IdentifierSet, tok *token, next *token) (*ast.ObjectField, errors.StaticError) { - varID, popErr := p.popExpect(tokenIdentifier) - if popErr != nil { - return nil, popErr - } - - id := ast.Identifier(varID.data) - - if binds.Contains(id) { - return nil, errors.MakeStaticError(fmt.Sprintf("Duplicate local var: %v", id), varID.loc) - } - - // TODO(sbarzowski) Can we reuse regular local bind parsing here? - - isMethod := false - funcComma := false - var parenL *token - var parenR *token - var params []ast.Parameter - if p.peek().kind == tokenParenL { - parenL = p.pop() - isMethod = true - var err errors.StaticError - parenR, params, funcComma, err = p.parseParameters("function parameter") - if err != nil { - return nil, err - } - } - opToken, popErr := p.popExpectOp("=") - if popErr != nil { - return nil, popErr - } - - body, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - - var method *ast.Function - if isMethod { - method = &ast.Function{ - ParenLeftFodder: parenL.fodder, - Parameters: params, - ParenRightFodder: parenR.fodder, - TrailingComma: funcComma, - Body: body, - } - } - - binds.Add(id) - - var commaFodder ast.Fodder - if p.peek().kind == tokenComma { - commaFodder = p.peek().fodder - } - - return &ast.ObjectField{ - Kind: ast.ObjectLocal, - Hide: ast.ObjectFieldVisible, - SuperSugar: false, - Method: method, - Fodder1: next.fodder, - Fodder2: varID.fodder, - Id: &id, - OpFodder: opToken.fodder, - Expr2: body, - CommaFodder: commaFodder, - LocRange: locFromTokenAST(varID, body), - }, nil -} - -func (p *parser) parseObjectRemainderAssert(tok *token, next *token) (*ast.ObjectField, errors.StaticError) { - cond, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - lastAST := cond // for determining location - var msg ast.Node - var colonFodder ast.Fodder - if p.peek().kind == tokenOperator && p.peek().data == ":" { - colonToken := p.pop() - colonFodder = colonToken.fodder - msg, err = p.parse(maxPrecedence) - if err != nil { - return nil, err - } - lastAST = msg - } - - var commaFodder ast.Fodder - if p.peek().kind == tokenComma { - commaFodder = p.peek().fodder - } - - return &ast.ObjectField{ - Kind: ast.ObjectAssert, - Hide: ast.ObjectFieldVisible, - Fodder1: next.fodder, - Expr2: cond, - OpFodder: colonFodder, - Expr3: msg, - CommaFodder: commaFodder, - LocRange: locFromTokenAST(next, lastAST), - }, nil -} - -// Parse object or object comprehension without leading brace -func (p *parser) parseObjectRemainder(tok *token) (ast.Node, *token, errors.StaticError) { - var fields ast.ObjectFields - literalFields := make(LiteralFieldSet) - binds := make(ast.IdentifierSet) - - gotComma := false - first := true - - next := p.pop() - - for { - - if next.kind == tokenBraceR { - return &ast.Object{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(tok, next), tok.fodder), - Fields: fields, - TrailingComma: gotComma, - CloseFodder: next.fodder, - }, next, nil - } - - if next.kind == tokenFor { - // It's a comprehension - return p.parseObjectRemainderComp(fields, gotComma, tok, next) - } - - if !gotComma && !first { - return nil, nil, errors.MakeStaticError("Expected a comma before next field", next.loc) - } - - var field *ast.ObjectField - var err errors.StaticError - switch next.kind { - case tokenBracketL, tokenIdentifier, tokenStringDouble, tokenStringSingle, - tokenStringBlock, tokenVerbatimStringDouble, tokenVerbatimStringSingle: - field, err = p.parseObjectRemainderField(&literalFields, tok, next) - if err != nil { - return nil, nil, err - } - - case tokenLocal: - field, err = p.parseObjectRemainderLocal(&binds, tok, next) - if err != nil { - return nil, nil, err - } - - case tokenAssert: - field, err = p.parseObjectRemainderAssert(tok, next) - if err != nil { - return nil, nil, err - } - - default: - return nil, nil, makeUnexpectedError(next, "parsing field definition") - } - fields = append(fields, *field) - - next = p.pop() - if next.kind == tokenComma { - gotComma = true - next = p.pop() - } else { - gotComma = false - } - - first = false - } -} - -/* parses for x in expr for y in expr if expr for z in expr ... */ -func (p *parser) parseComprehensionSpecs(forToken *token, end tokenKind) (*ast.ForSpec, *token, errors.StaticError) { - var parseComprehensionSpecsHelper func(forToken *token, outer *ast.ForSpec) (*ast.ForSpec, *token, errors.StaticError) - parseComprehensionSpecsHelper = func(forToken *token, outer *ast.ForSpec) (*ast.ForSpec, *token, errors.StaticError) { - var ifSpecs []ast.IfSpec - - varID, popErr := p.popExpect(tokenIdentifier) - if popErr != nil { - return nil, nil, popErr - } - id := ast.Identifier(varID.data) - inToken, err := p.popExpect(tokenIn) - if err != nil { - return nil, nil, err - } - arr, err := p.parse(maxPrecedence) - if err != nil { - return nil, nil, err - } - forSpec := &ast.ForSpec{ - ForFodder: forToken.fodder, - VarFodder: varID.fodder, - VarName: id, - InFodder: inToken.fodder, - Expr: arr, - Outer: outer, - } - - maybeIf := p.pop() - for ; maybeIf.kind == tokenIf; maybeIf = p.pop() { - cond, err := p.parse(maxPrecedence) - if err != nil { - return nil, nil, err - } - ifSpecs = append(ifSpecs, ast.IfSpec{ - IfFodder: maybeIf.fodder, - Expr: cond, - }) - } - forSpec.Conditions = ifSpecs - if maybeIf.kind == end { - return forSpec, maybeIf, nil - } - - if maybeIf.kind != tokenFor { - return nil, nil, errors.MakeStaticError( - fmt.Sprintf("Expected for, if or %v after for clause, got: %v", end, maybeIf), maybeIf.loc) - } - - return parseComprehensionSpecsHelper(maybeIf, forSpec) - } - return parseComprehensionSpecsHelper(forToken, nil) -} - -// Assumes that the leading '[' has already been consumed and passed as tok. -// Should read up to and consume the trailing ']' -func (p *parser) parseArray(tok *token) (ast.Node, errors.StaticError) { - if p.peek().kind == tokenBracketR { - bracketR := p.pop() - return &ast.Array{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(tok, bracketR), tok.fodder), - CloseFodder: bracketR.fodder, - }, nil - } - - first, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - var gotComma bool - var commaFodder ast.Fodder - if p.peek().kind == tokenComma { - comma := p.pop() - gotComma = true - commaFodder = comma.fodder - } - - if p.peek().kind == tokenFor { - // It's a comprehension - forToken := p.pop() - spec, last, err := p.parseComprehensionSpecs(forToken, tokenBracketR) - if err != nil { - return nil, err - } - return &ast.ArrayComp{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(tok, last), tok.fodder), - Body: first, - TrailingComma: gotComma, - TrailingCommaFodder: commaFodder, - Spec: *spec, - CloseFodder: last.fodder, - }, nil - } - - // Not a comprehension: It can have more elements. - elements := []ast.CommaSeparatedExpr{{ - Expr: first, - CommaFodder: commaFodder, - }} - - var bracketR *token - for { - next := p.peek() - - if next.kind == tokenBracketR { - bracketR = p.pop() - break - } - if !gotComma { - return nil, errors.MakeStaticError("Expected a comma before next array element", next.loc) - } - nextElem, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - - element := ast.CommaSeparatedExpr{ - Expr: nextElem, - } - if p.peek().kind == tokenComma { - comma := p.pop() - gotComma = true - element.CommaFodder = comma.fodder - } else { - gotComma = false - } - elements = append(elements, element) - } - - return &ast.Array{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(tok, bracketR), - tok.fodder), - Elements: elements, - TrailingComma: gotComma, - CloseFodder: bracketR.fodder, - }, nil -} - -func tokenStringToAst(tok *token) *ast.LiteralString { - switch tok.kind { - case tokenStringSingle: - return &ast.LiteralString{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - Value: tok.data, - Kind: ast.StringSingle, - } - case tokenStringDouble: - return &ast.LiteralString{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - Value: tok.data, - Kind: ast.StringDouble, - } - case tokenStringBlock: - return &ast.LiteralString{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - Value: tok.data, - Kind: ast.StringBlock, - BlockIndent: tok.stringBlockIndent, - BlockTermIndent: tok.stringBlockTermIndent, - } - case tokenVerbatimStringDouble: - return &ast.LiteralString{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - Value: tok.data, - Kind: ast.VerbatimStringDouble, - } - case tokenVerbatimStringSingle: - return &ast.LiteralString{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - Value: tok.data, - Kind: ast.VerbatimStringSingle, - } - default: - panic(fmt.Sprintf("Not a string token %#+v", tok)) - } -} - -func (p *parser) parseTerminal() (ast.Node, errors.StaticError) { - tok := p.pop() - switch tok.kind { - case tokenAssert, tokenBraceR, tokenBracketR, tokenComma, tokenDot, tokenElse, - tokenError, tokenFor, tokenFunction, tokenIf, tokenIn, tokenImport, tokenImportStr, tokenImportBin, - tokenLocal, tokenOperator, tokenParenR, tokenSemicolon, tokenTailStrict, tokenThen: - return nil, makeUnexpectedError(tok, "parsing terminal") - - case tokenEndOfFile: - return nil, errors.MakeStaticError("Unexpected end of file", tok.loc) - - case tokenBraceL: - obj, _, err := p.parseObjectRemainder(tok) - return obj, err - - case tokenBracketL: - return p.parseArray(tok) - - case tokenParenL: - inner, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - tokRight, err := p.popExpect(tokenParenR) - if err != nil { - return nil, err - } - return &ast.Parens{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(tok, tokRight), tok.fodder), - Inner: inner, - CloseFodder: tokRight.fodder, - }, nil - - // Literals - case tokenNumber: - return &ast.LiteralNumber{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - OriginalString: tok.data, - }, nil - case tokenStringDouble, tokenStringSingle, - tokenStringBlock, tokenVerbatimStringDouble, tokenVerbatimStringSingle: - return tokenStringToAst(tok), nil - case tokenFalse: - return &ast.LiteralBoolean{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - Value: false, - }, nil - case tokenTrue: - return &ast.LiteralBoolean{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - Value: true, - }, nil - case tokenNullLit: - return &ast.LiteralNull{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - }, nil - - // Variables - case tokenDollar: - return &ast.Dollar{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - }, nil - case tokenIdentifier: - return &ast.Var{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - Id: ast.Identifier(tok.data), - }, nil - case tokenSelf: - return &ast.Self{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - }, nil - case tokenSuper: - next := p.pop() - var index ast.Node - var id *ast.Identifier - var idFodder ast.Fodder - switch next.kind { - case tokenDot: - fieldID, err := p.popExpect(tokenIdentifier) - if err != nil { - return nil, err - } - idFodder = fieldID.fodder - id = (*ast.Identifier)(&fieldID.data) - case tokenBracketL: - var err errors.StaticError - index, err = p.parse(maxPrecedence) - if err != nil { - return nil, err - } - bracketR, err := p.popExpect(tokenBracketR) - if err != nil { - return nil, err - } - idFodder = bracketR.fodder - default: - return nil, errors.MakeStaticError("Expected . or [ after super", tok.loc) - } - return &ast.SuperIndex{ - NodeBase: ast.NewNodeBaseLoc(tok.loc, tok.fodder), - DotFodder: next.fodder, - Index: index, - IDFodder: idFodder, - Id: id, - }, nil - } - - return nil, errors.MakeStaticError(fmt.Sprintf("INTERNAL ERROR: Unknown tok kind: %v", tok.kind), tok.loc) -} - -func (p *parser) parsingFailure(msg string, tok *token) (ast.Node, errors.StaticError) { - return nil, errors.MakeStaticError(msg, tok.loc) -} - -func (p *parser) parse(prec precedence) (ast.Node, errors.StaticError) { - begin := p.peek() - - switch begin.kind { - // These cases have effectively maxPrecedence as the first - // call to parse will parse them. - case tokenAssert: - p.pop() - cond, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - var msg ast.Node - var colonFodder ast.Fodder - if p.peek().kind == tokenOperator && p.peek().data == ":" { - colon := p.pop() - colonFodder = colon.fodder - msg, err = p.parse(maxPrecedence) - if err != nil { - return nil, err - } - } - semicolon, err := p.popExpect(tokenSemicolon) - if err != nil { - return nil, err - } - rest, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - return &ast.Assert{ - NodeBase: ast.NewNodeBaseLoc(locFromTokenAST(begin, rest), begin.fodder), - Cond: cond, - ColonFodder: colonFodder, - Message: msg, - SemicolonFodder: semicolon.fodder, - Rest: rest, - }, nil - - case tokenError: - p.pop() - expr, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - return &ast.Error{ - NodeBase: ast.NewNodeBaseLoc(locFromTokenAST(begin, expr), begin.fodder), - Expr: expr, - }, nil - - case tokenIf: - p.pop() - cond, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - thenToken, err := p.popExpect(tokenThen) - if err != nil { - return nil, err - } - branchTrue, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - var branchFalse ast.Node - var elseFodder ast.Fodder - lr := locFromTokenAST(begin, branchTrue) - if p.peek().kind == tokenElse { - elseToken := p.pop() - elseFodder = elseToken.fodder - branchFalse, err = p.parse(maxPrecedence) - if err != nil { - return nil, err - } - lr = locFromTokenAST(begin, branchFalse) - } - return &ast.Conditional{ - NodeBase: ast.NewNodeBaseLoc(lr, begin.fodder), - Cond: cond, - ThenFodder: thenToken.fodder, - BranchTrue: branchTrue, - ElseFodder: elseFodder, - BranchFalse: branchFalse, - }, nil - - case tokenFunction: - p.pop() - next := p.pop() - if next.kind != tokenParenL { - return nil, errors.MakeStaticError(fmt.Sprintf("Expected ( but got %v", next), next.loc) - } - parenR, params, gotComma, err := p.parseParameters("function parameter") - if err != nil { - return nil, err - } - body, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - return &ast.Function{ - NodeBase: ast.NewNodeBaseLoc(locFromTokenAST(begin, body), begin.fodder), - ParenLeftFodder: next.fodder, - Parameters: params, - TrailingComma: gotComma, - ParenRightFodder: parenR.fodder, - Body: body, - }, nil - - case tokenImport: - p.pop() - body, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - if lit, ok := body.(*ast.LiteralString); ok { - if lit.Kind == ast.StringBlock { - return nil, errors.MakeStaticError("Block string literals not allowed in imports", *body.Loc()) - } - return &ast.Import{ - NodeBase: ast.NewNodeBaseLoc(locFromTokenAST(begin, body), begin.fodder), - File: lit, - }, nil - } - return nil, errors.MakeStaticError("Computed imports are not allowed", *body.Loc()) - - case tokenImportStr: - p.pop() - body, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - if lit, ok := body.(*ast.LiteralString); ok { - if lit.Kind == ast.StringBlock { - return nil, errors.MakeStaticError("Block string literals not allowed in imports", *body.Loc()) - } - return &ast.ImportStr{ - NodeBase: ast.NewNodeBaseLoc(locFromTokenAST(begin, body), begin.fodder), - File: lit, - }, nil - } - return nil, errors.MakeStaticError("Computed imports are not allowed", *body.Loc()) - - case tokenImportBin: - p.pop() - body, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - if lit, ok := body.(*ast.LiteralString); ok { - if lit.Kind == ast.StringBlock { - return nil, errors.MakeStaticError("Block string literals not allowed in imports", *body.Loc()) - } - return &ast.ImportBin{ - NodeBase: ast.NewNodeBaseLoc(locFromTokenAST(begin, body), begin.fodder), - File: lit, - }, nil - } - return nil, errors.MakeStaticError("Computed imports are not allowed", *body.Loc()) - - case tokenLocal: - p.pop() - var binds ast.LocalBinds - for { - delim, err := p.parseBind(&binds) - if err != nil { - return nil, err - } - if delim.kind == tokenSemicolon { - break - } - } - body, err := p.parse(maxPrecedence) - if err != nil { - return nil, err - } - return &ast.Local{ - NodeBase: ast.NewNodeBaseLoc(locFromTokenAST(begin, body), begin.fodder), - Binds: binds, - Body: body, - }, nil - - default: - // ast.Unary operator - if begin.kind == tokenOperator { - uop, ok := ast.UopMap[begin.data] - if !ok { - return nil, errors.MakeStaticError(fmt.Sprintf("Not a unary operator: %v", begin.data), begin.loc) - } - if prec == unaryPrecedence { - op := p.pop() - expr, err := p.parse(prec) - if err != nil { - return nil, err - } - return &ast.Unary{ - NodeBase: ast.NewNodeBaseLoc(locFromTokenAST(op, expr), begin.fodder), - Op: uop, - Expr: expr, - }, nil - } - } - - // Base case - if prec == 0 { - return p.parseTerminal() - } - - lhs, err := p.parse(prec - 1) - if err != nil { - return nil, err - } - - for { - // Then next token must be a binary operator. - - var bop ast.BinaryOp - - // Check precedence is correct for this level. If we're parsing operators - // with higher precedence, then return lhs and let lower levels deal with - // the operator. - switch p.peek().kind { - case tokenIn: - bop = ast.BopIn - if bopPrecedence[bop] != prec { - return lhs, nil - } - case tokenOperator: - _ = "breakpoint" - if p.peek().data == ":" { - // Special case for the colons in assert. Since COLON is no-longer a - // special token, we have to make sure it does not trip the - // op_is_binary test below. It should terminate parsing of the - // expression here, returning control to the parsing of the actual - // assert AST. - return lhs, nil - } - if p.peek().data == "::" { - // Special case for [e::] - // We need to stop parsing e when we see the :: and - // avoid tripping the op_is_binary test below. - return lhs, nil - } - var ok bool - bop, ok = ast.BopMap[p.peek().data] - if !ok { - return nil, errors.MakeStaticError(fmt.Sprintf("Not a binary operator: %v", p.peek().data), p.peek().loc) - } - if bopPrecedence[bop] != prec { - return lhs, nil - } - - case tokenDot, tokenBracketL, tokenParenL, tokenBraceL: - if applyPrecedence != prec { - return lhs, nil - } - default: - return lhs, nil - } - - op := p.pop() - switch op.kind { - case tokenBracketL: - // handle slice - var indexes [3]ast.Node - var fodders [3]ast.Fodder - colonsConsumed := 0 - - var end *token - readyForNextIndex := true - var rightBracketFodder ast.Fodder - for colonsConsumed < 3 { - if p.peek().kind == tokenBracketR { - end = p.pop() - rightBracketFodder = end.fodder - break - } else if p.peek().data == ":" { - end = p.pop() - fodders[colonsConsumed] = end.fodder - colonsConsumed++ - readyForNextIndex = true - } else if p.peek().data == "::" { - end = p.pop() - fodders[colonsConsumed] = end.fodder - colonsConsumed += 2 - readyForNextIndex = true - } else if readyForNextIndex { - indexes[colonsConsumed], err = p.parse(maxPrecedence) - if err != nil { - return nil, err - } - readyForNextIndex = false - } else { - return nil, p.unexpectedTokenError(tokenBracketR, p.peek()) - } - } - if colonsConsumed > 2 { - // example: target[42:42:42:42] - return p.parsingFailure("Invalid slice: too many colons", end) - } - if colonsConsumed == 0 && readyForNextIndex { - // example: target[] - return p.parsingFailure("ast.Index requires an expression", end) - } - isSlice := colonsConsumed > 0 - - if isSlice { - lhs = &ast.Slice{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(begin, end), ast.Fodder{}), - Target: lhs, - LeftBracketFodder: op.fodder, - BeginIndex: indexes[0], - EndColonFodder: fodders[0], - EndIndex: indexes[1], - StepColonFodder: fodders[1], - Step: indexes[2], - RightBracketFodder: rightBracketFodder, - } - } else { - lhs = &ast.Index{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(begin, end), ast.Fodder{}), - Target: lhs, - LeftBracketFodder: op.fodder, - Index: indexes[0], - RightBracketFodder: rightBracketFodder, - } - } - case tokenDot: - fieldID, err := p.popExpect(tokenIdentifier) - if err != nil { - return nil, err - } - id := ast.Identifier(fieldID.data) - lhs = &ast.Index{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(begin, fieldID), ast.Fodder{}), - Target: lhs, - LeftBracketFodder: op.fodder, - Id: &id, - RightBracketFodder: fieldID.fodder, - } - case tokenParenL: - end, args, gotComma, err := p.parseArguments("function argument") - if err != nil { - return nil, err - } - tailStrict := false - var tailStrictFodder ast.Fodder - if p.peek().kind == tokenTailStrict { - tailStrictTok := p.pop() - tailStrictFodder = tailStrictTok.fodder - tailStrict = true - } - lhs = &ast.Apply{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(begin, end), ast.Fodder{}), - Target: lhs, - FodderLeft: op.fodder, - Arguments: *args, - TrailingComma: gotComma, - FodderRight: end.fodder, - TailStrict: tailStrict, - TailStrictFodder: tailStrictFodder, - } - case tokenBraceL: - obj, end, err := p.parseObjectRemainder(op) - if err != nil { - return nil, err - } - lhs = &ast.ApplyBrace{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(begin, end), ast.Fodder{}), - Left: lhs, - Right: obj, - } - default: - if op.kind == tokenIn && p.peek().kind == tokenSuper { - super := p.pop() - lhs = &ast.InSuper{ - NodeBase: ast.NewNodeBaseLoc(locFromTokens(begin, super), ast.Fodder{}), - Index: lhs, - InFodder: op.fodder, - SuperFodder: super.fodder, - } - } else { - rhs, err := p.parse(prec - 1) - if err != nil { - return nil, err - } - lhs = &ast.Binary{ - NodeBase: ast.NewNodeBaseLoc(locFromTokenAST(begin, rhs), ast.Fodder{}), - Left: lhs, - OpFodder: op.fodder, - Op: bop, - Right: rhs, - } - } - } - } - } -} - -// --------------------------------------------------------------------------- - -// Parse parses a slice of tokens into a parse tree. Any fodder after the final token is -// returned as well. -func Parse(t Tokens) (ast.Node, ast.Fodder, errors.StaticError) { - p := makeParser(t) - expr, err := p.parse(maxPrecedence) - if err != nil { - return nil, nil, err - } - eof := p.peek() - - if eof.kind != tokenEndOfFile { - return nil, nil, errors.MakeStaticError(fmt.Sprintf("Did not expect: %v", eof), eof.loc) - } - - addContext(expr, &topLevelContext, anonymous) - - return expr, eof.fodder, nil -} - -// SnippetToRawAST converts a Jsonnet code snippet to an AST (without any transformations). -// Any fodder after the final token is returned as well. -func SnippetToRawAST(diagnosticFilename ast.DiagnosticFileName, importedFilename, snippet string) (ast.Node, ast.Fodder, error) { - tokens, err := Lex(diagnosticFilename, importedFilename, snippet) - if err != nil { - return nil, nil, err - } - return Parse(tokens) -} diff --git a/vendor/github.com/google/go-jsonnet/internal/parser/string_util.go b/vendor/github.com/google/go-jsonnet/internal/parser/string_util.go deleted file mode 100644 index bc3873ab6..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/parser/string_util.go +++ /dev/null @@ -1,152 +0,0 @@ -/* -Copyright 2016 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 parser - -import ( - "bytes" - "encoding/hex" - "fmt" - "unicode/utf16" - "unicode/utf8" - - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/internal/errors" -) - -// StringUnescape compiles out the escape codes in the string -func StringUnescape(loc *ast.LocationRange, s string) (string, error) { - var buf bytes.Buffer - // read one rune at a time - for i := 0; i < len(s); { - r, w := utf8.DecodeRuneInString(s[i:]) - i += w - switch r { - case '\\': - if i >= len(s) { - return "", errors.MakeStaticError("Truncated escape sequence in string literal.", *loc) - } - r2, w := utf8.DecodeRuneInString(s[i:]) - i += w - switch r2 { - case '"': - buf.WriteRune('"') - case '\'': - buf.WriteRune('\'') - case '\\': - buf.WriteRune('\\') - case '/': - buf.WriteRune('/') // See json.org, \/ is a valid escape. - case 'b': - buf.WriteRune('\b') - case 'f': - buf.WriteRune('\f') - case 'n': - buf.WriteRune('\n') - case 'r': - buf.WriteRune('\r') - case 't': - buf.WriteRune('\t') - case 'u': - if i+4 > len(s) { - return "", errors.MakeStaticError("Truncated unicode escape sequence in string literal.", *loc) - } - codeBytes, err := hex.DecodeString(s[i : i+4]) - if err != nil { - return "", errors.MakeStaticError(fmt.Sprintf("Unicode escape sequence was malformed: %s", s[0:4]), *loc) - } - i += 4 - code := rune(int(codeBytes[0])*256 + int(codeBytes[1])) - if utf16.IsSurrogate(code) { - highSurrogate := code - if i+6 /*\uXXXX*/ > len(s) { - return "", errors.MakeStaticError("Truncated unicode surrogate pair escape sequence in string literal.", *loc) - } - if s[i:i+2] != "\\u" { - return "", errors.MakeStaticError("Unicode surrogate pair escape sequence missing low surrogate in string literal.", *loc) - } - i += 2 - codeBytes, err := hex.DecodeString(s[i : i+4]) - if err != nil { - return "", errors.MakeStaticError(fmt.Sprintf("Unicode low surrogate escape sequence was malformed: %s", s[0:4]), *loc) - } - i += 4 - lowSurrogate := rune(int(codeBytes[0])*256 + int(codeBytes[1])) - code = utf16.DecodeRune(highSurrogate, lowSurrogate) - } - buf.WriteRune(code) - default: - return "", errors.MakeStaticError(fmt.Sprintf("Unknown escape sequence in string literal: \\%c", r2), *loc) - } - - default: - buf.WriteRune(r) - } - } - return buf.String(), nil -} - -// StringEscape does the opposite of StringUnescape -func StringEscape(s string, single bool) string { - var buf bytes.Buffer - // read one rune at a time - for i := 0; i < len(s); { - r, w := utf8.DecodeRuneInString(s[i:]) - i += w - switch r { - case '"': - if !single { - buf.WriteRune('\\') - } - buf.WriteRune(r) - case '\'': - if single { - buf.WriteRune('\\') - } - buf.WriteRune(r) - case '\\': - buf.WriteRune('\\') - buf.WriteRune(r) - case '\b': - buf.WriteRune('\\') - buf.WriteRune('b') - case '\f': - buf.WriteRune('\\') - buf.WriteRune('f') - case '\n': - buf.WriteRune('\\') - buf.WriteRune('n') - case '\r': - buf.WriteRune('\\') - buf.WriteRune('r') - case '\t': - buf.WriteRune('\\') - buf.WriteRune('t') - case '\u0000': - buf.WriteString("\\u0000") - - default: - if r < 0x20 || (r >= 0x7f && r <= 0x9f) { - buf.WriteRune('\\') - buf.WriteRune('u') - buf.Write([]byte(fmt.Sprintf("%04x", int(r)))) - } else { - buf.WriteRune(r) - } - } - } - return buf.String() -} diff --git a/vendor/github.com/google/go-jsonnet/internal/program/BUILD.bazel b/vendor/github.com/google/go-jsonnet/internal/program/BUILD.bazel deleted file mode 100644 index 0ccc8cb24..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/program/BUILD.bazel +++ /dev/null @@ -1,27 +0,0 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") - -go_library( - name = "go_default_library", - srcs = [ - "desugarer.go", - "program.go", - "static_analyzer.go", - ], - importpath = "github.com/google/go-jsonnet/internal/program", - visibility = ["//:__subpackages__"], - deps = [ - "//ast:go_default_library", - "//internal/errors:go_default_library", - "//internal/parser:go_default_library", - ], -) - -go_test( - name = "go_default_test", - srcs = [ - "desugarer_test.go", - "static_analyzer_test.go", - ], - embed = [":go_default_library"], - deps = ["//ast:go_default_library"], -) diff --git a/vendor/github.com/google/go-jsonnet/internal/program/desugarer.go b/vendor/github.com/google/go-jsonnet/internal/program/desugarer.go deleted file mode 100644 index d36acbe21..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/program/desugarer.go +++ /dev/null @@ -1,587 +0,0 @@ -/* -Copyright 2016 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 program - -import ( - "fmt" - "reflect" - - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/internal/errors" - "github.com/google/go-jsonnet/internal/parser" -) - -var desugaredBop = map[ast.BinaryOp]ast.Identifier{ - ast.BopPercent: "mod", - ast.BopIn: "objectHasAll", -} - -func makeStr(s string) *ast.LiteralString { - return &ast.LiteralString{ - NodeBase: ast.NodeBase{}, - Value: s, - Kind: ast.StringDouble, - BlockIndent: "", - } -} - -func desugarFields(nodeBase ast.NodeBase, fields *ast.ObjectFields, objLevel int) (*ast.DesugaredObject, error) { - for i := range *fields { - field := &((*fields)[i]) - if field.Method == nil { - continue - } - field.Expr2 = field.Method - field.Method = nil - // Body of the function already desugared through expr2 - } - - asserts := ast.Nodes{} - locals := ast.LocalBinds{} - desugaredFields := ast.DesugaredObjectFields{} - - for i := range *fields { - field := &(*fields)[i] - switch field.Kind { - case ast.ObjectAssert: - msg := field.Expr3 - if msg == nil { - msg = buildLiteralString("Object assertion failed.") - } - onFailure := &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: field.LocRange, - }, - Expr: msg, - } - asserts = append(asserts, &ast.Conditional{ - NodeBase: ast.NodeBase{ - LocRange: field.LocRange, - }, - Cond: field.Expr2, - BranchTrue: &ast.LiteralBoolean{Value: true}, // ignored anyway - BranchFalse: onFailure, - }) - case ast.ObjectFieldID: - desugaredFields = append(desugaredFields, ast.DesugaredObjectField{ - Hide: field.Hide, - Name: makeStr(string(*field.Id)), - Body: field.Expr2, - PlusSuper: field.SuperSugar, - LocRange: field.LocRange, - }) - - case ast.ObjectFieldExpr, ast.ObjectFieldStr: - desugaredFields = append(desugaredFields, ast.DesugaredObjectField{ - Hide: field.Hide, - Name: field.Expr1, - Body: field.Expr2, - PlusSuper: field.SuperSugar, - LocRange: field.LocRange, - }) - - case ast.ObjectLocal: - locals = append(locals, ast.LocalBind{ - Variable: *field.Id, - Body: ast.Clone(field.Expr2), // TODO(sbarzowski) not sure if clone is needed - LocRange: field.LocRange, - }) - default: - panic(fmt.Sprintf("Unexpected object field kind %v", field.Kind)) - } - - } - - // Hidden variable to allow $ binding. - if objLevel == 0 { - locals = append(locals, ast.LocalBind{ - Variable: ast.Identifier("$"), - Body: &ast.Self{}, - }) - } - - // Desugar stuff inside - for i := range asserts { - assert := &(asserts[i]) - err := desugar(assert, objLevel+1) - if err != nil { - return nil, err - } - } - err := desugarLocalBinds(locals, objLevel+1) - if err != nil { - return nil, err - } - for i := range desugaredFields { - field := &(desugaredFields[i]) - if field.Name != nil { - err := desugar(&field.Name, objLevel) - if err != nil { - return nil, err - } - } - err := desugar(&field.Body, objLevel+1) - if err != nil { - return nil, err - } - } - - return &ast.DesugaredObject{ - NodeBase: nodeBase, - Asserts: asserts, - Locals: locals, - Fields: desugaredFields, - }, nil -} - -func simpleLambda(body ast.Node, paramName ast.Identifier) ast.Node { - return &ast.Function{ - Body: body, - Parameters: []ast.Parameter{{Name: paramName}}, - } -} - -func buildAnd(left ast.Node, right ast.Node) ast.Node { - return &ast.Binary{Op: ast.BopAnd, Left: left, Right: right} -} - -// inside is assumed to be already desugared (and cannot be desugared again) -func desugarForSpec(inside ast.Node, loc ast.LocationRange, forSpec *ast.ForSpec, objLevel int) (ast.Node, error) { - var body ast.Node - if len(forSpec.Conditions) > 0 { - cond := forSpec.Conditions[0].Expr - for i := 1; i < len(forSpec.Conditions); i++ { - cond = buildAnd(cond, forSpec.Conditions[i].Expr) - } - err := desugar(&cond, objLevel) - if err != nil { - return nil, err - } - body = &ast.Conditional{ - Cond: cond, - BranchTrue: inside, - BranchFalse: &ast.Array{}, - } - } else { - body = inside - } - function := simpleLambda(body, forSpec.VarName) - err := desugar(&forSpec.Expr, objLevel) - if err != nil { - return nil, err - } - current := buildStdCall("flatMap", loc, function, forSpec.Expr) - if forSpec.Outer == nil { - return current, nil - } - return desugarForSpec(current, loc, forSpec.Outer, objLevel) -} - -func wrapInArray(inside ast.Node) ast.Node { - return &ast.Array{Elements: []ast.CommaSeparatedExpr{{Expr: inside}}} -} - -func desugarArrayComp(comp *ast.ArrayComp, objLevel int) (ast.Node, error) { - err := desugar(&comp.Body, objLevel) - if err != nil { - return nil, err - } - return desugarForSpec(wrapInArray(comp.Body), *comp.Loc(), &comp.Spec, objLevel) -} - -func desugarObjectComp(comp *ast.ObjectComp, objLevel int) (ast.Node, error) { - obj, err := desugarFields(comp.NodeBase, &comp.Fields, objLevel) - if err != nil { - return nil, err - } - - // Magic merging which follows doesn't support object locals, so we need - // to desugar them completely, i.e. put them inside the fields. The locals - // can be different for each field in a comprehension (unlike locals in - // "normal" objects which have a fixed value), so it's not even too wasteful. - if len(obj.Locals) > 0 { - field := &obj.Fields[0] - field.Body = &ast.Local{ - Body: field.Body, - Binds: obj.Locals, - // TODO(sbarzowski) should I set some NodeBase stuff here? - } - obj.Locals = nil - } - - if len(obj.Fields) != 1 { - panic("Wrong number of fields in object comprehension, it should have been caught during parsing") - } - - desugaredArrayComp, err := desugarForSpec(wrapInArray(obj), *comp.Loc(), &comp.Spec, objLevel) - if err != nil { - return nil, err - } - - desugaredComp := buildStdCall("$objectFlatMerge", *comp.Loc(), desugaredArrayComp) - return desugaredComp, nil -} - -func buildLiteralString(value string) ast.Node { - return &ast.LiteralString{ - Kind: ast.StringDouble, - Value: value, - } -} - -func buildSimpleIndex(obj ast.Node, member ast.Identifier) ast.Node { - return &ast.Index{ - Target: obj, - Index: buildLiteralString(string(member)), - } -} - -func buildStdCall(builtinName ast.Identifier, loc ast.LocationRange, args ...ast.Node) ast.Node { - std := &ast.Var{Id: "$std"} - builtin := buildSimpleIndex(std, builtinName) - positional := make([]ast.CommaSeparatedExpr, len(args)) - for i := range args { - positional[i].Expr = args[i] - } - return &ast.Apply{ - NodeBase: ast.NodeBase{ - LocRange: loc, - }, - Target: builtin, - Arguments: ast.Arguments{Positional: positional}, - } -} - -func desugarLocalBinds(binds ast.LocalBinds, objLevel int) (err error) { - for i := range binds { - if binds[i].Fun != nil { - binds[i] = ast.LocalBind{ - Variable: binds[i].Variable, - Body: binds[i].Fun, - Fun: nil, - } - } - err = desugar(&binds[i].Body, objLevel) - if err != nil { - return - } - } - return nil -} - -func desugar(astPtr *ast.Node, objLevel int) (err error) { - node := *astPtr - - if node == nil { - return - } - - switch node := node.(type) { - case *ast.Apply: - err = desugar(&node.Target, objLevel) - if err != nil { - return - } - for i := range node.Arguments.Positional { - err = desugar(&node.Arguments.Positional[i].Expr, objLevel) - if err != nil { - return - } - } - for i := range node.Arguments.Named { - err = desugar(&node.Arguments.Named[i].Arg, objLevel) - if err != nil { - return - } - } - - case *ast.ApplyBrace: - err = desugar(&node.Left, objLevel) - if err != nil { - return - } - err = desugar(&node.Right, objLevel) - if err != nil { - return - } - *astPtr = &ast.Binary{ - NodeBase: node.NodeBase, - Left: node.Left, - Op: ast.BopPlus, - Right: node.Right, - } - - case *ast.Array: - for i := range node.Elements { - err = desugar(&node.Elements[i].Expr, objLevel) - if err != nil { - return - } - } - - case *ast.ArrayComp: - *astPtr, err = desugarArrayComp(node, objLevel) - if err != nil { - return err - } - - case *ast.Assert: - if node.Message == nil { - node.Message = buildLiteralString("Assertion failed") - } - *astPtr = &ast.Conditional{ - Cond: node.Cond, - BranchTrue: node.Rest, - BranchFalse: &ast.Error{ - NodeBase: ast.NodeBase{ - LocRange: *node.Loc(), - }, - Expr: node.Message, - }, - } - err = desugar(astPtr, objLevel) - if err != nil { - return err - } - - case *ast.Binary: - // some operators get replaced by stdlib functions - if funcname, replaced := desugaredBop[node.Op]; replaced { - if node.Op == ast.BopIn { - // reversed order of arguments - *astPtr = buildStdCall(funcname, *node.Loc(), node.Right, node.Left) - } else { - *astPtr = buildStdCall(funcname, *node.Loc(), node.Left, node.Right) - } - return desugar(astPtr, objLevel) - } - - err = desugar(&node.Left, objLevel) - if err != nil { - return - } - err = desugar(&node.Right, objLevel) - if err != nil { - return - } - - case *ast.Conditional: - err = desugar(&node.Cond, objLevel) - if err != nil { - return - } - err = desugar(&node.BranchTrue, objLevel) - if err != nil { - return - } - if node.BranchFalse == nil { - node.BranchFalse = &ast.LiteralNull{} - } - err = desugar(&node.BranchFalse, objLevel) - if err != nil { - return - } - - case *ast.Dollar: - if objLevel == 0 { - return errors.MakeStaticError("No top-level object found.", *node.Loc()) - } - *astPtr = &ast.Var{NodeBase: node.NodeBase, Id: ast.Identifier("$")} - - case *ast.Error: - err = desugar(&node.Expr, objLevel) - if err != nil { - return - } - - case *ast.Function: - for i := range node.Parameters { - param := &node.Parameters[i] - if param.DefaultArg != nil { - err = desugar(¶m.DefaultArg, objLevel) - if err != nil { - return - } - } - } - err = desugar(&node.Body, objLevel) - if err != nil { - return - } - - case *ast.Import: - // desugar() is allowed to update the pointer to point to something else, but will never do - // this for a LiteralString. We cannot simply do &node.File because the type is - // **ast.LiteralString which is not compatible with *ast.Node. - var file ast.Node = node.File - err = desugar(&file, objLevel) - if err != nil { - return - } - - case *ast.ImportStr: - // See comment in ast.Import. - var file ast.Node = node.File - err = desugar(&file, objLevel) - if err != nil { - return - } - - case *ast.ImportBin: - // See comment in ast.Import. - var file ast.Node = node.File - err = desugar(&file, objLevel) - if err != nil { - return - } - - case *ast.Index: - err = desugar(&node.Target, objLevel) - if err != nil { - return - } - if node.Id != nil { - if node.Index != nil { - panic(fmt.Sprintf("Node with both Id and Index: %#+v", node)) - } - node.Index = makeStr(string(*node.Id)) - node.Id = nil - } - err = desugar(&node.Index, objLevel) - if err != nil { - return - } - - case *ast.Slice: - if node.BeginIndex == nil { - node.BeginIndex = &ast.LiteralNull{} - } - if node.EndIndex == nil { - node.EndIndex = &ast.LiteralNull{} - } - if node.Step == nil { - node.Step = &ast.LiteralNull{} - } - *astPtr = buildStdCall("slice", *node.Loc(), node.Target, node.BeginIndex, node.EndIndex, node.Step) - err = desugar(astPtr, objLevel) - if err != nil { - return - } - - case *ast.Local: - err = desugarLocalBinds(node.Binds, objLevel) - if err != nil { - return - } - err = desugar(&node.Body, objLevel) - if err != nil { - return - } - - case *ast.LiteralBoolean: - // Nothing to do. - - case *ast.LiteralNull: - // Nothing to do. - - case *ast.LiteralNumber: - // Nothing to do. - - case *ast.LiteralString: - if node.Kind.FullyEscaped() { - unescaped, err := parser.StringUnescape(node.Loc(), node.Value) - if err != nil { - return err - } - node.Value = unescaped - } - node.Kind = ast.StringDouble - node.BlockIndent = "" - case *ast.Object: - *astPtr, err = desugarFields(node.NodeBase, &node.Fields, objLevel) - if err != nil { - return - } - - case *ast.DesugaredObject: - // Desugaring something multiple times is a bad idea. - // All functions here should desugar nodes in one go. - panic("Desugaring desugared object") - - case *ast.ObjectComp: - *astPtr, err = desugarObjectComp(node, objLevel) - if err != nil { - return err - } - - case *ast.Parens: - *astPtr = node.Inner - err = desugar(astPtr, objLevel) - if err != nil { - return err - } - - case *ast.Self: - // Nothing to do. - - case *ast.SuperIndex: - if node.Id != nil { - node.Index = &ast.LiteralString{Value: string(*node.Id)} - node.Id = nil - } - - case *ast.InSuper: - err := desugar(&node.Index, objLevel) - if err != nil { - return err - } - case *ast.Unary: - err = desugar(&node.Expr, objLevel) - if err != nil { - return - } - - case *ast.Var: - // Nothing to do. - - default: - panic(fmt.Sprintf("Desugarer does not recognize ast: %s", reflect.TypeOf(node))) - } - - return nil -} - -// desugarAST desugars Jsonnet expressions to reduce the number of constructs -// the rest of the implementation needs to understand. -// -// Note that despite the name, desugar() is not idempotent. String literals -// have their escape codes translated to low-level characters during desugaring. -// -// Desugaring should happen immediately after parsing, i.e. before static -// analysis and execution. Temporary variables introduced here should be -// prefixed with $ to ensure they do not clash with variables used in user code. -// -// TODO(sbarzowski) Actually we may want to do some static analysis before -// desugaring, e.g. warning user about dangerous use of constructs that we -// desugar. -func desugarAST(ast *ast.Node) error { - err := desugar(ast, 0) - if err != nil { - return err - } - return nil -} diff --git a/vendor/github.com/google/go-jsonnet/internal/program/program.go b/vendor/github.com/google/go-jsonnet/internal/program/program.go deleted file mode 100644 index c1350241f..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/program/program.go +++ /dev/null @@ -1,24 +0,0 @@ -// Package program provides API for AST pre-processing (desugaring, static analysis). -package program - -import ( - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/internal/parser" -) - -// SnippetToAST converts a Jsonnet code snippet to a desugared and analyzed AST. -func SnippetToAST(diagnosticFilename ast.DiagnosticFileName, importedFilename, snippet string) (ast.Node, error) { - node, _, err := parser.SnippetToRawAST(diagnosticFilename, importedFilename, snippet) - if err != nil { - return nil, err - } - err = desugarAST(&node) - if err != nil { - return nil, err - } - err = analyze(node) - if err != nil { - return nil, err - } - return node, nil -} diff --git a/vendor/github.com/google/go-jsonnet/internal/program/static_analyzer.go b/vendor/github.com/google/go-jsonnet/internal/program/static_analyzer.go deleted file mode 100644 index 01c93e038..000000000 --- a/vendor/github.com/google/go-jsonnet/internal/program/static_analyzer.go +++ /dev/null @@ -1,166 +0,0 @@ -/* -Copyright 2016 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 program - -import ( - "fmt" - - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/internal/errors" -) - -type analysisState struct { - err error - freeVars ast.IdentifierSet -} - -func visitNext(a ast.Node, inObject bool, vars ast.IdentifierSet, state *analysisState) { - if state.err != nil { - return - } - state.err = analyzeVisit(a, inObject, vars) - state.freeVars.AddIdentifiers(a.FreeVariables()) -} - -func enterLocal(binds ast.LocalBinds, vars ast.IdentifierSet, inObject bool, s *analysisState) ast.IdentifierSet { - newVars := vars.Clone() - for _, bind := range binds { - newVars.Add(bind.Variable) - } - // Binds in local can be mutually or even self recursive - for _, bind := range binds { - visitNext(bind.Body, inObject, newVars, s) - } - return newVars -} - -func analyzeVisit(a ast.Node, inObject bool, vars ast.IdentifierSet) error { - s := &analysisState{freeVars: ast.NewIdentifierSet()} - - // TODO(sbarzowski) Test somehow that we're visiting all the nodes - switch a := a.(type) { - case *ast.Apply: - visitNext(a.Target, inObject, vars, s) - for _, arg := range a.Arguments.Positional { - visitNext(arg.Expr, inObject, vars, s) - } - for _, arg := range a.Arguments.Named { - visitNext(arg.Arg, inObject, vars, s) - } - case *ast.Array: - for _, elem := range a.Elements { - visitNext(elem.Expr, inObject, vars, s) - } - case *ast.Binary: - visitNext(a.Left, inObject, vars, s) - visitNext(a.Right, inObject, vars, s) - case *ast.Conditional: - visitNext(a.Cond, inObject, vars, s) - visitNext(a.BranchTrue, inObject, vars, s) - visitNext(a.BranchFalse, inObject, vars, s) - case *ast.Error: - visitNext(a.Expr, inObject, vars, s) - case *ast.Function: - newVars := vars.Clone() - for _, param := range a.Parameters { - newVars.Add(param.Name) - } - for _, param := range a.Parameters { - if param.DefaultArg != nil { - visitNext(param.DefaultArg, inObject, newVars, s) - } - } - visitNext(a.Body, inObject, newVars, s) - // Parameters are free inside the body, but not visible here or outside - for _, param := range a.Parameters { - s.freeVars.Remove(param.Name) - } - case *ast.Import, *ast.ImportStr, *ast.ImportBin: - //nothing to do here - case *ast.InSuper: - if !inObject { - return errors.MakeStaticError("Can't use super outside of an object.", *a.Loc()) - } - visitNext(a.Index, inObject, vars, s) - case *ast.SuperIndex: - if !inObject { - return errors.MakeStaticError("Can't use super outside of an object.", *a.Loc()) - } - visitNext(a.Index, inObject, vars, s) - case *ast.Index: - visitNext(a.Target, inObject, vars, s) - visitNext(a.Index, inObject, vars, s) - case *ast.Local: - newVars := enterLocal(a.Binds, vars, inObject, s) - visitNext(a.Body, inObject, newVars, s) - - // Any usage of newly created variables inside are considered free - // but they are not here or outside - for _, bind := range a.Binds { - s.freeVars.Remove(bind.Variable) - } - case *ast.LiteralBoolean: - //nothing to do here - case *ast.LiteralNull: - //nothing to do here - case *ast.LiteralNumber: - //nothing to do here - case *ast.LiteralString: - //nothing to do here - case *ast.DesugaredObject: - newVars := enterLocal(a.Locals, vars, true, s) - for _, field := range a.Fields { - visitNext(field.Body, true, newVars, s) - } - for _, assert := range a.Asserts { - visitNext(assert, true, newVars, s) - } - - // Object local vars are not free outside of object - for _, bind := range a.Locals { - s.freeVars.Remove(bind.Variable) - } - - // Field names are calculated *outside* of the object - for _, field := range a.Fields { - visitNext(field.Name, inObject, vars, s) - } - - case *ast.Self: - if !inObject { - return errors.MakeStaticError("Can't use self outside of an object.", *a.Loc()) - } - case *ast.Unary: - visitNext(a.Expr, inObject, vars, s) - case *ast.Var: - if !vars.Contains(a.Id) { - return errors.MakeStaticError(fmt.Sprintf("Unknown variable: %v", a.Id), *a.Loc()) - } - s.freeVars.Add(a.Id) - default: - panic(fmt.Sprintf("Unexpected node %#v", a)) - } - a.SetFreeVariables(s.freeVars.ToOrderedSlice()) - return s.err -} - -// analyze checks variable references (these could be checked statically in Jsonnet). -// It enriches the AST with additional information about free variables in every node, -// so it is necessary to always run it before executing the AST. -func analyze(node ast.Node) error { - return analyzeVisit(node, false, ast.NewIdentifierSet("std", "$std")) -} diff --git a/vendor/github.com/google/go-jsonnet/interpreter.go b/vendor/github.com/google/go-jsonnet/interpreter.go deleted file mode 100644 index 4a62b3747..000000000 --- a/vendor/github.com/google/go-jsonnet/interpreter.go +++ /dev/null @@ -1,1381 +0,0 @@ -/* -Copyright 2016 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 jsonnet - -import ( - "bytes" - "fmt" - "io" - "math" - "reflect" - "sort" - "strconv" - - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/astgen" -) - -// TODO(sbarzowski) use it as a pointer in most places b/c it can sometimes be shared -// for example it can be shared between array elements and function arguments -type environment struct { - // Bindings introduced in this frame. The way previous bindings are treated - // depends on the type of a frame. - // If cleanEnv == true then previous bindings are ignored (it's a clean - // environment with just the variables we have here). - // If cleanEnv == false then if this frame doesn't contain a binding - // previous bindings will be used. - upValues bindingFrame - selfBinding selfBinding -} - -func makeEnvironment(upValues bindingFrame, sb selfBinding) environment { - return environment{ - upValues: upValues, - selfBinding: sb, - } -} - -func (i *interpreter) getCurrentStackTrace() []traceFrame { - var result []traceFrame - for _, f := range i.stack.stack { - if f.cleanEnv { - result = append(result, traceElementToTraceFrame(f.trace)) - } - } - if i.stack.currentTrace.loc != nil { - result = append(result, traceElementToTraceFrame(i.stack.currentTrace)) - } - return result -} - -type callFrame struct { - // Tracing information about the place where it was called from. - trace traceElement - - env environment - - // True if it switches to a clean environment (function call or array element) - // False otherwise, e.g. for local - cleanEnv bool - - // Whether this frame can be removed from the stack when it doesn't affect - // the evaluation result, but in case of an error, it won't appear on the - // stack trace. - // It's used for tail call optimization. - trimmable bool -} - -func dumpCallFrame(c *callFrame) string { - var loc ast.LocationRange - if c.trace.loc == nil { - loc = ast.MakeLocationRangeMessage("?") - } else { - loc = *c.trace.loc - } - return fmt.Sprintf("", - c.cleanEnv, - loc, - c.trimmable, - ) -} - -type callStack struct { - currentTrace traceElement - stack []*callFrame - calls int - limit int -} - -func dumpCallStack(c *callStack) string { - var buf bytes.Buffer - fmt.Fprintf(&buf, "") - return buf.String() -} - -func (s *callStack) top() *callFrame { - r := s.stack[len(s.stack)-1] - return r -} - -// It might've been popped already by tail call optimization. -// We check if it was trimmed by comparing the current stack size to the position -// of the frame we want to pop. -func (s *callStack) popIfExists(whichFrame int) { - if len(s.stack) == whichFrame { - if s.top().cleanEnv { - s.calls-- - } - s.setCurrentTrace(s.stack[len(s.stack)-1].trace) - s.stack = s.stack[:len(s.stack)-1] - } -} - -/** If there is a trimmable frame followed by some locals, pop them all. */ -func (s *callStack) tailCallTrimStack() { - for i := len(s.stack) - 1; i >= 0; i-- { - if s.stack[i].cleanEnv { - if !s.stack[i].trimmable { - return - } - // Remove this stack frame and everything above it - s.stack = s.stack[:i] - s.calls-- - return - } - } -} - -func (s *callStack) setCurrentTrace(trace traceElement) { - if s.currentTrace != (traceElement{}) { - panic("Tried to change the traceElement while the old one was still there.") - } - s.currentTrace = trace -} - -func (s *callStack) clearCurrentTrace() { - s.currentTrace = traceElement{} -} - -type tailCallStatus int - -const ( - nonTailCall tailCallStatus = iota - tailCall -) - -func (s *callStack) newCall(env environment, trimmable bool) { - if s.currentTrace == (traceElement{}) { - panic("Saving empty traceElement on stack") - } - s.stack = append(s.stack, &callFrame{ - cleanEnv: true, - trace: s.currentTrace, - env: env, - trimmable: trimmable, - }) - s.clearCurrentTrace() - s.calls++ -} - -func (s *callStack) newLocal(vars bindingFrame) { - s.stack = append(s.stack, &callFrame{ - env: makeEnvironment(vars, selfBinding{}), - trace: s.currentTrace, - }) - s.clearCurrentTrace() -} - -// getSelfBinding resolves the self construct -func (s *callStack) getSelfBinding() selfBinding { - for i := len(s.stack) - 1; i >= 0; i-- { - if s.stack[i].cleanEnv { - return s.stack[i].env.selfBinding - } - } - panic(fmt.Sprintf("malformed stack %v", dumpCallStack(s))) -} - -// lookUpVar finds for the closest variable in scope that matches the given name. -func (s *callStack) lookUpVar(id ast.Identifier) *cachedThunk { - for i := len(s.stack) - 1; i >= 0; i-- { - bind, present := s.stack[i].env.upValues[id] - if present { - return bind - } - if s.stack[i].cleanEnv { - // Nothing beyond the captured environment of the thunk / closure. - break - } - } - return nil -} - -func (s *callStack) lookUpVarOrPanic(id ast.Identifier) *cachedThunk { - th := s.lookUpVar(id) - if th == nil { - panic(fmt.Sprintf("RUNTIME: Unknown variable: %v (we should have caught this statically)", id)) - } - return th -} - -func (s *callStack) getCurrentEnv(ast ast.Node) environment { - return makeEnvironment( - s.capture(ast.FreeVariables()), - s.getSelfBinding(), - ) -} - -// Build a binding frame containing specified variables. -func (s *callStack) capture(freeVars ast.Identifiers) bindingFrame { - env := make(bindingFrame, len(freeVars)) - for _, fv := range freeVars { - env[fv] = s.lookUpVarOrPanic(fv) - } - return env -} - -func makeCallStack(limit int) callStack { - return callStack{ - calls: 0, - limit: limit, - } -} - -// Keeps current execution context and evaluates things -type interpreter struct { - // Output stream for trace() for - traceOut io.Writer - - // External variables - extVars map[string]*cachedThunk - - // Native functions - nativeFuncs map[string]*NativeFunction - - // A part of std object common to all files - baseStd *valueObject - - // Keeps imports - importCache *importCache - - // Current stack. It is used for: - // 1) Keeping environment (object we're in, variables) - // 2) Diagnostic information in case of failure - stack callStack -} - -// Map union, b takes precedence when keys collide. -func addBindings(a, b bindingFrame) bindingFrame { - result := make(bindingFrame, len(a)) - - for k, v := range a { - result[k] = v - } - - for k, v := range b { - result[k] = v - } - - return result -} - -func (i *interpreter) newCall(env environment, trimmable bool) error { - s := &i.stack - if s.calls >= s.limit { - return makeRuntimeError("max stack frames exceeded.", i.getCurrentStackTrace()) - } - s.newCall(env, trimmable) - return nil -} - -func (i *interpreter) evaluate(a ast.Node, tc tailCallStatus) (value, error) { - trace := traceElement{ - loc: a.Loc(), - context: a.Context(), - } - oldTrace := i.stack.currentTrace - i.stack.clearCurrentTrace() - i.stack.setCurrentTrace(trace) - defer func() { i.stack.clearCurrentTrace(); i.stack.setCurrentTrace(oldTrace) }() - - switch node := a.(type) { - case *ast.Array: - sb := i.stack.getSelfBinding() - var elements []*cachedThunk - for _, el := range node.Elements { - env := makeEnvironment(i.stack.capture(el.Expr.FreeVariables()), sb) - elThunk := cachedThunk{env: &env, body: el.Expr} - elements = append(elements, &elThunk) - } - return makeValueArray(elements), nil - - case *ast.Binary: - if node.Op == ast.BopAnd { - // Special case for shortcut semantics. - xv, err := i.evaluate(node.Left, nonTailCall) - if err != nil { - return nil, err - } - x, err := i.getBoolean(xv) - if err != nil { - return nil, err - } - if !x.value { - return x, nil - } - yv, err := i.evaluate(node.Right, tc) - if err != nil { - return nil, err - } - return i.getBoolean(yv) - } else if node.Op == ast.BopOr { - // Special case for shortcut semantics. - xv, err := i.evaluate(node.Left, nonTailCall) - if err != nil { - return nil, err - } - x, err := i.getBoolean(xv) - if err != nil { - return nil, err - } - if x.value { - return x, nil - } - yv, err := i.evaluate(node.Right, tc) - if err != nil { - return nil, err - } - return i.getBoolean(yv) - - } else { - left, err := i.evaluate(node.Left, nonTailCall) - if err != nil { - return nil, err - } - right, err := i.evaluate(node.Right, tc) - if err != nil { - return nil, err - } - // TODO(dcunnin): The double dereference here is probably not necessary. - builtin := bopBuiltins[node.Op] - return builtin.function(i, left, right) - } - - case *ast.Unary: - value, err := i.evaluate(node.Expr, tc) - if err != nil { - return nil, err - } - - builtin := uopBuiltins[node.Op] - - result, err := builtin.function(i, value) - if err != nil { - return nil, err - } - return result, nil - - case *ast.Conditional: - cond, err := i.evaluate(node.Cond, nonTailCall) - if err != nil { - return nil, err - } - condBool, err := i.getBoolean(cond) - if err != nil { - return nil, err - } - if condBool.value { - return i.evaluate(node.BranchTrue, tc) - } - return i.evaluate(node.BranchFalse, tc) - - case *ast.DesugaredObject: - // Evaluate all the field names. Check for null, dups, etc. - fields := make(simpleObjectFieldMap, len(node.Fields)) - for _, field := range node.Fields { - fieldNameValue, err := i.evaluate(field.Name, nonTailCall) - if err != nil { - return nil, err - } - var fieldName string - switch fieldNameValue := fieldNameValue.(type) { - case valueString: - fieldName = fieldNameValue.getGoString() - case *valueNull: - // Omitted field. - continue - default: - return nil, i.Error(fmt.Sprintf("Field name must be string, got %v", fieldNameValue.getType().name)) - } - - if _, ok := fields[fieldName]; ok { - return nil, i.Error(duplicateFieldNameErrMsg(fieldName)) - } - var f unboundField = &codeUnboundField{field.Body} - if field.PlusSuper { - f = &plusSuperUnboundField{f} - } - fields[fieldName] = simpleObjectField{f, field.Hide} - } - var asserts []unboundField - for _, assert := range node.Asserts { - asserts = append(asserts, &codeUnboundField{assert}) - } - var locals []objectLocal - for _, local := range node.Locals { - locals = append(locals, objectLocal{name: local.Variable, node: local.Body}) - } - upValues := i.stack.capture(node.FreeVariables()) - return makeValueSimpleObject(upValues, fields, asserts, locals), nil - - case *ast.Error: - msgVal, err := i.evaluate(node.Expr, nonTailCall) - if err != nil { - // error when evaluating error message - return nil, err - } - if msgVal.getType() != stringType { - msgVal, err = builtinToString(i, msgVal) - if err != nil { - return nil, err - } - } - msg, err := i.getString(msgVal) - if err != nil { - return nil, err - } - return nil, i.Error(msg.getGoString()) - - case *ast.Index: - targetValue, err := i.evaluate(node.Target, nonTailCall) - if err != nil { - return nil, err - } - index, err := i.evaluate(node.Index, nonTailCall) - if err != nil { - return nil, err - } - switch target := targetValue.(type) { - case *valueObject: - indexString, err := i.getString(index) - if err != nil { - return nil, err - } - return target.index(i, indexString.getGoString()) - case *valueArray: - indexInt, err := i.getNumber(index) - if err != nil { - return nil, err - } - // TODO(https://github.com/google/jsonnet/issues/377): non-integer indexes should be an error - return target.index(i, int(indexInt.value)) - - case valueString: - indexInt, err := i.getNumber(index) - if err != nil { - return nil, err - } - // TODO(https://github.com/google/jsonnet/issues/377): non-integer indexes should be an error - return target.index(i, int(indexInt.value)) - } - - return nil, i.Error(fmt.Sprintf("Value non indexable: %v", reflect.TypeOf(targetValue))) - - case *ast.Import: - codePath := node.Loc().FileName - return i.importCache.importCode(codePath, node.File.Value, i) - - case *ast.ImportStr: - codePath := node.Loc().FileName - return i.importCache.importString(codePath, node.File.Value, i) - - case *ast.ImportBin: - codePath := node.Loc().FileName - return i.importCache.importBinary(codePath, node.File.Value, i) - - case *ast.LiteralBoolean: - return makeValueBoolean(node.Value), nil - - case *ast.LiteralNull: - return makeValueNull(), nil - - case *ast.LiteralNumber: - // Since the lexer ensures that OriginalString is of - // the right form, this will only fail if the number is - // too large to fit in a double. - num, err := strconv.ParseFloat(node.OriginalString, 64) - if err != nil { - return nil, i.Error("overflow") - } - return makeValueNumber(num), nil - - case *ast.LiteralString: - return makeValueString(node.Value), nil - - case *ast.Local: - vars := make(bindingFrame, len(node.Binds)) - bindEnv := i.stack.getCurrentEnv(a) - for _, bind := range node.Binds { - th := cachedThunk{env: &bindEnv, body: bind.Body} - - // recursive locals - vars[bind.Variable] = &th - bindEnv.upValues[bind.Variable] = &th - } - i.stack.newLocal(vars) - sz := len(i.stack.stack) - // Add new stack frame, with new thunk for this variable - // execute body WRT stack frame. - v, err := i.evaluate(node.Body, tc) - i.stack.popIfExists(sz) - - return v, err - - case *ast.Self: - sb := i.stack.getSelfBinding() - return sb.self, nil - - case *ast.Var: - foo := i.stack.lookUpVarOrPanic(node.Id) - return foo.getValue(i) - - case *ast.SuperIndex: - index, err := i.evaluate(node.Index, nonTailCall) - if err != nil { - return nil, err - } - indexStr, err := i.getString(index) - if err != nil { - return nil, err - } - return objectIndex(i, i.stack.getSelfBinding().super(), indexStr.getGoString()) - - case *ast.InSuper: - index, err := i.evaluate(node.Index, nonTailCall) - if err != nil { - return nil, err - } - indexStr, err := i.getString(index) - if err != nil { - return nil, err - } - hasField := objectHasField(i.stack.getSelfBinding().super(), indexStr.getGoString(), withHidden) - return makeValueBoolean(hasField), nil - - case *ast.Function: - return &valueFunction{ - ec: makeClosure(i.stack.getCurrentEnv(a), node), - }, nil - - case *ast.Apply: - // Eval target - target, err := i.evaluate(node.Target, nonTailCall) - if err != nil { - return nil, err - } - function, err := i.getFunction(target) - if err != nil { - return nil, err - } - - // environment in which we can evaluate arguments - argEnv := i.stack.getCurrentEnv(a) - arguments := callArguments{ - positional: make([]*cachedThunk, len(node.Arguments.Positional)), - named: make([]namedCallArgument, len(node.Arguments.Named)), - tailstrict: node.TailStrict, - } - for i, arg := range node.Arguments.Positional { - arguments.positional[i] = &cachedThunk{env: &argEnv, body: arg.Expr} - } - - for i, arg := range node.Arguments.Named { - arguments.named[i] = namedCallArgument{name: arg.Name, pv: &cachedThunk{env: &argEnv, body: arg.Arg}} - } - return i.evaluateTailCall(function, arguments, tc) - - case *astMakeArrayElement: - arguments := callArguments{ - positional: []*cachedThunk{ - &cachedThunk{ - content: intToValue(node.index), - }, - }, - } - return i.evaluateTailCall(node.function, arguments, tc) - - default: - panic(fmt.Sprintf("Executing this AST type not implemented: %v", reflect.TypeOf(a))) - } -} - -// unparseString Wraps in "" and escapes stuff to make the string JSON-compliant and human-readable. -func unparseString(v string) string { - var buf bytes.Buffer - buf.WriteString("\"") - for _, c := range v { - switch c { - case '"': - buf.WriteString("\\\"") - case '\\': - buf.WriteString("\\\\") - case '\b': - buf.WriteString("\\b") - case '\f': - buf.WriteString("\\f") - case '\n': - buf.WriteString("\\n") - case '\r': - buf.WriteString("\\r") - case '\t': - buf.WriteString("\\t") - case 0: - buf.WriteString("\\u0000") - default: - if c < 0x20 || (c >= 0x7f && c <= 0x9f) { - buf.WriteString(fmt.Sprintf("\\u%04x", int(c))) - } else { - buf.WriteRune(c) - } - } - } - buf.WriteString("\"") - return buf.String() -} - -func unparseNumber(v float64) string { - if v == math.Floor(v) { - return fmt.Sprintf("%.0f", v) - } - - // See "What Every Computer Scientist Should Know About Floating-Point Arithmetic" - // Theorem 15 - // http://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html - return fmt.Sprintf("%.17g", v) -} - -// manifestJSON converts to standard JSON representation as in "encoding/json" package -func (i *interpreter) manifestJSON(v value) (interface{}, error) { - // TODO(sbarzowski) Add nice stack traces indicating the part of the code which - // evaluates to non-manifestable value (that might require passing context about - // the root value) - if i.stack.currentTrace == (traceElement{}) { - panic("manifesting JSON with empty traceElement") - } - - // Fresh frame for better stack traces - err := i.newCall(environment{}, false) - if err != nil { - return nil, err - } - stackSize := len(i.stack.stack) - defer i.stack.popIfExists(stackSize) - - switch v := v.(type) { - - case *valueBoolean: - return v.value, nil - - case *valueFunction: - return nil, makeRuntimeError("couldn't manifest function as JSON", i.getCurrentStackTrace()) - - case *valueNumber: - return v.value, nil - - case valueString: - return v.getGoString(), nil - - case *valueNull: - return nil, nil - - case *valueArray: - result := make([]interface{}, 0, len(v.elements)) - for index, th := range v.elements { - msg := ast.MakeLocationRangeMessage(fmt.Sprintf("Array element %d", index)) - i.stack.setCurrentTrace(traceElement{ - loc: &msg, - }) - elVal, err := i.evaluatePV(th) - if err != nil { - i.stack.clearCurrentTrace() - return nil, err - } - elem, err := i.manifestJSON(elVal) - if err != nil { - i.stack.clearCurrentTrace() - return nil, err - } - result = append(result, elem) - i.stack.clearCurrentTrace() - } - return result, nil - - case *valueObject: - fieldNames := objectFields(v, withoutHidden) - sort.Strings(fieldNames) - - msg := ast.MakeLocationRangeMessage("Checking object assertions") - i.stack.setCurrentTrace(traceElement{ - loc: &msg, - }) - err := checkAssertions(i, v) - if err != nil { - i.stack.clearCurrentTrace() - return nil, err - } - i.stack.clearCurrentTrace() - - result := make(map[string]interface{}, len(fieldNames)) - - for _, fieldName := range fieldNames { - msg := ast.MakeLocationRangeMessage(fmt.Sprintf("Field %#v", fieldName)) - i.stack.setCurrentTrace(traceElement{ - loc: &msg, - }) - fieldVal, err := v.index(i, fieldName) - if err != nil { - i.stack.clearCurrentTrace() - return nil, err - } - - field, err := i.manifestJSON(fieldVal) - if err != nil { - i.stack.clearCurrentTrace() - return nil, err - } - result[fieldName] = field - i.stack.clearCurrentTrace() - } - - return result, nil - - default: - return nil, makeRuntimeError( - fmt.Sprintf("manifesting this value not implemented yet: %s", reflect.TypeOf(v)), - i.getCurrentStackTrace(), - ) - - } -} - -func serializeJSON(v interface{}, multiline bool, indent string, buf *bytes.Buffer) { - switch v := v.(type) { - case nil: - buf.WriteString("null") - - case []interface{}: - if len(v) == 0 { - buf.WriteString("[ ]") - } else { - var prefix string - var indent2 string - if multiline { - prefix = "[\n" - indent2 = indent + " " - } else { - prefix = "[" - indent2 = indent - } - for _, elem := range v { - buf.WriteString(prefix) - buf.WriteString(indent2) - serializeJSON(elem, multiline, indent2, buf) - if multiline { - prefix = ",\n" - } else { - prefix = ", " - } - } - if multiline { - buf.WriteString("\n") - } - buf.WriteString(indent) - buf.WriteString("]") - } - - case bool: - if v { - buf.WriteString("true") - } else { - buf.WriteString("false") - } - - case float64: - buf.WriteString(unparseNumber(v)) - - case map[string]interface{}: - fieldNames := make([]string, 0, len(v)) - for name := range v { - fieldNames = append(fieldNames, name) - } - sort.Strings(fieldNames) - - if len(fieldNames) == 0 { - buf.WriteString("{ }") - } else { - var prefix string - var indent2 string - if multiline { - prefix = "{\n" - indent2 = indent + " " - } else { - prefix = "{" - indent2 = indent - } - for _, fieldName := range fieldNames { - fieldVal := v[fieldName] - - buf.WriteString(prefix) - buf.WriteString(indent2) - - buf.WriteString(unparseString(fieldName)) - buf.WriteString(": ") - - serializeJSON(fieldVal, multiline, indent2, buf) - - if multiline { - prefix = ",\n" - } else { - prefix = ", " - } - } - - if multiline { - buf.WriteString("\n") - } - buf.WriteString(indent) - buf.WriteString("}") - } - - case string: - buf.WriteString(unparseString(v)) - - default: - panic(fmt.Sprintf("Unsupported value for serialization %#+v", v)) - } -} - -func (i *interpreter) manifestAndSerializeJSON( - buf *bytes.Buffer, v value, multiline bool, indent string) error { - manifested, err := i.manifestJSON(v) - if err != nil { - return err - } - serializeJSON(manifested, multiline, indent, buf) - return nil -} - -// manifestString expects the value to be a string and returns it. -func (i *interpreter) manifestString(buf *bytes.Buffer, v value) error { - switch v := v.(type) { - case valueString: - buf.WriteString(v.getGoString()) - return nil - default: - return makeRuntimeError(fmt.Sprintf("expected string result, got: %s", v.getType().name), i.getCurrentStackTrace()) - } -} - -func (i *interpreter) manifestAndSerializeMulti(v value, stringOutputMode bool) (r map[string]string, err error) { - r = make(map[string]string) - json, err := i.manifestJSON(v) - if err != nil { - return r, err - } - switch json := json.(type) { - case map[string]interface{}: - for filename, fileJSON := range json { - if stringOutputMode { - switch val := fileJSON.(type) { - case string: - r[filename] = val - default: - msg := fmt.Sprintf("multi mode: top-level object's key %s has a value of type %T, "+ - "should be a string", filename, val) - return r, makeRuntimeError(msg, i.getCurrentStackTrace()) - } - } else { - var buf bytes.Buffer - serializeJSON(fileJSON, true, "", &buf) - buf.WriteString("\n") - r[filename] = buf.String() - } - } - default: - msg := fmt.Sprintf("multi mode: top-level object was a %s, "+ - "should be an object whose keys are filenames and values hold "+ - "the JSON for that file.", v.getType().name) - return r, makeRuntimeError(msg, i.getCurrentStackTrace()) - } - return -} - -func (i *interpreter) manifestAndSerializeYAMLStream(v value) (r []string, err error) { - r = make([]string, 0) - json, err := i.manifestJSON(v) - if err != nil { - return r, err - } - switch json := json.(type) { - case []interface{}: - for _, doc := range json { - var buf bytes.Buffer - serializeJSON(doc, true, "", &buf) - buf.WriteString("\n") - r = append(r, buf.String()) - } - default: - msg := fmt.Sprintf("stream mode: top-level object was a %s, "+ - "should be an array whose elements hold "+ - "the JSON for each document in the stream.", v.getType().name) - return r, makeRuntimeError(msg, i.getCurrentStackTrace()) - } - return -} - -func jsonToValue(i *interpreter, v interface{}) (value, error) { - switch v := v.(type) { - case nil: - return &nullValue, nil - - case []interface{}: - elems := make([]*cachedThunk, len(v)) - for counter, elem := range v { - val, err := jsonToValue(i, elem) - if err != nil { - return nil, err - } - elems[counter] = readyThunk(val) - } - return makeValueArray(elems), nil - - case bool: - return makeValueBoolean(v), nil - case float64: - return makeDoubleCheck(i, v) - - case map[string]interface{}: - fieldMap := map[string]value{} - for name, f := range v { - val, err := jsonToValue(i, f) - if err != nil { - return nil, err - } - fieldMap[name] = val - } - return buildObject(ast.ObjectFieldInherit, fieldMap), nil - - case string: - return makeValueString(v), nil - - default: - return nil, i.Error(fmt.Sprintf("Not a json type: %#+v", v)) - } -} - -func (i *interpreter) EvalInCleanEnv(env *environment, ast ast.Node, trimmable bool) (value, error) { - err := i.newCall(*env, trimmable) - if err != nil { - return nil, err - } - stackSize := len(i.stack.stack) - - val, err := i.evaluate(ast, tailCall) - if err != nil { - return nil, err - } - - i.stack.popIfExists(stackSize) - - return val, nil -} - -func (i *interpreter) evaluatePV(ph potentialValue) (value, error) { - return ph.getValue(i) -} - -func (i *interpreter) evaluateTailCall(function *valueFunction, args callArguments, tc tailCallStatus) (value, error) { - if tc == tailCall { - i.stack.tailCallTrimStack() - } - return function.call(i, args) -} - -func (i *interpreter) Error(s string) error { - err := makeRuntimeError(s, i.getCurrentStackTrace()) - return err -} - -func (i *interpreter) typeErrorSpecific(bad value, good value) error { - return i.Error( - fmt.Sprintf("Unexpected type %v, expected %v", bad.getType().name, good.getType().name), - ) -} - -func (i *interpreter) typeErrorGeneral(bad value) error { - return i.Error( - fmt.Sprintf("Unexpected type %v", bad.getType().name), - ) -} - -func (i *interpreter) getNumber(val value) (*valueNumber, error) { - switch v := val.(type) { - case *valueNumber: - return v, nil - default: - return nil, i.typeErrorSpecific(val, &valueNumber{}) - } -} - -//nolint:unused -func (i *interpreter) evaluateNumber(pv potentialValue) (*valueNumber, error) { - v, err := i.evaluatePV(pv) - if err != nil { - return nil, err - } - return i.getNumber(v) -} - -func (i *interpreter) getInt(val value) (int, error) { - num, err := i.getNumber(val) - if err != nil { - return 0, err - } - // We conservatively convert ot int32, so that it can be machine-sized int - // on any machine. And it's used only for indexing anyway. - intNum := int(int32(num.value)) - if float64(intNum) != num.value { - return 0, i.Error(fmt.Sprintf("Expected an integer, but got %v", num.value)) - } - return intNum, nil -} - -func (i *interpreter) evaluateInt(pv potentialValue) (int, error) { - v, err := i.evaluatePV(pv) - if err != nil { - return 0, err - } - return i.getInt(v) -} - -//nolint:unused -func (i *interpreter) getInt64(val value) (int64, error) { - num, err := i.getNumber(val) - if err != nil { - return 0, err - } - intNum := int64(num.value) - if float64(intNum) != num.value { - return 0, i.Error(fmt.Sprintf("Expected an integer, but got %v", num.value)) - } - return intNum, nil -} - -//nolint:unused -func (i *interpreter) evaluateInt64(pv potentialValue) (int64, error) { - v, err := i.evaluatePV(pv) - if err != nil { - return 0, err - } - return i.getInt64(v) -} - -func (i *interpreter) getString(val value) (valueString, error) { - switch v := val.(type) { - case valueString: - return v, nil - default: - return nil, i.typeErrorSpecific(val, emptyString()) - } -} - -//nolint:unused -func (i *interpreter) evaluateString(pv potentialValue) (valueString, error) { - v, err := i.evaluatePV(pv) - if err != nil { - return nil, err - } - return i.getString(v) -} - -func (i *interpreter) getBoolean(val value) (*valueBoolean, error) { - switch v := val.(type) { - case *valueBoolean: - return v, nil - default: - return nil, i.typeErrorSpecific(val, &valueBoolean{}) - } -} - -//nolint:unused -func (i *interpreter) evaluateBoolean(pv potentialValue) (*valueBoolean, error) { - v, err := i.evaluatePV(pv) - if err != nil { - return nil, err - } - return i.getBoolean(v) -} - -func (i *interpreter) getArray(val value) (*valueArray, error) { - switch v := val.(type) { - case *valueArray: - return v, nil - default: - return nil, i.typeErrorSpecific(val, &valueArray{}) - } -} - -//nolint:unused -func (i *interpreter) evaluateArray(pv potentialValue) (*valueArray, error) { - v, err := i.evaluatePV(pv) - if err != nil { - return nil, err - } - return i.getArray(v) -} - -func (i *interpreter) getFunction(val value) (*valueFunction, error) { - switch v := val.(type) { - case *valueFunction: - return v, nil - default: - return nil, i.typeErrorSpecific(val, &valueFunction{}) - } -} - -//nolint:unused -func (i *interpreter) evaluateFunction(pv potentialValue) (*valueFunction, error) { - v, err := i.evaluatePV(pv) - if err != nil { - return nil, err - } - return i.getFunction(v) -} - -func (i *interpreter) getObject(val value) (*valueObject, error) { - switch v := val.(type) { - case *valueObject: - return v, nil - default: - return nil, i.typeErrorSpecific(val, &valueObject{}) - } -} - -func (i *interpreter) evaluateObject(pv potentialValue) (*valueObject, error) { - v, err := i.evaluatePV(pv) - if err != nil { - return nil, err - } - return i.getObject(v) -} - -func buildStdObject(i *interpreter) (*valueObject, error) { - objVal, err := evaluateStd(i) - if err != nil { - return nil, err - } - obj := objVal.(*valueObject).uncached.(*simpleObject) - builtinFields := map[string]unboundField{} - for key, ec := range funcBuiltins { - function := valueFunction{ec: ec} // TODO(sbarzowski) better way to build function value - builtinFields[key] = &readyValue{&function} - } - - for name, value := range builtinFields { - obj.fields[name] = simpleObjectField{value, ast.ObjectFieldHidden} - } - return objVal.(*valueObject), nil -} - -func evaluateStd(i *interpreter) (value, error) { - // We are bootstrapping std before it is properly available. - // We need "$std" for desugaring. - // So, we're creating an empty thunk (evaluating will panic). - // We will fill it manually before it's evaluated, though. - // This "std" does not have std.thisFile. - stdThunk := &cachedThunk{} - beforeStdEnv := makeEnvironment( - bindingFrame{ - "$std": stdThunk, - }, - makeUnboundSelfBinding(), - ) - evalLoc := ast.MakeLocationRangeMessage("During evaluation of std") - evalTrace := traceElement{loc: &evalLoc} - node := astgen.StdAst - i.stack.setCurrentTrace(evalTrace) - defer i.stack.clearCurrentTrace() - content, err := i.EvalInCleanEnv(&beforeStdEnv, node, false) - if err != nil { - return nil, err - } - stdThunk.content = content - return content, nil -} - -func prepareExtVars(i *interpreter, ext vmExtMap, kind string) map[string]*cachedThunk { - result := make(map[string]*cachedThunk) - for name, content := range ext { - diagnosticFile := "<" + kind + ":" + name + ">" - switch content.kind { - case extKindCode: - result[name] = codeToPV(i, diagnosticFile, content.value) - case extKindNode: - result[name] = nodeToPV(i, diagnosticFile, content.node) - default: - result[name] = readyThunk(makeValueString(content.value)) - } - } - return result -} - -func buildObject(hide ast.ObjectFieldHide, fields map[string]value) *valueObject { - fieldMap := simpleObjectFieldMap{} - for name, v := range fields { - fieldMap[name] = simpleObjectField{&readyValue{v}, hide} - } - return makeValueSimpleObject(bindingFrame{}, fieldMap, nil, nil) -} - -func buildInterpreter(ext vmExtMap, nativeFuncs map[string]*NativeFunction, maxStack int, ic *importCache, traceOut io.Writer) (*interpreter, error) { - i := interpreter{ - stack: makeCallStack(maxStack), - importCache: ic, - traceOut: traceOut, - nativeFuncs: nativeFuncs, - } - - stdObj, err := buildStdObject(&i) - if err != nil { - return nil, err - } - - i.baseStd = stdObj - - i.extVars = prepareExtVars(&i, ext, "extvar") - - return &i, nil -} - -func makeInitialEnv(filename string, baseStd *valueObject) environment { - fileSpecific := buildObject(ast.ObjectFieldHidden, map[string]value{ - "thisFile": makeValueString(filename), - }) - - stdThunk := readyThunk(makeValueExtendedObject(baseStd, fileSpecific)) - - return makeEnvironment( - bindingFrame{ - "std": stdThunk, - "$std": stdThunk, // Unavailable to the user. To be used with desugaring. - }, - makeUnboundSelfBinding(), - ) -} - -func manifestationTrace() traceElement { - manifestationLoc := ast.MakeLocationRangeMessage("During manifestation") - return traceElement{ - loc: &manifestationLoc, - } -} - -func evaluateAux(i *interpreter, node ast.Node, tla vmExtMap) (value, error) { - evalLoc := ast.MakeLocationRangeMessage("During evaluation") - evalTrace := traceElement{ - loc: &evalLoc, - } - env := makeInitialEnv(node.Loc().FileName, i.baseStd) - i.stack.setCurrentTrace(evalTrace) - result, err := i.EvalInCleanEnv(&env, node, false) - i.stack.clearCurrentTrace() - if err != nil { - return nil, err - } - // If it's not a function, ignore TLA - if f, ok := result.(*valueFunction); ok { - toplevelArgMap := prepareExtVars(i, tla, "top-level-arg") - args := callArguments{} - for argName, pv := range toplevelArgMap { - args.named = append(args.named, namedCallArgument{name: ast.Identifier(argName), pv: pv}) - } - funcLoc := ast.MakeLocationRangeMessage("Top-level function call") - funcTrace := traceElement{ - loc: &funcLoc, - } - i.stack.setCurrentTrace(funcTrace) - result, err = f.call(i, args) - i.stack.clearCurrentTrace() - if err != nil { - return nil, err - } - } - return result, nil -} - -// TODO(sbarzowski) this function takes far too many arguments - build interpreter in vm instead -func evaluate(node ast.Node, ext vmExtMap, tla vmExtMap, nativeFuncs map[string]*NativeFunction, - maxStack int, ic *importCache, traceOut io.Writer, stringOutputMode bool) (string, error) { - - i, err := buildInterpreter(ext, nativeFuncs, maxStack, ic, traceOut) - if err != nil { - return "", err - } - - result, err := evaluateAux(i, node, tla) - if err != nil { - return "", err - } - - var buf bytes.Buffer - i.stack.setCurrentTrace(manifestationTrace()) - if stringOutputMode { - err = i.manifestString(&buf, result) - } else { - err = i.manifestAndSerializeJSON(&buf, result, true, "") - } - i.stack.clearCurrentTrace() - if err != nil { - return "", err - } - buf.WriteString("\n") - return buf.String(), nil -} - -// TODO(sbarzowski) this function takes far too many arguments - build interpreter in vm instead -func evaluateMulti(node ast.Node, ext vmExtMap, tla vmExtMap, nativeFuncs map[string]*NativeFunction, - maxStack int, ic *importCache, traceOut io.Writer, stringOutputMode bool) (map[string]string, error) { - - i, err := buildInterpreter(ext, nativeFuncs, maxStack, ic, traceOut) - if err != nil { - return nil, err - } - - result, err := evaluateAux(i, node, tla) - if err != nil { - return nil, err - } - - i.stack.setCurrentTrace(manifestationTrace()) - manifested, err := i.manifestAndSerializeMulti(result, stringOutputMode) - i.stack.clearCurrentTrace() - return manifested, err -} - -// TODO(sbarzowski) this function takes far too many arguments - build interpreter in vm instead -func evaluateStream(node ast.Node, ext vmExtMap, tla vmExtMap, nativeFuncs map[string]*NativeFunction, - maxStack int, ic *importCache, traceOut io.Writer) ([]string, error) { - - i, err := buildInterpreter(ext, nativeFuncs, maxStack, ic, traceOut) - if err != nil { - return nil, err - } - - result, err := evaluateAux(i, node, tla) - if err != nil { - return nil, err - } - - i.stack.setCurrentTrace(manifestationTrace()) - manifested, err := i.manifestAndSerializeYAMLStream(result) - i.stack.clearCurrentTrace() - return manifested, err -} diff --git a/vendor/github.com/google/go-jsonnet/runtime_error.go b/vendor/github.com/google/go-jsonnet/runtime_error.go deleted file mode 100644 index 40a705b6e..000000000 --- a/vendor/github.com/google/go-jsonnet/runtime_error.go +++ /dev/null @@ -1,64 +0,0 @@ -/* -Copyright 2017 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 jsonnet - -import "github.com/google/go-jsonnet/ast" - -// RuntimeError is an error discovered during evaluation of the program -type RuntimeError struct { - Msg string - StackTrace []traceFrame -} - -func makeRuntimeError(msg string, stackTrace []traceFrame) RuntimeError { - return RuntimeError{ - Msg: msg, - StackTrace: stackTrace, - } -} - -func (err RuntimeError) Error() string { - return "RUNTIME ERROR: " + err.Msg -} - -// The stack - -// traceFrame is tracing information about a single frame of the call stack. -// TODO(sbarzowski) the difference from traceElement. Do we even need this? -type traceFrame struct { - Name string - Loc ast.LocationRange -} - -func traceElementToTraceFrame(trace traceElement) traceFrame { - tf := traceFrame{Loc: *trace.loc} - if trace.context != nil { - // TODO(sbarzowski) maybe it should never be nil - tf.Name = *trace.context - } else { - tf.Name = "" - } - return tf -} - -// traceElement represents tracing information, including a location range and a -// surrounding context. -// TODO(sbarzowski) better name -type traceElement struct { - loc *ast.LocationRange - context ast.Context -} diff --git a/vendor/github.com/google/go-jsonnet/setup.py b/vendor/github.com/google/go-jsonnet/setup.py deleted file mode 100644 index 242c6ae78..000000000 --- a/vendor/github.com/google/go-jsonnet/setup.py +++ /dev/null @@ -1,74 +0,0 @@ -# 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. - -import os -from setuptools import setup -from setuptools import Extension -from setuptools.command.build_ext import build_ext as BuildExt -from setuptools.command.test import test as TestCommand -from subprocess import Popen, PIPE - -DIR = os.path.abspath(os.path.dirname(__file__)) -LIB_DIR = DIR + '/c-bindings' -MODULE_SOURCES = ['python/_jsonnet.c'] - -def get_version(): - """ - Parses the version out of vm.go - """ - with open(os.path.join(DIR, 'vm.go')) as f: - for line in f: - if 'const' in line and 'version' in line: - v_code = line.partition('=')[2].strip('\n "') - if v_code[0] == 'v': - return v_code[1:] - - return None - -class BuildJsonnetExt(BuildExt): - def run(self): - p = Popen(['go', 'build', '-o', 'libgojsonnet.a', '-buildmode=c-archive'], cwd=LIB_DIR, stdout=PIPE) - p.wait() - - if p.returncode != 0: - raise Exception('Could not build libgojsonnet.a') - - BuildExt.run(self) - -class NoopTestCommand(TestCommand): - def __init__(self, dist): - print("_gojsonnet does not support running tests with 'python setup.py test'. Please run 'pytest'.") - -jsonnet_ext = Extension( - '_gojsonnet', - sources=MODULE_SOURCES, - extra_objects=[ - LIB_DIR + '/libgojsonnet.a', - ], - include_dirs = ['cpp-jsonnet/include'], - language='c++', -) - -setup(name='gojsonnet', - url='https://jsonnet.org', - description='Python bindings for Jsonnet - The data templating language ', - author='David Cunningham', - author_email='dcunnin@google.com', - version=get_version(), - cmdclass={ - 'build_ext': BuildJsonnetExt, - 'test': NoopTestCommand, - }, - ext_modules=[jsonnet_ext], -) diff --git a/vendor/github.com/google/go-jsonnet/tests.sh b/vendor/github.com/google/go-jsonnet/tests.sh deleted file mode 100644 index 00de466fc..000000000 --- a/vendor/github.com/google/go-jsonnet/tests.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -set -e - -PYTHON_COMMAND=${PYTHON_COMMAND:=python3} -JSONNET_CPP_DIR=${JSONNET_CPP_DIR:=$PWD/cpp-jsonnet} - -set -x - -go test -covermode atomic -coverprofile=coverage.out ./... - -if [ "$SKIP_PYTHON_BINDINGS_TESTS" == 1 ] -then - c-bindings-tests/build.sh -else - c-bindings-tests/run.sh - - $PYTHON_COMMAND setup.py build --build-platlib . - $PYTHON_COMMAND -m pytest python -fi - -export IMPLEMENTATION=golang -export OVERRIDE_DIR="$PWD/testdata/cpp-tests-override/" - -go build ./cmd/jsonnet -go build ./cmd/jsonnetfmt -GOOS=js GOARCH=wasm go build -o libjsonnet.wasm ./cmd/wasm - -export DISABLE_LIB_TESTS=true -export DISABLE_ERROR_TESTS=true -export JSONNETFMT_BIN="$PWD/jsonnetfmt" -export JSONNET_BIN="$PWD/jsonnet" - -cd "$JSONNET_CPP_DIR" -exec ./tests.sh diff --git a/vendor/github.com/google/go-jsonnet/thunks.go b/vendor/github.com/google/go-jsonnet/thunks.go deleted file mode 100644 index 1cccadb60..000000000 --- a/vendor/github.com/google/go-jsonnet/thunks.go +++ /dev/null @@ -1,300 +0,0 @@ -/* -Copyright 2017 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 jsonnet - -import ( - "fmt" - - "github.com/google/go-jsonnet/ast" -) - -// readyValue -// ------------------------------------- - -// readyValue is a wrapper which allows to use a concrete value where normally -// some evaluation would be expected (e.g. object fields). It's not part -// of the value interface for increased type safety (it would be very easy -// to "overevaluate" otherwise) and conveniently it also saves us from implementing -// these methods for all value types. -type readyValue struct { - content value -} - -func (rv *readyValue) evaluate(i *interpreter, sb selfBinding, origBinding bindingFrame, fieldName string) (value, error) { - return rv.content, nil -} - -func (rv *readyValue) loc() *ast.LocationRange { - return &ast.LocationRange{} -} - -// potentialValues -// ------------------------------------- - -// cachedThunk is a wrapper that caches the value of a potentialValue after -// the first evaluation. -// Note: All potentialValues are required to provide the same value every time, -// so it's only there for efficiency. -type cachedThunk struct { - // The environment is a pointer because it may be a cyclic structure. A thunk - // may refer to itself, so inside `env` there will be a variable bound back to us. - env *environment - body ast.Node - // If nil, use err. - content value - // If also nil, content is not cached yet. - err error -} - -func readyThunk(content value) *cachedThunk { - return &cachedThunk{content: content} -} - -func (t *cachedThunk) getValue(i *interpreter) (value, error) { - if t.content != nil { - return t.content, nil - } - if t.err != nil { - return nil, t.err - } - v, err := i.EvalInCleanEnv(t.env, t.body, false) - if err != nil { - // TODO(sbarzowski) perhaps cache errors as well - // may be necessary if we allow handling them in any way - return nil, err - } - t.content = v - // No need to keep the environment around anymore. - // So, this might reduce memory pressure: - t.env = nil - return v, nil -} - -func (t *cachedThunk) aPotentialValue() {} - -// unboundFields -// ------------------------------------- - -type codeUnboundField struct { - body ast.Node -} - -func (f *codeUnboundField) evaluate(i *interpreter, sb selfBinding, origBindings bindingFrame, fieldName string) (value, error) { - env := makeEnvironment(origBindings, sb) - val, err := i.EvalInCleanEnv(&env, f.body, false) - return val, err -} - -func (f *codeUnboundField) loc() *ast.LocationRange { - return f.body.Loc() -} - -// Provide additional bindings for a field. It shadows bindings from the object. -type bindingsUnboundField struct { - inner unboundField - // in addition to "generic" binding frame from the object - bindings bindingFrame -} - -func (f *bindingsUnboundField) evaluate(i *interpreter, sb selfBinding, origBindings bindingFrame, fieldName string) (value, error) { - upValues := make(bindingFrame, len(origBindings)+len(f.bindings)) - for variable, pvalue := range origBindings { - upValues[variable] = pvalue - } - for variable, pvalue := range f.bindings { - upValues[variable] = pvalue - } - return f.inner.evaluate(i, sb, upValues, fieldName) -} - -func (f *bindingsUnboundField) loc() *ast.LocationRange { - return f.inner.loc() -} - -// plusSuperUnboundField represents a `field+: ...` that hasn't been bound to an object. -type plusSuperUnboundField struct { - inner unboundField -} - -func (f *plusSuperUnboundField) evaluate(i *interpreter, sb selfBinding, origBinding bindingFrame, fieldName string) (value, error) { - err := i.newCall(environment{}, false) - if err != nil { - return nil, err - } - stackSize := len(i.stack.stack) - defer i.stack.popIfExists(stackSize) - - context := "+:" - i.stack.setCurrentTrace(traceElement{ - loc: f.loc(), - context: &context, - }) - defer i.stack.clearCurrentTrace() - - right, err := f.inner.evaluate(i, sb, origBinding, fieldName) - if err != nil { - return nil, err - } - - if !objectHasField(sb.super(), fieldName, withHidden) { - return right, nil - } - - left, err := objectIndex(i, sb.super(), fieldName) - if err != nil { - return nil, err - } - - value, err := builtinPlus(i, left, right) - if err != nil { - return nil, err - } - - return value, nil -} - -func (f *plusSuperUnboundField) loc() *ast.LocationRange { - return f.inner.loc() -} - -// evalCallables -// ------------------------------------- - -type closure struct { - // base environment of a closure - // arguments should be added to it, before executing it - env environment - function *ast.Function - params []namedParameter -} - -func forceThunks(i *interpreter, args *bindingFrame) error { - for _, arg := range *args { - _, err := arg.getValue(i) - if err != nil { - return err - } - } - return nil -} - -func (closure *closure) evalCall(arguments callArguments, i *interpreter) (value, error) { - argThunks := make(bindingFrame, len(arguments.named)+len(arguments.positional)) - parameters := closure.parameters() - for i, arg := range arguments.positional { - argThunks[parameters[i].name] = arg - } - - for _, arg := range arguments.named { - argThunks[arg.name] = arg.pv - } - - var calledEnvironment environment - - for _, param := range parameters { - if _, exists := argThunks[param.name]; !exists { - argThunks[param.name] = &cachedThunk{ - // Default arguments are evaluated in the same environment as function body - env: &calledEnvironment, - body: param.defaultArg, - } - } - } - - if arguments.tailstrict { - err := forceThunks(i, &argThunks) - if err != nil { - return nil, err - } - } - - calledEnvironment = makeEnvironment( - addBindings(closure.env.upValues, argThunks), - closure.env.selfBinding, - ) - return i.EvalInCleanEnv(&calledEnvironment, closure.function.Body, arguments.tailstrict) -} - -func (closure *closure) parameters() []namedParameter { - return closure.params - -} - -func prepareClosureParameters(params []ast.Parameter, env environment) []namedParameter { - preparedParams := make([]namedParameter, 0, len(params)) - for _, named := range params { - preparedParams = append(preparedParams, namedParameter{ - name: named.Name, - defaultArg: named.DefaultArg, - }) - } - return preparedParams -} - -func makeClosure(env environment, function *ast.Function) *closure { - return &closure{ - env: env, - function: function, - params: prepareClosureParameters(function.Parameters, env), - } -} - -// NativeFunction represents a function implemented in Go. -type NativeFunction struct { - Name string - Func func([]interface{}) (interface{}, error) - Params ast.Identifiers -} - -// evalCall evaluates a call to a NativeFunction and returns the result. -func (native *NativeFunction) evalCall(arguments callArguments, i *interpreter) (value, error) { - flatArgs := flattenArgs(arguments, native.parameters(), []value{}) - nativeArgs := make([]interface{}, 0, len(flatArgs)) - for _, arg := range flatArgs { - v, err := i.evaluatePV(arg) - if err != nil { - return nil, err - } - json, err := i.manifestJSON(v) - if err != nil { - return nil, err - } - nativeArgs = append(nativeArgs, json) - } - call := func() (resultJSON interface{}, err error) { - defer func() { - if r := recover(); r != nil { - err = fmt.Errorf("native function %#v panicked: %v", native.Name, r) - } - }() - return native.Func(nativeArgs) - } - resultJSON, err := call() - if err != nil { - return nil, i.Error(err.Error()) - } - return jsonToValue(i, resultJSON) -} - -// Parameters returns a NativeFunction's parameters. -func (native *NativeFunction) parameters() []namedParameter { - ret := make([]namedParameter, len(native.Params)) - for i := range ret { - ret[i].name = native.Params[i] - } - return ret -} diff --git a/vendor/github.com/google/go-jsonnet/travisBazel.sh b/vendor/github.com/google/go-jsonnet/travisBazel.sh deleted file mode 100644 index bd3b42aa2..000000000 --- a/vendor/github.com/google/go-jsonnet/travisBazel.sh +++ /dev/null @@ -1,15 +0,0 @@ -set -e -set -x - -# See: https://github.com/bazelbuild/rules_go#how-do-i-run-bazel-on-travis-ci -bazel --host_jvm_args=-Xmx500m \ - --host_jvm_args=-Xms500m \ - test \ - --spawn_strategy=standalone \ - --genrule_strategy=standalone \ - --test_strategy=standalone \ - --local_ram_resources=1536 \ - --noshow_progress \ - --verbose_failures \ - --test_output=errors \ - //:go_default_test diff --git a/vendor/github.com/google/go-jsonnet/travisBuild.sh b/vendor/github.com/google/go-jsonnet/travisBuild.sh deleted file mode 100644 index a27c8a547..000000000 --- a/vendor/github.com/google/go-jsonnet/travisBuild.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -set -e - -run_tests() { - golangci-lint run ./... - SKIP_GO_TESTS=1 ./tests.sh -} - -run_tests diff --git a/vendor/github.com/google/go-jsonnet/update_cpp_jsonnet.sh b/vendor/github.com/google/go-jsonnet/update_cpp_jsonnet.sh deleted file mode 100644 index 777e22eac..000000000 --- a/vendor/github.com/google/go-jsonnet/update_cpp_jsonnet.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -# Updates cpp-jsonnet repo and regenerates dependent files - -set -e -set -x - -cd cpp-jsonnet -git checkout master -git pull -hash=$(git rev-parse HEAD) -cd .. -go run cmd/dumpstdlibast/dumpstdlibast.go cpp-jsonnet/stdlib/std.jsonnet > astgen/stdast.go - -sha256=$(curl -fL https://github.com/google/jsonnet/archive/$hash.tar.gz | shasum -a 256 | awk '{print $1}') - -sed -i.bak \ - -e "s/CPP_JSONNET_SHA256 = .*/CPP_JSONNET_SHA256 = \"$sha256\"/;" \ - -e "s/CPP_JSONNET_GITHASH = .*/CPP_JSONNET_GITHASH = \"$hash\"/;" \ - bazel/repositories.bzl - -# NB: macOS sed doesn't support -i without arg. This is the easy workaround. -rm bazel/repositories.bzl.bak - -set +x -echo -echo -e "\033[1mUpdate completed. Please check if any tests are broken and fix any encountered issues.\033[0m" diff --git a/vendor/github.com/google/go-jsonnet/util.go b/vendor/github.com/google/go-jsonnet/util.go deleted file mode 100644 index 013813e6a..000000000 --- a/vendor/github.com/google/go-jsonnet/util.go +++ /dev/null @@ -1,38 +0,0 @@ -package jsonnet - -func minInt(a, b int) int { - if a < b { - return a - } - return b -} - -func runeCmp(a, b rune) int { - if a < b { - return -1 - } - if a > b { - return 1 - } - return 0 -} - -func intCmp(a, b int) int { - if a < b { - return -1 - } - if a > b { - return 1 - } - return 0 -} - -func float64Cmp(a, b float64) int { - if a < b { - return -1 - } - if a > b { - return 1 - } - return 0 -} diff --git a/vendor/github.com/google/go-jsonnet/value.go b/vendor/github.com/google/go-jsonnet/value.go deleted file mode 100644 index f3b760d07..000000000 --- a/vendor/github.com/google/go-jsonnet/value.go +++ /dev/null @@ -1,785 +0,0 @@ -/* -Copyright 2017 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 jsonnet - -import ( - "errors" - "fmt" - - "github.com/google/go-jsonnet/ast" -) - -// value represents a concrete jsonnet value of a specific type. -// Various operations on values are allowed, depending on their type. -// All values are of course immutable. -type value interface { - aValue() - - getType() *valueType -} - -type valueType struct { - name string -} - -var stringType = &valueType{"string"} -var numberType = &valueType{"number"} -var functionType = &valueType{"function"} -var objectType = &valueType{"object"} -var booleanType = &valueType{"boolean"} -var nullType = &valueType{"null"} -var arrayType = &valueType{"array"} - -// potentialValue is something that may be evaluated to a concrete value. -// The result of the evaluation may *NOT* depend on the current state -// of the interpreter. The evaluation may fail. -// -// It can be used to represent lazy values (e.g. variables values in jsonnet -// are not calculated before they are used). It is also a useful abstraction -// in other cases like error handling. -// -// It may or may not require arbitrary computation when getValue is called the -// first time, but any subsequent calls will immediately return. -// -// TODO(sbarzowski) perhaps call it just "Thunk"? -type potentialValue interface { - // fromWhere keeps the information from where the evaluation was requested. - getValue(i *interpreter) (value, error) - - aPotentialValue() -} - -// A set of variables with associated thunks. -type bindingFrame map[ast.Identifier]*cachedThunk - -type valueBase struct{} - -func (v *valueBase) aValue() {} - -// Primitive values -// ------------------------------------- - -type valueString interface { - value - length() int - getRunes() []rune - getGoString() string - index(i *interpreter, index int) (value, error) -} - -// valueFlatString represents a string value, internally using a []rune for quick -// indexing. -type valueFlatString struct { - valueBase - // We use rune slices instead of strings for quick indexing - value []rune -} - -func (s *valueFlatString) index(i *interpreter, index int) (value, error) { - if 0 <= index && index < s.length() { - return makeValueString(string(s.value[index])), nil - } - return nil, i.Error(fmt.Sprintf("Index %d out of bounds, not within [0, %v)", index, s.length())) -} - -func (s *valueFlatString) getRunes() []rune { - return s.value -} - -func (s *valueFlatString) getGoString() string { - return string(s.value) -} - -func (s *valueFlatString) length() int { - return len(s.value) -} - -func (s *valueFlatString) getType() *valueType { - return stringType -} - -// TODO(sbarzowski) this was chosen on a hunch, be more systematic about it -const extendedStringMinLength = 30 - -// Indirect representation of long strings. -// It consists of two parts, left and right, concatenation of which is the whole string. -type valueStringTree struct { - valueBase - left, right valueString - len int -} - -func buildFullString(s valueString, buf *[]rune) { - switch s := s.(type) { - case *valueFlatString: - *buf = append(*buf, s.value...) - case *valueStringTree: - buildFullString(s.left, buf) - buildFullString(s.right, buf) - } -} - -func (s *valueStringTree) flattenToLeft() { - if s.right != nil { - result := make([]rune, 0, s.len) - buildFullString(s, &result) - s.left = makeStringFromRunes(result) - s.right = nil - } -} - -func (s *valueStringTree) index(i *interpreter, index int) (value, error) { - if 0 <= index && index < s.len { - s.flattenToLeft() - return s.left.index(i, index) - } - return nil, i.Error(fmt.Sprintf("Index %d out of bounds, not within [0, %v)", index, s.length())) -} - -func (s *valueStringTree) getRunes() []rune { - s.flattenToLeft() - return s.left.getRunes() -} - -func (s *valueStringTree) getGoString() string { - s.flattenToLeft() - return s.left.getGoString() -} - -func (s *valueStringTree) length() int { - return s.len -} - -func (s *valueStringTree) getType() *valueType { - return stringType -} - -func emptyString() *valueFlatString { - return &valueFlatString{} -} - -func makeStringFromRunes(runes []rune) *valueFlatString { - return &valueFlatString{value: runes} -} - -func concatStrings(a, b valueString) valueString { - aLen := a.length() - bLen := b.length() - if aLen == 0 { - return b - } else if bLen == 0 { - return a - } else if aLen+bLen < extendedStringMinLength { - runesA := a.getRunes() - runesB := b.getRunes() - result := make([]rune, 0, aLen+bLen) - result = append(result, runesA...) - result = append(result, runesB...) - return makeStringFromRunes(result) - } else { - return &valueStringTree{ - left: a, - right: b, - len: aLen + bLen, - } - } -} - -func stringCmp(a, b valueString) int { - runesA := a.getRunes() - runesB := b.getRunes() - var length int - if len(runesA) < len(runesB) { - length = len(runesA) - } else { - length = len(runesB) - } - for i := 0; i < length; i++ { - if runesA[i] != runesB[i] { - return runeCmp(runesA[i], runesB[i]) - } - } - return intCmp(len(runesA), len(runesB)) -} - -func stringEqual(a, b valueString) bool { - runesA := a.getRunes() - runesB := b.getRunes() - if len(runesA) != len(runesB) { - return false - } - for i := 0; i < len(runesA); i++ { - if runesA[i] != runesB[i] { - return false - } - } - return true -} - -func makeValueString(v string) valueString { - return &valueFlatString{value: []rune(v)} -} - -type valueBoolean struct { - valueBase - value bool -} - -func (*valueBoolean) getType() *valueType { - return booleanType -} - -func makeValueBoolean(v bool) *valueBoolean { - return &valueBoolean{value: v} -} - -type valueNumber struct { - valueBase - value float64 -} - -func (*valueNumber) getType() *valueType { - return numberType -} - -func makeValueNumber(v float64) *valueNumber { - return &valueNumber{value: v} -} - -func intToValue(i int) *valueNumber { - return makeValueNumber(float64(i)) -} - -func int64ToValue(i int64) *valueNumber { - return makeValueNumber(float64(i)) -} - -type valueNull struct { - valueBase -} - -var nullValue valueNull - -func makeValueNull() *valueNull { - return &nullValue -} - -func (*valueNull) getType() *valueType { - return nullType -} - -// ast.Array -// ------------------------------------- - -type valueArray struct { - valueBase - elements []*cachedThunk -} - -func (arr *valueArray) index(i *interpreter, index int) (value, error) { - if 0 <= index && index < arr.length() { - return i.evaluatePV(arr.elements[index]) - } - return nil, i.Error(fmt.Sprintf("Index %d out of bounds, not within [0, %v)", index, arr.length())) -} - -func (arr *valueArray) length() int { - return len(arr.elements) -} - -func makeValueArray(elements []*cachedThunk) *valueArray { - // We don't want to keep a bigger array than necessary - // so we create a new one with minimal capacity - var arrayElems []*cachedThunk - if len(elements) == cap(elements) { - arrayElems = elements - } else { - arrayElems = make([]*cachedThunk, len(elements)) - copy(arrayElems, elements) - } - return &valueArray{ - elements: arrayElems, - } -} - -func concatArrays(a, b *valueArray) *valueArray { - result := make([]*cachedThunk, 0, len(a.elements)+len(b.elements)) - result = append(result, a.elements...) - result = append(result, b.elements...) - return &valueArray{elements: result} -} - -func (*valueArray) getType() *valueType { - return arrayType -} - -// ast.Function -// ------------------------------------- - -type valueFunction struct { - valueBase - ec evalCallable -} - -// TODO(sbarzowski) better name? -type evalCallable interface { - evalCall(args callArguments, i *interpreter) (value, error) - parameters() []namedParameter -} - -func (f *valueFunction) call(i *interpreter, args callArguments) (value, error) { - err := checkArguments(i, args, f.parameters()) - if err != nil { - return nil, err - } - return f.ec.evalCall(args, i) -} - -func (f *valueFunction) parameters() []namedParameter { - return f.ec.parameters() -} - -func checkArguments(i *interpreter, args callArguments, params []namedParameter) error { - numPositional := len(args.positional) - numNamed := len(args.named) - maxExpected := len(params) - - if numPositional > maxExpected { - return i.Error(fmt.Sprintf("function expected %v positional argument(s), but got %v", maxExpected, numPositional)) - } - - // Parameter names the function will accept. - accepted := make(map[ast.Identifier]bool, maxExpected) - for _, param := range params { - accepted[param.name] = true - } - - // Parameter names the call will bind. - received := make(map[ast.Identifier]bool, numPositional+numNamed) - for i := range args.positional { - received[params[i].name] = true - } - for _, arg := range args.named { - if _, present := received[arg.name]; present { - return i.Error(fmt.Sprintf("Argument %v already provided", arg.name)) - } - if _, present := accepted[arg.name]; !present { - return i.Error(fmt.Sprintf("function has no parameter %v", arg.name)) - } - received[arg.name] = true - } - - for _, param := range params { - if _, present := received[param.name]; !present && param.defaultArg == nil { - return i.Error(fmt.Sprintf("Missing argument: %v", param.name)) - } - } - - return nil -} - -func (f *valueFunction) getType() *valueType { - return functionType -} - -type namedParameter struct { - defaultArg ast.Node - name ast.Identifier -} - -type callArguments struct { - positional []*cachedThunk - named []namedCallArgument - tailstrict bool -} - -type namedCallArgument struct { - pv *cachedThunk - name ast.Identifier -} - -func args(xs ...*cachedThunk) callArguments { - return callArguments{positional: xs} -} - -// Objects -// ------------------------------------- - -// Object is a value that allows indexing (taking a value of a field) -// and combining through mixin inheritence (operator +). - -type valueObject struct { - valueBase - assertionError error - cache map[objectCacheKey]value - uncached uncachedObject -} - -// Hack - we need to distinguish not-checked-yet and no error situations -// so we have a special value for no error and nil means that we don't know yet. -var errNoErrorInObjectInvariants = errors.New("no error - assertions passed") - -type objectCacheKey struct { - field string - depth int -} - -type selfBinding struct { - // self is the lexically nearest object we are in, or nil. Note - // that this is not the same as context, because we could be inside a function, - // inside an object and then context would be the function, but self would still point - // to the object. - self *valueObject - - // superDepth is the "super" level of self. Sometimes, we look upwards in the - // inheritance tree, e.g. via an explicit use of super, or because a given field - // has been inherited. When evaluating a field from one of these super objects, - // we need to bind self to the concrete object (so self must point - // there) but uses of super should be resolved relative to the object whose - // field we are evaluating. Thus, we keep a second field for that. This is - // usually 0, unless we are evaluating a super object's field. - // TODO(sbarzowski) provide some examples - // TODO(sbarzowski) provide somewhere a complete explanation of the object model - superDepth int -} - -func makeUnboundSelfBinding() selfBinding { - return selfBinding{ - nil, - 123456789, // poison value - } -} - -func objectBinding(obj *valueObject) selfBinding { - return selfBinding{self: obj, superDepth: 0} -} - -func (sb selfBinding) super() selfBinding { - return selfBinding{self: sb.self, superDepth: sb.superDepth + 1} -} - -// hidden represents wether to include hidden fields in a lookup. -type hidden int - -// With/without hidden fields -const ( - withHidden hidden = iota - withoutHidden -) - -func withHiddenFromBool(with bool) hidden { - if with { - return withHidden - } - return withoutHidden -} - -func (*valueObject) getType() *valueType { - return objectType -} - -func (obj *valueObject) index(i *interpreter, field string) (value, error) { - return objectIndex(i, objectBinding(obj), field) -} - -func (obj *valueObject) assertionsChecked() bool { - // nil - not checked yet - // errNoErrorInObjectInvariants - we checked and there is no error (or checking in progress) - return obj.assertionError != nil -} - -func (obj *valueObject) setAssertionsCheckResult(err error) { - if err != nil { - obj.assertionError = err - } else { - obj.assertionError = errNoErrorInObjectInvariants - } -} - -func (obj *valueObject) getAssertionsCheckResult() error { - if obj.assertionError == nil { - panic("Assertions not checked yet") - } - if obj.assertionError == errNoErrorInObjectInvariants { - return nil - } - return obj.assertionError -} - -type uncachedObject interface { - inheritanceSize() int -} - -type objectLocal struct { - // Locals may depend on self and super so they are unbound fields and not simply thunks - node ast.Node - name ast.Identifier -} - -// simpleObject represents a flat object (no inheritance). -// Note that it can be used as part of extended objects -// in inheritance using operator +. -// -// Fields are late bound (to object), so they are not values or potentialValues. -// This is important for inheritance, for example: -// Let a = {x: 42} and b = {y: self.x}. Evaluating b.y is an error, -// but (a+b).y evaluates to 42. -type simpleObject struct { - upValues bindingFrame - fields simpleObjectFieldMap - asserts []unboundField - locals []objectLocal -} - -func checkAssertionsHelper(i *interpreter, obj *valueObject, curr uncachedObject, superDepth int) error { - switch curr := curr.(type) { - case *extendedObject: - err := checkAssertionsHelper(i, obj, curr.right, superDepth) - if err != nil { - return err - } - err = checkAssertionsHelper(i, obj, curr.left, superDepth+curr.right.inheritanceSize()) - if err != nil { - return err - } - return nil - case *simpleObject: - for _, assert := range curr.asserts { - sb := selfBinding{self: obj, superDepth: superDepth} - fieldUpValues := prepareFieldUpvalues(sb, curr.upValues, curr.locals) - _, err := assert.evaluate(i, sb, fieldUpValues, "") - if err != nil { - return err - } - } - return nil - case nil: - return nil - default: - panic(fmt.Sprintf("Unknown object type %#v", curr)) - } - -} - -func checkAssertions(i *interpreter, obj *valueObject) error { - if !obj.assertionsChecked() { - // Assertions may refer to the object that will normally - // trigger checking of assertions, resulting in an endless recursion. - // To avoid that, while we check them, we treat them as already passed. - obj.setAssertionsCheckResult(errNoErrorInObjectInvariants) - obj.setAssertionsCheckResult(checkAssertionsHelper(i, obj, obj.uncached, 0)) - } - return obj.getAssertionsCheckResult() -} - -func (*simpleObject) inheritanceSize() int { - return 1 -} - -func makeValueSimpleObject(b bindingFrame, fields simpleObjectFieldMap, asserts []unboundField, locals []objectLocal) *valueObject { - return &valueObject{ - cache: make(map[objectCacheKey]value), - uncached: &simpleObject{ - upValues: b, - fields: fields, - asserts: asserts, - locals: locals, - }, - } -} - -type simpleObjectFieldMap map[string]simpleObjectField - -type simpleObjectField struct { - field unboundField - hide ast.ObjectFieldHide -} - -// unboundField is a field that doesn't know yet in which object it is. -type unboundField interface { - evaluate(i *interpreter, sb selfBinding, origBinding bindingFrame, fieldName string) (value, error) - loc() *ast.LocationRange -} - -// extendedObject represents an object created through inheritance (left + right). -// We represent it as the pair of objects. This results in a tree-like structure. -// Example: -// (A + B) + C -// -// + -// / \ -// + C -// / \ -// A B -// -// It is possible to create an arbitrary binary tree. -// Note however, that because + is associative the only thing that matters -// is the order of leafs. -// -// This represenation allows us to implement "+" in O(1), -// but requires going through the tree and trying subsequent leafs for field access. -type extendedObject struct { - left, right uncachedObject - totalInheritanceSize int -} - -func (o *extendedObject) inheritanceSize() int { - return o.totalInheritanceSize -} - -func makeValueExtendedObject(left, right *valueObject) *valueObject { - return &valueObject{ - cache: make(map[objectCacheKey]value), - uncached: &extendedObject{ - left: left.uncached, - right: right.uncached, - totalInheritanceSize: left.uncached.inheritanceSize() + right.uncached.inheritanceSize(), - }, - } -} - -// findField returns a field in object curr, with superDepth at least minSuperDepth -// It also returns an associated bindingFrame and actual superDepth that the field -// was found at. -func findField(curr uncachedObject, minSuperDepth int, f string) (bool, simpleObjectField, bindingFrame, []objectLocal, int) { - switch curr := curr.(type) { - case *extendedObject: - if curr.right.inheritanceSize() > minSuperDepth { - found, field, frame, locals, counter := findField(curr.right, minSuperDepth, f) - if found { - return true, field, frame, locals, counter - } - } - found, field, frame, locals, counter := findField(curr.left, minSuperDepth-curr.right.inheritanceSize(), f) - return found, field, frame, locals, counter + curr.right.inheritanceSize() - - case *simpleObject: - if minSuperDepth <= 0 { - if field, ok := curr.fields[f]; ok { - return true, field, curr.upValues, curr.locals, 0 - } - } - return false, simpleObjectField{}, nil, nil, 0 - default: - panic(fmt.Sprintf("Unknown object type %#v", curr)) - } -} - -func prepareFieldUpvalues(sb selfBinding, upValues bindingFrame, locals []objectLocal) bindingFrame { - newUpValues := make(bindingFrame, len(upValues)) - for k, v := range upValues { - newUpValues[k] = v - } - localThunks := make([]*cachedThunk, 0, len(locals)) - for _, l := range locals { - th := &cachedThunk{ - // We will fill upValues later - env: &environment{upValues: nil, selfBinding: sb}, - body: l.node, - } - newUpValues[l.name] = th - localThunks = append(localThunks, th) - } - for _, th := range localThunks { - th.env.upValues = newUpValues - } - return newUpValues -} - -func objectIndex(i *interpreter, sb selfBinding, fieldName string) (value, error) { - err := checkAssertions(i, sb.self) - if err != nil { - return nil, err - } - if sb.superDepth >= sb.self.uncached.inheritanceSize() { - return nil, i.Error("Attempt to use super when there is no super class.") - } - - found, field, upValues, locals, foundAt := findField(sb.self.uncached, sb.superDepth, fieldName) - if !found { - return nil, i.Error(fmt.Sprintf("Field does not exist: %s", fieldName)) - } - - if val, ok := sb.self.cache[objectCacheKey{field: fieldName, depth: foundAt}]; ok { - return val, nil - } - - fieldSelfBinding := selfBinding{self: sb.self, superDepth: foundAt} - fieldUpValues := prepareFieldUpvalues(fieldSelfBinding, upValues, locals) - - val, err := field.field.evaluate(i, fieldSelfBinding, fieldUpValues, fieldName) - - if err == nil { - sb.self.cache[objectCacheKey{field: fieldName, depth: foundAt}] = val - } - - return val, err -} - -func objectHasField(sb selfBinding, fieldName string, h hidden) bool { - found, field, _, _, _ := findField(sb.self.uncached, sb.superDepth, fieldName) - if !found || (h == withoutHidden && field.hide == ast.ObjectFieldHidden) { - return false - } - return true -} - -type fieldHideMap map[string]ast.ObjectFieldHide - -func uncachedObjectFieldsVisibility(obj uncachedObject) fieldHideMap { - r := make(fieldHideMap) - switch obj := obj.(type) { - case *extendedObject: - r = uncachedObjectFieldsVisibility(obj.left) - rightMap := uncachedObjectFieldsVisibility(obj.right) - for k, v := range rightMap { - if v == ast.ObjectFieldInherit { - if _, alreadyExists := r[k]; !alreadyExists { - r[k] = v - } - } else { - r[k] = v - } - } - return r - - case *simpleObject: - for fieldName, field := range obj.fields { - r[fieldName] = field.hide - } - } - return r -} - -func objectFieldsVisibility(obj *valueObject) fieldHideMap { - return uncachedObjectFieldsVisibility(obj.uncached) -} - -// Returns field names of an object. Gotcha: the order of fields is unpredictable. -func objectFields(obj *valueObject, h hidden) []string { - var r []string - for fieldName, hide := range objectFieldsVisibility(obj) { - if h == withHidden || hide != ast.ObjectFieldHidden { - r = append(r, fieldName) - } - } - return r -} - -func duplicateFieldNameErrMsg(fieldName string) string { - return fmt.Sprintf("Duplicate field name: %s", unparseString(fieldName)) -} diff --git a/vendor/github.com/google/go-jsonnet/vm.go b/vendor/github.com/google/go-jsonnet/vm.go deleted file mode 100644 index 3ef18998a..000000000 --- a/vendor/github.com/google/go-jsonnet/vm.go +++ /dev/null @@ -1,539 +0,0 @@ -/* -Copyright 2017 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 jsonnet - -import ( - "errors" - "fmt" - "io" - "os" - "path/filepath" - "runtime/debug" - "sort" - "strings" - - "github.com/google/go-jsonnet/ast" - "github.com/google/go-jsonnet/internal/parser" - "github.com/google/go-jsonnet/internal/program" -) - -// Note: There are no garbage collection params because we're using the native -// Go garbage collector. - -// VM is the core interpreter and is the touchpoint used to parse and execute -// Jsonnet. -type VM struct { //nolint:govet - MaxStack int - ext vmExtMap - tla vmExtMap - nativeFuncs map[string]*NativeFunction - importer Importer - ErrorFormatter ErrorFormatter - StringOutput bool - importCache *importCache - traceOut io.Writer -} - -// extKind indicates the kind of external variable that is being initialized for the VM -type extKind int - -const ( - extKindVar extKind = iota // a simple string - extKindCode // a code snippet represented as a string - extKindNode // an ast.Node that is passed in -) - -// External variable or top level argument provided before execution -type vmExt struct { - // the specified node for kind=extKindNode - node ast.Node - // jsonnet code to evaluate (kind=extKindCode) or string to pass (kind=extKindVar) - value string - // the kind of external variable that is specified. - kind extKind -} - -type vmExtMap map[string]vmExt - -// MakeVM creates a new VM with default parameters. -func MakeVM() *VM { - defaultImporter := &FileImporter{} - return &VM{ - MaxStack: 500, - ext: make(vmExtMap), - tla: make(vmExtMap), - nativeFuncs: make(map[string]*NativeFunction), - ErrorFormatter: &termErrorFormatter{pretty: false, maxStackTraceSize: 20}, - importer: &FileImporter{}, - importCache: makeImportCache(defaultImporter), - traceOut: os.Stderr, - } -} - -// Fully flush cache. This should be executed when we are no longer sure that the source files -// didn't change, for example when the importer changed. -func (vm *VM) flushCache() { - vm.importCache = makeImportCache(vm.importer) -} - -// Flush value cache. This should be executed when calculated values may no longer be up to date, -// for example due to change in extVars. -func (vm *VM) flushValueCache() { - vm.importCache.flushValueCache() -} - -// SetTraceOut sets the output stream for the builtin function std.trace(). -func (vm *VM) SetTraceOut(traceOut io.Writer) { - vm.traceOut = traceOut -} - -// ExtVar binds a Jsonnet external var to the given value. -func (vm *VM) ExtVar(key string, val string) { - vm.ext[key] = vmExt{value: val, kind: extKindVar} - vm.flushValueCache() -} - -// ExtCode binds a Jsonnet external code var to the given code. -func (vm *VM) ExtCode(key string, val string) { - vm.ext[key] = vmExt{value: val, kind: extKindCode} - vm.flushValueCache() -} - -// ExtNode binds a Jsonnet external code var to the given AST node. -func (vm *VM) ExtNode(key string, node ast.Node) { - vm.ext[key] = vmExt{node: node, kind: extKindNode} - vm.flushValueCache() -} - -// ExtReset rests all external variables registered for this VM. -func (vm *VM) ExtReset() { - vm.ext = make(vmExtMap) - vm.flushValueCache() -} - -// TLAVar binds a Jsonnet top level argument to the given value. -func (vm *VM) TLAVar(key string, val string) { - vm.tla[key] = vmExt{value: val, kind: extKindVar} - // Setting a TLA does not require flushing the cache. - // Only the results of evaluation of imported files are cached - // and the TLAs do not affect these unlike extVars. -} - -// TLACode binds a Jsonnet top level argument to the given code. -func (vm *VM) TLACode(key string, val string) { - vm.tla[key] = vmExt{value: val, kind: extKindCode} - // Setting a TLA does not require flushing the cache - see above. -} - -// TLANode binds a Jsonnet top level argument to the given AST node. -func (vm *VM) TLANode(key string, node ast.Node) { - vm.tla[key] = vmExt{node: node, kind: extKindNode} - // Setting a TLA does not require flushing the cache - see above. -} - -// TLAReset resets all TLAs registered for this VM. -func (vm *VM) TLAReset() { - vm.tla = make(vmExtMap) -} - -// Importer sets Importer to use during evaluation (import callback). -func (vm *VM) Importer(i Importer) { - vm.importer = i - vm.flushCache() -} - -// NativeFunction registers a native function. -func (vm *VM) NativeFunction(f *NativeFunction) { - vm.nativeFuncs[f.Name] = f - vm.flushValueCache() -} - -type evalKind int - -const ( - evalKindRegular evalKind = iota - evalKindMulti = iota - evalKindStream = iota -) - -// version is the current gojsonnet's version -const version = "v0.19.1" - -// Evaluate evaluates a Jsonnet program given by an Abstract Syntax Tree -// and returns serialized JSON as string. -// TODO(sbarzowski) perhaps is should return JSON in standard Go representation -func (vm *VM) Evaluate(node ast.Node) (val string, err error) { - defer func() { - if r := recover(); r != nil { - err = fmt.Errorf("(CRASH) %v\n%s", r, debug.Stack()) - } - }() - return evaluate(node, vm.ext, vm.tla, vm.nativeFuncs, vm.MaxStack, vm.importCache, vm.traceOut, vm.StringOutput) -} - -// EvaluateStream evaluates a Jsonnet program given by an Abstract Syntax Tree -// and returns an array of JSON strings. -func (vm *VM) EvaluateStream(node ast.Node) (output []string, err error) { - defer func() { - if r := recover(); r != nil { - err = fmt.Errorf("(CRASH) %v\n%s", r, debug.Stack()) - } - }() - return evaluateStream(node, vm.ext, vm.tla, vm.nativeFuncs, vm.MaxStack, vm.importCache, vm.traceOut) -} - -// EvaluateMulti evaluates a Jsonnet program given by an Abstract Syntax Tree -// and returns key-value pairs. -// The keys are strings and the values are JSON strigns (serialized JSON). -func (vm *VM) EvaluateMulti(node ast.Node) (output map[string]string, err error) { - defer func() { - if r := recover(); r != nil { - err = fmt.Errorf("(CRASH) %v\n%s", r, debug.Stack()) - } - }() - return evaluateMulti(node, vm.ext, vm.tla, vm.nativeFuncs, vm.MaxStack, vm.importCache, vm.traceOut, vm.StringOutput) -} - -func (vm *VM) evaluateSnippet(diagnosticFileName ast.DiagnosticFileName, filename string, snippet string, kind evalKind) (output interface{}, err error) { - defer func() { - if r := recover(); r != nil { - err = fmt.Errorf("(CRASH) %v\n%s", r, debug.Stack()) - } - }() - node, err := program.SnippetToAST(diagnosticFileName, filename, snippet) - if err != nil { - return "", err - } - switch kind { - case evalKindRegular: - output, err = evaluate(node, vm.ext, vm.tla, vm.nativeFuncs, vm.MaxStack, vm.importCache, vm.traceOut, vm.StringOutput) - case evalKindMulti: - output, err = evaluateMulti(node, vm.ext, vm.tla, vm.nativeFuncs, vm.MaxStack, vm.importCache, vm.traceOut, vm.StringOutput) - case evalKindStream: - output, err = evaluateStream(node, vm.ext, vm.tla, vm.nativeFuncs, vm.MaxStack, vm.importCache, vm.traceOut) - } - if err != nil { - return "", err - } - return output, nil -} - -func getAbsPath(path string) (string, error) { - var absPath string - if filepath.IsAbs(path) { - absPath = path - } else { - wd, err := os.Getwd() - if err != nil { - return "", nil - } - absPath = strings.Join([]string{wd, path}, string(filepath.Separator)) - } - cleanedAbsPath, err := filepath.EvalSymlinks(absPath) - if err != nil { - return "", err - } - return cleanedAbsPath, nil -} - -func (vm *VM) findDependencies(filePath string, node *ast.Node, dependencies map[string]struct{}, stackTrace *[]traceFrame) (err error) { - var cleanedAbsPath string - switch i := (*node).(type) { - case *ast.Import: - node, foundAt, err := vm.ImportAST(filePath, i.File.Value) - if err != nil { - *stackTrace = append([]traceFrame{{Loc: *i.Loc()}}, *stackTrace...) - return err - } - cleanedAbsPath = foundAt - if _, isFileImporter := vm.importer.(*FileImporter); isFileImporter { - cleanedAbsPath, err = getAbsPath(foundAt) - if err != nil { - *stackTrace = append([]traceFrame{{Loc: *i.Loc()}}, *stackTrace...) - return err - } - } - // Check that we haven't already parsed the imported file. - if _, alreadyParsed := dependencies[cleanedAbsPath]; alreadyParsed { - return nil - } - dependencies[cleanedAbsPath] = struct{}{} - err = vm.findDependencies(foundAt, &node, dependencies, stackTrace) - if err != nil { - *stackTrace = append([]traceFrame{{Loc: *i.Loc()}}, *stackTrace...) - return err - } - case *ast.ImportStr: - foundAt, err := vm.ResolveImport(filePath, i.File.Value) - if err != nil { - *stackTrace = append([]traceFrame{{Loc: *i.Loc()}}, *stackTrace...) - return err - } - cleanedAbsPath = foundAt - if _, isFileImporter := vm.importer.(*FileImporter); isFileImporter { - cleanedAbsPath, err = getAbsPath(foundAt) - if err != nil { - *stackTrace = append([]traceFrame{{Loc: *i.Loc()}}, *stackTrace...) - return err - } - } - dependencies[cleanedAbsPath] = struct{}{} - case *ast.ImportBin: - foundAt, err := vm.ResolveImport(filePath, i.File.Value) - if err != nil { - *stackTrace = append([]traceFrame{{Loc: *i.Loc()}}, *stackTrace...) - return err - } - cleanedAbsPath = foundAt - if _, isFileImporter := vm.importer.(*FileImporter); isFileImporter { - cleanedAbsPath, err = getAbsPath(foundAt) - if err != nil { - *stackTrace = append([]traceFrame{{Loc: *i.Loc()}}, *stackTrace...) - return err - } - } - dependencies[cleanedAbsPath] = struct{}{} - default: - for _, node := range parser.Children(i) { - err = vm.findDependencies(filePath, &node, dependencies, stackTrace) - if err != nil { - return err - } - } - } - return -} - -// EvaluateSnippet evaluates a string containing Jsonnet code, return a JSON -// string. -// -// The filename parameter is used for resolving relative imports and for errors messages. -// -// Deprecated: Use EvaluateFile or EvaluateAnonymousSnippet instead. -func (vm *VM) EvaluateSnippet(filename string, snippet string) (json string, formattedErr error) { - output, err := vm.evaluateSnippet(ast.DiagnosticFileName(filename), filename, snippet, evalKindRegular) - if err != nil { - return "", errors.New(vm.ErrorFormatter.Format(err)) - } - json = output.(string) - return -} - -// EvaluateSnippetStream evaluates a string containing Jsonnet code to an array. -// The array is returned as an array of JSON strings. -// -// The filename parameter is used for resolving relative imports and for errors messages. -// -// Deprecated: Use EvaluateFileStream or EvaluateAnonymousSnippetStream instead. -func (vm *VM) EvaluateSnippetStream(filename string, snippet string) (docs []string, formattedErr error) { - output, err := vm.evaluateSnippet(ast.DiagnosticFileName(filename), filename, snippet, evalKindStream) - if err != nil { - return nil, errors.New(vm.ErrorFormatter.Format(err)) - } - docs = output.([]string) - return -} - -// EvaluateSnippetMulti evaluates a string containing Jsonnet code to key-value -// pairs. The keys are field name strings and the values are JSON strings. -// -// The filename parameter is used for resolving relative imports and for errors messages. -// -// Deprecated: Use EvaluateFileMulti or EvaluateAnonymousSnippetMulti instead. -func (vm *VM) EvaluateSnippetMulti(filename string, snippet string) (files map[string]string, formattedErr error) { - output, err := vm.evaluateSnippet(ast.DiagnosticFileName(filename), filename, snippet, evalKindMulti) - if err != nil { - return nil, errors.New(vm.ErrorFormatter.Format(err)) - } - files = output.(map[string]string) - return -} - -// EvaluateAnonymousSnippet evaluates a string containing Jsonnet code, return a JSON -// string. -// -// The filename parameter is only used for error messages. -func (vm *VM) EvaluateAnonymousSnippet(filename string, snippet string) (json string, formattedErr error) { - output, err := vm.evaluateSnippet(ast.DiagnosticFileName(filename), "", snippet, evalKindRegular) - if err != nil { - return "", errors.New(vm.ErrorFormatter.Format(err)) - } - json = output.(string) - return -} - -// EvaluateAnonymousSnippetStream evaluates a string containing Jsonnet code to an array. -// The array is returned as an array of JSON strings. -// -// The filename parameter is only used for error messages. -func (vm *VM) EvaluateAnonymousSnippetStream(filename string, snippet string) (docs []string, formattedErr error) { - output, err := vm.evaluateSnippet(ast.DiagnosticFileName(filename), "", snippet, evalKindStream) - if err != nil { - return nil, errors.New(vm.ErrorFormatter.Format(err)) - } - docs = output.([]string) - return -} - -// EvaluateAnonymousSnippetMulti evaluates a string containing Jsonnet code to key-value -// pairs. The keys are field name strings and the values are JSON strings. -// -// The filename parameter is only used for error messages. -func (vm *VM) EvaluateAnonymousSnippetMulti(filename string, snippet string) (files map[string]string, formattedErr error) { - output, err := vm.evaluateSnippet(ast.DiagnosticFileName(filename), "", snippet, evalKindMulti) - if err != nil { - return nil, errors.New(vm.ErrorFormatter.Format(err)) - } - files = output.(map[string]string) - return -} - -// EvaluateFile evaluates Jsonnet code in a file and returns a JSON -// string. -// -// The importer is used to fetch the contents of the file. -func (vm *VM) EvaluateFile(filename string) (json string, formattedErr error) { - node, _, err := vm.ImportAST("", filename) - if err != nil { - return "", errors.New(vm.ErrorFormatter.Format(err)) - } - output, err := vm.Evaluate(node) - if err != nil { - return "", errors.New(vm.ErrorFormatter.Format(err)) - } - return output, nil -} - -// EvaluateFileStream evaluates Jsonnet code in a file to an array. -// The array is returned as an array of JSON strings. -// -// The importer is used to fetch the contents of the file. -func (vm *VM) EvaluateFileStream(filename string) (docs []string, formattedErr error) { - node, _, err := vm.ImportAST("", filename) - if err != nil { - return nil, errors.New(vm.ErrorFormatter.Format(err)) - } - output, err := vm.EvaluateStream(node) - if err != nil { - return nil, errors.New(vm.ErrorFormatter.Format(err)) - } - return output, nil -} - -// EvaluateFileMulti evaluates Jsonnet code in a file to key-value -// pairs. The keys are field name strings and the values are JSON strings. -// -// The importer is used to fetch the contents of the file. -func (vm *VM) EvaluateFileMulti(filename string) (files map[string]string, formattedErr error) { - node, _, err := vm.ImportAST("", filename) - if err != nil { - return nil, errors.New(vm.ErrorFormatter.Format(err)) - } - output, err := vm.EvaluateMulti(node) - if err != nil { - return nil, errors.New(vm.ErrorFormatter.Format(err)) - } - return output, nil -} - -// FindDependencies returns a sorted array of unique transitive dependencies (via import/importstr/importbin) -// from all the given `importedPaths` which are themselves excluded from the returned array. -// The `importedPaths` are parsed as if they were imported from a Jsonnet file located at `importedFrom`. -func (vm *VM) FindDependencies(importedFrom string, importedPaths []string) ([]string, error) { - var nodes []*ast.Node - var stackTrace []traceFrame - filePaths := make([]string, len(importedPaths)) - depsToExclude := make([]string, len(importedPaths)) - deps := make(map[string]struct{}) - - for i, filePath := range importedPaths { - node, foundAt, err := vm.ImportAST(importedFrom, filePath) - if err != nil { - return nil, err - } - cleanedAbsPath := foundAt - if _, isFileImporter := vm.importer.(*FileImporter); isFileImporter { - cleanedAbsPath, err = getAbsPath(foundAt) - if err != nil { - return nil, err - } - } - nodes = append(nodes, &node) - filePaths[i] = foundAt - - // Add `importedPaths` to the dependencies so that they are not parsed again. - // Will be removed before returning. - deps[cleanedAbsPath] = struct{}{} - depsToExclude[i] = cleanedAbsPath - } - - for i, filePath := range filePaths { - err := vm.findDependencies(filePath, nodes[i], deps, &stackTrace) - if err != nil { - err = makeRuntimeError(err.Error(), stackTrace) - return nil, errors.New(vm.ErrorFormatter.Format(err)) - } - } - - // Exclude `importedPaths` from the dependencies. - for _, dep := range depsToExclude { - delete(deps, dep) - } - - dependencies, i := make([]string, len(deps)), 0 - for key := range deps { - dependencies[i] = key - i++ - } - sort.Strings(dependencies) - - return dependencies, nil -} - -// ResolveImport finds the actual path where the imported file can be found. -// It will cache the contents of the file immediately as well, to avoid the possibility of the file -// disappearing after being checked. -func (vm *VM) ResolveImport(importedFrom, importedPath string) (foundAt string, err error) { - _, foundAt, err = vm.importCache.importData(importedFrom, importedPath) - return -} - -// ImportData fetches the data just as if it was imported from a Jsonnet file located at `importedFrom`. -// It shares the cache with the actual evaluation. -func (vm *VM) ImportData(importedFrom, importedPath string) (contents string, foundAt string, err error) { - c, foundAt, err := vm.importCache.importData(importedFrom, importedPath) - if err != nil { - return "", foundAt, err - } - return c.String(), foundAt, err -} - -// ImportAST fetches the Jsonnet AST just as if it was imported from a Jsonnet file located at `importedFrom`. -// It shares the cache with the actual evaluation. -func (vm *VM) ImportAST(importedFrom, importedPath string) (contents ast.Node, foundAt string, err error) { - return vm.importCache.importAST(importedFrom, importedPath) -} - -// SnippetToAST parses a snippet and returns the resulting AST. -func SnippetToAST(filename string, snippet string) (ast.Node, error) { - return program.SnippetToAST(ast.DiagnosticFileName(filename), filename, snippet) -} - -// Version returns the Jsonnet version number. -func Version() string { - return version -} diff --git a/vendor/github.com/google/go-jsonnet/yaml.go b/vendor/github.com/google/go-jsonnet/yaml.go deleted file mode 100644 index 52d30a6b3..000000000 --- a/vendor/github.com/google/go-jsonnet/yaml.go +++ /dev/null @@ -1,139 +0,0 @@ -/* -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 jsonnet - -import ( - "bufio" - "bytes" - "io" - "strings" - "unicode" - - "sigs.k8s.io/yaml" -) - -const separator = "---" - -// YAMLToJSONDecoder decodes YAML documents from an io.Reader by -// separating individual documents. It first converts the YAML -// body to JSON, then unmarshals the JSON. -type YAMLToJSONDecoder struct { - reader Reader -} - -// NewYAMLToJSONDecoder decodes YAML documents from the provided -// stream in chunks by converting each document (as defined by -// the YAML spec) into its own chunk, converting it to JSON via -// yaml.YAMLToJSON, and then passing it to json.Decoder. -func NewYAMLToJSONDecoder(r io.Reader) *YAMLToJSONDecoder { - reader := bufio.NewReader(r) - return &YAMLToJSONDecoder{ - reader: NewYAMLReader(reader), - } -} - -// Decode reads a YAML document as JSON from the stream or returns -// an error. The decoding rules match json.Unmarshal, not -// yaml.Unmarshal. -func (d *YAMLToJSONDecoder) Decode(into interface{}) error { - bytes, err := d.reader.Read() - if err != nil && err != io.EOF { - return err - } - - if len(bytes) != 0 { - err := yaml.Unmarshal(bytes, into) - if err != nil { - return err - } - } - return err -} - -// Reader reads bytes -type Reader interface { - Read() ([]byte, error) -} - -// YAMLReader reads YAML -type YAMLReader struct { - reader Reader -} - -// NewYAMLReader creates a new YAMLReader -func NewYAMLReader(r *bufio.Reader) *YAMLReader { - return &YAMLReader{ - reader: &LineReader{reader: r}, - } -} - -// Read returns a full YAML document. -func (r *YAMLReader) Read() ([]byte, error) { - var buffer bytes.Buffer - for { - line, err := r.reader.Read() - if err != nil && err != io.EOF { - return nil, err - } - - sep := len([]byte(separator)) - if i := bytes.Index(line, []byte(separator)); i == 0 { - // We have a potential document terminator - i += sep - after := line[i:] - if len(strings.TrimRightFunc(string(after), unicode.IsSpace)) == 0 { - if buffer.Len() != 0 { - return buffer.Bytes(), nil - } - if err == io.EOF { - return nil, err - } - } - } - if err == io.EOF { - if buffer.Len() != 0 { - // If we're at EOF, we have a final, non-terminated line. Return it. - return buffer.Bytes(), nil - } - return nil, err - } - buffer.Write(line) - } -} - -// LineReader reads single lines. -type LineReader struct { - reader *bufio.Reader -} - -// Read returns a single line (with '\n' ended) from the underlying reader. -// An error is returned iff there is an error with the underlying reader. -func (r *LineReader) Read() ([]byte, error) { - var ( - isPrefix bool = true - err error = nil - line []byte - buffer bytes.Buffer - ) - - for isPrefix && err == nil { - line, isPrefix, err = r.reader.ReadLine() - buffer.Write(line) - } - buffer.WriteByte('\n') - return buffer.Bytes(), err -} diff --git a/vendor/github.com/google/uuid/.travis.yml b/vendor/github.com/google/uuid/.travis.yml deleted file mode 100644 index d8156a60b..000000000 --- a/vendor/github.com/google/uuid/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: go - -go: - - 1.4.3 - - 1.5.3 - - tip - -script: - - go test -v ./... diff --git a/vendor/github.com/google/uuid/CHANGELOG.md b/vendor/github.com/google/uuid/CHANGELOG.md new file mode 100644 index 000000000..2bd78667a --- /dev/null +++ b/vendor/github.com/google/uuid/CHANGELOG.md @@ -0,0 +1,10 @@ +# Changelog + +## [1.3.1](https://github.com/google/uuid/compare/v1.3.0...v1.3.1) (2023-08-18) + + +### Bug Fixes + +* Use .EqualFold() to parse urn prefixed UUIDs ([#118](https://github.com/google/uuid/issues/118)) ([574e687](https://github.com/google/uuid/commit/574e6874943741fb99d41764c705173ada5293f0)) + +## Changelog diff --git a/vendor/github.com/google/uuid/CONTRIBUTING.md b/vendor/github.com/google/uuid/CONTRIBUTING.md index 04fdf09f1..556688872 100644 --- a/vendor/github.com/google/uuid/CONTRIBUTING.md +++ b/vendor/github.com/google/uuid/CONTRIBUTING.md @@ -2,6 +2,22 @@ We definitely welcome patches and contribution to this project! +### Tips + +Commits must be formatted according to the [Conventional Commits Specification](https://www.conventionalcommits.org). + +Always try to include a test case! If it is not possible or not necessary, +please explain why in the pull request description. + +### Releasing + +Commits that would precipitate a SemVer change, as desrcibed in the Conventional +Commits Specification, will trigger [`release-please`](https://github.com/google-github-actions/release-please-action) +to create a release candidate pull request. Once submitted, `release-please` +will create a release. + +For tips on how to work with `release-please`, see its documentation. + ### Legal requirements In order to protect both you and ourselves, you will need to sign the diff --git a/vendor/github.com/google/uuid/README.md b/vendor/github.com/google/uuid/README.md index f765a46f9..3e9a61889 100644 --- a/vendor/github.com/google/uuid/README.md +++ b/vendor/github.com/google/uuid/README.md @@ -1,6 +1,6 @@ -# uuid ![build status](https://travis-ci.org/google/uuid.svg?branch=master) +# uuid The uuid package generates and inspects UUIDs based on -[RFC 4122](http://tools.ietf.org/html/rfc4122) +[RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122) and DCE 1.1: Authentication and Security Services. This package is based on the github.com/pborman/uuid package (previously named @@ -9,10 +9,12 @@ a UUID is a 16 byte array rather than a byte slice. One loss due to this change is the ability to represent an invalid UUID (vs a NIL UUID). ###### Install -`go get github.com/google/uuid` +```sh +go get github.com/google/uuid +``` ###### Documentation -[![GoDoc](https://godoc.org/github.com/google/uuid?status.svg)](http://godoc.org/github.com/google/uuid) +[![Go Reference](https://pkg.go.dev/badge/github.com/google/uuid.svg)](https://pkg.go.dev/github.com/google/uuid) Full `go doc` style documentation for the package can be viewed online without installing this package by using the GoDoc site here: diff --git a/vendor/github.com/google/uuid/node_js.go b/vendor/github.com/google/uuid/node_js.go index 24b78edc9..b2a0bc871 100644 --- a/vendor/github.com/google/uuid/node_js.go +++ b/vendor/github.com/google/uuid/node_js.go @@ -7,6 +7,6 @@ package uuid // getHardwareInterface returns nil values for the JS version of the code. -// This remvoves the "net" dependency, because it is not used in the browser. +// This removes the "net" dependency, because it is not used in the browser. // Using the "net" library inflates the size of the transpiled JS code by 673k bytes. func getHardwareInterface(name string) (string, []byte) { return "", nil } diff --git a/vendor/github.com/google/uuid/uuid.go b/vendor/github.com/google/uuid/uuid.go index a57207aeb..a56138cc4 100644 --- a/vendor/github.com/google/uuid/uuid.go +++ b/vendor/github.com/google/uuid/uuid.go @@ -69,7 +69,7 @@ func Parse(s string) (UUID, error) { // urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx case 36 + 9: - if strings.ToLower(s[:9]) != "urn:uuid:" { + if !strings.EqualFold(s[:9], "urn:uuid:") { return uuid, fmt.Errorf("invalid urn prefix: %q", s[:9]) } s = s[9:] @@ -101,7 +101,8 @@ func Parse(s string) (UUID, error) { 9, 11, 14, 16, 19, 21, - 24, 26, 28, 30, 32, 34} { + 24, 26, 28, 30, 32, 34, + } { v, ok := xtob(s[x], s[x+1]) if !ok { return uuid, errors.New("invalid UUID format") @@ -117,7 +118,7 @@ func ParseBytes(b []byte) (UUID, error) { switch len(b) { case 36: // xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx case 36 + 9: // urn:uuid:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx - if !bytes.Equal(bytes.ToLower(b[:9]), []byte("urn:uuid:")) { + if !bytes.EqualFold(b[:9], []byte("urn:uuid:")) { return uuid, fmt.Errorf("invalid urn prefix: %q", b[:9]) } b = b[9:] @@ -145,7 +146,8 @@ func ParseBytes(b []byte) (UUID, error) { 9, 11, 14, 16, 19, 21, - 24, 26, 28, 30, 32, 34} { + 24, 26, 28, 30, 32, 34, + } { v, ok := xtob(b[x], b[x+1]) if !ok { return uuid, errors.New("invalid UUID format") diff --git a/vendor/github.com/imdario/mergo/CONTRIBUTING.md b/vendor/github.com/imdario/mergo/CONTRIBUTING.md new file mode 100644 index 000000000..0a1ff9f94 --- /dev/null +++ b/vendor/github.com/imdario/mergo/CONTRIBUTING.md @@ -0,0 +1,112 @@ + +# Contributing to mergo + +First off, thanks for taking the time to contribute! ❤️ + +All types of contributions are encouraged and valued. See the [Table of Contents](#table-of-contents) for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉 + +> And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about: +> - Star the project +> - Tweet about it +> - Refer this project in your project's readme +> - Mention the project at local meetups and tell your friends/colleagues + + +## Table of Contents + +- [Code of Conduct](#code-of-conduct) +- [I Have a Question](#i-have-a-question) +- [I Want To Contribute](#i-want-to-contribute) +- [Reporting Bugs](#reporting-bugs) +- [Suggesting Enhancements](#suggesting-enhancements) + +## Code of Conduct + +This project and everyone participating in it is governed by the +[mergo Code of Conduct](https://github.com/imdario/mergoblob/master/CODE_OF_CONDUCT.md). +By participating, you are expected to uphold this code. Please report unacceptable behavior +to <>. + + +## I Have a Question + +> If you want to ask a question, we assume that you have read the available [Documentation](https://pkg.go.dev/github.com/imdario/mergo). + +Before you ask a question, it is best to search for existing [Issues](https://github.com/imdario/mergo/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first. + +If you then still feel the need to ask a question and need clarification, we recommend the following: + +- Open an [Issue](https://github.com/imdario/mergo/issues/new). +- Provide as much context as you can about what you're running into. +- Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant. + +We will then take care of the issue as soon as possible. + +## I Want To Contribute + +> ### Legal Notice +> When contributing to this project, you must agree that you have authored 100% of the content, that you have the necessary rights to the content and that the content you contribute may be provided under the project license. + +### Reporting Bugs + + +#### Before Submitting a Bug Report + +A good bug report shouldn't leave others needing to chase you up for more information. Therefore, we ask you to investigate carefully, collect information and describe the issue in detail in your report. Please complete the following steps in advance to help us fix any potential bug as fast as possible. + +- Make sure that you are using the latest version. +- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](). If you are looking for support, you might want to check [this section](#i-have-a-question)). +- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/imdario/mergoissues?q=label%3Abug). +- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue. +- Collect information about the bug: +- Stack trace (Traceback) +- OS, Platform and Version (Windows, Linux, macOS, x86, ARM) +- Version of the interpreter, compiler, SDK, runtime environment, package manager, depending on what seems relevant. +- Possibly your input and the output +- Can you reliably reproduce the issue? And can you also reproduce it with older versions? + + +#### How Do I Submit a Good Bug Report? + +> You must never report security related issues, vulnerabilities or bugs including sensitive information to the issue tracker, or elsewhere in public. Instead sensitive bugs must be sent by email to . + + +We use GitHub issues to track bugs and errors. If you run into an issue with the project: + +- Open an [Issue](https://github.com/imdario/mergo/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.) +- Explain the behavior you would expect and the actual behavior. +- Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case. +- Provide the information you collected in the previous section. + +Once it's filed: + +- The project team will label the issue accordingly. +- A team member will try to reproduce the issue with your provided steps. If there are no reproduction steps or no obvious way to reproduce the issue, the team will ask you for those steps and mark the issue as `needs-repro`. Bugs with the `needs-repro` tag will not be addressed until they are reproduced. +- If the team is able to reproduce the issue, it will be marked `needs-fix`, as well as possibly other tags (such as `critical`), and the issue will be left to be implemented by someone. + +### Suggesting Enhancements + +This section guides you through submitting an enhancement suggestion for mergo, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions. + + +#### Before Submitting an Enhancement + +- Make sure that you are using the latest version. +- Read the [documentation]() carefully and find out if the functionality is already covered, maybe by an individual configuration. +- Perform a [search](https://github.com/imdario/mergo/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one. +- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library. + + +#### How Do I Submit a Good Enhancement Suggestion? + +Enhancement suggestions are tracked as [GitHub issues](https://github.com/imdario/mergo/issues). + +- Use a **clear and descriptive title** for the issue to identify the suggestion. +- Provide a **step-by-step description of the suggested enhancement** in as many details as possible. +- **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you. +- You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux. +- **Explain why this enhancement would be useful** to most mergo users. You may also want to point out the other projects that solved it better and which could serve as inspiration. + + +## Attribution +This guide is based on the **contributing-gen**. [Make your own](https://github.com/bttger/contributing-gen)! diff --git a/vendor/github.com/imdario/mergo/README.md b/vendor/github.com/imdario/mergo/README.md index aa8cbd7ce..4f0287498 100644 --- a/vendor/github.com/imdario/mergo/README.md +++ b/vendor/github.com/imdario/mergo/README.md @@ -1,6 +1,5 @@ # Mergo - [![GoDoc][3]][4] [![GitHub release][5]][6] [![GoCard][7]][8] @@ -8,8 +7,8 @@ [![Coverage Status][9]][10] [![Sourcegraph][11]][12] [![FOSSA Status][13]][14] - -[![GoCenter Kudos][15]][16] +[![Become my sponsor][15]][16] +[![Tidelift][17]][18] [1]: https://travis-ci.org/imdario/mergo.png [2]: https://travis-ci.org/imdario/mergo @@ -25,8 +24,10 @@ [12]: https://sourcegraph.com/github.com/imdario/mergo?badge [13]: https://app.fossa.io/api/projects/git%2Bgithub.com%2Fimdario%2Fmergo.svg?type=shield [14]: https://app.fossa.io/projects/git%2Bgithub.com%2Fimdario%2Fmergo?ref=badge_shield -[15]: https://search.gocenter.io/api/ui/badge/github.com%2Fimdario%2Fmergo -[16]: https://search.gocenter.io/github.com/imdario/mergo +[15]: https://img.shields.io/github/sponsors/imdario +[16]: https://github.com/sponsors/imdario +[17]: https://tidelift.com/badges/package/go/github.com%2Fimdario%2Fmergo +[18]: https://tidelift.com/subscription/pkg/go-github.com-imdario-mergo A helper to merge structs and maps in Golang. Useful for configuration default values, avoiding messy if-statements. @@ -36,11 +37,11 @@ Also a lovely [comune](http://en.wikipedia.org/wiki/Mergo) (municipality) in the ## Status -It is ready for production use. [It is used in several projects by Docker, Google, The Linux Foundation, VMWare, Shopify, etc](https://github.com/imdario/mergo#mergo-in-the-wild). +It is ready for production use. [It is used in several projects by Docker, Google, The Linux Foundation, VMWare, Shopify, Microsoft, etc](https://github.com/imdario/mergo#mergo-in-the-wild). ### Important note -Please keep in mind that a problematic PR broke [0.3.9](//github.com/imdario/mergo/releases/tag/0.3.9). I reverted it in [0.3.10](//github.com/imdario/mergo/releases/tag/0.3.10), and I consider it stable but not bug-free. Also, this version adds suppot for go modules. +Please keep in mind that a problematic PR broke [0.3.9](//github.com/imdario/mergo/releases/tag/0.3.9). I reverted it in [0.3.10](//github.com/imdario/mergo/releases/tag/0.3.10), and I consider it stable but not bug-free. Also, this version adds support for go modules. Keep in mind that in [0.3.2](//github.com/imdario/mergo/releases/tag/0.3.2), Mergo changed `Merge()`and `Map()` signatures to support [transformers](#transformers). I added an optional/variadic argument so that it won't break the existing code. @@ -51,9 +52,8 @@ If you were using Mergo before April 6th, 2015, please check your project works If Mergo is useful to you, consider buying me a coffee, a beer, or making a monthly donation to allow me to keep building great free software. :heart_eyes: Buy Me a Coffee at ko-fi.com -[![Beerpay](https://beerpay.io/imdario/mergo/badge.svg)](https://beerpay.io/imdario/mergo) -[![Beerpay](https://beerpay.io/imdario/mergo/make-wish.svg)](https://beerpay.io/imdario/mergo) Donate using Liberapay +Become my sponsor ### Mergo in the wild @@ -98,6 +98,8 @@ If Mergo is useful to you, consider buying me a coffee, a beer, or making a mont - [jnuthong/item_search](https://github.com/jnuthong/item_search) - [bukalapak/snowboard](https://github.com/bukalapak/snowboard) - [containerssh/containerssh](https://github.com/containerssh/containerssh) +- [goreleaser/goreleaser](https://github.com/goreleaser/goreleaser) +- [tjpnz/structbot](https://github.com/tjpnz/structbot) ## Install @@ -168,7 +170,7 @@ func main() { Note: if test are failing due missing package, please execute: - go get gopkg.in/yaml.v2 + go get gopkg.in/yaml.v3 ### Transformers @@ -218,7 +220,6 @@ func main() { } ``` - ## Contact me If I can help you, you have an idea or you are using Mergo in your projects, don't hesitate to drop me a line (or a pull request): [@im_dario](https://twitter.com/im_dario) @@ -227,18 +228,6 @@ If I can help you, you have an idea or you are using Mergo in your projects, don Written by [Dario Castañé](http://dario.im). -## Top Contributors - -[![0](https://sourcerer.io/fame/imdario/imdario/mergo/images/0)](https://sourcerer.io/fame/imdario/imdario/mergo/links/0) -[![1](https://sourcerer.io/fame/imdario/imdario/mergo/images/1)](https://sourcerer.io/fame/imdario/imdario/mergo/links/1) -[![2](https://sourcerer.io/fame/imdario/imdario/mergo/images/2)](https://sourcerer.io/fame/imdario/imdario/mergo/links/2) -[![3](https://sourcerer.io/fame/imdario/imdario/mergo/images/3)](https://sourcerer.io/fame/imdario/imdario/mergo/links/3) -[![4](https://sourcerer.io/fame/imdario/imdario/mergo/images/4)](https://sourcerer.io/fame/imdario/imdario/mergo/links/4) -[![5](https://sourcerer.io/fame/imdario/imdario/mergo/images/5)](https://sourcerer.io/fame/imdario/imdario/mergo/links/5) -[![6](https://sourcerer.io/fame/imdario/imdario/mergo/images/6)](https://sourcerer.io/fame/imdario/imdario/mergo/links/6) -[![7](https://sourcerer.io/fame/imdario/imdario/mergo/images/7)](https://sourcerer.io/fame/imdario/imdario/mergo/links/7) - - ## License [BSD 3-Clause](http://opensource.org/licenses/BSD-3-Clause) license, as [Go language](http://golang.org/LICENSE). diff --git a/vendor/github.com/imdario/mergo/SECURITY.md b/vendor/github.com/imdario/mergo/SECURITY.md new file mode 100644 index 000000000..a5de61f77 --- /dev/null +++ b/vendor/github.com/imdario/mergo/SECURITY.md @@ -0,0 +1,14 @@ +# Security Policy + +## Supported Versions + +| Version | Supported | +| ------- | ------------------ | +| 0.3.x | :white_check_mark: | +| < 0.3 | :x: | + +## Security contact information + +To report a security vulnerability, please use the +[Tidelift security contact](https://tidelift.com/security). +Tidelift will coordinate the fix and disclosure. diff --git a/vendor/github.com/imdario/mergo/map.go b/vendor/github.com/imdario/mergo/map.go index a13a7ee46..b50d5c2a4 100644 --- a/vendor/github.com/imdario/mergo/map.go +++ b/vendor/github.com/imdario/mergo/map.go @@ -44,7 +44,7 @@ func deepMap(dst, src reflect.Value, visited map[uintptr]*visit, depth int, conf } } // Remember, remember... - visited[h] = &visit{addr, typ, seen} + visited[h] = &visit{typ, seen, addr} } zeroValue := reflect.Value{} switch dst.Kind() { @@ -58,7 +58,7 @@ func deepMap(dst, src reflect.Value, visited map[uintptr]*visit, depth int, conf } fieldName := field.Name fieldName = changeInitialCase(fieldName, unicode.ToLower) - if v, ok := dstMap[fieldName]; !ok || (isEmptyValue(reflect.ValueOf(v)) || overwrite) { + if v, ok := dstMap[fieldName]; !ok || (isEmptyValue(reflect.ValueOf(v), !config.ShouldNotDereference) || overwrite) { dstMap[fieldName] = src.Field(i).Interface() } } @@ -142,7 +142,7 @@ func MapWithOverwrite(dst, src interface{}, opts ...func(*Config)) error { func _map(dst, src interface{}, opts ...func(*Config)) error { if dst != nil && reflect.ValueOf(dst).Kind() != reflect.Ptr { - return ErrNonPointerAgument + return ErrNonPointerArgument } var ( vDst, vSrc reflect.Value diff --git a/vendor/github.com/imdario/mergo/merge.go b/vendor/github.com/imdario/mergo/merge.go index 8c2a8fcd9..0ef9b2138 100644 --- a/vendor/github.com/imdario/mergo/merge.go +++ b/vendor/github.com/imdario/mergo/merge.go @@ -38,10 +38,11 @@ func isExportedComponent(field *reflect.StructField) bool { } type Config struct { + Transformers Transformers Overwrite bool + ShouldNotDereference bool AppendSlice bool TypeCheck bool - Transformers Transformers overwriteWithEmptyValue bool overwriteSliceWithEmptyValue bool sliceDeepCopy bool @@ -76,10 +77,10 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co } } // Remember, remember... - visited[h] = &visit{addr, typ, seen} + visited[h] = &visit{typ, seen, addr} } - if config.Transformers != nil && !isEmptyValue(dst) { + if config.Transformers != nil && !isReflectNil(dst) && dst.IsValid() { if fn := config.Transformers.Transformer(dst.Type()); fn != nil { err = fn(dst, src) return @@ -95,7 +96,7 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co } } } else { - if dst.CanSet() && (isReflectNil(dst) || overwrite) && (!isEmptyValue(src) || overwriteWithEmptySrc) { + if dst.CanSet() && (isReflectNil(dst) || overwrite) && (!isEmptyValue(src, !config.ShouldNotDereference) || overwriteWithEmptySrc) { dst.Set(src) } } @@ -110,7 +111,7 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co } if src.Kind() != reflect.Map { - if overwrite { + if overwrite && dst.CanSet() { dst.Set(src) } return @@ -162,7 +163,7 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co dstSlice = reflect.ValueOf(dstElement.Interface()) } - if (!isEmptyValue(src) || overwriteWithEmptySrc || overwriteSliceWithEmptySrc) && (overwrite || isEmptyValue(dst)) && !config.AppendSlice && !sliceDeepCopy { + if (!isEmptyValue(src, !config.ShouldNotDereference) || overwriteWithEmptySrc || overwriteSliceWithEmptySrc) && (overwrite || isEmptyValue(dst, !config.ShouldNotDereference)) && !config.AppendSlice && !sliceDeepCopy { if typeCheck && srcSlice.Type() != dstSlice.Type() { return fmt.Errorf("cannot override two slices with different type (%s, %s)", srcSlice.Type(), dstSlice.Type()) } @@ -194,22 +195,38 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co dst.SetMapIndex(key, dstSlice) } } - if dstElement.IsValid() && !isEmptyValue(dstElement) && (reflect.TypeOf(srcElement.Interface()).Kind() == reflect.Map || reflect.TypeOf(srcElement.Interface()).Kind() == reflect.Slice) { - continue + + if dstElement.IsValid() && !isEmptyValue(dstElement, !config.ShouldNotDereference) { + if reflect.TypeOf(srcElement.Interface()).Kind() == reflect.Slice { + continue + } + if reflect.TypeOf(srcElement.Interface()).Kind() == reflect.Map && reflect.TypeOf(dstElement.Interface()).Kind() == reflect.Map { + continue + } } - if srcElement.IsValid() && ((srcElement.Kind() != reflect.Ptr && overwrite) || !dstElement.IsValid() || isEmptyValue(dstElement)) { + if srcElement.IsValid() && ((srcElement.Kind() != reflect.Ptr && overwrite) || !dstElement.IsValid() || isEmptyValue(dstElement, !config.ShouldNotDereference)) { if dst.IsNil() { dst.Set(reflect.MakeMap(dst.Type())) } dst.SetMapIndex(key, srcElement) } } + + // Ensure that all keys in dst are deleted if they are not in src. + if overwriteWithEmptySrc { + for _, key := range dst.MapKeys() { + srcElement := src.MapIndex(key) + if !srcElement.IsValid() { + dst.SetMapIndex(key, reflect.Value{}) + } + } + } case reflect.Slice: if !dst.CanSet() { break } - if (!isEmptyValue(src) || overwriteWithEmptySrc || overwriteSliceWithEmptySrc) && (overwrite || isEmptyValue(dst)) && !config.AppendSlice && !sliceDeepCopy { + if (!isEmptyValue(src, !config.ShouldNotDereference) || overwriteWithEmptySrc || overwriteSliceWithEmptySrc) && (overwrite || isEmptyValue(dst, !config.ShouldNotDereference)) && !config.AppendSlice && !sliceDeepCopy { dst.Set(src) } else if config.AppendSlice { if src.Type() != dst.Type() { @@ -244,12 +261,18 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co if src.Kind() != reflect.Interface { if dst.IsNil() || (src.Kind() != reflect.Ptr && overwrite) { - if dst.CanSet() && (overwrite || isEmptyValue(dst)) { + if dst.CanSet() && (overwrite || isEmptyValue(dst, !config.ShouldNotDereference)) { dst.Set(src) } } else if src.Kind() == reflect.Ptr { - if err = deepMerge(dst.Elem(), src.Elem(), visited, depth+1, config); err != nil { - return + if !config.ShouldNotDereference { + if err = deepMerge(dst.Elem(), src.Elem(), visited, depth+1, config); err != nil { + return + } + } else { + if overwriteWithEmptySrc || (overwrite && !src.IsNil()) || dst.IsNil() { + dst.Set(src) + } } } else if dst.Elem().Type() == src.Type() { if err = deepMerge(dst.Elem(), src, visited, depth+1, config); err != nil { @@ -262,7 +285,7 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co } if dst.IsNil() || overwrite { - if dst.CanSet() && (overwrite || isEmptyValue(dst)) { + if dst.CanSet() && (overwrite || isEmptyValue(dst, !config.ShouldNotDereference)) { dst.Set(src) } break @@ -275,7 +298,7 @@ func deepMerge(dst, src reflect.Value, visited map[uintptr]*visit, depth int, co break } default: - mustSet := (isEmptyValue(dst) || overwrite) && (!isEmptyValue(src) || overwriteWithEmptySrc) + mustSet := (isEmptyValue(dst, !config.ShouldNotDereference) || overwrite) && (!isEmptyValue(src, !config.ShouldNotDereference) || overwriteWithEmptySrc) if mustSet { if dst.CanSet() { dst.Set(src) @@ -326,6 +349,12 @@ func WithOverrideEmptySlice(config *Config) { config.overwriteSliceWithEmptyValue = true } +// WithoutDereference prevents dereferencing pointers when evaluating whether they are empty +// (i.e. a non-nil pointer is never considered empty). +func WithoutDereference(config *Config) { + config.ShouldNotDereference = true +} + // WithAppendSlice will make merge append slices instead of overwriting it. func WithAppendSlice(config *Config) { config.AppendSlice = true @@ -344,7 +373,7 @@ func WithSliceDeepCopy(config *Config) { func merge(dst, src interface{}, opts ...func(*Config)) error { if dst != nil && reflect.ValueOf(dst).Kind() != reflect.Ptr { - return ErrNonPointerAgument + return ErrNonPointerArgument } var ( vDst, vSrc reflect.Value diff --git a/vendor/github.com/imdario/mergo/mergo.go b/vendor/github.com/imdario/mergo/mergo.go index 3cc926c7f..0a721e2d8 100644 --- a/vendor/github.com/imdario/mergo/mergo.go +++ b/vendor/github.com/imdario/mergo/mergo.go @@ -17,10 +17,10 @@ import ( var ( ErrNilArguments = errors.New("src and dst must not be nil") ErrDifferentArgumentsTypes = errors.New("src and dst must be of same type") - ErrNotSupported = errors.New("only structs and maps are supported") + ErrNotSupported = errors.New("only structs, maps, and slices are supported") ErrExpectedMapAsDestination = errors.New("dst was expected to be a map") ErrExpectedStructAsDestination = errors.New("dst was expected to be a struct") - ErrNonPointerAgument = errors.New("dst must be a pointer") + ErrNonPointerArgument = errors.New("dst must be a pointer") ) // During deepMerge, must keep track of checks that are @@ -28,13 +28,13 @@ var ( // checks in progress are true when it reencounters them. // Visited are stored in a map indexed by 17 * a1 + a2; type visit struct { - ptr uintptr typ reflect.Type next *visit + ptr uintptr } // From src/pkg/encoding/json/encode.go. -func isEmptyValue(v reflect.Value) bool { +func isEmptyValue(v reflect.Value, shouldDereference bool) bool { switch v.Kind() { case reflect.Array, reflect.Map, reflect.Slice, reflect.String: return v.Len() == 0 @@ -50,7 +50,10 @@ func isEmptyValue(v reflect.Value) bool { if v.IsNil() { return true } - return isEmptyValue(v.Elem()) + if shouldDereference { + return isEmptyValue(v.Elem(), shouldDereference) + } + return false case reflect.Func: return v.IsNil() case reflect.Invalid: @@ -65,7 +68,7 @@ func resolveValues(dst, src interface{}) (vDst, vSrc reflect.Value, err error) { return } vDst = reflect.ValueOf(dst).Elem() - if vDst.Kind() != reflect.Struct && vDst.Kind() != reflect.Map { + if vDst.Kind() != reflect.Struct && vDst.Kind() != reflect.Map && vDst.Kind() != reflect.Slice { err = ErrNotSupported return } diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/api.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/api.go index a49f1e04c..c71697c12 100644 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/api.go +++ b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/api.go @@ -23,6 +23,7 @@ const ( FileChunksType = "file_chunks" SyntheticType = "synthetic" CollectorType = "collector" + StdinType = "stdin" GRPCType = "grpc" FakeType = "fake" KafkaType = "kafka" @@ -45,6 +46,10 @@ const ( AddServiceRuleType = "add_service" AddKubernetesRuleType = "add_kubernetes" ReinterpretDirectionRuleType = "reinterpret_direction" + PromFilterExact = "exact" + PromFilterPresence = "presence" + PromFilterAbsence = "absence" + PromFilterRegex = "regex" TagYaml = "yaml" TagDoc = "doc" @@ -60,6 +65,7 @@ type API struct { IngestCollector IngestCollector `yaml:"collector" doc:"## Ingest collector API\nFollowing is the supported API format for the NetFlow / IPFIX collector:\n"` IngestKafka IngestKafka `yaml:"kafka" doc:"## Ingest Kafka API\nFollowing is the supported API format for the kafka ingest:\n"` IngestGRPCProto IngestGRPCProto `yaml:"grpc" doc:"## Ingest GRPC from Network Observability eBPF Agent\nFollowing is the supported API format for the Network Observability eBPF ingest:\n"` + IngestStdin IngestStdin `yaml:"stdin" doc:"## Ingest Standard Input\nFollowing is the supported API format for the standard input ingest:\n"` TransformGeneric TransformGeneric `yaml:"generic" doc:"## Transform Generic API\nFollowing is the supported API format for generic transformations:\n"` TransformFilter TransformFilter `yaml:"filter" doc:"## Transform Filter API\nFollowing is the supported API format for filter transformations:\n"` TransformNetwork TransformNetwork `yaml:"network" doc:"## Transform Network API\nFollowing is the supported API format for network transformations:\n"` diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/encode_prom.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/encode_prom.go index 3b1e4af68..c557ec031 100644 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/encode_prom.go +++ b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/encode_prom.go @@ -41,13 +41,14 @@ func PromEncodeOperationName(operation string) string { } type PromMetricsItem struct { - Name string `yaml:"name" json:"name" doc:"the metric name"` - Type string `yaml:"type" json:"type" enum:"PromEncodeOperationEnum" doc:"one of the following:"` - Filter PromMetricsFilter `yaml:"filter,omitempty" json:"filter,omitempty" doc:"an optional criterion to filter entries by. Deprecated: use filters instead."` - Filters []PromMetricsFilter `yaml:"filters" json:"filters" doc:"a list of criteria to filter entries by"` - ValueKey string `yaml:"valueKey" json:"valueKey" doc:"entry key from which to resolve metric value"` - Labels []string `yaml:"labels" json:"labels" doc:"labels to be associated with the metric"` - Buckets []float64 `yaml:"buckets" json:"buckets" doc:"histogram buckets"` + Name string `yaml:"name" json:"name" doc:"the metric name"` + Type string `yaml:"type" json:"type" enum:"PromEncodeOperationEnum" doc:"one of the following:"` + Filter PromMetricsFilter `yaml:"filter,omitempty" json:"filter,omitempty" doc:"an optional criterion to filter entries by. Deprecated: use filters instead."` + Filters []PromMetricsFilter `yaml:"filters" json:"filters" doc:"a list of criteria to filter entries by"` + ValueKey string `yaml:"valueKey" json:"valueKey" doc:"entry key from which to resolve metric value"` + Labels []string `yaml:"labels" json:"labels" doc:"labels to be associated with the metric"` + Buckets []float64 `yaml:"buckets" json:"buckets" doc:"histogram buckets"` + ValueScale float64 `yaml:"valueScale" json:"valueScale" doc:"scale factor of the value (MetricVal := FlowVal / Scale)"` } func (i *PromMetricsItem) GetFilters() []PromMetricsFilter { @@ -62,4 +63,16 @@ type PromMetricsItems []PromMetricsItem type PromMetricsFilter struct { Key string `yaml:"key" json:"key" doc:"the key to match and filter by"` Value string `yaml:"value" json:"value" doc:"the value to match and filter by"` + Type string `yaml:"type" json:"type" enum:"PromEncodeFilterTypeEnum" doc:"the type of filter match: exact (default), presence, absence or regex"` +} + +type PromEncodeFilterTypeEnum struct { + Exact string `yaml:"exact" json:"exact" doc:"match exactly the provided fitler value"` + Presence string `yaml:"presence" json:"presence" doc:"filter key must be present (filter value is ignored)"` + Absence string `yaml:"absence" json:"absence" doc:"filter key must be absent (filter value is ignored)"` + Regex string `yaml:"regex" json:"regex" doc:"match filter value as a regular expression"` +} + +func PromEncodeFilterTypeName(t string) string { + return GetEnumName(PromEncodeFilterTypeEnum{}, t) } diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/enum.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/enum.go index 93b54893f..4b8deab0b 100644 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/enum.go +++ b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/enum.go @@ -24,6 +24,7 @@ import ( type enums struct { PromEncodeOperationEnum PromEncodeOperationEnum + PromEncodeFilterTypeEnum PromEncodeFilterTypeEnum TransformNetworkOperationEnum TransformNetworkOperationEnum TransformFilterOperationEnum TransformFilterOperationEnum TransformGenericOperationEnum TransformGenericOperationEnum diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/ingest_stdin.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/ingest_stdin.go new file mode 100644 index 000000000..a1df3e817 --- /dev/null +++ b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/ingest_stdin.go @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2023 IBM, Inc. + * + * 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 api + +type IngestStdin struct { +} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/transform_filter.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/transform_filter.go index e405ee1a5..8029df23d 100644 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/transform_filter.go +++ b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/api/transform_filter.go @@ -27,9 +27,12 @@ type TransformFilterOperationEnum struct { RemoveEntryIfDoesntExist string `yaml:"remove_entry_if_doesnt_exist" json:"remove_entry_if_doesnt_exist" doc:"removes the entry if the field does not exist"` RemoveEntryIfEqual string `yaml:"remove_entry_if_equal" json:"remove_entry_if_equal" doc:"removes the entry if the field value equals specified value"` RemoveEntryIfNotEqual string `yaml:"remove_entry_if_not_equal" json:"remove_entry_if_not_equal" doc:"removes the entry if the field value does not equal specified value"` + AddField string `yaml:"add_field" json:"add_field" doc:"adds (input) field to the entry; overrides previous value if present (key=input, value=value)"` AddFieldIfDoesntExist string `yaml:"add_field_if_doesnt_exist" json:"add_field_if_doesnt_exist" doc:"adds a field to the entry if the field does not exist"` AddFieldIf string `yaml:"add_field_if" json:"add_field_if" doc:"add output field set to assignee if input field satisfies criteria from parameters field"` AddRegExIf string `yaml:"add_regex_if" json:"add_regex_if" doc:"add output field if input field satisfies regex pattern from parameters field"` + AddLabel string `yaml:"add_label" json:"add_label" doc:"add (input) field to list of labels with value taken from Value field (key=input, value=value)"` + AddLabelIf string `yaml:"add_label_if" json:"add_label_if" doc:"add output field to list of labels with value taken from assignee field if input field satisfies criteria from parameters field"` } func TransformFilterOperationName(operation string) string { diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/confgen.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/confgen.go deleted file mode 100644 index cb8a6152e..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/confgen.go +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - "fmt" - "os" - "path/filepath" - - "github.com/netobserv/flowlogs-pipeline/pkg/api" - log "github.com/sirupsen/logrus" - "gopkg.in/yaml.v2" -) - -const ( - definitionExt = ".yaml" - definitionHeader = "#flp_confgen" - configFileName = "config.yaml" -) - -type Definition struct { - FileName string - Description string - Details string - Usage string - Tags []string - TransformNetwork *api.TransformNetwork - Aggregates *api.Aggregates - ExtractTimebased *api.ExtractTimebased - PromEncode *api.PromEncode - Visualization *Visualization -} - -type Definitions []Definition - -type ConfGen struct { - opts *Options - config *Config - transformRules api.NetworkTransformRules - aggregates api.Aggregates - timebasedTopKs api.ExtractTimebased - promMetrics api.PromMetricsItems - visualizations Visualizations - definitions Definitions -} - -type DefFile struct { - Description string `yaml:"description"` - Details string `yaml:"details"` - Usage string `yaml:"usage"` - Tags []string `yaml:"tags"` - Transform map[string]interface{} `yaml:"transform"` - Extract map[string]interface{} `yaml:"extract"` - Encode map[string]interface{} `yaml:"encode"` - Visualization Visualization `yaml:"visualization"` -} - -func (cg *ConfGen) Run() error { - var err error - cg.config, err = cg.ParseConfigFile(cg.opts.SrcFolder + "/" + configFileName) - if err != nil { - log.Debugf("cg.ParseConfigFile err: %v ", err) - return err - } - - definitionFiles := getDefinitionFiles(cg.opts.SrcFolder) - for _, definitionFile := range definitionFiles { - b, err := os.ReadFile(definitionFile) - if err != nil { - log.Debugf("ioutil.ReadFile err: %v ", err) - continue - } - err = cg.ParseDefinition(definitionFile, b) - if err != nil { - log.Debugf("cg.parseDefinition err: %v ", err) - continue - } - } - - cg.dedupe() - - if len(cg.opts.GenerateStages) != 0 { - cfg := cg.GenerateTruncatedConfig() - err = cg.writeConfigFile(cg.opts.DestConfFile, cfg) - if err != nil { - log.Debugf("cg.GenerateTruncatedConfig err: %v ", err) - return err - } - return nil - } else { - config := cg.GenerateFlowlogs2PipelineConfig() - err = cg.writeConfigFile(cg.opts.DestConfFile, config) - if err != nil { - log.Debugf("cg.GenerateFlowlogs2PipelineConfig err: %v ", err) - return err - } - } - - err = cg.generateDoc(cg.opts.DestDocFile) - if err != nil { - log.Debugf("cg.generateDoc err: %v ", err) - return err - } - - dashboards, err := cg.generateGrafanaDashboards() - if err != nil { - log.Debugf("cg.generateGrafanaDashboards err: %v ", err) - return err - } - - err = cg.generateGrafanaJsonnetFiles(cg.opts.DestGrafanaJsonnetFolder, dashboards) - if err != nil { - log.Debugf("cg.generateGrafanaJsonnetFiles err: %v ", err) - return err - } - - err = cg.generateJsonFiles(cg.opts.DestDashboardFolder, dashboards) - if err != nil { - log.Debugf("cg.generateJsonFiles err: %v ", err) - return err - } - return nil -} - -func checkHeader(bytes []byte) error { - header := make([]byte, len(definitionHeader)) - copy(header, bytes) - if string(header) != definitionHeader { - return fmt.Errorf("wrong header") - } - return nil -} - -func (cg *ConfGen) ParseDefinition(name string, bytes []byte) error { - // check header - err := checkHeader(bytes) - if err != nil { - log.Debugf("%s cg.checkHeader err: %v ", name, err) - return err - } - - // parse yaml - var defFile DefFile - err = yaml.UnmarshalStrict(bytes, &defFile) - if err != nil { - log.Debugf("%s yaml.UnmarshalStrict err: %v ", name, err) - return err - } - - //skip if their skip tag match - for _, skipTag := range cg.opts.SkipWithTags { - for _, tag := range defFile.Tags { - if skipTag == tag { - log.Infof("skipping definition %s due to skip tag %s", name, tag) - return nil - } - } - } - - // parse definition - definition := Definition{ - FileName: name, - Description: defFile.Description, - Details: defFile.Details, - Usage: defFile.Usage, - Tags: defFile.Tags, - } - - // parse transport - definition.TransformNetwork, err = cg.parseTransport(&defFile.Transform) - if err != nil { - log.Debugf("parseTransport err: %v ", err) - return err - } - - // parse extract - definition.Aggregates, definition.ExtractTimebased, err = cg.parseExtract(&defFile.Extract) - if err != nil { - log.Debugf("parseExtract err: %v ", err) - return err - } - - // parse encode - definition.PromEncode, err = cg.parseEncode(&defFile.Encode, len(definition.Aggregates.Rules) > 0) - if err != nil { - log.Debugf("parseEncode err: %v ", err) - return err - } - - // parse visualization - definition.Visualization, err = cg.parseVisualization(&defFile.Visualization) - if err != nil { - log.Debugf("cg.parseVisualization err: %v ", err) - return err - } - - cg.definitions = append(cg.definitions, definition) - - return nil -} - -func getDefinitionFiles(rootPath string) []string { - - var files []string - - _ = filepath.Walk(rootPath, func(path string, f os.FileInfo, err error) error { - if f == nil { - log.Debugf("filepath.Walk err: %v ", err) - return nil - } - fMode := f.Mode() - if fMode.IsRegular() && filepath.Ext(f.Name()) == definitionExt && filepath.Base(f.Name()) != configFileName { - files = append(files, path) - } - - return nil - }) - - return files -} - -func NewConfGen(opts *Options) *ConfGen { - return &ConfGen{ - opts: opts, - transformRules: api.NetworkTransformRules{}, - aggregates: api.Aggregates{}, - definitions: Definitions{}, - visualizations: Visualizations{}, - } -} - -func (cg *ConfGen) SetConfig(config *Config) { - cg.config = config -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/config.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/config.go deleted file mode 100644 index 53e7ed459..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/config.go +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - "os" - - "github.com/netobserv/flowlogs-pipeline/pkg/config" - "github.com/pkg/errors" - log "github.com/sirupsen/logrus" - "gopkg.in/yaml.v2" -) - -type Options struct { - DestConfFile string - DestDocFile string - DestGrafanaJsonnetFolder string - DestDashboardFolder string - SrcFolder string - SkipWithTags []string - GenerateStages []string - GlobalMetricsPrefix string -} - -type ConfigVisualization struct { - Grafana ConfigVisualizationGrafana `yaml:"grafana"` -} - -type Config struct { - Description string `yaml:"description"` - Ingest config.Ingest `yaml:"ingest"` - Transform config.Transform `yaml:"transform"` - Extract config.Extract `yaml:"extract"` - Write config.Write `yaml:"write"` - Encode config.Encode `yaml:"encode"` - Visualization ConfigVisualization `yaml:"visualization"` -} - -func (cg *ConfGen) ParseConfigFile(fileName string) (*Config, error) { - // parse config file yaml - // provide a minimal config for when config file is missing (as for Netobserv Openshift Operator) - var config Config - if _, err := os.Stat(fileName); errors.Is(err, os.ErrNotExist) { - if len(cg.opts.GenerateStages) == 0 { - log.Errorf("config file %s does not exist", fileName) - return nil, err - } - return &Config{}, nil - } - yamlFile, err := os.ReadFile(fileName) - if err != nil { - log.Debugf("ioutil.ReadFile err: %v ", err) - return nil, err - } - err = yaml.UnmarshalStrict(yamlFile, &config) - if err != nil { - log.Debugf("Unmarshal err: %v ", err) - return nil, err - } - - return &config, nil -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/dedup.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/dedup.go deleted file mode 100644 index 8a069d2d6..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/dedup.go +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - "reflect" - - "github.com/netobserv/flowlogs-pipeline/pkg/api" - log "github.com/sirupsen/logrus" -) - -func (cg *ConfGen) dedupe() { - cg.transformRules = dedupeNetworkTransformRules(cg.transformRules) - cg.aggregates.Rules = dedupeAggregateDefinitions(cg.aggregates.Rules) -} - -type void struct{} - -var voidMember void - -func dedupeNetworkTransformRules(rules api.NetworkTransformRules) api.NetworkTransformRules { - // There are no built-in sets in go - //https://stackoverflow.com/a/34020023/2749989 - uniqueSet := make(map[api.NetworkTransformRule]void) - var dedpueSlice []api.NetworkTransformRule - for i, rule := range rules { - if _, exists := uniqueSet[rule]; exists { - // duplicate rule - log.Debugf("Remove duplicate NetworkTransformRule %v at index %v", rule, i) - continue - } - uniqueSet[rule] = voidMember - dedpueSlice = append(dedpueSlice, rule) - } - return dedpueSlice -} - -// dedupeAggregateDefinitions is inefficient because we can't use a map to look for duplicates. -// The reason is that aggregate.AggregateDefinition is not hashable due to its AggregateBy field which is a slice. -func dedupeAggregateDefinitions(aggregateDefinitions api.AggregateDefinitions) api.AggregateDefinitions { - var dedupeSlice []api.AggregateDefinition - for i, aggregateDefinition := range aggregateDefinitions { - if containsAggregateDefinitions(dedupeSlice, aggregateDefinition) { - // duplicate aggregateDefinition - log.Debugf("Remove duplicate AggregateDefinitions %v at index %v", aggregateDefinition, i) - continue - } - dedupeSlice = append(dedupeSlice, aggregateDefinition) - } - return dedupeSlice -} - -func containsAggregateDefinitions(slice []api.AggregateDefinition, searchItem api.AggregateDefinition) bool { - for _, item := range slice { - if reflect.DeepEqual(item, searchItem) { - return true - } - } - return false -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/doc.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/doc.go deleted file mode 100644 index 0b6230203..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/doc.go +++ /dev/null @@ -1,119 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - "fmt" - "os" - "path/filepath" - "strings" - - "github.com/netobserv/flowlogs-pipeline/pkg/api" -) - -func (cg *ConfGen) generateVisualizeText(vgs []VisualizationGrafana) string { - section := "" - for _, vs := range vgs { - title := vs.Title - dashboard := vs.Dashboard - section = section + fmt.Sprintf("| **Visualized as** | \"%s\" on dashboard `%s` |\n", title, dashboard) - } - - return section -} - -func (cg *ConfGen) generatePromEncodeText(metrics api.PromMetricsItems) string { - section := "" - for _, metric := range metrics { - mType := metric.Type - name := cg.config.Encode.Prom.Prefix + metric.Name - section = section + fmt.Sprintf("| **Exposed as** | `%s` of type `%s` |\n", name, mType) - } - - return section -} - -func (cg *ConfGen) generateOperationText(definitions api.AggregateDefinitions) string { - section := "" - for _, definition := range definitions { - by := strings.Join(definition.GroupByKeys[:], ", ") - operation := definition.OperationType - operationKey := definition.OperationKey - if operationKey != "" { - operationKey = fmt.Sprintf("field `%s`", operationKey) - } - section = section + fmt.Sprintf("| **OperationType** | aggregate by `%s` and `%s` %s |\n", by, operation, operationKey) - } - - return section -} - -func (cg *ConfGen) generateDoc(fileName string) error { - doc := "" - for _, metric := range cg.definitions { - replacer := strings.NewReplacer("-", " ", "_", " ") - name := replacer.Replace(filepath.Base(metric.FileName[:len(metric.FileName)-len(filepath.Ext(metric.FileName))])) - - labels := strings.Join(metric.Tags[:], ", ") - // TODO: add support for multiple operations - operation := cg.generateOperationText(metric.Aggregates.Rules) - expose := cg.generatePromEncodeText(metric.PromEncode.Metrics) - visualize := cg.generateVisualizeText(metric.Visualization.Grafana) - doc += fmt.Sprintf( - ` -### %s -| **Description** | %s | -|:---|:---| -| **Details** | %s | -| **Usage** | %s | -| **Tags** | %s | -%s%s%s||| - -`, - name, - metric.Description, - metric.Details, - metric.Usage, - labels, - operation, - expose, - visualize, - ) - } - - header := fmt.Sprintf(` -> Note: this file was automatically generated, to update execute "make generate-configuration" -> Note: the data was generated from network definitions under the %s folder - -# flowlogs-pipeline Metrics - -Each table below provides documentation for an exported flowlogs-pipeline metric. -The documentation describes the metric, the collected information from network flow-logs -and the transformation to generate the exported metric. - - - - `, cg.opts.SrcFolder) - data := fmt.Sprintf("%s\n%s\n", header, doc) - err := os.WriteFile(fileName, []byte(data), 0664) - if err != nil { - return err - } - - return nil -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/encode.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/encode.go deleted file mode 100644 index ae1d14d40..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/encode.go +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - jsoniter "github.com/json-iterator/go" - "github.com/netobserv/flowlogs-pipeline/pkg/api" - "github.com/netobserv/flowlogs-pipeline/pkg/config" - log "github.com/sirupsen/logrus" -) - -func (cg *ConfGen) parseEncode(encode *map[string]interface{}, followAggregate bool) (*api.PromEncode, error) { - var jsoniterJson = jsoniter.ConfigCompatibleWithStandardLibrary - promEncode := (*encode)["prom"] - b, err := jsoniterJson.Marshal(promEncode) - if err != nil { - log.Debugf("jsoniterJson.Marshal err: %v ", err) - return nil, err - } - - var prom api.PromEncode - err = config.JsonUnmarshalStrict(b, &prom) - if err != nil { - log.Debugf("Unmarshal aggregate.Definitions err: %v ", err) - return nil, err - } - - // Histograms built from Aggregate need to be flagged as they are handled in a different way in PromEncode - if followAggregate { - for i := range prom.Metrics { - if prom.Metrics[i].Type == "histogram" { - prom.Metrics[i].Type = "agg_histogram" - } - } - } - - cg.promMetrics = append(cg.promMetrics, prom.Metrics...) - return &prom, nil -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/extract.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/extract.go deleted file mode 100644 index 0cccc7634..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/extract.go +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - jsoniter "github.com/json-iterator/go" - "github.com/netobserv/flowlogs-pipeline/pkg/api" - "github.com/netobserv/flowlogs-pipeline/pkg/config" - log "github.com/sirupsen/logrus" -) - -func (cg *ConfGen) parseExtract(extract *map[string]interface{}) (*api.Aggregates, *api.ExtractTimebased, error) { - var jsoniterJson = jsoniter.ConfigCompatibleWithStandardLibrary - aggregateExtract := (*extract)["aggregates"] - b, err := jsoniterJson.Marshal(&aggregateExtract) - if err != nil { - log.Errorf("jsoniterJson.Marshal err: %v ", err) - return nil, nil, err - } - - var jsonNetworkAggregate api.Aggregates - err = config.JsonUnmarshalStrict(b, &jsonNetworkAggregate) - if err != nil { - log.Errorf("Unmarshal aggregate.Definitions err: %v ", err) - return nil, nil, err - } - - cg.aggregates.Rules = append(cg.aggregates.Rules, jsonNetworkAggregate.Rules...) - - timebasedExtract, ok := (*extract)["timebased"] - if !ok { - return &jsonNetworkAggregate, nil, nil - } - b, err = jsoniterJson.Marshal(&timebasedExtract) - if err != nil { - log.Errorf("jsoniterJson.Marshal err: %v ", err) - return nil, nil, err - } - - var jsonTimebasedTopKs api.ExtractTimebased - err = config.JsonUnmarshalStrict(b, &jsonTimebasedTopKs) - if err != nil { - log.Errorf("Unmarshal api.ExtractTimebased err: %v ", err) - return nil, nil, err - } - - cg.timebasedTopKs.Rules = append(cg.timebasedTopKs.Rules, jsonTimebasedTopKs.Rules...) - - return &jsonNetworkAggregate, &jsonTimebasedTopKs, nil -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/flowlogs2metrics_config.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/flowlogs2metrics_config.go deleted file mode 100644 index 3f0d43a7f..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/flowlogs2metrics_config.go +++ /dev/null @@ -1,116 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - "fmt" - "os" - - "github.com/netobserv/flowlogs-pipeline/pkg/api" - "github.com/netobserv/flowlogs-pipeline/pkg/config" - log "github.com/sirupsen/logrus" - "gopkg.in/yaml.v2" -) - -func (cg *ConfGen) GenerateFlowlogs2PipelineConfig() *config.ConfigFileStruct { - pipeline, _ := config.NewPipeline("ingest_collector", &cg.config.Ingest) - forkedNode := pipeline - if cg.config.Transform.Generic != nil { - gen := *cg.config.Transform.Generic - if len(gen.Policy) == 0 { - gen.Policy = "replace_keys" - } - forkedNode = forkedNode.TransformGeneric("transform_generic", gen) - } - if cg.config.Extract.ConnTrack != nil { - forkedNode = forkedNode.ConnTrack("extract_conntrack", *cg.config.Extract.ConnTrack) - } - if len(cg.transformRules) > 0 { - forkedNode = forkedNode.TransformNetwork("transform_network", api.TransformNetwork{ - Rules: cg.transformRules, - }) - } - metricsNode := forkedNode - if len(cg.aggregates.Rules) > 0 { - metricsNode = metricsNode.Aggregate("extract_aggregate", cg.aggregates) - if len(cg.timebasedTopKs.Rules) > 0 { - metricsNode = metricsNode.ExtractTimebased("extract_timebased", api.ExtractTimebased{ - Rules: cg.timebasedTopKs.Rules, - }) - } - } - if len(cg.promMetrics) > 0 { - metricsNode.EncodePrometheus("encode_prom", api.PromEncode{ - Prefix: cg.config.Encode.Prom.Prefix, - Metrics: cg.promMetrics, - }) - } - if cg.config.Write.Loki != nil { - forkedNode.WriteLoki("write_loki", *cg.config.Write.Loki) - } - return &config.ConfigFileStruct{ - LogLevel: "error", - Pipeline: pipeline.GetStages(), - Parameters: pipeline.GetStageParams(), - MetricsSettings: config.MetricsSettings{ - Port: 9102, - Prefix: "flp_op_", - }, - } -} - -func (cg *ConfGen) GenerateTruncatedConfig() []config.StageParam { - parameters := make([]config.StageParam, len(cg.opts.GenerateStages)) - for i, stage := range cg.opts.GenerateStages { - switch stage { - case "ingest": - parameters[i] = config.NewCollectorParams("ingest_collector", *cg.config.Ingest.Collector) - case "transform_generic": - parameters[i] = config.NewTransformGenericParams("transform_generic", *cg.config.Transform.Generic) - case "transform_network": - parameters[i] = config.NewTransformNetworkParams("transform_network", *cg.config.Transform.Network) - case "extract_aggregate": - parameters[i] = config.NewAggregateParams("extract_aggregate", cg.aggregates) - case "extract_timebased": - parameters[i] = config.NewTimbasedParams("extract_timebased", cg.timebasedTopKs) - case "encode_prom": - parameters[i] = config.NewEncodePrometheusParams("encode_prom", api.PromEncode{ - Metrics: cg.promMetrics, - }) - case "write_loki": - parameters[i] = config.NewWriteLokiParams("write_loki", *cg.config.Write.Loki) - } - } - log.Debugf("parameters = %v \n", parameters) - return parameters -} - -func (cg *ConfGen) writeConfigFile(fileName string, cfg interface{}) error { - configData, err := yaml.Marshal(cfg) - if err != nil { - return err - } - header := "# This file was generated automatically by flowlogs-pipeline confgenerator" - data := fmt.Sprintf("%s\n%s\n", header, configData) - err = os.WriteFile(fileName, []byte(data), 0664) - if err != nil { - return err - } - - return nil -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/alert_condition.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/alert_condition.libsonnet deleted file mode 100644 index 163d08282..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/alert_condition.libsonnet +++ /dev/null @@ -1,47 +0,0 @@ -{ - /** - * Returns a new condition of alert of graph panel. - * Currently the only condition type that exists is a Query condition - * that allows to specify a query letter, time range and an aggregation function. - * - * @name alertCondition.new - * - * @param evaluatorParams Value of threshold - * @param evaluatorType Type of threshold - * @param operatorType Operator between conditions - * @param queryRefId The letter defines what query to execute from the Metrics tab - * @param queryTimeStart Begging of time range - * @param queryTimeEnd End of time range - * @param reducerParams Params of an aggregation function - * @param reducerType Name of an aggregation function - * - * @return A json that represents a condition of alert - */ - new( - evaluatorParams=[], - evaluatorType='gt', - operatorType='and', - queryRefId='A', - queryTimeEnd='now', - queryTimeStart='5m', - reducerParams=[], - reducerType='avg', - ):: - { - evaluator: { - params: if std.type(evaluatorParams) == 'array' then evaluatorParams else [evaluatorParams], - type: evaluatorType, - }, - operator: { - type: operatorType, - }, - query: { - params: [queryRefId, queryTimeStart, queryTimeEnd], - }, - reducer: { - params: if std.type(reducerParams) == 'array' then reducerParams else [reducerParams], - type: reducerType, - }, - type: 'query', - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/alertlist.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/alertlist.libsonnet deleted file mode 100644 index 94df3603e..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/alertlist.libsonnet +++ /dev/null @@ -1,43 +0,0 @@ -{ - /** - * Creates an [Alert list panel](https://grafana.com/docs/grafana/latest/panels/visualizations/alert-list-panel/) - * - * @name alertlist.new - * - * @param title (default `''`) - * @param span (optional) - * @param show (default `'current'`) Whether the panel should display the current alert state or recent alert state changes. - * @param limit (default `10`) Sets the maximum number of alerts to list. - * @param sortOrder (default `'1'`) '1': alerting, '2': no_data, '3': pending, '4': ok, '5': paused - * @param stateFilter (optional) - * @param onlyAlertsOnDashboard (optional) Shows alerts only from the dashboard the alert list is in - * @param transparent (optional) Whether to display the panel without a background - * @param description (optional) - * @param datasource (optional) - */ - new( - title='', - span=null, - show='current', - limit=10, - sortOrder=1, - stateFilter=[], - onlyAlertsOnDashboard=true, - transparent=null, - description=null, - datasource=null, - ):: - { - [if transparent != null then 'transparent']: transparent, - title: title, - [if span != null then 'span']: span, - type: 'alertlist', - show: show, - limit: limit, - sortOrder: sortOrder, - [if show != 'changes' then 'stateFilter']: stateFilter, - onlyAlertsOnDashboard: onlyAlertsOnDashboard, - [if description != null then 'description']: description, - datasource: datasource, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/annotation.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/annotation.libsonnet deleted file mode 100644 index 955b029cb..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/annotation.libsonnet +++ /dev/null @@ -1,40 +0,0 @@ -{ - default:: - { - builtIn: 1, - datasource: '-- Grafana --', - enable: true, - hide: true, - iconColor: 'rgba(0, 211, 255, 1)', - name: 'Annotations & Alerts', - type: 'dashboard', - }, - - /** - * @name annotation.datasource - */ - - datasource( - name, - datasource, - expr=null, - enable=true, - hide=false, - iconColor='rgba(255, 96, 96, 1)', - tags=[], - type='tags', - builtIn=null, - ):: - { - datasource: datasource, - enable: enable, - [if expr != null then 'expr']: expr, - hide: hide, - iconColor: iconColor, - name: name, - showIn: 0, - tags: tags, - type: type, - [if builtIn != null then 'builtIn']: builtIn, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/bar_gauge_panel.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/bar_gauge_panel.libsonnet deleted file mode 100644 index 313e5a033..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/bar_gauge_panel.libsonnet +++ /dev/null @@ -1,47 +0,0 @@ -{ - /** - * Create a [bar gauge panel](https://grafana.com/docs/grafana/latest/panels/visualizations/bar-gauge-panel/), - * - * @name barGaugePanel.new - * - * @param title Panel title. - * @param description (optional) Panel description. - * @param datasource (optional) Panel datasource. - * @param unit (optional) The unit of the data. - * @param thresholds (optional) An array of threashold values. - * - * @method addTarget(target) Adds a target object. - * @method addTargets(targets) Adds an array of targets. - */ - new( - title, - description=null, - datasource=null, - unit=null, - thresholds=[], - ):: { - type: 'bargauge', - title: title, - [if description != null then 'description']: description, - datasource: datasource, - targets: [ - ], - fieldConfig: { - defaults: { - unit: unit, - thresholds: { - mode: 'absolute', - steps: thresholds, - }, - }, - }, - _nextTarget:: 0, - addTarget(target):: self { - // automatically ref id in added targets. - local nextTarget = super._nextTarget, - _nextTarget: nextTarget + 1, - targets+: [target { refId: std.char(std.codepoint('A') + nextTarget) }], - }, - addTargets(targets):: std.foldl(function(p, t) p.addTarget(t), targets, self), - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/cloudmonitoring.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/cloudmonitoring.libsonnet deleted file mode 100644 index 49cef5e1a..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/cloudmonitoring.libsonnet +++ /dev/null @@ -1,57 +0,0 @@ -{ - /** - * Creates a [Google Cloud Monitoring target](https://grafana.com/docs/grafana/latest/datasources/google-cloud-monitoring/) - * - * @name cloudmonitoring.target - * - * @param metric - * @param project - * @param filters (optional) - * @param groupBys (optional) - * @param period (default: `'cloud-monitoring-auto'`) - * @param crossSeriesReducer (default 'REDUCE_MAX') - * @param valueType (default 'INT64') - * @param perSeriesAligner (default 'ALIGN_DELTA') - * @param metricKind (default 'CUMULATIVE') - * @param unit (optional) - * @param alias (optional) - - * @return Panel target - */ - - target( - metric, - project, - filters=[], - groupBys=[], - period='cloud-monitoring-auto', - crossSeriesReducer='REDUCE_MAX', - valueType='INT64', - perSeriesAligner='ALIGN_DELTA', - metricKind='CUMULATIVE', - unit=1, - alias=null, - ):: { - metricQuery: { - [if alias != null then 'aliasBy']: alias, - alignmentPeriod: period, - crossSeriesReducer: crossSeriesReducer, - [if filters != null then 'filters']: filters, - [if groupBys != null then 'groupBys']: groupBys, - metricKind: metricKind, - metricType: metric, - perSeriesAligner: perSeriesAligner, - projectName: project, - unit: unit, - valueType: valueType, - }, - sloQuery: { - [if alias != null then 'aliasBy']: alias, - alignmentPeriod: period, - projectName: project, - selectorName: 'select_slo_health', - serviceId: '', - sloId: '', - }, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/cloudwatch.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/cloudwatch.libsonnet deleted file mode 100644 index f56056f4e..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/cloudwatch.libsonnet +++ /dev/null @@ -1,51 +0,0 @@ -{ - /** - * Creates a [CloudWatch target](https://grafana.com/docs/grafana/latest/datasources/cloudwatch/) - * - * @name cloudwatch.target - * - * @param region - * @param namespace - * @param metric - * @param datasource (optional) - * @param statistic (default: `'Average'`) - * @param alias (optional) - * @param highResolution (default: `false`) - * @param period (default: `'auto'`) - * @param dimensions (optional) - * @param id (optional) - * @param expression (optional) - * @param hide (optional) - - * @return Panel target - */ - - target( - region, - namespace, - metric, - datasource=null, - statistic='Average', - alias=null, - highResolution=false, - period='auto', - dimensions={}, - id=null, - expression=null, - hide=null - ):: { - region: region, - namespace: namespace, - metricName: metric, - [if datasource != null then 'datasource']: datasource, - statistics: [statistic], - [if alias != null then 'alias']: alias, - highResolution: highResolution, - period: period, - dimensions: dimensions, - [if id != null then 'id']: id, - [if expression != null then 'expression']: expression, - [if hide != null then 'hide']: hide, - - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/dashboard.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/dashboard.libsonnet deleted file mode 100644 index 1cc1bf320..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/dashboard.libsonnet +++ /dev/null @@ -1,181 +0,0 @@ -local timepickerlib = import 'timepicker.libsonnet'; - -{ - /** - * Creates a [dashboard](https://grafana.com/docs/grafana/latest/features/dashboard/dashboards/) - * - * @name dashboard.new - * - * @param title The title of the dashboard - * @param editable (default: `false`) Whether the dashboard is editable via Grafana UI. - * @param style (default: `'dark'`) Theme of dashboard, `'dark'` or `'light'` - * @param tags (optional) Array of tags associated to the dashboard, e.g.`['tag1','tag2']` - * @param time_from (default: `'now-6h'`) - * @param time_to (default: `'now'`) - * @param timezone (default: `'browser'`) Timezone of the dashboard, `'utc'` or `'browser'` - * @param refresh (default: `''`) Auto-refresh interval, e.g. `'30s'` - * @param timepicker (optional) See timepicker API - * @param graphTooltip (default: `'default'`) `'default'` : no shared crosshair or tooltip (0), `'shared_crosshair'`: shared crosshair (1), `'shared_tooltip'`: shared crosshair AND shared tooltip (2) - * @param hideControls (default: `false`) - * @param schemaVersion (default: `14`) Version of the Grafana JSON schema, incremented each time an update brings changes. `26` for Grafana 7.1.5, `22` for Grafana 6.7.4, `16` for Grafana 5.4.5, `14` for Grafana 4.6.3. etc. - * @param uid (default: `''`) Unique dashboard identifier as a string (8-40), that can be chosen by users. Used to identify a dashboard to update when using Grafana REST API. - * @param description (optional) - * - * @method addTemplate(template) Add a template variable - * @method addTemplates(templates) Adds an array of template variables - * @method addAnnotation(annotation) Add an [annotation](https://grafana.com/docs/grafana/latest/dashboards/annotations/) - * @method addPanel(panel,gridPos) Appends a panel, with an optional grid position in grid coordinates, e.g. `gridPos={'x':0, 'y':0, 'w':12, 'h': 9}` - * @method addPanels(panels) Appends an array of panels - * @method addLink(link) Adds a [dashboard link](https://grafana.com/docs/grafana/latest/linking/dashboard-links/) - * @method addLinks(dashboardLink) Adds an array of [dashboard links](https://grafana.com/docs/grafana/latest/linking/dashboard-links/) - * @method addRequired(type, name, id, version) - * @method addInput(name, label, type, pluginId, pluginName, description, value) - * @method addRow(row) Adds a row. This is the legacy row concept from Grafana < 5, when rows were needed for layout. Rows should now be added via `addPanel`. - */ - new( - title, - editable=false, - style='dark', - tags=[], - time_from='now-6h', - time_to='now', - timezone='browser', - refresh='', - timepicker=timepickerlib.new(), - graphTooltip='default', - hideControls=false, - schemaVersion=14, - uid='', - description=null, - ):: { - local it = self, - _annotations:: [], - [if uid != '' then 'uid']: uid, - editable: editable, - [if description != null then 'description']: description, - gnetId: null, - graphTooltip: - if graphTooltip == 'shared_tooltip' then 2 - else if graphTooltip == 'shared_crosshair' then 1 - else if graphTooltip == 'default' then 0 - else graphTooltip, - hideControls: hideControls, - id: null, - links: [], - panels:: [], - refresh: refresh, - rows: [], - schemaVersion: schemaVersion, - style: style, - tags: tags, - time: { - from: time_from, - to: time_to, - }, - timezone: timezone, - timepicker: timepicker, - title: title, - version: 0, - addAnnotations(annotations):: self { - _annotations+:: annotations, - }, - addAnnotation(a):: self.addAnnotations([a]), - addTemplates(templates):: self { - templates+: templates, - }, - addTemplate(t):: self.addTemplates([t]), - templates:: [], - annotations: { list: it._annotations }, - templating: { list: it.templates }, - _nextPanel:: 2, - addRow(row):: - self { - // automatically number panels in added rows. - // https://github.com/kausalco/public/blob/master/klumps/grafana.libsonnet - local n = std.length(row.panels), - local nextPanel = super._nextPanel, - local panels = std.makeArray(n, function(i) - row.panels[i] { id: nextPanel + i }), - - _nextPanel: nextPanel + n, - rows+: [row { panels: panels }], - }, - addPanels(newpanels):: - self { - // automatically number panels in added rows. - // https://github.com/kausalco/public/blob/master/klumps/grafana.libsonnet - local n = std.foldl(function(numOfPanels, p) - (if 'panels' in p then - numOfPanels + 1 + std.length(p.panels) - else - numOfPanels + 1), newpanels, 0), - local nextPanel = super._nextPanel, - local _panels = std.makeArray( - std.length(newpanels), function(i) - newpanels[i] { - id: nextPanel + ( - if i == 0 then - 0 - else - if 'panels' in _panels[i - 1] then - (_panels[i - 1].id - nextPanel) + 1 + std.length(_panels[i - 1].panels) - else - (_panels[i - 1].id - nextPanel) + 1 - - ), - [if 'panels' in newpanels[i] then 'panels']: std.makeArray( - std.length(newpanels[i].panels), function(j) - newpanels[i].panels[j] { - id: 1 + j + - nextPanel + ( - if i == 0 then - 0 - else - if 'panels' in _panels[i - 1] then - (_panels[i - 1].id - nextPanel) + 1 + std.length(_panels[i - 1].panels) - else - (_panels[i - 1].id - nextPanel) + 1 - - ), - } - ), - } - ), - - _nextPanel: nextPanel + n, - panels+::: _panels, - }, - addPanel(panel, gridPos):: self.addPanels([panel { gridPos: gridPos }]), - addRows(rows):: std.foldl(function(d, row) d.addRow(row), rows, self), - addLink(link):: self { - links+: [link], - }, - addLinks(dashboardLinks):: std.foldl(function(d, t) d.addLink(t), dashboardLinks, self), - required:: [], - __requires: it.required, - addRequired(type, name, id, version):: self { - required+: [{ type: type, name: name, id: id, version: version }], - }, - inputs:: [], - __inputs: it.inputs, - addInput( - name, - label, - type, - pluginId=null, - pluginName=null, - description='', - value=null, - ):: self { - inputs+: [{ - name: name, - label: label, - type: type, - [if pluginId != null then 'pluginId']: pluginId, - [if pluginName != null then 'pluginName']: pluginName, - [if value != null then 'value']: value, - description: description, - }], - }, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/dashlist.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/dashlist.libsonnet deleted file mode 100644 index 436cb02b6..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/dashlist.libsonnet +++ /dev/null @@ -1,41 +0,0 @@ -{ - /** - * Creates a [dashlist panel](https://grafana.com/docs/grafana/latest/panels/visualizations/dashboard-list-panel/). - * It requires the dashlist panel plugin in grafana, which is built-in. - * - * @name dashlist.new - * - * @param title The title of the dashlist panel. - * @param description (optional) Description of the panel - * @param query (optional) Query to search by - * @param tags (optional) Array of tag(s) to search by - * @param recent (default `true`) Displays recently viewed dashboards - * @param search (default `false`) Description of the panel - * @param starred (default `false`) Displays starred dashboards - * @param headings (default `true`) Chosen list selection(starred, recently Viewed, search) is shown as a heading - * @param limit (default `10`) Set maximum items in a list - * @return A json that represents a dashlist panel - */ - new( - title, - description=null, - query=null, - tags=[], - recent=true, - search=false, - starred=false, - headings=true, - limit=10, - ):: { - type: 'dashlist', - title: title, - query: if query != null then query else '', - tags: tags, - recent: recent, - search: search, - starred: starred, - headings: headings, - limit: limit, - [if description != null then 'description']: description, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/elasticsearch.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/elasticsearch.libsonnet deleted file mode 100644 index 769e1c708..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/elasticsearch.libsonnet +++ /dev/null @@ -1,51 +0,0 @@ -{ - /** - * Creates an [Elasticsearch target](https://grafana.com/docs/grafana/latest/datasources/elasticsearch/) - * - * @name elasticsearch.target - * - * @param query - * @param timeField - * @param id (optional) - * @param datasource (optional) - * @param metrics (optional) - * @param bucketAggs (optional) - * @param alias (optional) - */ - target( - query, - timeField, - id=null, - datasource=null, - metrics=[{ - field: 'value', - id: null, - type: 'percentiles', - settings: { - percents: [ - '90', - ], - }, - }], - bucketAggs=[{ - field: 'timestamp', - id: null, - type: 'date_histogram', - settings: { - interval: '1s', - min_doc_count: 0, - trimEdges: 0, - }, - }], - alias=null, - ):: { - [if datasource != null then 'datasource']: datasource, - query: query, - id: id, - timeField: timeField, - bucketAggs: bucketAggs, - metrics: metrics, - alias: alias, - // TODO: generate bucket ids - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/gauge_panel.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/gauge_panel.libsonnet deleted file mode 100644 index 40b367351..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/gauge_panel.libsonnet +++ /dev/null @@ -1,211 +0,0 @@ -{ - /** - * Creates a [gauge panel](https://grafana.com/docs/grafana/latest/panels/visualizations/gauge-panel/). - * - * @name gaugePanel.new - * - * @param title Panel title. - * @param description (optional) Panel description. - * @param transparent (default `false`) Whether to display the panel without a background. - * @param datasource (optional) Panel datasource. - * @param allValues (default `false`) Show all values instead of reducing to one. - * @param valueLimit (optional) Limit of values in all values mode. - * @param reducerFunction (default `'mean'`) Function to use to reduce values to when using single value. - * @param fields (default `''`) Fields that should be included in the panel. - * @param showThresholdLabels (default `false`) Render the threshold values around the gauge bar. - * @param showThresholdMarkers (default `true`) Render the thresholds as an outer bar. - * @param unit (default `'percent'`) Panel unit field option. - * @param min (optional) Leave empty to calculate based on all values. - * @param max (optional) Leave empty to calculate based on all values. - * @param decimals Number of decimal places to show. - * @param displayName Change the field or series name. - * @param noValue (optional) What to show when there is no value. - * @param thresholdsMode (default `'absolute'`) 'absolute' or 'percentage'. - * @param repeat (optional) Name of variable that should be used to repeat this panel. - * @param repeatDirection (default `'h'`) 'h' for horizontal or 'v' for vertical. - * @param repeatMaxPerRow (optional) Maximum panels per row in repeat mode. - * @param pluginVersion (default `'7'`) Plugin version the panel should be modeled for. This has been tested with the default, '7', and '6.7'. - * - * @method addTarget(target) Adds a target object. - * @method addTargets(targets) Adds an array of targets. - * @method addLink(link) Adds a [panel link](https://grafana.com/docs/grafana/latest/linking/panel-links/). Argument format: `{ title: 'Link Title', url: 'https://...', targetBlank: true }`. - * @method addLinks(links) Adds an array of links. - * @method addThreshold(step) Adds a threshold step. Argument format: `{ color: 'green', value: 0 }`. - * @method addThresholds(steps) Adds an array of threshold steps. - * @method addMapping(mapping) Adds a value mapping. - * @method addMappings(mappings) Adds an array of value mappings. - * @method addDataLink(link) Adds a data link. - * @method addDataLinks(links) Adds an array of data links. - * @param timeFrom (optional) - */ - new( - title, - description=null, - transparent=false, - datasource=null, - allValues=false, - valueLimit=null, - reducerFunction='mean', - fields='', - showThresholdLabels=false, - showThresholdMarkers=true, - unit='percent', - min=0, - max=100, - decimals=null, - displayName=null, - noValue=null, - thresholdsMode='absolute', - repeat=null, - repeatDirection='h', - repeatMaxPerRow=null, - timeFrom=null, - pluginVersion='7', - ):: { - - type: 'gauge', - title: title, - [if description != null then 'description']: description, - transparent: transparent, - datasource: datasource, - targets: [], - links: [], - [if repeat != null then 'repeat']: repeat, - [if repeat != null then 'repeatDirection']: repeatDirection, - [if repeat != null then 'repeatMaxPerRow']: repeatMaxPerRow, - [if timeFrom != null then 'timeFrom']: timeFrom, - - // targets - _nextTarget:: 0, - addTarget(target):: self { - local nextTarget = super._nextTarget, - _nextTarget: nextTarget + 1, - targets+: [target { refId: std.char(std.codepoint('A') + nextTarget) }], - }, - addTargets(targets):: std.foldl(function(p, t) p.addTarget(t), targets, self), - - // links - addLink(link):: self { - links+: [link], - }, - addLinks(links):: std.foldl(function(p, l) p.addLink(l), links, self), - - pluginVersion: pluginVersion, - } + ( - - if pluginVersion >= '7' then { - options: { - reduceOptions: { - values: allValues, - [if allValues && valueLimit != null then 'limit']: valueLimit, - calcs: [ - reducerFunction, - ], - fields: fields, - }, - showThresholdLabels: showThresholdLabels, - showThresholdMarkers: showThresholdMarkers, - }, - fieldConfig: { - defaults: { - unit: unit, - [if min != null then 'min']: min, - [if max != null then 'max']: max, - [if decimals != null then 'decimals']: decimals, - [if displayName != null then 'displayName']: displayName, - [if noValue != null then 'noValue']: noValue, - thresholds: { - mode: thresholdsMode, - steps: [], - }, - mappings: [], - links: [], - }, - }, - - // thresholds - addThreshold(step):: self { - fieldConfig+: { defaults+: { thresholds+: { steps+: [step] } } }, - }, - - // mappings - _nextMapping:: 0, - addMapping(mapping):: self { - local nextMapping = super._nextMapping, - _nextMapping: nextMapping + 1, - fieldConfig+: { defaults+: { mappings+: [mapping { id: nextMapping }] } }, - }, - - // data links - addDataLink(link):: self { - fieldConfig+: { defaults+: { links+: [link] } }, - }, - - // Overrides - addOverride( - matcher=null, - properties=null, - ):: self { - fieldConfig+: { - overrides+: [ - { - [if matcher != null then 'matcher']: matcher, - [if properties != null then 'properties']: properties, - }, - ], - }, - }, - addOverrides(overrides):: std.foldl(function(p, o) p.addOverride(o.matcher, o.properties), overrides, self), - } else { - - options: { - fieldOptions: { - values: allValues, - [if allValues && valueLimit != null then 'limit']: valueLimit, - calcs: [ - reducerFunction, - ], - fields: fields, - defaults: { - unit: unit, - [if min != null then 'min']: min, - [if max != null then 'max']: max, - [if decimals != null then 'decimals']: decimals, - [if displayName != null then 'displayName']: displayName, - [if noValue != null then 'noValue']: noValue, - thresholds: { - mode: thresholdsMode, - steps: [], - }, - mappings: [], - links: [], - }, - }, - showThresholdLabels: showThresholdLabels, - showThresholdMarkers: showThresholdMarkers, - }, - - // thresholds - addThreshold(step):: self { - options+: { fieldOptions+: { defaults+: { thresholds+: { steps+: [step] } } } }, - }, - - // mappings - _nextMapping:: 0, - addMapping(mapping):: self { - local nextMapping = super._nextMapping, - _nextMapping: nextMapping + 1, - options+: { fieldOptions+: { defaults+: { mappings+: [mapping { id: nextMapping }] } } }, - }, - - // data links - addDataLink(link):: self { - options+: { fieldOptions+: { defaults+: { links+: [link] } } }, - }, - } - ) + { - addThresholds(steps):: std.foldl(function(p, s) p.addThreshold(s), steps, self), - addMappings(mappings):: std.foldl(function(p, m) p.addMapping(m), mappings, self), - addDataLinks(links):: std.foldl(function(p, l) p.addDataLink(l), links, self), - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/grafana.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/grafana.libsonnet deleted file mode 100644 index b94ddf391..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/grafana.libsonnet +++ /dev/null @@ -1,32 +0,0 @@ -{ - alertlist:: import 'alertlist.libsonnet', - dashboard:: import 'dashboard.libsonnet', - template:: import 'template.libsonnet', - text:: import 'text.libsonnet', - timepicker:: import 'timepicker.libsonnet', - row:: import 'row.libsonnet', - link:: import 'link.libsonnet', - annotation:: import 'annotation.libsonnet', - graphPanel:: import 'graph_panel.libsonnet', - logPanel:: import 'log_panel.libsonnet', - tablePanel:: import 'table_panel.libsonnet', - singlestat:: import 'singlestat.libsonnet', - pieChartPanel:: import 'pie_chart_panel.libsonnet', - influxdb:: import 'influxdb.libsonnet', - prometheus:: import 'prometheus.libsonnet', - loki:: import 'loki.libsonnet', - sql:: import 'sql.libsonnet', - graphite:: import 'graphite.libsonnet', - alertCondition:: import 'alert_condition.libsonnet', - cloudmonitoring:: import 'cloudmonitoring.libsonnet', - cloudwatch:: import 'cloudwatch.libsonnet', - elasticsearch:: import 'elasticsearch.libsonnet', - heatmapPanel:: import 'heatmap_panel.libsonnet', - dashlist:: import 'dashlist.libsonnet', - pluginlist:: import 'pluginlist.libsonnet', - gauge:: error 'gauge is removed, migrate to gaugePanel', - gaugePanel:: import 'gauge_panel.libsonnet', - barGaugePanel:: import 'bar_gauge_panel.libsonnet', - statPanel:: import 'stat_panel.libsonnet', - transformation:: import 'transformation.libsonnet', -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/graph_panel.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/graph_panel.libsonnet deleted file mode 100644 index 872769579..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/graph_panel.libsonnet +++ /dev/null @@ -1,313 +0,0 @@ -{ - /** - * Creates a [graph panel](https://grafana.com/docs/grafana/latest/panels/visualizations/graph-panel/). - * It requires the graph panel plugin in grafana, which is built-in. - * - * @name graphPanel.new - * - * @param title The title of the graph panel. - * @param description (optional) The description of the panel - * @param span (optional) Width of the panel - * @param datasource (optional) Datasource - * @param fill (default `1`) , integer from 0 to 10 - * @param fillGradient (default `0`) , integer from 0 to 10 - * @param linewidth (default `1`) Line Width, integer from 0 to 10 - * @param decimals (optional) Override automatic decimal precision for legend and tooltip. If null, not added to the json output. - * @param decimalsY1 (optional) Override automatic decimal precision for the first Y axis. If null, use decimals parameter. - * @param decimalsY2 (optional) Override automatic decimal precision for the second Y axis. If null, use decimals parameter. - * @param min_span (optional) Min span - * @param format (default `short`) Unit of the Y axes - * @param formatY1 (optional) Unit of the first Y axis - * @param formatY2 (optional) Unit of the second Y axis - * @param min (optional) Min of the Y axes - * @param max (optional) Max of the Y axes - * @param maxDataPoints (optional) If the data source supports it, sets the maximum number of data points for each series returned. - * @param labelY1 (optional) Label of the first Y axis - * @param labelY2 (optional) Label of the second Y axis - * @param x_axis_mode (default `'time'`) X axis mode, one of [time, series, histogram] - * @param x_axis_values (default `'total'`) Chosen value of series, one of [avg, min, max, total, count] - * @param x_axis_buckets (optional) Restricts the x axis to this amount of buckets - * @param x_axis_min (optional) Restricts the x axis to display from this value if supplied - * @param x_axis_max (optional) Restricts the x axis to display up to this value if supplied - * @param lines (default `true`) Display lines - * @param points (default `false`) Display points - * @param pointradius (default `5`) Radius of the points, allowed values are 0.5 or [1 ... 10] with step 1 - * @param bars (default `false`) Display bars - * @param staircase (default `false`) Display line as staircase - * @param dashes (default `false`) Display line as dashes - * @param stack (default `false`) Whether to stack values - * @param repeat (optional) Name of variable that should be used to repeat this panel. - * @param repeatDirection (default `'h'`) 'h' for horizontal or 'v' for vertical. - * @param legend_show (default `true`) Show legend - * @param legend_values (default `false`) Show values in legend - * @param legend_min (default `false`) Show min in legend - * @param legend_max (default `false`) Show max in legend - * @param legend_current (default `false`) Show current in legend - * @param legend_total (default `false`) Show total in legend - * @param legend_avg (default `false`) Show average in legend - * @param legend_alignAsTable (default `false`) Show legend as table - * @param legend_rightSide (default `false`) Show legend to the right - * @param legend_sideWidth (optional) Legend width - * @param legend_sort (optional) Sort order of legend - * @param legend_sortDesc (optional) Sort legend descending - * @param aliasColors (optional) Define color mappings for graphs - * @param thresholds (optional) An array of graph thresholds - * @param logBase1Y (default `1`) Value of logarithm base of the first Y axis - * @param logBase2Y (default `1`) Value of logarithm base of the second Y axis - * @param transparent (default `false`) Whether to display the panel without a background. - * @param value_type (default `'individual'`) Type of tooltip value - * @param shared_tooltip (default `true`) Allow to group or spit tooltips on mouseover within a chart - * @param percentage (defaut: false) show as percentages - * @param interval (defaut: null) A lower limit for the interval. - - * - * @method addTarget(target) Adds a target object. - * @method addTargets(targets) Adds an array of targets. - * @method addSeriesOverride(override) - * @method addYaxis(format,min,max,label,show,logBase,decimals) Adds a Y axis to the graph - * @method addAlert(alert) Adds an alert - * @method addLink(link) Adds a [panel link](https://grafana.com/docs/grafana/latest/linking/panel-links/) - * @method addLinks(links) Adds an array of links. - */ - new( - title, - span=null, - fill=1, - fillGradient=0, - linewidth=1, - decimals=null, - decimalsY1=null, - decimalsY2=null, - description=null, - min_span=null, - format='short', - formatY1=null, - formatY2=null, - min=null, - max=null, - labelY1=null, - labelY2=null, - x_axis_mode='time', - x_axis_values='total', - x_axis_buckets=null, - x_axis_min=null, - x_axis_max=null, - lines=true, - datasource=null, - points=false, - pointradius=5, - bars=false, - staircase=false, - height=null, - nullPointMode='null', - dashes=false, - stack=false, - repeat=null, - repeatDirection=null, - sort=0, - show_xaxis=true, - legend_show=true, - legend_values=false, - legend_min=false, - legend_max=false, - legend_current=false, - legend_total=false, - legend_avg=false, - legend_alignAsTable=false, - legend_rightSide=false, - legend_sideWidth=null, - legend_hideEmpty=null, - legend_hideZero=null, - legend_sort=null, - legend_sortDesc=null, - aliasColors={}, - thresholds=[], - links=[], - logBase1Y=1, - logBase2Y=1, - transparent=false, - value_type='individual', - shared_tooltip=true, - percentage=false, - maxDataPoints=null, - time_from=null, - time_shift=null, - interval=null - ):: { - title: title, - [if span != null then 'span']: span, - [if min_span != null then 'minSpan']: min_span, - [if decimals != null then 'decimals']: decimals, - type: 'graph', - datasource: datasource, - targets: [ - ], - [if description != null then 'description']: description, - [if height != null then 'height']: height, - renderer: 'flot', - yaxes: [ - self.yaxe( - if formatY1 != null then formatY1 else format, - min, - max, - decimals=(if decimalsY1 != null then decimalsY1 else decimals), - logBase=logBase1Y, - label=labelY1 - ), - self.yaxe( - if formatY2 != null then formatY2 else format, - min, - max, - decimals=(if decimalsY2 != null then decimalsY2 else decimals), - logBase=logBase2Y, - label=labelY2 - ), - ], - xaxis: { - show: show_xaxis, - mode: x_axis_mode, - name: null, - values: if x_axis_mode == 'series' then [x_axis_values] else [], - buckets: if x_axis_mode == 'histogram' then x_axis_buckets else null, - [if x_axis_min != null then 'min']: x_axis_min, - [if x_axis_max != null then 'max']: x_axis_max, - }, - lines: lines, - fill: fill, - fillGradient: fillGradient, - linewidth: linewidth, - dashes: dashes, - dashLength: 10, - spaceLength: 10, - points: points, - pointradius: pointradius, - bars: bars, - stack: stack, - percentage: percentage, - [if maxDataPoints != null then 'maxDataPoints']: maxDataPoints, - legend: { - show: legend_show, - values: legend_values, - min: legend_min, - max: legend_max, - current: legend_current, - total: legend_total, - alignAsTable: legend_alignAsTable, - rightSide: legend_rightSide, - sideWidth: legend_sideWidth, - avg: legend_avg, - [if legend_hideEmpty != null then 'hideEmpty']: legend_hideEmpty, - [if legend_hideZero != null then 'hideZero']: legend_hideZero, - [if legend_sort != null then 'sort']: legend_sort, - [if legend_sortDesc != null then 'sortDesc']: legend_sortDesc, - }, - nullPointMode: nullPointMode, - steppedLine: staircase, - tooltip: { - value_type: value_type, - shared: shared_tooltip, - sort: if sort == 'decreasing' then 2 else if sort == 'increasing' then 1 else sort, - }, - timeFrom: time_from, - timeShift: time_shift, - [if interval != null then 'interval']: interval, - [if transparent == true then 'transparent']: transparent, - aliasColors: aliasColors, - repeat: repeat, - [if repeatDirection != null then 'repeatDirection']: repeatDirection, - seriesOverrides: [], - thresholds: thresholds, - links: links, - yaxe( - format='short', - min=null, - max=null, - label=null, - show=true, - logBase=1, - decimals=null, - ):: { - label: label, - show: show, - logBase: logBase, - min: min, - max: max, - format: format, - [if decimals != null then 'decimals']: decimals, - }, - _nextTarget:: 0, - addTarget(target):: self { - // automatically ref id in added targets. - // https://github.com/kausalco/public/blob/master/klumps/grafana.libsonnet - local nextTarget = super._nextTarget, - _nextTarget: nextTarget + 1, - targets+: [target { refId: std.char(std.codepoint('A') + nextTarget) }], - }, - addTargets(targets):: std.foldl(function(p, t) p.addTarget(t), targets, self), - addSeriesOverride(override):: self { - seriesOverrides+: [override], - }, - resetYaxes():: self { - yaxes: [], - }, - addYaxis( - format='short', - min=null, - max=null, - label=null, - show=true, - logBase=1, - decimals=null, - ):: self { - yaxes+: [self.yaxe(format, min, max, label, show, logBase, decimals)], - }, - addAlert( - name, - executionErrorState='alerting', - forDuration='5m', - frequency='60s', - handler=1, - message='', - noDataState='no_data', - notifications=[], - alertRuleTags={}, - ):: self { - local it = self, - _conditions:: [], - alert: { - name: name, - conditions: it._conditions, - executionErrorState: executionErrorState, - 'for': forDuration, - frequency: frequency, - handler: handler, - noDataState: noDataState, - notifications: notifications, - message: message, - alertRuleTags: alertRuleTags, - }, - addCondition(condition):: self { - _conditions+: [condition], - }, - addConditions(conditions):: std.foldl(function(p, c) p.addCondition(c), conditions, it), - }, - addLink(link):: self { - links+: [link], - }, - addLinks(links):: std.foldl(function(p, t) p.addLink(t), links, self), - addOverride( - matcher=null, - properties=null, - ):: self { - fieldConfig+: { - overrides+: [ - { - [if matcher != null then 'matcher']: matcher, - [if properties != null then 'properties']: properties, - }, - ], - }, - }, - addOverrides(overrides):: std.foldl(function(p, o) p.addOverride(o.matcher, o.properties), overrides, self), - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/graphite.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/graphite.libsonnet deleted file mode 100644 index 46a011335..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/graphite.libsonnet +++ /dev/null @@ -1,29 +0,0 @@ -{ - /** - * Creates a [Graphite target](https://grafana.com/docs/grafana/latest/datasources/graphite/) - * - * @name graphite.target - * - * @param target Graphite Query. Nested queries are possible by adding the query reference (refId). - * @param targetFull (optional) Expanding the @target. Used in nested queries. - * @param hide (default `false`) Disable query on graph. - * @param textEditor (default `false`) Enable raw query mode. - * @param datasource (optional) Datasource. - - * @return Panel target - */ - target( - target, - targetFull=null, - hide=false, - textEditor=false, - datasource=null, - ):: { - target: target, - hide: hide, - textEditor: textEditor, - - [if targetFull != null then 'targetFull']: targetFull, - [if datasource != null then 'datasource']: datasource, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/heatmap_panel.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/heatmap_panel.libsonnet deleted file mode 100644 index 5e9a04c49..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/heatmap_panel.libsonnet +++ /dev/null @@ -1,150 +0,0 @@ -{ - /** - * Creates a [heatmap panel](https://grafana.com/docs/grafana/latest/panels/visualizations/heatmap/). - * Requires the heatmap panel plugin in Grafana, which is built-in. - * - * @name heatmapPanel.new - * - * @param title The title of the heatmap panel - * @param description (optional) Description of panel - * @param datasource (optional) Datasource - * @param min_span (optional) Min span - * @param span (optional) Width of the panel - * @param cards_cardPadding (optional) How much padding to put between bucket cards - * @param cards_cardRound (optional) How much rounding should be applied to the bucket card shape - * @param color_cardColor (default `'#b4ff00'`) Hex value of color used when color_colorScheme is 'opacity' - * @param color_colorScale (default `'sqrt'`) How to scale the color range, 'linear' or 'sqrt' - * @param color_colorScheme (default `'interpolateOranges'`) TODO: document - * @param color_exponent (default `0.5`) TODO: document - * @param color_max (optional) The value for the end of the color range - * @param color_min (optional) The value for the beginning of the color range - * @param color_mode (default `'spectrum'`) How to display difference in frequency with color - * @param dataFormat (default `'timeseries'`) How to format the data - * @param highlightCards (default `true`) TODO: document - * @param hideZeroBuckets (default `false`) Whether or not to hide empty buckets, default is false - * @param legend_show (default `false`) Show legend - * @param minSpan (optional) Minimum span of the panel when repeated on a template variable - * @param repeat (optional) Variable used to repeat the heatmap panel - * @param repeatDirection (optional) Which direction to repeat the panel, 'h' for horizontal and 'v' for vertically - * @param tooltipDecimals (optional) The number of decimal places to display in the tooltip - * @param tooltip_show (default `true`) Whether or not to display a tooltip when hovering over the heatmap - * @param tooltip_showHistogram (default `false`) Whether or not to display a histogram in the tooltip - * @param xAxis_show (default `true`) Whether or not to show the X axis, default true - * @param xBucketNumber (optional) Number of buckets for the X axis - * @param xBucketSize (optional) Size of X axis buckets. Number or interval(10s, 15h, etc.) Has priority over xBucketNumber - * @param yAxis_decimals (optional) Override automatic decimal precision for the Y axis - * @param yAxis_format (default `'short'`) Unit of the Y axis - * @param yAxis_logBase (default `1`) Only if dataFormat is 'timeseries' - * @param yAxis_min (optional) Only if dataFormat is 'timeseries', min of the Y axis - * @param yAxis_max (optional) Only if dataFormat is 'timeseries', max of the Y axis - * @param yAxis_show (default `true`) Whether or not to show the Y axis - * @param yAxis_splitFactor (optional) TODO: document - * @param yBucketBound (default `'auto'`) Which bound ('lower' or 'upper') of the bucket to use - * @param yBucketNumber (optional) Number of buckets for the Y axis - * @param yBucketSize (optional) Size of Y axis buckets. Has priority over yBucketNumber - * @param maxDataPoints (optional) The maximum data points per series. Used directly by some data sources and used in calculation of auto interval. With streaming data this value is used for the rolling buffer. - * - * @method addTarget(target) Adds a target object. - * @method addTargets(targets) Adds an array of targets. - */ - new( - title, - datasource=null, - description=null, - cards_cardPadding=null, - cards_cardRound=null, - color_cardColor='#b4ff00', - color_colorScale='sqrt', - color_colorScheme='interpolateOranges', - color_exponent=0.5, - color_max=null, - color_min=null, - color_mode='spectrum', - dataFormat='timeseries', - highlightCards=true, - hideZeroBuckets=false, - legend_show=false, - minSpan=null, - span=null, - repeat=null, - repeatDirection=null, - tooltipDecimals=null, - tooltip_show=true, - tooltip_showHistogram=false, - xAxis_show=true, - xBucketNumber=null, - xBucketSize=null, - yAxis_decimals=null, - yAxis_format='short', - yAxis_logBase=1, - yAxis_min=null, - yAxis_max=null, - yAxis_show=true, - yAxis_splitFactor=null, - yBucketBound='auto', - yBucketNumber=null, - yBucketSize=null, - maxDataPoints=null, - ):: { - title: title, - type: 'heatmap', - [if description != null then 'description']: description, - datasource: datasource, - cards: { - cardPadding: cards_cardPadding, - cardRound: cards_cardRound, - }, - color: { - mode: color_mode, - cardColor: color_cardColor, - colorScale: color_colorScale, - exponent: color_exponent, - [if color_mode == 'spectrum' then 'colorScheme']: color_colorScheme, - [if color_max != null then 'max']: color_max, - [if color_min != null then 'min']: color_min, - }, - [if dataFormat != null then 'dataFormat']: dataFormat, - heatmap: {}, - hideZeroBuckets: hideZeroBuckets, - highlightCards: highlightCards, - legend: { - show: legend_show, - }, - [if minSpan != null then 'minSpan']: minSpan, - [if span != null then 'span']: span, - [if repeat != null then 'repeat']: repeat, - [if repeatDirection != null then 'repeatDirection']: repeatDirection, - tooltip: { - show: tooltip_show, - showHistogram: tooltip_showHistogram, - }, - [if tooltipDecimals != null then 'tooltipDecimals']: tooltipDecimals, - xAxis: { - show: xAxis_show, - }, - xBucketNumber: if dataFormat == 'timeseries' && xBucketSize != null then xBucketNumber else null, - xBucketSize: if dataFormat == 'timeseries' && xBucketSize != null then xBucketSize else null, - yAxis: { - decimals: yAxis_decimals, - [if dataFormat == 'timeseries' then 'logBase']: yAxis_logBase, - format: yAxis_format, - [if dataFormat == 'timeseries' then 'max']: yAxis_max, - [if dataFormat == 'timeseries' then 'min']: yAxis_min, - show: yAxis_show, - splitFactor: yAxis_splitFactor, - }, - yBucketBound: yBucketBound, - [if dataFormat == 'timeseries' then 'yBucketNumber']: yBucketNumber, - [if dataFormat == 'timeseries' then 'yBucketSize']: yBucketSize, - [if maxDataPoints != null then 'maxDataPoints']: maxDataPoints, - - _nextTarget:: 0, - addTarget(target):: self { - local nextTarget = super._nextTarget, - _nextTarget: nextTarget + 1, - targets+: [target { refId: std.char(std.codepoint('A') + nextTarget) }], - }, - addTargets(targets):: std.foldl(function(p, t) p.addTarget(t), targets, self), - }, - -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/influxdb.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/influxdb.libsonnet deleted file mode 100644 index dd7c4fd4e..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/influxdb.libsonnet +++ /dev/null @@ -1,104 +0,0 @@ -{ - /** - * Creates an [InfluxDB target](https://grafana.com/docs/grafana/latest/datasources/influxdb/) - * - * @name influxdb.target - * - * @param query Raw InfluxQL statement - * - * @param alias (optional) 'Alias By' pattern - * @param datasource (optional) Datasource - * @param hide (optional) Disable query on graph - * - * @param rawQuery (optional) Enable/disable raw query mode - * - * @param policy (default: `'default'`) Tagged query 'From' policy - * @param measurement (optional) Tagged query 'From' measurement - * @param group_time (default: `'$__interval'`) 'Group by' time condition (if set to null, do not groups by time) - * @param group_tags (optional) 'Group by' tags list - * @param fill (default: `'none'`) 'Group by' missing values fill mode (works only with 'Group by time()') - * - * @param resultFormat (default: `'time_series'`) Format results as 'Time series' or 'Table' - * - * @return Panel target - */ - target( - query=null, - - alias=null, - datasource=null, - hide=null, - - rawQuery=null, - - policy='default', - measurement=null, - - group_time='$__interval', - group_tags=[], - fill='none', - - resultFormat='time_series', - ):: { - local it = self, - - [if alias != null then 'alias']: alias, - [if datasource != null then 'datasource']: datasource, - [if hide != null then 'hide']: hide, - - [if query != null then 'query']: query, - [if rawQuery != null then 'rawQuery']: rawQuery, - [if rawQuery == null && query != null then 'rawQuery']: true, - - policy: policy, - [if measurement != null then 'measurement']: measurement, - tags: [], - select: [], - groupBy: - if group_time != null then - [{ type: 'time', params: [group_time] }] + - [{ type: 'tag', params: [tag_name] } for tag_name in group_tags] + - [{ type: 'fill', params: [fill] }] - else - [{ type: 'tag', params: [tag_name] } for tag_name in group_tags], - - resultFormat: resultFormat, - - where(key, operator, value, condition=null):: self { - /* - * Adds query tag condition ('Where' section) - */ - tags: - if std.length(it.tags) == 0 then - [{ key: key, operator: operator, value: value }] - else - it.tags + [{ - key: key, - operator: operator, - value: value, - condition: if condition == null then 'AND' else condition, - }], - }, - - selectField(value):: self { - /* - * Adds InfluxDB selection ('field(value)' part of 'Select' statement) - */ - select+: [[{ params: [value], type: 'field' }]], - }, - - addConverter(type, params=[]):: self { - /* - * Appends converter (aggregation, selector, etc.) to last added selection - */ - local len = std.length(it.select), - select: - if len == 1 then - [it.select[0] + [{ params: params, type: type }]] - else if len > 1 then - it.select[0:(len - 1)] + [it.select[len - 1] + [{ params: params, type: type }]] - else - [], - }, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/link.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/link.libsonnet deleted file mode 100644 index 5e5ebd237..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/link.libsonnet +++ /dev/null @@ -1,39 +0,0 @@ -{ - /** - * Creates [links](https://grafana.com/docs/grafana/latest/linking/linking-overview/) to navigate to other dashboards. - * - * @param title Human-readable label for the link. - * @param tags Limits the linked dashboards to only the ones with the corresponding tags. Otherwise, Grafana includes links to all other dashboards. - * @param asDropdown (default: `true`) Whether to use a dropdown (with an optional title). If `false`, displays the dashboard links side by side across the top of dashboard. - * @param includeVars (default: `false`) Whether to include template variables currently used as query parameters in the link. Any matching templates in the linked dashboard are set to the values from the link - * @param keepTime (default: `false`) Whether to include the current dashboard time range in the link (e.g. from=now-3h&to=now) - * @param icon (default: `'external link'`) Icon displayed with the link. - * @param url (default: `''`) URL of the link - * @param targetBlank (default: `false`) Whether the link will open in a new window. - * @param type (default: `'dashboards'`) - * - * @name link.dashboards - */ - dashboards( - title, - tags, - asDropdown=true, - includeVars=false, - keepTime=false, - icon='external link', - url='', - targetBlank=false, - type='dashboards', - ):: - { - asDropdown: asDropdown, - icon: icon, - includeVars: includeVars, - keepTime: keepTime, - tags: tags, - title: title, - type: type, - url: url, - targetBlank: targetBlank, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/log_panel.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/log_panel.libsonnet deleted file mode 100644 index 747ad5f33..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/log_panel.libsonnet +++ /dev/null @@ -1,56 +0,0 @@ -{ - /** - * Creates a [log panel](https://grafana.com/docs/grafana/latest/panels/visualizations/logs-panel/). - * It requires the log panel plugin in grafana, which is built-in. - * - * @name logPanel.new - * - * @param title (default `''`) The title of the log panel. - * @param span (optional) Width of the panel - * @param datasource (optional) Datasource - * @showLabels (default `false`) Whether to show or hide labels - * @showTime (default `true`) Whether to show or hide time for each line - * @wrapLogMessage (default `true`) Whether to wrap log line to the next line - * @sortOrder (default `'Descending'`) sort log by time (can be 'Descending' or 'Ascending' ) - * - * @method addTarget(target) Adds a target object - * @method addTargets(targets) Adds an array of targets - */ - new( - title='', - datasource=null, - time_from=null, - time_shift=null, - showLabels=false, - showTime=true, - sortOrder='Descending', - wrapLogMessage=true, - span=12, - height=null, - ):: { - [if height != null then 'height']: height, - span: span, - datasource: datasource, - options: { - showLabels: showLabels, - showTime: showTime, - sortOrder: sortOrder, - wrapLogMessage: wrapLogMessage, - }, - targets: [ - ], - _nextTarget:: 0, - addTarget(target):: self { - // automatically ref id in added targets. - // https://github.com/kausalco/public/blob/master/klumps/grafana.libsonnet - local nextTarget = super._nextTarget, - _nextTarget: nextTarget + 1, - targets+: [target { refId: std.char(std.codepoint('A') + nextTarget) }], - }, - addTargets(targets):: std.foldl(function(p, t) p.addTarget(t), targets, self), - timeFrom: time_from, - timeShift: time_shift, - title: title, - type: 'logs', - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/loki.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/loki.libsonnet deleted file mode 100644 index a300f5a98..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/loki.libsonnet +++ /dev/null @@ -1,22 +0,0 @@ -{ - /** - * Creates a [Loki target](https://grafana.com/docs/grafana/latest/datasources/loki/) - * - * @name loki.target - * - * @param expr - * @param hide (optional) Disable query on graph. - * @param legendFormat (optional) Defines the legend. Defaults to ''. - */ - target( - expr, - hide=null, - legendFormat='', - instant=null, - ):: { - [if hide != null then 'hide']: hide, - expr: expr, - legendFormat: legendFormat, - [if instant != null then 'instant']: instant, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/pie_chart_panel.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/pie_chart_panel.libsonnet deleted file mode 100644 index 11719e108..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/pie_chart_panel.libsonnet +++ /dev/null @@ -1,72 +0,0 @@ -{ - /** - * Creates a pie chart panel. - * It requires the [pie chart panel plugin in grafana](https://grafana.com/grafana/plugins/grafana-piechart-panel), - * which needs to be explicitly installed. - * - * @name pieChartPanel.new - * - * @param title The title of the pie chart panel. - * @param description (default `''`) Description of the panel - * @param span (optional) Width of the panel - * @param min_span (optional) Min span - * @param datasource (optional) Datasource - * @param aliasColors (optional) Define color mappings - * @param pieType (default `'pie'`) Type of pie chart (one of pie or donut) - * @param showLegend (default `true`) Show legend - * @param showLegendPercentage (default `true`) Show percentage values in the legend - * @param legendType (default `'Right side'`) Type of legend (one of 'Right side', 'Under graph' or 'On graph') - * @param valueName (default `'current') Type of tooltip value - * @param repeat (optional) Variable used to repeat the pie chart - * @param repeatDirection (optional) Which direction to repeat the panel, 'h' for horizontal and 'v' for vertical - * @param maxPerRow (optional) Number of panels to display when repeated. Used in combination with repeat. - * @return A json that represents a pie chart panel - * - * @method addTarget(target) Adds a target object. - */ - new( - title, - description='', - span=null, - min_span=null, - datasource=null, - height=null, - aliasColors={}, - pieType='pie', - valueName='current', - showLegend=true, - showLegendPercentage=true, - legendType='Right side', - repeat=null, - repeatDirection=null, - maxPerRow=null, - ):: { - type: 'grafana-piechart-panel', - [if description != null then 'description']: description, - pieType: pieType, - title: title, - aliasColors: aliasColors, - [if span != null then 'span']: span, - [if min_span != null then 'minSpan']: min_span, - [if height != null then 'height']: height, - [if repeat != null then 'repeat']: repeat, - [if repeatDirection != null then 'repeatDirection']: repeatDirection, - [if maxPerRow != null then 'maxPerRow']: maxPerRow, - valueName: valueName, - datasource: datasource, - legend: { - show: showLegend, - values: true, - percentage: showLegendPercentage, - }, - legendType: legendType, - targets: [ - ], - _nextTarget:: 0, - addTarget(target):: self { - local nextTarget = super._nextTarget, - _nextTarget: nextTarget + 1, - targets+: [target { refId: std.char(std.codepoint('A') + nextTarget) }], - }, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/pluginlist.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/pluginlist.libsonnet deleted file mode 100644 index d3f23ab0a..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/pluginlist.libsonnet +++ /dev/null @@ -1,23 +0,0 @@ -{ - /** - * Returns a new pluginlist panel that can be added in a row. - * It requires the pluginlist panel plugin in grafana, which is built-in. - * - * @name pluginlist.new - * - * @param title The title of the pluginlist panel. - * @param description (optional) Description of the panel - * @param limit (optional) Set maximum items in a list - * @return A json that represents a pluginlist panel - */ - new( - title, - description=null, - limit=null, - ):: { - type: 'pluginlist', - title: title, - [if limit != null then 'limit']: limit, - [if description != null then 'description']: description, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/prometheus.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/prometheus.libsonnet deleted file mode 100644 index 46b75b058..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/prometheus.libsonnet +++ /dev/null @@ -1,38 +0,0 @@ -{ - /** - * Creates a [Prometheus target](https://grafana.com/docs/grafana/latest/datasources/prometheus/) - * to be added to panels. - * - * @name prometheus.target - * - * @param expr PromQL query to be exercised against Prometheus. Checkout [Prometheus documentation](https://prometheus.io/docs/prometheus/latest/querying/basics/). - * @param format (default `'time_series'`) Switch between `'table'`, `'time_series'` or `'heatmap'`. Table will only work in the Table panel. Heatmap is suitable for displaying metrics of the Histogram type on a Heatmap panel. Under the hood, it converts cumulative histograms to regular ones and sorts series by the bucket bound. - * @param intervalFactor (default `2`) - * @param legendFormat (default `''`) Controls the name of the time series, using name or pattern. For example `{{hostname}}` is replaced with the label value for the label `hostname`. - * @param datasource (optional) Name of the Prometheus datasource. Leave by default otherwise. - * @param interval (optional) Time span used to aggregate or group data points by time. By default Grafana uses an automatic interval calculated based on the width of the graph. - * @param instant (optional) Perform an "instant" query, to return only the latest value that Prometheus has scraped for the requested time series. Instant queries return results much faster than normal range queries. Use them to look up label sets. - * @param hide (optional) Set to `true` to hide the target from the panel. - * - * @return A Prometheus target to be added to panels. - */ - target( - expr, - format='time_series', - intervalFactor=2, - legendFormat='', - datasource=null, - interval=null, - instant=null, - hide=null, - ):: { - [if hide != null then 'hide']: hide, - [if datasource != null then 'datasource']: datasource, - expr: expr, - format: format, - intervalFactor: intervalFactor, - legendFormat: legendFormat, - [if interval != null then 'interval']: interval, - [if instant != null then 'instant']: instant, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/row.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/row.libsonnet deleted file mode 100644 index b380192d0..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/row.libsonnet +++ /dev/null @@ -1,47 +0,0 @@ -{ - /** - * Creates a [row](https://grafana.com/docs/grafana/latest/features/dashboard/dashboards/#rows). - * Rows are logical dividers within a dashboard and used to group panels together. - * - * @name row.new - * - * @param title The title of the row. - * @param showTitle (default `true` if title is set) Whether to show the row title - * @paral titleSize (default `'h6'`) The size of the title - * @param collapse (default `false`) The initial state of the row when opening the dashboard. Panels in a collapsed row are not load until the row is expanded. - * @param repeat (optional) Name of variable that should be used to repeat this row. It is recommended to use the variable in the row title as well. - * - * @method addPanels(panels) Appends an array of nested panels - * @method addPanel(panel,gridPos) Appends a nested panel, with an optional grid position in grid coordinates, e.g. `gridPos={'x':0, 'y':0, 'w':12, 'h': 9}` - */ - new( - title='Dashboard Row', - height=null, - collapse=false, - repeat=null, - showTitle=null, - titleSize='h6' - ):: { - collapse: collapse, - collapsed: collapse, - [if height != null then 'height']: height, - panels: [], - repeat: repeat, - repeatIteration: null, - repeatRowId: null, - showTitle: - if showTitle != null then - showTitle - else - title != 'Dashboard Row', - title: title, - type: 'row', - titleSize: titleSize, - addPanels(panels):: self { - panels+: panels, - }, - addPanel(panel, gridPos={}):: self { - panels+: [panel { gridPos: gridPos }], - }, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/singlestat.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/singlestat.libsonnet deleted file mode 100644 index 78428d252..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/singlestat.libsonnet +++ /dev/null @@ -1,181 +0,0 @@ -{ - /** - * Creates a singlestat panel. - * - * @name singlestat.new - * - * @param title The title of the singlestat panel. - * @param format (default `'none'`) Unit - * @param description (default `''`) - * @param interval (optional) - * @param height (optional) - * @param datasource (optional) - * @param span (optional) - * @param min_span (optional) - * @param decimals (optional) - * @param valueName (default `'avg'`) - * @param valueFontSize (default `'80%'`) - * @param prefixFontSize (default `'50%'`) - * @param postfixFontSize (default `'50%'`) - * @param mappingType (default `1`) - * @param repeat (optional) - * @param repeatDirection (optional) - * @param prefix (default `''`) - * @param postfix (default `''`) - * @param colors (default `['#299c46','rgba(237, 129, 40, 0.89)','#d44a3a']`) - * @param colorBackground (default `false`) - * @param colorValue (default `false`) - * @param thresholds (default `''`) - * @param valueMaps (default `{value: 'null',op: '=',text: 'N/A'}`) - * @param rangeMaps (default `{value: 'null',op: '=',text: 'N/A'}`) - * @param transparent (optional) - * @param sparklineFillColor (default `'rgba(31, 118, 189, 0.18)'`) - * @param sparklineFull (default `false`) - * @param sparklineLineColor (default `'rgb(31, 120, 193)'`) - * @param sparklineShow (default `false`) - * @param gaugeShow (default `false`) - * @param gaugeMinValue (default `0`) - * @param gaugeMaxValue (default `100`) - * @param gaugeThresholdMarkers (default `true`) - * @param gaugeThresholdLabels (default `false`) - * @param timeFrom (optional) - * @param links (optional) - * @param tableColumn (default `''`) - * @param maxPerRow (optional) - * @param maxDataPoints (default `100`) - * - * @method addTarget(target) Adds a target object. - */ - new( - title, - format='none', - description='', - interval=null, - height=null, - datasource=null, - span=null, - min_span=null, - decimals=null, - valueName='avg', - valueFontSize='80%', - prefixFontSize='50%', - postfixFontSize='50%', - mappingType=1, - repeat=null, - repeatDirection=null, - prefix='', - postfix='', - colors=[ - '#299c46', - 'rgba(237, 129, 40, 0.89)', - '#d44a3a', - ], - colorBackground=false, - colorValue=false, - thresholds='', - valueMaps=[ - { - value: 'null', - op: '=', - text: 'N/A', - }, - ], - rangeMaps=[ - { - from: 'null', - to: 'null', - text: 'N/A', - }, - ], - transparent=null, - sparklineFillColor='rgba(31, 118, 189, 0.18)', - sparklineFull=false, - sparklineLineColor='rgb(31, 120, 193)', - sparklineShow=false, - gaugeShow=false, - gaugeMinValue=0, - gaugeMaxValue=100, - gaugeThresholdMarkers=true, - gaugeThresholdLabels=false, - timeFrom=null, - links=[], - tableColumn='', - maxPerRow=null, - maxDataPoints=100, - ):: - { - [if height != null then 'height']: height, - [if description != '' then 'description']: description, - [if repeat != null then 'repeat']: repeat, - [if repeatDirection != null then 'repeatDirection']: repeatDirection, - [if transparent != null then 'transparent']: transparent, - [if min_span != null then 'minSpan']: min_span, - title: title, - [if span != null then 'span']: span, - type: 'singlestat', - datasource: datasource, - targets: [ - ], - links: links, - [if decimals != null then 'decimals']: decimals, - maxDataPoints: maxDataPoints, - interval: interval, - cacheTimeout: null, - format: format, - prefix: prefix, - postfix: postfix, - nullText: null, - valueMaps: valueMaps, - [if maxPerRow != null then 'maxPerRow']: maxPerRow, - mappingTypes: [ - { - name: 'value to text', - value: 1, - }, - { - name: 'range to text', - value: 2, - }, - ], - rangeMaps: rangeMaps, - mappingType: - if mappingType == 'value' - then - 1 - else if mappingType == 'range' - then - 2 - else - mappingType, - nullPointMode: 'connected', - valueName: valueName, - prefixFontSize: prefixFontSize, - valueFontSize: valueFontSize, - postfixFontSize: postfixFontSize, - thresholds: thresholds, - [if timeFrom != null then 'timeFrom']: timeFrom, - colorBackground: colorBackground, - colorValue: colorValue, - colors: colors, - gauge: { - show: gaugeShow, - minValue: gaugeMinValue, - maxValue: gaugeMaxValue, - thresholdMarkers: gaugeThresholdMarkers, - thresholdLabels: gaugeThresholdLabels, - }, - sparkline: { - fillColor: sparklineFillColor, - full: sparklineFull, - lineColor: sparklineLineColor, - show: sparklineShow, - }, - tableColumn: tableColumn, - _nextTarget:: 0, - addTarget(target):: self { - local nextTarget = super._nextTarget, - _nextTarget: nextTarget + 1, - targets+: [target { refId: std.char(std.codepoint('A') + nextTarget) }], - }, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/sql.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/sql.libsonnet deleted file mode 100644 index ab48543fe..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/sql.libsonnet +++ /dev/null @@ -1,23 +0,0 @@ -{ - /** - * Creates an SQL target. - * - * @name sql.target - * - * @param rawSql The SQL query - * @param datasource (optional) - * @param format (default `'time_series'`) - * @param alias (optional) - */ - target( - rawSql, - datasource=null, - format='time_series', - alias=null, - ):: { - [if datasource != null then 'datasource']: datasource, - format: format, - [if alias != null then 'alias']: alias, - rawSql: rawSql, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/stat_panel.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/stat_panel.libsonnet deleted file mode 100644 index 5d1e5e7f6..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/stat_panel.libsonnet +++ /dev/null @@ -1,222 +0,0 @@ -{ - /** - * Creates a [stat panel](https://grafana.com/docs/grafana/latest/panels/visualizations/stat-panel/). - * - * @name statPanel.new - * - * @param title Panel title. - * @param description (optional) Panel description. - * @param transparent (default `false`) Whether to display the panel without a background. - * @param datasource (optional) Panel datasource. - * @param allValues (default `false`) Show all values instead of reducing to one. - * @param valueLimit (optional) Limit of values in all values mode. - * @param reducerFunction (default `'mean'`) Function to use to reduce values to when using single value. - * @param fields (default `''`) Fields that should be included in the panel. - * @param orientation (default `'auto'`) Stacking direction in case of multiple series or fields. - * @param colorMode (default `'value'`) 'value' or 'background'. - * @param graphMode (default `'area'`) 'none' or 'area' to enable sparkline mode. - * @param textMode (default `'auto'`) Control if name and value is displayed or just name. - * @param justifyMode (default `'auto'`) 'auto' or 'center'. - * @param unit (default `'none'`) Panel unit field option. - * @param min (optional) Leave empty to calculate based on all values. - * @param max (optional) Leave empty to calculate based on all values. - * @param decimals (optional) Number of decimal places to show. - * @param displayName (optional) Change the field or series name. - * @param noValue (optional) What to show when there is no value. - * @param thresholdsMode (default `'absolute'`) 'absolute' or 'percentage'. - * @param timeFrom (optional) Override the relative time range. - * @param repeat (optional) Name of variable that should be used to repeat this panel. - * @param repeatDirection (default `'h'`) 'h' for horizontal or 'v' for vertical. - * @param maxPerRow (optional) Maximum panels per row in repeat mode. - * @param pluginVersion (default `'7'`) Plugin version the panel should be modeled for. This has been tested with the default, '7', and '6.7'. - * - * @method addTarget(target) Adds a target object. - * @method addTargets(targets) Adds an array of targets. - * @method addLink(link) Adds a [panel link](https://grafana.com/docs/grafana/latest/linking/panel-links/). Argument format: `{ title: 'Link Title', url: 'https://...', targetBlank: true }`. - * @method addLinks(links) Adds an array of links. - * @method addThreshold(step) Adds a [threshold](https://grafana.com/docs/grafana/latest/panels/thresholds/) step. Argument format: `{ color: 'green', value: 0 }`. - * @method addThresholds(steps) Adds an array of threshold steps. - * @method addMapping(mapping) Adds a value mapping. - * @method addMappings(mappings) Adds an array of value mappings. - * @method addDataLink(link) Adds a data link. - * @method addDataLinks(links) Adds an array of data links. - */ - new( - title, - description=null, - transparent=false, - datasource=null, - allValues=false, - valueLimit=null, - reducerFunction='mean', - fields='', - orientation='auto', - colorMode='value', - graphMode='area', - textMode='auto', - justifyMode='auto', - unit='none', - min=null, - max=null, - decimals=null, - displayName=null, - noValue=null, - thresholdsMode='absolute', - timeFrom=null, - repeat=null, - repeatDirection='h', - maxPerRow=null, - pluginVersion='7', - ):: { - - type: 'stat', - title: title, - [if description != null then 'description']: description, - transparent: transparent, - datasource: datasource, - targets: [], - links: [], - [if repeat != null then 'repeat']: repeat, - [if repeat != null then 'repeatDirection']: repeatDirection, - [if timeFrom != null then 'timeFrom']: timeFrom, - [if repeat != null then 'maxPerRow']: maxPerRow, - - // targets - _nextTarget:: 0, - addTarget(target):: self { - local nextTarget = super._nextTarget, - _nextTarget: nextTarget + 1, - targets+: [target { refId: std.char(std.codepoint('A') + nextTarget) }], - }, - addTargets(targets):: std.foldl(function(p, t) p.addTarget(t), targets, self), - - // links - addLink(link):: self { - links+: [link], - }, - addLinks(links):: std.foldl(function(p, l) p.addLink(l), links, self), - - pluginVersion: pluginVersion, - } + ( - - if pluginVersion >= '7' then { - options: { - reduceOptions: { - values: allValues, - [if allValues && valueLimit != null then 'limit']: valueLimit, - calcs: [ - reducerFunction, - ], - fields: fields, - }, - orientation: orientation, - colorMode: colorMode, - graphMode: graphMode, - justifyMode: justifyMode, - textMode: textMode, - }, - fieldConfig: { - defaults: { - unit: unit, - [if min != null then 'min']: min, - [if max != null then 'max']: max, - [if decimals != null then 'decimals']: decimals, - [if displayName != null then 'displayName']: displayName, - [if noValue != null then 'noValue']: noValue, - thresholds: { - mode: thresholdsMode, - steps: [], - }, - mappings: [], - links: [], - }, - }, - - // thresholds - addThreshold(step):: self { - fieldConfig+: { defaults+: { thresholds+: { steps+: [step] } } }, - }, - - // mappings - _nextMapping:: 0, - addMapping(mapping):: self { - local nextMapping = super._nextMapping, - _nextMapping: nextMapping + 1, - fieldConfig+: { defaults+: { mappings+: [mapping { id: nextMapping }] } }, - }, - - // data links - addDataLink(link):: self { - fieldConfig+: { defaults+: { links+: [link] } }, - }, - - // Overrides - addOverride( - matcher=null, - properties=null, - ):: self { - fieldConfig+: { - overrides+: [ - { - [if matcher != null then 'matcher']: matcher, - [if properties != null then 'properties']: properties, - }, - ], - }, - }, - addOverrides(overrides):: std.foldl(function(p, o) p.addOverride(o.matcher, o.properties), overrides, self), - } else { - options: { - fieldOptions: { - values: allValues, - [if allValues && valueLimit != null then 'limit']: valueLimit, - calcs: [ - reducerFunction, - ], - fields: fields, - defaults: { - unit: unit, - [if min != null then 'min']: min, - [if max != null then 'max']: max, - [if decimals != null then 'decimals']: decimals, - [if displayName != null then 'displayName']: displayName, - [if noValue != null then 'noValue']: noValue, - thresholds: { - mode: thresholdsMode, - steps: [], - }, - mappings: [], - links: [], - }, - }, - orientation: orientation, - colorMode: colorMode, - graphMode: graphMode, - justifyMode: justifyMode, - }, - - // thresholds - addThreshold(step):: self { - options+: { fieldOptions+: { defaults+: { thresholds+: { steps+: [step] } } } }, - }, - - // mappings - _nextMapping:: 0, - addMapping(mapping):: self { - local nextMapping = super._nextMapping, - _nextMapping: nextMapping + 1, - options+: { fieldOptions+: { defaults+: { mappings+: [mapping { id: nextMapping }] } } }, - }, - - // data links - addDataLink(link):: self { - options+: { fieldOptions+: { defaults+: { links+: [link] } } }, - }, - } - - ) + { - addThresholds(steps):: std.foldl(function(p, s) p.addThreshold(s), steps, self), - addMappings(mappings):: std.foldl(function(p, m) p.addMapping(m), mappings, self), - addDataLinks(links):: std.foldl(function(p, l) p.addDataLink(l), links, self), - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/table_panel.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/table_panel.libsonnet deleted file mode 100644 index 4c686b3d5..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/table_panel.libsonnet +++ /dev/null @@ -1,91 +0,0 @@ -{ - /** - * Creates a [table panel](https://grafana.com/docs/grafana/latest/panels/visualizations/table-panel/) that can be added in a row. - * It requires the table panel plugin in grafana, which is built-in. - * - * @name table.new - * - * @param title The title of the graph panel. - * @param description (optional) Description of the panel - * @param span (optional) Width of the panel - * @param height (optional) Height of the panel - * @param datasource (optional) Datasource - * @param min_span (optional) Min span - * @param styles (optional) Array of styles for the panel - * @param columns (optional) Array of columns for the panel - * @param sort (optional) Sorting instruction for the panel - * @param transform (optional) Allow table manipulation to present data as desired - * @param transparent (default: 'false') Whether to display the panel without a background - * @param links (optional) Array of links for the panel. - * @return A json that represents a table panel - * - * @method addTarget(target) Adds a target object - * @method addTargets(targets) Adds an array of targets - * @method addColumn(field, style) Adds a column - * @method hideColumn(field) Hides a column - * @method addLink(link) Adds a link - * @method addTransformation(transformation) Adds a transformation object - * @method addTransformations(transformations) Adds an array of transformations - */ - new( - title, - description=null, - span=null, - min_span=null, - height=null, - datasource=null, - styles=[], - transform=null, - transparent=false, - columns=[], - sort=null, - time_from=null, - time_shift=null, - links=[], - ):: { - type: 'table', - title: title, - [if span != null then 'span']: span, - [if min_span != null then 'minSpan']: min_span, - [if height != null then 'height']: height, - datasource: datasource, - targets: [ - ], - styles: styles, - columns: columns, - timeFrom: time_from, - timeShift: time_shift, - links: links, - [if sort != null then 'sort']: sort, - [if description != null then 'description']: description, - [if transform != null then 'transform']: transform, - [if transparent == true then 'transparent']: transparent, - _nextTarget:: 0, - addTarget(target):: self { - local nextTarget = super._nextTarget, - _nextTarget: nextTarget + 1, - targets+: [target { refId: std.char(std.codepoint('A') + nextTarget) }], - }, - addTargets(targets):: std.foldl(function(p, t) p.addTarget(t), targets, self), - addColumn(field, style):: self { - local style_ = style { pattern: field }, - local column_ = { text: field, value: field }, - styles+: [style_], - columns+: [column_], - }, - hideColumn(field):: self { - styles+: [{ - alias: field, - pattern: field, - type: 'hidden', - }], - }, - addLink(link):: self { - links+: [link], - }, - addTransformation(transformation):: self { - transformations+: [transformation], - }, - addTransformations(transformations):: std.foldl(function(p, t) p.addTransformation(t), transformations, self), - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/template.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/template.libsonnet deleted file mode 100644 index be253e19a..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/template.libsonnet +++ /dev/null @@ -1,289 +0,0 @@ -{ - /** - * Creates a [template](https://grafana.com/docs/grafana/latest/variables/#templates) that can be added to a dashboard. - * - * @name template.new - * - * @param name Name of variable. - * @param datasource Template [datasource](https://grafana.com/docs/grafana/latest/variables/variable-types/add-data-source-variable/) - * @param query [Query expression](https://grafana.com/docs/grafana/latest/variables/variable-types/add-query-variable/) for the datasource. - * @param label (optional) Display name of the variable dropdown. If null, then the dropdown label will be the variable name. - * @param allValues (optional) Formatting for [multi-value variables](https://grafana.com/docs/grafana/latest/variables/formatting-multi-value-variables/#formatting-multi-value-variables) - * @param tagValuesQuery (default `''`) Group values into [selectable tags](https://grafana.com/docs/grafana/latest/variables/variable-value-tags/) - * @param current (default `null`) Can be `null`, `'all'` for all, or any other custom text value. - * @param hide (default `''`) `''`: the variable dropdown displays the variable Name or Label value. `'label'`: the variable dropdown only displays the selected variable value and a down arrow. Any other value: no variable dropdown is displayed on the dashboard. - * @param regex (default `''`) Regex expression to filter or capture specific parts of the names returned by your data source query. To see examples, refer to [Filter variables with regex](https://grafana.com/docs/grafana/latest/variables/filter-variables-with-regex/). - * @param refresh (default `'never'`) `'never'`: variables queries are cached and values are not updated. This is fine if the values never change, but problematic if they are dynamic and change a lot. `'load'`: Queries the data source every time the dashboard loads. This slows down dashboard loading, because the variable query needs to be completed before dashboard can be initialized. `'time'`: Queries the data source when the dashboard time range changes. Only use this option if your variable options query contains a time range filter or is dependent on the dashboard time range. - * @param includeAll (default `false`) Whether all value option is available or not. - * @param multi (default `false`) Whether multiple values can be selected or not from variable value list. - * @param sort (default `0`) `0`: Without Sort, `1`: Alphabetical (asc), `2`: Alphabetical (desc), `3`: Numerical (asc), `4`: Numerical (desc). - * - * @return A [template](https://grafana.com/docs/grafana/latest/variables/#templates) - */ - new( - name, - datasource, - query, - label=null, - allValues=null, - tagValuesQuery='', - current=null, - hide='', - regex='', - refresh='never', - includeAll=false, - multi=false, - sort=0, - ):: - { - allValue: allValues, - current: $.current(current), - datasource: datasource, - includeAll: includeAll, - hide: $.hide(hide), - label: label, - multi: multi, - name: name, - options: [], - query: query, - refresh: $.refresh(refresh), - regex: regex, - sort: sort, - tagValuesQuery: tagValuesQuery, - tags: [], - tagsQuery: '', - type: 'query', - useTags: false, - }, - /** - * Use an [interval variable](https://grafana.com/docs/grafana/latest/variables/variable-types/add-interval-variable/) to represent time spans such as '1m', '1h', '1d'. You can think of them as a dashboard-wide "group by time" command. Interval variables change how the data is grouped in the visualization. You can also use the Auto Option to return a set number of data points per time span. - * You can use an interval variable as a parameter to group by time (for InfluxDB), date histogram interval (for Elasticsearch), or as a summarize function parameter (for Graphite). - * - * @name template.interval - * - * @param name Variable name - * @param query Comma separated values without spacing of intervals available for selection. Add `'auto'` in the query to turn on the Auto Option. Ex: `'auto,5m,10m,20m'`. - * @param current Currently selected interval. Must be one of the values in the query. `'auto'` is allowed if defined in the query. - * @param hide (default `''`) `''`: the variable dropdown displays the variable Name or Label value. `'label'`: the variable dropdown only displays the selected variable value and a down arrow. Any other value: no variable dropdown is displayed on the dashboard. - * @param label (optional) Display name of the variable dropdown. If null, then the dropdown label will be the variable name. - * @param auto_count (default `300`) Valid only if `'auto'` is defined in query. Number of times the current time range will be divided to calculate the value, similar to the Max data points query option. For example, if the current visible time range is 30 minutes, then the auto interval groups the data into 30 one-minute increments. The default value is 30 steps. - * @param auto_min (default `'10s'`) Valid only if `'auto'` is defined in query. The minimum threshold below which the step count intervals will not divide the time. To continue the 30 minute example, if the minimum interval is set to `'2m'`, then Grafana would group the data into 15 two-minute increments. - * - * @return A new interval variable for templating. - */ - interval( - name, - query, - current, - hide='', - label=null, - auto_count=300, - auto_min='10s', - ):: - { - current: $.current(current), - hide: $.hide(hide), - label: label, - name: name, - query: std.join(',', std.filter($.filterAuto, std.split(query, ','))), - refresh: 2, - type: 'interval', - auto: std.count(std.split(query, ','), 'auto') > 0, - auto_count: auto_count, - auto_min: auto_min, - }, - hide(hide):: - if hide == '' then 0 else if hide == 'label' then 1 else 2, - current(current):: { - [if current != null then 'text']: current, - [if current != null then 'value']: if current == 'auto' then - '$__auto_interval' - else if current == 'all' then - '$__all' - else - current, - }, - /** - * Data [source variables](https://grafana.com/docs/grafana/latest/variables/variable-types/add-data-source-variable/) - * allow you to quickly change the data source for an entire dashboard. - * They are useful if you have multiple instances of a data source, perhaps in different environments. - * - * @name template.datasource - * - * @param name Data source variable name. Ex: `'PROMETHEUS_DS'`. - * @param query Type of data source. Ex: `'prometheus'`. - * @param current Ex: `'Prometheus'`. - * @param hide (default `''`) `''`: the variable dropdown displays the variable Name or Label value. `'label'`: the variable dropdown only displays the selected variable value and a down arrow. Any other value: no variable dropdown is displayed on the dashboard. - * @param label (optional) Display name of the variable dropdown. If null, then the dropdown label will be the variable name. - * @param regex (default `''`) Regex filter for which data source instances to choose from in the variable value drop-down list. Leave this field empty to display all instances. - * @param refresh (default `'load'`) `'never'`: Variables queries are cached and values are not updated. This is fine if the values never change, but problematic if they are dynamic and change a lot. `'load'`: Queries the data source every time the dashboard loads. This slows down dashboard loading, because the variable query needs to be completed before dashboard can be initialized. `'time'`: Queries the data source when the dashboard time range changes. Only use this option if your variable options query contains a time range filter or is dependent on the dashboard time range. - * - * @return A [data source variable](https://grafana.com/docs/grafana/latest/variables/variable-types/add-data-source-variable/). - */ - datasource( - name, - query, - current, - hide='', - label=null, - regex='', - refresh='load', - ):: { - current: $.current(current), - hide: $.hide(hide), - label: label, - name: name, - options: [], - query: query, - refresh: $.refresh(refresh), - regex: regex, - type: 'datasource', - }, - refresh(refresh):: if refresh == 'never' - then - 0 - else if refresh == 'load' - then - 1 - else if refresh == 'time' - then - 2 - else - refresh, - filterAuto(str):: str != 'auto', - /** - * Use a [custom variable](https://grafana.com/docs/grafana/latest/variables/variable-types/add-custom-variable/) - * for values that do not change. - * - * @name template.custom - * This might be numbers, strings, or even other variables. - * @param name Variable name - * @param query Comma separated without spacing list of selectable values. - * @param current Selected value - * @param refresh (default `'never'`) `'never'`: Variables queries are cached and values are not updated. This is fine if the values never change, but problematic if they are dynamic and change a lot. `'load'`: Queries the data source every time the dashboard loads. This slows down dashboard loading, because the variable query needs to be completed before dashboard can be initialized. `'time'`: Queries the data source when the dashboard time range changes. Only use this option if your variable options query contains a time range filter or is dependent on the dashboard time range. - * @param label (default `''`) Display name of the variable dropdown. If you don’t enter a display name, then the dropdown label will be the variable name. - * @param valuelabels (default `{}`) Display names for values defined in query. For example, if `query='new,old'`, then you may display them as follows `valuelabels={new: 'nouveau', old: 'ancien'}`. - * @param multi (default `false`) Whether multiple values can be selected or not from variable value list. - * @param allValues (optional) Formatting for [multi-value variables](https://grafana.com/docs/grafana/latest/variables/formatting-multi-value-variables/#formatting-multi-value-variables) - * @param includeAll (default `false`) Whether all value option is available or not. - * @param hide (default `''`) `''`: the variable dropdown displays the variable Name or Label value. `'label'`: the variable dropdown only displays the selected variable value and a down arrow. Any other value: no variable dropdown is displayed on the dashboard. - * - * @return A custom variable. - */ - custom( - name, - query, - current, - refresh='never', - label='', - valuelabels={}, - multi=false, - allValues=null, - includeAll=false, - hide='', - ):: - { - // self has dynamic scope, so self may not be myself below. - // '$' can't be used neither as this object is not top-level object. - local custom = self, - - allValue: allValues, - current: { - // Both 'all' and 'All' are accepted for consistency. - value: if includeAll && (current == 'All' || current == 'all') then - if multi then ['$__all'] else '$__all' - else - current, - text: if std.isArray(current) then - std.join(' + ', std.map(custom.valuelabel, current)) - else - custom.valuelabel(current), - [if multi then 'selected']: true, - }, - options: std.map(self.option, self.query_array(query)), - hide: $.hide(hide), - includeAll: includeAll, - label: label, - refresh: $.refresh(refresh), - multi: multi, - name: name, - query: query, - type: 'custom', - - valuelabel(value):: if value in valuelabels then - valuelabels[value] - else value, - - option(option):: { - text: custom.valuelabel(option), - value: if includeAll && option == 'All' then '$__all' else option, - [if multi then 'selected']: if multi && std.isArray(current) then - std.member(current, option) - else if multi then - current == option - else - null, - }, - query_array(query):: std.split( - if includeAll then 'All,' + query else query, ',' - ), - }, - /** - * [Text box variables](https://grafana.com/docs/grafana/latest/variables/variable-types/add-text-box-variable/) - * display a free text input field with an optional default value. - * This is the most flexible variable, because you can enter any value. - * Use this type of variable if you have metrics with high cardinality or if you want to - * update multiple panels in a dashboard at the same time. - * - * @name template.text - * - * @param name Variable name. - * @param label (default `''`) Display name of the variable dropdown. If you don’t enter a display name, then the dropdown label will be the variable name. - * - * @return A text box variable. - */ - text( - name, - label='' - ):: - { - current: { - selected: false, - text: '', - value: '', - }, - name: name, - label: label, - query: '', - type: 'textbox', - }, - /** - * [Ad hoc filters](https://grafana.com/docs/grafana/latest/variables/variable-types/add-ad-hoc-filters/) - * allow you to add key/value filters that are automatically added to all metric queries - * that use the specified data source. Unlike other variables, you do not use ad hoc filters in queries. - * Instead, you use ad hoc filters to write filters for existing queries. - * Note: Ad hoc filter variables only work with InfluxDB, Prometheus, and Elasticsearch data sources. - * - * @name template.adhoc - * - * @param name Variable name. - * @param datasource Target data source - * @param label (optional) Display name of the variable dropdown. If you don’t enter a display name, then the dropdown label will be the variable name. - * @param hide (default `''`) `''`: the variable dropdown displays the variable Name or Label value. `'label'`: the variable dropdown only displays the selected variable value and a down arrow. Any other value: no variable dropdown is displayed on the dashboard. - * - * @return An ad hoc filter - */ - adhoc( - name, - datasource, - label=null, - hide='', - ):: - { - datasource: datasource, - hide: $.hide(hide), - label: label, - name: name, - type: 'adhoc', - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/text.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/text.libsonnet deleted file mode 100644 index 18020a678..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/text.libsonnet +++ /dev/null @@ -1,43 +0,0 @@ -{ - /** - * Creates a [text panel](https://grafana.com/docs/grafana/latest/panels/visualizations/text-panel/). - * - * @name text.new - * - * @param title (default `''`) Panel title. - * @param description (optional) Panel description. - * @param datasource (optional) Panel datasource. - * @param span (optional) - * @param content (default `''`) - * @param mode (default `'markdown'`) Rendering of the content: 'markdown','html', ... - * @param transparent (optional) Whether to display the panel without a background. - * @param repeat (optional) Name of variable that should be used to repeat this panel. - * @param repeatDirection (default `'h'`) 'h' for horizontal or 'v' for vertical. - * @param repeatMaxPerRow (optional) Maximum panels per row in repeat mode. - */ - new( - title='', - span=null, - mode='markdown', - content='', - transparent=null, - description=null, - datasource=null, - repeat=null, - repeatDirection=null, - repeatMaxPerRow=null, - ):: - { - [if transparent != null then 'transparent']: transparent, - title: title, - [if span != null then 'span']: span, - type: 'text', - mode: mode, - content: content, - [if description != null then 'description']: description, - datasource: datasource, - [if repeat != null then 'repeat']: repeat, - [if repeat != null then 'repeatDirection']: repeatDirection, - [if repeat != null then 'maxPerRow']: repeatMaxPerRow, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/timepicker.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/timepicker.libsonnet deleted file mode 100644 index 9c18bef86..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/timepicker.libsonnet +++ /dev/null @@ -1,40 +0,0 @@ -{ - /** - * Creates a Timepicker - * - * @name timepicker.new - * - * @param refresh_intervals (default: `['5s','10s','30s','1m','5m','15m','30m','1h','2h','1d']`) Array of time durations - * @param time_options (default: `['5m','15m','1h','6h','12h','24h','2d','7d','30d']`) Array of time durations - */ - new( - refresh_intervals=[ - '5s', - '10s', - '30s', - '1m', - '5m', - '15m', - '30m', - '1h', - '2h', - '1d', - ], - time_options=[ - '5m', - '15m', - '1h', - '6h', - '12h', - '24h', - '2d', - '7d', - '30d', - ], - nowDelay=null, - ):: { - refresh_intervals: refresh_intervals, - time_options: time_options, - [if nowDelay != null then 'nowDelay']: nowDelay, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/transformation.libsonnet b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/transformation.libsonnet deleted file mode 100644 index 5e62adeac..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana/grafonnet-lib/grafonnet/transformation.libsonnet +++ /dev/null @@ -1,12 +0,0 @@ -{ - /** - * @name transformation.new - */ - new( - id='', - options={} - ):: { - id: id, - options: options, - }, -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana_jsonnet.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana_jsonnet.go deleted file mode 100644 index 78a1873ac..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/grafana_jsonnet.go +++ /dev/null @@ -1,423 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - "bytes" - "embed" - "fmt" - "os" - "path/filepath" - "text/template" - - "github.com/google/go-jsonnet" - log "github.com/sirupsen/logrus" -) - -const TypeGrafana = "grafana" -const panelTargetTypeGraphPanel = "graphPanel" -const singleStatTypeGraphPanel = "singleStat" -const barGaugeTypeGraphPanel = "barGauge" -const heatmapTypeGraphPanel = "heatmap" -const panelTargetTypeLokiGraphPanel = "lokiGraphPanel" - -const jsonNetHeaderTemplate = ` -local grafana = import 'grafana.libsonnet'; -local dashboard = grafana.dashboard; -local row = grafana.row; -local singlestat = grafana.singlestat; -local graphPanel = grafana.graphPanel; -local heatmapPanel = grafana.heatmapPanel; -local barGaugePanel = grafana.barGaugePanel; -local table = grafana.table; -local prometheus = grafana.prometheus; -local template = grafana.template; -` - -const dashboardsTemplate = ` -dashboard.new( - schemaVersion={{.SchemaVersion}}, - title="{{.Title}}", - time_from="{{.TimeFrom}}", - tags={{.Tags}}, -)` - -const graphPanelTemplate = ` -.addPanel( - graphPanel.new( - datasource='prometheus', - title="{{.Title}}", - ) - .addTarget( - prometheus.target( - expr='{{.Expr}}', - legendFormat='{{.Legend}}', - ) - ), gridPos={ - x: 0, - y: 0, - w: 25, - h: 20, - } -)` - -const singleStatTemplate = ` -.addPanel( - singlestat.new( - datasource='prometheus', - title="{{.Title}}", - ) - .addTarget( - prometheus.target( - expr='{{.Expr}}', - legendFormat='{{.Legend}}', - ) - ), gridPos={ - x: 0, - y: 0, - w: 5, - h: 5, - } -)` - -// "{{`{{le}}`}}" is a trick to write "{{le}}" in a template without getting it to be parsed. -const barGaugeTemplate = ` -.addPanel( - barGaugePanel.new( - datasource='prometheus', - title="{{.Title}}", - thresholds=[ - { - "color": "green", - "value": null - } - ], - ) - .addTarget( - prometheus.target( - expr='{{.Expr}}', - format='heatmap', - legendFormat='{{.Legend}}', - ) - ), gridPos={ - x: 0, - y: 0, - w: 12, - h: 8, - } -)` - -// "{{`{{le}}`}}" is a trick to write "{{le}}" in a template without getting it to be parsed. -const heatmapTemplate = ` -.addPanel( - heatmapPanel.new( - datasource='prometheus', - title="{{.Title}}", - dataFormat="tsbuckets", - ) - .addTarget( - prometheus.target( - expr='{{.Expr}}', - format='heatmap', - legendFormat='{{.Legend}}', - ) - ), gridPos={ - x: 0, - y: 0, - w: 25, - h: 8, - } -)` - -const lokiGraphPanelTemplate = ` -.addPanel( - graphPanel.new( - datasource='loki', - title="{{.Title}}", - ) - .addTarget( - prometheus.target( - expr='{{.Expr}}', - legendFormat='{{.Legend}}', - ) - ), gridPos={ - x: 0, - y: 0, - w: 25, - h: 20, - } -)` - -type Dashboards map[string]Dashboard - -type Dashboard struct { - Name string - Header []byte - Panels []byte -} - -func (dashboard *Dashboard) generateDashboardJsonnet() []byte { - output := []byte(jsonNetHeaderTemplate) - output = append(output, dashboard.Header...) - output = append(output, dashboard.Panels...) - return output -} - -func (cg *ConfGen) generateGrafanaDashboards() (Dashboards, error) { - // generate dashboards - dashboards, err := cg.generateGrafanaJsonnetDashboards() - if err != nil { - log.Debugf("cg.generateGrafanaJsonnetDashboards err: %v ", err) - return nil, err - } - - // add all panels - dashboards, err = cg.addPanelsToDashboards(dashboards) - if err != nil { - log.Debugf("cg.addPanelsToDashboards err: %v ", err) - return nil, err - } - return dashboards, nil -} - -func (cg *ConfGen) generateGrafanaJsonnetFiles(folderName string, dashboards Dashboards) error { - err := os.MkdirAll(folderName, 0755) - if err != nil { - log.Debugf("os.MkdirAll err: %v ", err) - return err - } - // write to destination files - for _, dashboard := range dashboards { - output := dashboard.generateDashboardJsonnet() - - fileName := filepath.Join(folderName, "dashboard_"+dashboard.Name+".jsonnet") - err = os.WriteFile(fileName, output, 0644) - if err != nil { - log.Debugf("os.WriteFile to file %s err: %v ", fileName, err) - return err - } - } - - return nil -} - -func (cg *ConfGen) generateJsonFiles(folderName string, dashboards Dashboards) error { - err := os.MkdirAll(folderName, 0755) - if err != nil { - log.Debugf("os.MkdirAll err: %v ", err) - return err - } - // write to destination files - for _, dashboard := range dashboards { - jsonStr, err := cg.generateGrafanaJsonStr(dashboard) - if err != nil { - return err - } - fileName := filepath.Join(folderName, "dashboard_"+dashboard.Name+".json") - err = os.WriteFile(fileName, []byte(jsonStr), 0644) - if err != nil { - log.Debugf("os.WriteFile to file %s err: %v ", fileName, err) - return err - } - } - return nil -} - -func (cg *ConfGen) generateGrafanaJsonnetDashboards() (Dashboards, error) { - dashboards := Dashboards{} - dashboardTemplate := template.Must(template.New("dashboardTemplate").Parse(dashboardsTemplate)) - if cg.config == nil { - return nil, fmt.Errorf("config missing") - } - for _, dashboard := range cg.config.Visualization.Grafana.Dashboards { - newDashboard := new(bytes.Buffer) - err := dashboardTemplate.Execute(newDashboard, dashboard) - if err != nil { - log.Infof("dashboardTemplate.Execute for %s err: %v ", dashboard.Title, err) - continue - } - - dashboards[dashboard.Name] = Dashboard{ - Name: dashboard.Name, - Header: newDashboard.Bytes(), - Panels: []byte{}, - } - } - - return dashboards, nil -} - -func (cg *ConfGen) addPanelsToDashboards(dashboards Dashboards) (Dashboards, error) { - - graphPanelTemplate := template.Must(template.New("graphPanelTemplate").Parse(graphPanelTemplate)) - singleStatTemplate := template.Must(template.New("graphPanelTemplate").Parse(singleStatTemplate)) - barGaugeTemplate := template.Must(template.New("graphPanelTemplate").Parse(barGaugeTemplate)) - heatmapTemplate := template.Must(template.New("graphPanelTemplate").Parse(heatmapTemplate)) - - lokiGraphPanelTemplate := template.Must(template.New("graphPanelTemplate").Parse(lokiGraphPanelTemplate)) - - for _, definition := range cg.visualizations { - if definition.Type != TypeGrafana { - log.Infof("skipping definition of type %s", definition.Type) - continue - } - - for _, panelTarget := range definition.Grafana { - newPanel := new(bytes.Buffer) - switch panelTarget.Type { - case panelTargetTypeGraphPanel: - err := graphPanelTemplate.Execute(newPanel, panelTarget) - if err != nil { - log.Infof("addPanelAddTargetTemplate.Execute for %s err: %v ", panelTarget.Title, err) - continue - } - case singleStatTypeGraphPanel: - err := singleStatTemplate.Execute(newPanel, panelTarget) - if err != nil { - log.Infof("singleStatTemplate.Execute for %s err: %v ", panelTarget.Title, err) - continue - } - case barGaugeTypeGraphPanel: - err := barGaugeTemplate.Execute(newPanel, panelTarget) - if err != nil { - log.Infof("barGaugeTemplate.Execute for %s err: %v ", panelTarget.Title, err) - continue - } - case heatmapTypeGraphPanel: - err := heatmapTemplate.Execute(newPanel, panelTarget) - if err != nil { - log.Infof("heatmapTemplate.Execute for %s err: %v ", panelTarget.Title, err) - continue - } - case panelTargetTypeLokiGraphPanel: - err := lokiGraphPanelTemplate.Execute(newPanel, panelTarget) - if err != nil { - log.Infof("addPanelAddTargetTemplate.Execute for %s err: %v ", panelTarget.Title, err) - continue - } - default: - log.Infof("unsuported panelTarget.Type %s ", panelTarget.Type) - continue - } - - dashboard, ok := dashboards[panelTarget.Dashboard] - if ok { - dashboards[panelTarget.Dashboard] = Dashboard{ - Name: dashboard.Name, - Header: dashboard.Header, - Panels: append(dashboard.Panels, newPanel.Bytes()...), - } - } else { - log.Infof("can't find dashboard %s, skipping adding panel %s", panelTarget.Dashboard, panelTarget.Title) - } - } - } - - return dashboards, nil -} - -const grafanaDirPath = "grafana/grafonnet-lib/grafonnet" - -//go:embed grafana/grafonnet-lib/grafonnet -var grafanaDir embed.FS - -type embedImporter struct { - fsBase embed.FS - fsCache map[string]*fsCacheEntry -} - -type fsCacheEntry struct { - contents *[]byte - exists bool -} - -func (cg *ConfGen) GenerateGrafanaJson() (string, error) { - log.Debugf("grafanaDir = %v", grafanaDir) - dashboards, err := cg.generateGrafanaDashboards() - if err != nil { - log.Debugf("cg.generateGrafanaJsonnetDashboards err: %v ", err) - return "", err - } - panelsJson := "" - for _, dashboard := range dashboards { - jsonStr, err := cg.generateGrafanaJsonStr(dashboard) - if err != nil { - return "", err - } - panelsJson = panelsJson + jsonStr - } - return panelsJson, nil -} - -func (cg *ConfGen) generateGrafanaJsonStr(dashboard Dashboard) (string, error) { - vm := jsonnet.MakeVM() - importer := &embedImporter{fsBase: grafanaDir} - err := importer.initializeCache() - if err != nil { - log.Debugf("cg.generateGrafanaJsonnetDashboards err: %v ", err) - return "", err - } - vm.Importer(importer) - output := dashboard.generateDashboardJsonnet() - jsonStr, err := vm.EvaluateAnonymousSnippet("/dev/null", string(output)) - if err != nil { - log.Errorf("EvaluateFile failure, err = %v \n", err) - } - return jsonStr, nil -} - -func (importer *embedImporter) initializeCache() error { - importer.fsCache = make(map[string]*fsCacheEntry) - entries, err := importer.fsBase.ReadDir(grafanaDirPath) - if err != nil { - return fmt.Errorf("failed to access grafana directory: %w", err) - } - for _, entry := range entries { - fileName := entry.Name() - cacheEntry := &fsCacheEntry{ - exists: false, - } - importer.fsCache[fileName] = cacheEntry - } - return nil -} - -// Import is the function required by the Importer interface to find source files -func (importer *embedImporter) Import(importedFrom, importedPath string) (jsonnet.Contents, string, error) { - // ignore the importedFrom parameter - - // search for item in cache - entry, ok := importer.fsCache[importedPath] - if !ok { - contents := jsonnet.MakeContentsRaw([]byte{}) - return contents, importedPath, fmt.Errorf("grafana file not found: %s", importedPath) - } - if !entry.exists { - // read in the data - filePath := filepath.Join(grafanaDirPath, importedPath) - fileData, err := grafanaDir.ReadFile(filePath) - if err != nil { - contents := jsonnet.MakeContentsRaw([]byte{}) - return contents, importedPath, fmt.Errorf("error reading grafana file: %s", importedPath) - } - entry.exists = true - entry.contents = &fileData - } - contents := jsonnet.MakeContentsRaw(*entry.contents) - return contents, importedPath, nil -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/transform.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/transform.go deleted file mode 100644 index 7e5b8d917..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/transform.go +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - jsoniter "github.com/json-iterator/go" - "github.com/netobserv/flowlogs-pipeline/pkg/api" - "github.com/netobserv/flowlogs-pipeline/pkg/config" - log "github.com/sirupsen/logrus" -) - -func (cg *ConfGen) parseTransport(transform *map[string]interface{}) (*api.TransformNetwork, error) { - var jsoniterJson = jsoniter.ConfigCompatibleWithStandardLibrary - b, err := jsoniterJson.Marshal(transform) - if err != nil { - log.Debugf("jsoniterJson.Marshal err: %v ", err) - return nil, err - } - - var jsonNetworkTransform api.TransformNetwork - err = config.JsonUnmarshalStrict(b, &jsonNetworkTransform) - if err != nil { - log.Debugf("Unmarshal transform.TransformNetwork err: %v ", err) - return nil, err - } - - cg.transformRules = append(cg.transformRules, jsonNetworkTransform.Rules...) - return &jsonNetworkTransform, nil -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/visualization.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/visualization.go deleted file mode 100644 index 215aa4dc0..000000000 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/confgen/visualization.go +++ /dev/null @@ -1,73 +0,0 @@ -/* - * Copyright (C) 2021 IBM, Inc. - * - * 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 confgen - -import ( - jsoniter "github.com/json-iterator/go" - "github.com/netobserv/flowlogs-pipeline/pkg/config" - log "github.com/sirupsen/logrus" -) - -type VisualizationGrafana struct { - Expr string `yaml:"expr"` - Legend string `yaml:"legendFormat"` - Type string `yaml:"type"` - Title string `yaml:"title"` - Dashboard string `yaml:"dashboard"` -} - -type Visualization struct { - Type string `yaml:"type"` - Grafana []VisualizationGrafana `yaml:"grafana"` -} - -type ConfigVisualizationGrafanaDashboard struct { - Name string `yaml:"name"` - Title string `yaml:"title"` - TimeFrom string `yaml:"time_from"` - Tags string `yaml:"tags"` - SchemaVersion string `yaml:"schemaVersion"` -} - -type ConfigVisualizationGrafanaDashboards []ConfigVisualizationGrafanaDashboard - -type ConfigVisualizationGrafana struct { - Dashboards ConfigVisualizationGrafanaDashboards `yaml:"dashboards"` -} - -type Visualizations []Visualization - -func (cg *ConfGen) parseVisualization(visualization *Visualization) (*Visualization, error) { - var jsoniterJson = jsoniter.ConfigCompatibleWithStandardLibrary - localVisualization := *visualization - b, err := jsoniterJson.Marshal(&localVisualization) - if err != nil { - log.Debugf("jsoniterJson.Marshal err: %v ", err) - return nil, err - } - - var jsonVisualization Visualization - err = config.JsonUnmarshalStrict(b, &jsonVisualization) - if err != nil { - log.Debugf("Unmarshal aggregate.Definitions err: %v ", err) - return nil, err - } - - cg.visualizations = append(cg.visualizations, jsonVisualization) - return &jsonVisualization, nil -} diff --git a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/config/config.go b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/config/config.go index 6f01e56a3..d68139a5e 100644 --- a/vendor/github.com/netobserv/flowlogs-pipeline/pkg/config/config.go +++ b/vendor/github.com/netobserv/flowlogs-pipeline/pkg/config/config.go @@ -91,6 +91,7 @@ type Ingest struct { Kafka *api.IngestKafka `yaml:"kafka,omitempty" json:"kafka,omitempty"` GRPC *api.IngestGRPCProto `yaml:"grpc,omitempty" json:"grpc,omitempty"` Synthetic *api.IngestSynthetic `yaml:"synthetic,omitempty" json:"synthetic,omitempty"` + Stdin *api.IngestStdin `yaml:"stdin,omitempty" json:"stdin,omitempty"` } type File struct { diff --git a/vendor/github.com/prometheus/client_golang/prometheus/collectors/expvar_collector.go b/vendor/github.com/prometheus/client_golang/prometheus/collectors/expvar_collector.go index 3aa8d0590..b22d862fb 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/collectors/expvar_collector.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/collectors/expvar_collector.go @@ -22,7 +22,7 @@ import "github.com/prometheus/client_golang/prometheus" // Prometheus metrics. Note that the data models of expvar and Prometheus are // fundamentally different, and that the expvar Collector is inherently slower // than native Prometheus metrics. Thus, the expvar Collector is probably great -// for experiments and prototying, but you should seriously consider a more +// for experiments and prototyping, but you should seriously consider a more // direct implementation of Prometheus metrics for monitoring production // systems. // diff --git a/vendor/github.com/prometheus/client_golang/prometheus/collectors/go_collector_latest.go b/vendor/github.com/prometheus/client_golang/prometheus/collectors/go_collector_latest.go index 2f5616894..bcfa4fa10 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/collectors/go_collector_latest.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/collectors/go_collector_latest.go @@ -132,16 +132,19 @@ type GoCollectionOption uint32 const ( // GoRuntimeMemStatsCollection represents the metrics represented by runtime.MemStats structure. - // Deprecated. Use WithGoCollectorMemStatsMetricsDisabled() function to disable those metrics in the collector. + // + // Deprecated: Use WithGoCollectorMemStatsMetricsDisabled() function to disable those metrics in the collector. GoRuntimeMemStatsCollection GoCollectionOption = 1 << iota // GoRuntimeMetricsCollection is the new set of metrics represented by runtime/metrics package. - // Deprecated. Use WithGoCollectorRuntimeMetrics(GoRuntimeMetricsRule{Matcher: regexp.MustCompile("/.*")}) + // + // Deprecated: Use WithGoCollectorRuntimeMetrics(GoRuntimeMetricsRule{Matcher: regexp.MustCompile("/.*")}) // function to enable those metrics in the collector. GoRuntimeMetricsCollection ) // WithGoCollections allows enabling different collections for Go collector on top of base metrics. -// Deprecated. Use WithGoCollectorRuntimeMetrics() and WithGoCollectorMemStatsMetricsDisabled() instead to control metrics. +// +// Deprecated: Use WithGoCollectorRuntimeMetrics() and WithGoCollectorMemStatsMetricsDisabled() instead to control metrics. func WithGoCollections(flags GoCollectionOption) func(options *internal.GoCollectorOptions) { return func(options *internal.GoCollectorOptions) { if flags&GoRuntimeMemStatsCollection == 0 { diff --git a/vendor/github.com/prometheus/client_golang/prometheus/counter.go b/vendor/github.com/prometheus/client_golang/prometheus/counter.go index 62de4dc59..4ce84e7a8 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/counter.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/counter.go @@ -20,6 +20,7 @@ import ( "time" dto "github.com/prometheus/client_model/go" + "google.golang.org/protobuf/types/known/timestamppb" ) // Counter is a Metric that represents a single numerical value that only ever @@ -66,7 +67,7 @@ type CounterVecOpts struct { CounterOpts // VariableLabels are used to partition the metric vector by the given set - // of labels. Each label value will be constrained with the optional Contraint + // of labels. Each label value will be constrained with the optional Constraint // function, if provided. VariableLabels ConstrainableLabels } @@ -90,8 +91,12 @@ func NewCounter(opts CounterOpts) Counter { nil, opts.ConstLabels, ) - result := &counter{desc: desc, labelPairs: desc.constLabelPairs, now: time.Now} + if opts.now == nil { + opts.now = time.Now + } + result := &counter{desc: desc, labelPairs: desc.constLabelPairs, now: opts.now} result.init(result) // Init self-collection. + result.createdTs = timestamppb.New(opts.now()) return result } @@ -106,10 +111,12 @@ type counter struct { selfCollector desc *Desc + createdTs *timestamppb.Timestamp labelPairs []*dto.LabelPair exemplar atomic.Value // Containing nil or a *dto.Exemplar. - now func() time.Time // To mock out time.Now() for testing. + // now is for testing purposes, by default it's time.Now. + now func() time.Time } func (c *counter) Desc() *Desc { @@ -159,8 +166,7 @@ func (c *counter) Write(out *dto.Metric) error { exemplar = e.(*dto.Exemplar) } val := c.get() - - return populateMetric(CounterValue, val, c.labelPairs, exemplar, out) + return populateMetric(CounterValue, val, c.labelPairs, exemplar, out, c.createdTs) } func (c *counter) updateExemplar(v float64, l Labels) { @@ -200,13 +206,17 @@ func (v2) NewCounterVec(opts CounterVecOpts) *CounterVec { opts.VariableLabels, opts.ConstLabels, ) + if opts.now == nil { + opts.now = time.Now + } return &CounterVec{ MetricVec: NewMetricVec(desc, func(lvs ...string) Metric { - if len(lvs) != len(desc.variableLabels) { - panic(makeInconsistentCardinalityError(desc.fqName, desc.variableLabels.labelNames(), lvs)) + if len(lvs) != len(desc.variableLabels.names) { + panic(makeInconsistentCardinalityError(desc.fqName, desc.variableLabels.names, lvs)) } - result := &counter{desc: desc, labelPairs: MakeLabelPairs(desc, lvs), now: time.Now} + result := &counter{desc: desc, labelPairs: MakeLabelPairs(desc, lvs), now: opts.now} result.init(result) // Init self-collection. + result.createdTs = timestamppb.New(opts.now()) return result }), } diff --git a/vendor/github.com/prometheus/client_golang/prometheus/desc.go b/vendor/github.com/prometheus/client_golang/prometheus/desc.go index deedc2dfb..68ffe3c24 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/desc.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/desc.go @@ -52,7 +52,7 @@ type Desc struct { constLabelPairs []*dto.LabelPair // variableLabels contains names of labels and normalization function for // which the metric maintains variable values. - variableLabels ConstrainedLabels + variableLabels *compiledLabels // id is a hash of the values of the ConstLabels and fqName. This // must be unique among all registered descriptors and can therefore be // used as an identifier of the descriptor. @@ -93,7 +93,7 @@ func (v2) NewDesc(fqName, help string, variableLabels ConstrainableLabels, const d := &Desc{ fqName: fqName, help: help, - variableLabels: variableLabels.constrainedLabels(), + variableLabels: variableLabels.compile(), } if !model.IsValidMetricName(model.LabelValue(fqName)) { d.err = fmt.Errorf("%q is not a valid metric name", fqName) @@ -103,7 +103,7 @@ func (v2) NewDesc(fqName, help string, variableLabels ConstrainableLabels, const // their sorted label names) plus the fqName (at position 0). labelValues := make([]string, 1, len(constLabels)+1) labelValues[0] = fqName - labelNames := make([]string, 0, len(constLabels)+len(d.variableLabels)) + labelNames := make([]string, 0, len(constLabels)+len(d.variableLabels.names)) labelNameSet := map[string]struct{}{} // First add only the const label names and sort them... for labelName := range constLabels { @@ -128,13 +128,13 @@ func (v2) NewDesc(fqName, help string, variableLabels ConstrainableLabels, const // Now add the variable label names, but prefix them with something that // cannot be in a regular label name. That prevents matching the label // dimension with a different mix between preset and variable labels. - for _, label := range d.variableLabels { - if !checkLabelName(label.Name) { - d.err = fmt.Errorf("%q is not a valid label name for metric %q", label.Name, fqName) + for _, label := range d.variableLabels.names { + if !checkLabelName(label) { + d.err = fmt.Errorf("%q is not a valid label name for metric %q", label, fqName) return d } - labelNames = append(labelNames, "$"+label.Name) - labelNameSet[label.Name] = struct{}{} + labelNames = append(labelNames, "$"+label) + labelNameSet[label] = struct{}{} } if len(labelNames) != len(labelNameSet) { d.err = fmt.Errorf("duplicate label names in constant and variable labels for metric %q", fqName) @@ -189,11 +189,19 @@ func (d *Desc) String() string { fmt.Sprintf("%s=%q", lp.GetName(), lp.GetValue()), ) } + vlStrings := make([]string, 0, len(d.variableLabels.names)) + for _, vl := range d.variableLabels.names { + if fn, ok := d.variableLabels.labelConstraints[vl]; ok && fn != nil { + vlStrings = append(vlStrings, fmt.Sprintf("c(%s)", vl)) + } else { + vlStrings = append(vlStrings, vl) + } + } return fmt.Sprintf( - "Desc{fqName: %q, help: %q, constLabels: {%s}, variableLabels: %v}", + "Desc{fqName: %q, help: %q, constLabels: {%s}, variableLabels: {%s}}", d.fqName, d.help, strings.Join(lpStrings, ","), - d.variableLabels, + strings.Join(vlStrings, ","), ) } diff --git a/vendor/github.com/prometheus/client_golang/prometheus/expvar_collector.go b/vendor/github.com/prometheus/client_golang/prometheus/expvar_collector.go index c41ab37f3..de5a85629 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/expvar_collector.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/expvar_collector.go @@ -48,7 +48,7 @@ func (e *expvarCollector) Collect(ch chan<- Metric) { continue } var v interface{} - labels := make([]string, len(desc.variableLabels)) + labels := make([]string, len(desc.variableLabels.names)) if err := json.Unmarshal([]byte(expVar.String()), &v); err != nil { ch <- NewInvalidMetric(desc, err) continue diff --git a/vendor/github.com/prometheus/client_golang/prometheus/gauge.go b/vendor/github.com/prometheus/client_golang/prometheus/gauge.go index f1ea6c76f..dd2eac940 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/gauge.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/gauge.go @@ -62,7 +62,7 @@ type GaugeVecOpts struct { GaugeOpts // VariableLabels are used to partition the metric vector by the given set - // of labels. Each label value will be constrained with the optional Contraint + // of labels. Each label value will be constrained with the optional Constraint // function, if provided. VariableLabels ConstrainableLabels } @@ -135,7 +135,7 @@ func (g *gauge) Sub(val float64) { func (g *gauge) Write(out *dto.Metric) error { val := math.Float64frombits(atomic.LoadUint64(&g.valBits)) - return populateMetric(GaugeValue, val, g.labelPairs, nil, out) + return populateMetric(GaugeValue, val, g.labelPairs, nil, out, nil) } // GaugeVec is a Collector that bundles a set of Gauges that all share the same @@ -166,8 +166,8 @@ func (v2) NewGaugeVec(opts GaugeVecOpts) *GaugeVec { ) return &GaugeVec{ MetricVec: NewMetricVec(desc, func(lvs ...string) Metric { - if len(lvs) != len(desc.variableLabels) { - panic(makeInconsistentCardinalityError(desc.fqName, desc.variableLabels.labelNames(), lvs)) + if len(lvs) != len(desc.variableLabels.names) { + panic(makeInconsistentCardinalityError(desc.fqName, desc.variableLabels.names, lvs)) } result := &gauge{desc: desc, labelPairs: MakeLabelPairs(desc, lvs)} result.init(result) // Init self-collection. diff --git a/vendor/github.com/prometheus/client_golang/prometheus/histogram.go b/vendor/github.com/prometheus/client_golang/prometheus/histogram.go index 8d818afe9..1feba62c6 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/histogram.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/histogram.go @@ -25,6 +25,7 @@ import ( dto "github.com/prometheus/client_model/go" "google.golang.org/protobuf/proto" + "google.golang.org/protobuf/types/known/timestamppb" ) // nativeHistogramBounds for the frac of observed values. Only relevant for @@ -391,7 +392,7 @@ type HistogramOpts struct { // zero, it is replaced by default buckets. The default buckets are // DefBuckets if no buckets for a native histogram (see below) are used, // otherwise the default is no buckets. (In other words, if you want to - // use both reguler buckets and buckets for a native histogram, you have + // use both regular buckets and buckets for a native histogram, you have // to define the regular buckets here explicitly.) Buckets []float64 @@ -413,8 +414,8 @@ type HistogramOpts struct { // and 2, same as between 2 and 4, and 4 and 8, etc.). // // Details about the actually used factor: The factor is calculated as - // 2^(2^n), where n is an integer number between (and including) -8 and - // 4. n is chosen so that the resulting factor is the largest that is + // 2^(2^-n), where n is an integer number between (and including) -4 and + // 8. n is chosen so that the resulting factor is the largest that is // still smaller or equal to NativeHistogramBucketFactor. Note that the // smallest possible factor is therefore approx. 1.00271 (i.e. 2^(2^-8) // ). If NativeHistogramBucketFactor is greater than 1 but smaller than @@ -428,12 +429,12 @@ type HistogramOpts struct { // a major version bump. NativeHistogramBucketFactor float64 // All observations with an absolute value of less or equal - // NativeHistogramZeroThreshold are accumulated into a “zero” - // bucket. For best results, this should be close to a bucket - // boundary. This is usually the case if picking a power of two. If + // NativeHistogramZeroThreshold are accumulated into a “zero” bucket. + // For best results, this should be close to a bucket boundary. This is + // usually the case if picking a power of two. If // NativeHistogramZeroThreshold is left at zero, - // DefNativeHistogramZeroThreshold is used as the threshold. To configure - // a zero bucket with an actual threshold of zero (i.e. only + // DefNativeHistogramZeroThreshold is used as the threshold. To + // configure a zero bucket with an actual threshold of zero (i.e. only // observations of precisely zero will go into the zero bucket), set // NativeHistogramZeroThreshold to the NativeHistogramZeroThresholdZero // constant (or any negative float value). @@ -446,26 +447,34 @@ type HistogramOpts struct { // Histogram are sufficiently wide-spread. In particular, this could be // used as a DoS attack vector. Where the observed values depend on // external inputs, it is highly recommended to set a - // NativeHistogramMaxBucketNumber.) Once the set + // NativeHistogramMaxBucketNumber.) Once the set // NativeHistogramMaxBucketNumber is exceeded, the following strategy is - // enacted: First, if the last reset (or the creation) of the histogram - // is at least NativeHistogramMinResetDuration ago, then the whole - // histogram is reset to its initial state (including regular - // buckets). If less time has passed, or if - // NativeHistogramMinResetDuration is zero, no reset is - // performed. Instead, the zero threshold is increased sufficiently to - // reduce the number of buckets to or below - // NativeHistogramMaxBucketNumber, but not to more than - // NativeHistogramMaxZeroThreshold. Thus, if - // NativeHistogramMaxZeroThreshold is already at or below the current - // zero threshold, nothing happens at this step. After that, if the - // number of buckets still exceeds NativeHistogramMaxBucketNumber, the - // resolution of the histogram is reduced by doubling the width of the - // sparse buckets (up to a growth factor between one bucket to the next - // of 2^(2^4) = 65536, see above). + // enacted: + // - First, if the last reset (or the creation) of the histogram is at + // least NativeHistogramMinResetDuration ago, then the whole + // histogram is reset to its initial state (including regular + // buckets). + // - If less time has passed, or if NativeHistogramMinResetDuration is + // zero, no reset is performed. Instead, the zero threshold is + // increased sufficiently to reduce the number of buckets to or below + // NativeHistogramMaxBucketNumber, but not to more than + // NativeHistogramMaxZeroThreshold. Thus, if + // NativeHistogramMaxZeroThreshold is already at or below the current + // zero threshold, nothing happens at this step. + // - After that, if the number of buckets still exceeds + // NativeHistogramMaxBucketNumber, the resolution of the histogram is + // reduced by doubling the width of the sparse buckets (up to a + // growth factor between one bucket to the next of 2^(2^4) = 65536, + // see above). + // - Any increased zero threshold or reduced resolution is reset back + // to their original values once NativeHistogramMinResetDuration has + // passed (since the last reset or the creation of the histogram). NativeHistogramMaxBucketNumber uint32 NativeHistogramMinResetDuration time.Duration NativeHistogramMaxZeroThreshold float64 + + // now is for testing purposes, by default it's time.Now. + now func() time.Time } // HistogramVecOpts bundles the options to create a HistogramVec metric. @@ -475,7 +484,7 @@ type HistogramVecOpts struct { HistogramOpts // VariableLabels are used to partition the metric vector by the given set - // of labels. Each label value will be constrained with the optional Contraint + // of labels. Each label value will be constrained with the optional Constraint // function, if provided. VariableLabels ConstrainableLabels } @@ -499,12 +508,12 @@ func NewHistogram(opts HistogramOpts) Histogram { } func newHistogram(desc *Desc, opts HistogramOpts, labelValues ...string) Histogram { - if len(desc.variableLabels) != len(labelValues) { - panic(makeInconsistentCardinalityError(desc.fqName, desc.variableLabels.labelNames(), labelValues)) + if len(desc.variableLabels.names) != len(labelValues) { + panic(makeInconsistentCardinalityError(desc.fqName, desc.variableLabels.names, labelValues)) } - for _, n := range desc.variableLabels { - if n.Name == bucketLabel { + for _, n := range desc.variableLabels.names { + if n == bucketLabel { panic(errBucketLabelNotAllowed) } } @@ -514,6 +523,10 @@ func newHistogram(desc *Desc, opts HistogramOpts, labelValues ...string) Histogr } } + if opts.now == nil { + opts.now = time.Now + } + h := &histogram{ desc: desc, upperBounds: opts.Buckets, @@ -521,8 +534,8 @@ func newHistogram(desc *Desc, opts HistogramOpts, labelValues ...string) Histogr nativeHistogramMaxBuckets: opts.NativeHistogramMaxBucketNumber, nativeHistogramMaxZeroThreshold: opts.NativeHistogramMaxZeroThreshold, nativeHistogramMinResetDuration: opts.NativeHistogramMinResetDuration, - lastResetTime: time.Now(), - now: time.Now, + lastResetTime: opts.now(), + now: opts.now, } if len(h.upperBounds) == 0 && opts.NativeHistogramBucketFactor <= 1 { h.upperBounds = DefBuckets @@ -701,9 +714,11 @@ type histogram struct { nativeHistogramMaxZeroThreshold float64 nativeHistogramMaxBuckets uint32 nativeHistogramMinResetDuration time.Duration - lastResetTime time.Time // Protected by mtx. + // lastResetTime is protected by mtx. It is also used as created timestamp. + lastResetTime time.Time - now func() time.Time // To mock out time.Now() for testing. + // now is for testing purposes, by default it's time.Now. + now func() time.Time } func (h *histogram) Desc() *Desc { @@ -742,9 +757,10 @@ func (h *histogram) Write(out *dto.Metric) error { waitForCooldown(count, coldCounts) his := &dto.Histogram{ - Bucket: make([]*dto.Bucket, len(h.upperBounds)), - SampleCount: proto.Uint64(count), - SampleSum: proto.Float64(math.Float64frombits(atomic.LoadUint64(&coldCounts.sumBits))), + Bucket: make([]*dto.Bucket, len(h.upperBounds)), + SampleCount: proto.Uint64(count), + SampleSum: proto.Float64(math.Float64frombits(atomic.LoadUint64(&coldCounts.sumBits))), + CreatedTimestamp: timestamppb.New(h.lastResetTime), } out.Histogram = his out.Label = h.labelPairs @@ -782,6 +798,16 @@ func (h *histogram) Write(out *dto.Metric) error { his.ZeroCount = proto.Uint64(zeroBucket) his.NegativeSpan, his.NegativeDelta = makeBuckets(&coldCounts.nativeHistogramBucketsNegative) his.PositiveSpan, his.PositiveDelta = makeBuckets(&coldCounts.nativeHistogramBucketsPositive) + + // Add a no-op span to a histogram without observations and with + // a zero threshold of zero. Otherwise, a native histogram would + // look like a classic histogram to scrapers. + if *his.ZeroThreshold == 0 && *his.ZeroCount == 0 && len(his.PositiveSpan) == 0 && len(his.NegativeSpan) == 0 { + his.PositiveSpan = []*dto.BucketSpan{{ + Offset: proto.Int32(0), + Length: proto.Uint32(0), + }} + } } addAndResetCounts(hotCounts, coldCounts) return nil @@ -854,20 +880,23 @@ func (h *histogram) limitBuckets(counts *histogramCounts, value float64, bucket h.doubleBucketWidth(hotCounts, coldCounts) } -// maybeReset resests the whole histogram if at least h.nativeHistogramMinResetDuration +// maybeReset resets the whole histogram if at least h.nativeHistogramMinResetDuration // has been passed. It returns true if the histogram has been reset. The caller // must have locked h.mtx. -func (h *histogram) maybeReset(hot, cold *histogramCounts, coldIdx uint64, value float64, bucket int) bool { +func (h *histogram) maybeReset( + hot, cold *histogramCounts, coldIdx uint64, value float64, bucket int, +) bool { // We are using the possibly mocked h.now() rather than // time.Since(h.lastResetTime) to enable testing. - if h.nativeHistogramMinResetDuration == 0 || h.now().Sub(h.lastResetTime) < h.nativeHistogramMinResetDuration { + if h.nativeHistogramMinResetDuration == 0 || + h.now().Sub(h.lastResetTime) < h.nativeHistogramMinResetDuration { return false } // Completely reset coldCounts. h.resetCounts(cold) // Repeat the latest observation to not lose it completely. cold.observe(value, bucket, true) - // Make coldCounts the new hot counts while ressetting countAndHotIdx. + // Make coldCounts the new hot counts while resetting countAndHotIdx. n := atomic.SwapUint64(&h.countAndHotIdx, (coldIdx<<63)+1) count := n & ((1 << 63) - 1) waitForCooldown(count, hot) @@ -1176,6 +1205,7 @@ type constHistogram struct { sum float64 buckets map[float64]uint64 labelPairs []*dto.LabelPair + createdTs *timestamppb.Timestamp } func (h *constHistogram) Desc() *Desc { @@ -1183,7 +1213,9 @@ func (h *constHistogram) Desc() *Desc { } func (h *constHistogram) Write(out *dto.Metric) error { - his := &dto.Histogram{} + his := &dto.Histogram{ + CreatedTimestamp: h.createdTs, + } buckets := make([]*dto.Bucket, 0, len(h.buckets)) @@ -1230,7 +1262,7 @@ func NewConstHistogram( if desc.err != nil { return nil, desc.err } - if err := validateLabelValues(labelValues, len(desc.variableLabels)); err != nil { + if err := validateLabelValues(labelValues, len(desc.variableLabels.names)); err != nil { return nil, err } return &constHistogram{ @@ -1324,7 +1356,7 @@ func makeBuckets(buckets *sync.Map) ([]*dto.BucketSpan, []int64) { // Multiple spans with only small gaps in between are probably // encoded more efficiently as one larger span with a few empty // buckets. Needs some research to find the sweet spot. For now, - // we assume that gaps of one ore two buckets should not create + // we assume that gaps of one or two buckets should not create // a new span. iDelta := int32(i - nextI) if n == 0 || iDelta > 2 { diff --git a/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go b/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go index fd0750f2c..a595a2036 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/internal/difflib.go @@ -14,7 +14,7 @@ // It provides tools to compare sequences of strings and generate textual diffs. // // Maintaining `GetUnifiedDiffString` here because original repository -// (https://github.com/pmezard/go-difflib) is no loger maintained. +// (https://github.com/pmezard/go-difflib) is no longer maintained. package internal import ( diff --git a/vendor/github.com/prometheus/client_golang/prometheus/labels.go b/vendor/github.com/prometheus/client_golang/prometheus/labels.go index 63ff8683c..b3c4eca2b 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/labels.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/labels.go @@ -32,19 +32,15 @@ import ( // create a Desc. type Labels map[string]string +// LabelConstraint normalizes label values. +type LabelConstraint func(string) string + // ConstrainedLabels represents a label name and its constrain function // to normalize label values. This type is commonly used when constructing // metric vector Collectors. type ConstrainedLabel struct { Name string - Constraint func(string) string -} - -func (cl ConstrainedLabel) Constrain(v string) string { - if cl.Constraint == nil { - return v - } - return cl.Constraint(v) + Constraint LabelConstraint } // ConstrainableLabels is an interface that allows creating of labels that can @@ -58,7 +54,7 @@ func (cl ConstrainedLabel) Constrain(v string) string { // }, // }) type ConstrainableLabels interface { - constrainedLabels() ConstrainedLabels + compile() *compiledLabels labelNames() []string } @@ -67,8 +63,20 @@ type ConstrainableLabels interface { // metric vector Collectors. type ConstrainedLabels []ConstrainedLabel -func (cls ConstrainedLabels) constrainedLabels() ConstrainedLabels { - return cls +func (cls ConstrainedLabels) compile() *compiledLabels { + compiled := &compiledLabels{ + names: make([]string, len(cls)), + labelConstraints: map[string]LabelConstraint{}, + } + + for i, label := range cls { + compiled.names[i] = label.Name + if label.Constraint != nil { + compiled.labelConstraints[label.Name] = label.Constraint + } + } + + return compiled } func (cls ConstrainedLabels) labelNames() []string { @@ -92,18 +100,36 @@ func (cls ConstrainedLabels) labelNames() []string { // } type UnconstrainedLabels []string -func (uls UnconstrainedLabels) constrainedLabels() ConstrainedLabels { - constrainedLabels := make([]ConstrainedLabel, len(uls)) - for i, l := range uls { - constrainedLabels[i] = ConstrainedLabel{Name: l} +func (uls UnconstrainedLabels) compile() *compiledLabels { + return &compiledLabels{ + names: uls, } - return constrainedLabels } func (uls UnconstrainedLabels) labelNames() []string { return uls } +type compiledLabels struct { + names []string + labelConstraints map[string]LabelConstraint +} + +func (cls *compiledLabels) compile() *compiledLabels { + return cls +} + +func (cls *compiledLabels) labelNames() []string { + return cls.names +} + +func (cls *compiledLabels) constrain(labelName, value string) string { + if fn, ok := cls.labelConstraints[labelName]; ok && fn != nil { + return fn(value) + } + return value +} + // reservedLabelPrefix is a prefix which is not legal in user-supplied // label names. const reservedLabelPrefix = "__" diff --git a/vendor/github.com/prometheus/client_golang/prometheus/metric.go b/vendor/github.com/prometheus/client_golang/prometheus/metric.go index 07bbc9d76..f018e5723 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/metric.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/metric.go @@ -92,6 +92,9 @@ type Opts struct { // machine_role metric). See also // https://prometheus.io/docs/instrumenting/writing_exporters/#target-labels-not-static-scraped-labels ConstLabels Labels + + // now is for testing purposes, by default it's time.Now. + now func() time.Time } // BuildFQName joins the given three name components by "_". Empty name diff --git a/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go b/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go index 3793036ad..356edb786 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/promhttp/instrument_server.go @@ -389,15 +389,12 @@ func isLabelCurried(c prometheus.Collector, label string) bool { return true } -// emptyLabels is a one-time allocation for non-partitioned metrics to avoid -// unnecessary allocations on each request. -var emptyLabels = prometheus.Labels{} - func labels(code, method bool, reqMethod string, status int, extraMethods ...string) prometheus.Labels { + labels := prometheus.Labels{} + if !(code || method) { - return emptyLabels + return labels } - labels := prometheus.Labels{} if code { labels["code"] = sanitizeCode(status) diff --git a/vendor/github.com/prometheus/client_golang/prometheus/registry.go b/vendor/github.com/prometheus/client_golang/prometheus/registry.go index 44da9433b..5e2ced25a 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/registry.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/registry.go @@ -548,7 +548,7 @@ func (r *Registry) Gather() ([]*dto.MetricFamily, error) { goroutineBudget-- runtime.Gosched() } - // Once both checkedMetricChan and uncheckdMetricChan are closed + // Once both checkedMetricChan and uncheckedMetricChan are closed // and drained, the contraption above will nil out cmc and umc, // and then we can leave the collect loop here. if cmc == nil && umc == nil { @@ -963,9 +963,9 @@ func checkDescConsistency( // Is the desc consistent with the content of the metric? lpsFromDesc := make([]*dto.LabelPair, len(desc.constLabelPairs), len(dtoMetric.Label)) copy(lpsFromDesc, desc.constLabelPairs) - for _, l := range desc.variableLabels { + for _, l := range desc.variableLabels.names { lpsFromDesc = append(lpsFromDesc, &dto.LabelPair{ - Name: proto.String(l.Name), + Name: proto.String(l), }) } if len(lpsFromDesc) != len(dtoMetric.Label) { diff --git a/vendor/github.com/prometheus/client_golang/prometheus/summary.go b/vendor/github.com/prometheus/client_golang/prometheus/summary.go index dd359264e..146270444 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/summary.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/summary.go @@ -26,6 +26,7 @@ import ( "github.com/beorn7/perks/quantile" "google.golang.org/protobuf/proto" + "google.golang.org/protobuf/types/known/timestamppb" ) // quantileLabel is used for the label that defines the quantile in a @@ -145,6 +146,9 @@ type SummaryOpts struct { // is the internal buffer size of the underlying package // "github.com/bmizerany/perks/quantile"). BufCap uint32 + + // now is for testing purposes, by default it's time.Now. + now func() time.Time } // SummaryVecOpts bundles the options to create a SummaryVec metric. @@ -154,7 +158,7 @@ type SummaryVecOpts struct { SummaryOpts // VariableLabels are used to partition the metric vector by the given set - // of labels. Each label value will be constrained with the optional Contraint + // of labels. Each label value will be constrained with the optional Constraint // function, if provided. VariableLabels ConstrainableLabels } @@ -188,12 +192,12 @@ func NewSummary(opts SummaryOpts) Summary { } func newSummary(desc *Desc, opts SummaryOpts, labelValues ...string) Summary { - if len(desc.variableLabels) != len(labelValues) { - panic(makeInconsistentCardinalityError(desc.fqName, desc.variableLabels.labelNames(), labelValues)) + if len(desc.variableLabels.names) != len(labelValues) { + panic(makeInconsistentCardinalityError(desc.fqName, desc.variableLabels.names, labelValues)) } - for _, n := range desc.variableLabels { - if n.Name == quantileLabel { + for _, n := range desc.variableLabels.names { + if n == quantileLabel { panic(errQuantileLabelNotAllowed) } } @@ -222,6 +226,9 @@ func newSummary(desc *Desc, opts SummaryOpts, labelValues ...string) Summary { opts.BufCap = DefBufCap } + if opts.now == nil { + opts.now = time.Now + } if len(opts.Objectives) == 0 { // Use the lock-free implementation of a Summary without objectives. s := &noObjectivesSummary{ @@ -230,6 +237,7 @@ func newSummary(desc *Desc, opts SummaryOpts, labelValues ...string) Summary { counts: [2]*summaryCounts{{}, {}}, } s.init(s) // Init self-collection. + s.createdTs = timestamppb.New(opts.now()) return s } @@ -245,7 +253,7 @@ func newSummary(desc *Desc, opts SummaryOpts, labelValues ...string) Summary { coldBuf: make([]float64, 0, opts.BufCap), streamDuration: opts.MaxAge / time.Duration(opts.AgeBuckets), } - s.headStreamExpTime = time.Now().Add(s.streamDuration) + s.headStreamExpTime = opts.now().Add(s.streamDuration) s.hotBufExpTime = s.headStreamExpTime for i := uint32(0); i < opts.AgeBuckets; i++ { @@ -259,6 +267,7 @@ func newSummary(desc *Desc, opts SummaryOpts, labelValues ...string) Summary { sort.Float64s(s.sortedObjectives) s.init(s) // Init self-collection. + s.createdTs = timestamppb.New(opts.now()) return s } @@ -286,6 +295,8 @@ type summary struct { headStream *quantile.Stream headStreamIdx int headStreamExpTime, hotBufExpTime time.Time + + createdTs *timestamppb.Timestamp } func (s *summary) Desc() *Desc { @@ -307,7 +318,9 @@ func (s *summary) Observe(v float64) { } func (s *summary) Write(out *dto.Metric) error { - sum := &dto.Summary{} + sum := &dto.Summary{ + CreatedTimestamp: s.createdTs, + } qs := make([]*dto.Quantile, 0, len(s.objectives)) s.bufMtx.Lock() @@ -440,6 +453,8 @@ type noObjectivesSummary struct { counts [2]*summaryCounts labelPairs []*dto.LabelPair + + createdTs *timestamppb.Timestamp } func (s *noObjectivesSummary) Desc() *Desc { @@ -490,8 +505,9 @@ func (s *noObjectivesSummary) Write(out *dto.Metric) error { } sum := &dto.Summary{ - SampleCount: proto.Uint64(count), - SampleSum: proto.Float64(math.Float64frombits(atomic.LoadUint64(&coldCounts.sumBits))), + SampleCount: proto.Uint64(count), + SampleSum: proto.Float64(math.Float64frombits(atomic.LoadUint64(&coldCounts.sumBits))), + CreatedTimestamp: s.createdTs, } out.Summary = sum @@ -681,6 +697,7 @@ type constSummary struct { sum float64 quantiles map[float64]float64 labelPairs []*dto.LabelPair + createdTs *timestamppb.Timestamp } func (s *constSummary) Desc() *Desc { @@ -688,7 +705,9 @@ func (s *constSummary) Desc() *Desc { } func (s *constSummary) Write(out *dto.Metric) error { - sum := &dto.Summary{} + sum := &dto.Summary{ + CreatedTimestamp: s.createdTs, + } qs := make([]*dto.Quantile, 0, len(s.quantiles)) sum.SampleCount = proto.Uint64(s.count) @@ -737,7 +756,7 @@ func NewConstSummary( if desc.err != nil { return nil, desc.err } - if err := validateLabelValues(labelValues, len(desc.variableLabels)); err != nil { + if err := validateLabelValues(labelValues, len(desc.variableLabels.names)); err != nil { return nil, err } return &constSummary{ diff --git a/vendor/github.com/prometheus/client_golang/prometheus/value.go b/vendor/github.com/prometheus/client_golang/prometheus/value.go index 5f6bb8001..cc23011fa 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/value.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/value.go @@ -14,6 +14,7 @@ package prometheus import ( + "errors" "fmt" "sort" "time" @@ -91,7 +92,7 @@ func (v *valueFunc) Desc() *Desc { } func (v *valueFunc) Write(out *dto.Metric) error { - return populateMetric(v.valType, v.function(), v.labelPairs, nil, out) + return populateMetric(v.valType, v.function(), v.labelPairs, nil, out, nil) } // NewConstMetric returns a metric with one fixed value that cannot be @@ -105,12 +106,12 @@ func NewConstMetric(desc *Desc, valueType ValueType, value float64, labelValues if desc.err != nil { return nil, desc.err } - if err := validateLabelValues(labelValues, len(desc.variableLabels)); err != nil { + if err := validateLabelValues(labelValues, len(desc.variableLabels.names)); err != nil { return nil, err } metric := &dto.Metric{} - if err := populateMetric(valueType, value, MakeLabelPairs(desc, labelValues), nil, metric); err != nil { + if err := populateMetric(valueType, value, MakeLabelPairs(desc, labelValues), nil, metric, nil); err != nil { return nil, err } @@ -130,6 +131,43 @@ func MustNewConstMetric(desc *Desc, valueType ValueType, value float64, labelVal return m } +// NewConstMetricWithCreatedTimestamp does the same thing as NewConstMetric, but generates Counters +// with created timestamp set and returns an error for other metric types. +func NewConstMetricWithCreatedTimestamp(desc *Desc, valueType ValueType, value float64, ct time.Time, labelValues ...string) (Metric, error) { + if desc.err != nil { + return nil, desc.err + } + if err := validateLabelValues(labelValues, len(desc.variableLabels.names)); err != nil { + return nil, err + } + switch valueType { + case CounterValue: + break + default: + return nil, errors.New("created timestamps are only supported for counters") + } + + metric := &dto.Metric{} + if err := populateMetric(valueType, value, MakeLabelPairs(desc, labelValues), nil, metric, timestamppb.New(ct)); err != nil { + return nil, err + } + + return &constMetric{ + desc: desc, + metric: metric, + }, nil +} + +// MustNewConstMetricWithCreatedTimestamp is a version of NewConstMetricWithCreatedTimestamp that panics where +// NewConstMetricWithCreatedTimestamp would have returned an error. +func MustNewConstMetricWithCreatedTimestamp(desc *Desc, valueType ValueType, value float64, ct time.Time, labelValues ...string) Metric { + m, err := NewConstMetricWithCreatedTimestamp(desc, valueType, value, ct, labelValues...) + if err != nil { + panic(err) + } + return m +} + type constMetric struct { desc *Desc metric *dto.Metric @@ -153,11 +191,12 @@ func populateMetric( labelPairs []*dto.LabelPair, e *dto.Exemplar, m *dto.Metric, + ct *timestamppb.Timestamp, ) error { m.Label = labelPairs switch t { case CounterValue: - m.Counter = &dto.Counter{Value: proto.Float64(v), Exemplar: e} + m.Counter = &dto.Counter{Value: proto.Float64(v), Exemplar: e, CreatedTimestamp: ct} case GaugeValue: m.Gauge = &dto.Gauge{Value: proto.Float64(v)} case UntypedValue: @@ -176,19 +215,19 @@ func populateMetric( // This function is only needed for custom Metric implementations. See MetricVec // example. func MakeLabelPairs(desc *Desc, labelValues []string) []*dto.LabelPair { - totalLen := len(desc.variableLabels) + len(desc.constLabelPairs) + totalLen := len(desc.variableLabels.names) + len(desc.constLabelPairs) if totalLen == 0 { // Super fast path. return nil } - if len(desc.variableLabels) == 0 { + if len(desc.variableLabels.names) == 0 { // Moderately fast path. return desc.constLabelPairs } labelPairs := make([]*dto.LabelPair, 0, totalLen) - for i, l := range desc.variableLabels { + for i, l := range desc.variableLabels.names { labelPairs = append(labelPairs, &dto.LabelPair{ - Name: proto.String(l.Name), + Name: proto.String(l), Value: proto.String(labelValues[i]), }) } diff --git a/vendor/github.com/prometheus/client_golang/prometheus/vec.go b/vendor/github.com/prometheus/client_golang/prometheus/vec.go index f0d0015a0..955cfd59f 100644 --- a/vendor/github.com/prometheus/client_golang/prometheus/vec.go +++ b/vendor/github.com/prometheus/client_golang/prometheus/vec.go @@ -20,24 +20,6 @@ import ( "github.com/prometheus/common/model" ) -var labelsPool = &sync.Pool{ - New: func() interface{} { - return make(Labels) - }, -} - -func getLabelsFromPool() Labels { - return labelsPool.Get().(Labels) -} - -func putLabelsToPool(labels Labels) { - for k := range labels { - delete(labels, k) - } - - labelsPool.Put(labels) -} - // MetricVec is a Collector to bundle metrics of the same name that differ in // their label values. MetricVec is not used directly but as a building block // for implementations of vectors of a given metric type, like GaugeVec, @@ -91,6 +73,7 @@ func NewMetricVec(desc *Desc, newMetric func(lvs ...string) Metric) *MetricVec { // See also the CounterVec example. func (m *MetricVec) DeleteLabelValues(lvs ...string) bool { lvs = constrainLabelValues(m.desc, lvs, m.curry) + h, err := m.hashLabelValues(lvs) if err != nil { return false @@ -110,8 +93,8 @@ func (m *MetricVec) DeleteLabelValues(lvs ...string) bool { // This method is used for the same purpose as DeleteLabelValues(...string). See // there for pros and cons of the two methods. func (m *MetricVec) Delete(labels Labels) bool { - labels = constrainLabels(m.desc, labels) - defer putLabelsToPool(labels) + labels, closer := constrainLabels(m.desc, labels) + defer closer() h, err := m.hashLabels(labels) if err != nil { @@ -128,8 +111,8 @@ func (m *MetricVec) Delete(labels Labels) bool { // Note that curried labels will never be matched if deleting from the curried vector. // To match curried labels with DeletePartialMatch, it must be called on the base vector. func (m *MetricVec) DeletePartialMatch(labels Labels) int { - labels = constrainLabels(m.desc, labels) - defer putLabelsToPool(labels) + labels, closer := constrainLabels(m.desc, labels) + defer closer() return m.metricMap.deleteByLabels(labels, m.curry) } @@ -169,11 +152,11 @@ func (m *MetricVec) CurryWith(labels Labels) (*MetricVec, error) { oldCurry = m.curry iCurry int ) - for i, label := range m.desc.variableLabels { - val, ok := labels[label.Name] + for i, labelName := range m.desc.variableLabels.names { + val, ok := labels[labelName] if iCurry < len(oldCurry) && oldCurry[iCurry].index == i { if ok { - return nil, fmt.Errorf("label name %q is already curried", label.Name) + return nil, fmt.Errorf("label name %q is already curried", labelName) } newCurry = append(newCurry, oldCurry[iCurry]) iCurry++ @@ -181,7 +164,10 @@ func (m *MetricVec) CurryWith(labels Labels) (*MetricVec, error) { if !ok { continue // Label stays uncurried. } - newCurry = append(newCurry, curriedLabelValue{i, label.Constrain(val)}) + newCurry = append(newCurry, curriedLabelValue{ + i, + m.desc.variableLabels.constrain(labelName, val), + }) } } if l := len(oldCurry) + len(labels) - len(newCurry); l > 0 { @@ -250,8 +236,8 @@ func (m *MetricVec) GetMetricWithLabelValues(lvs ...string) (Metric, error) { // around MetricVec, implementing a vector for a specific Metric implementation, // for example GaugeVec. func (m *MetricVec) GetMetricWith(labels Labels) (Metric, error) { - labels = constrainLabels(m.desc, labels) - defer putLabelsToPool(labels) + labels, closer := constrainLabels(m.desc, labels) + defer closer() h, err := m.hashLabels(labels) if err != nil { @@ -262,7 +248,7 @@ func (m *MetricVec) GetMetricWith(labels Labels) (Metric, error) { } func (m *MetricVec) hashLabelValues(vals []string) (uint64, error) { - if err := validateLabelValues(vals, len(m.desc.variableLabels)-len(m.curry)); err != nil { + if err := validateLabelValues(vals, len(m.desc.variableLabels.names)-len(m.curry)); err != nil { return 0, err } @@ -271,7 +257,7 @@ func (m *MetricVec) hashLabelValues(vals []string) (uint64, error) { curry = m.curry iVals, iCurry int ) - for i := 0; i < len(m.desc.variableLabels); i++ { + for i := 0; i < len(m.desc.variableLabels.names); i++ { if iCurry < len(curry) && curry[iCurry].index == i { h = m.hashAdd(h, curry[iCurry].value) iCurry++ @@ -285,7 +271,7 @@ func (m *MetricVec) hashLabelValues(vals []string) (uint64, error) { } func (m *MetricVec) hashLabels(labels Labels) (uint64, error) { - if err := validateValuesInLabels(labels, len(m.desc.variableLabels)-len(m.curry)); err != nil { + if err := validateValuesInLabels(labels, len(m.desc.variableLabels.names)-len(m.curry)); err != nil { return 0, err } @@ -294,17 +280,17 @@ func (m *MetricVec) hashLabels(labels Labels) (uint64, error) { curry = m.curry iCurry int ) - for i, label := range m.desc.variableLabels { - val, ok := labels[label.Name] + for i, labelName := range m.desc.variableLabels.names { + val, ok := labels[labelName] if iCurry < len(curry) && curry[iCurry].index == i { if ok { - return 0, fmt.Errorf("label name %q is already curried", label.Name) + return 0, fmt.Errorf("label name %q is already curried", labelName) } h = m.hashAdd(h, curry[iCurry].value) iCurry++ } else { if !ok { - return 0, fmt.Errorf("label name %q missing in label map", label.Name) + return 0, fmt.Errorf("label name %q missing in label map", labelName) } h = m.hashAdd(h, val) } @@ -482,7 +468,7 @@ func valueMatchesVariableOrCurriedValue(targetValue string, index int, values [] func matchPartialLabels(desc *Desc, values []string, labels Labels, curry []curriedLabelValue) bool { for l, v := range labels { // Check if the target label exists in our metrics and get the index. - varLabelIndex, validLabel := indexOf(l, desc.variableLabels.labelNames()) + varLabelIndex, validLabel := indexOf(l, desc.variableLabels.names) if validLabel { // Check the value of that label against the target value. // We don't consider curried values in partial matches. @@ -626,7 +612,7 @@ func matchLabels(desc *Desc, values []string, labels Labels, curry []curriedLabe return false } iCurry := 0 - for i, k := range desc.variableLabels { + for i, k := range desc.variableLabels.names { if iCurry < len(curry) && curry[iCurry].index == i { if values[i] != curry[iCurry].value { return false @@ -634,7 +620,7 @@ func matchLabels(desc *Desc, values []string, labels Labels, curry []curriedLabe iCurry++ continue } - if values[i] != labels[k.Name] { + if values[i] != labels[k] { return false } } @@ -644,13 +630,13 @@ func matchLabels(desc *Desc, values []string, labels Labels, curry []curriedLabe func extractLabelValues(desc *Desc, labels Labels, curry []curriedLabelValue) []string { labelValues := make([]string, len(labels)+len(curry)) iCurry := 0 - for i, k := range desc.variableLabels { + for i, k := range desc.variableLabels.names { if iCurry < len(curry) && curry[iCurry].index == i { labelValues[i] = curry[iCurry].value iCurry++ continue } - labelValues[i] = labels[k.Name] + labelValues[i] = labels[k] } return labelValues } @@ -670,20 +656,37 @@ func inlineLabelValues(lvs []string, curry []curriedLabelValue) []string { return labelValues } -func constrainLabels(desc *Desc, labels Labels) Labels { - constrainedLabels := getLabelsFromPool() - for l, v := range labels { - if i, ok := indexOf(l, desc.variableLabels.labelNames()); ok { - v = desc.variableLabels[i].Constrain(v) - } +var labelsPool = &sync.Pool{ + New: func() interface{} { + return make(Labels) + }, +} - constrainedLabels[l] = v +func constrainLabels(desc *Desc, labels Labels) (Labels, func()) { + if len(desc.variableLabels.labelConstraints) == 0 { + // Fast path when there's no constraints + return labels, func() {} } - return constrainedLabels + constrainedLabels := labelsPool.Get().(Labels) + for l, v := range labels { + constrainedLabels[l] = desc.variableLabels.constrain(l, v) + } + + return constrainedLabels, func() { + for k := range constrainedLabels { + delete(constrainedLabels, k) + } + labelsPool.Put(constrainedLabels) + } } func constrainLabelValues(desc *Desc, lvs []string, curry []curriedLabelValue) []string { + if len(desc.variableLabels.labelConstraints) == 0 { + // Fast path when there's no constraints + return lvs + } + constrainedValues := make([]string, len(lvs)) var iCurry, iLVs int for i := 0; i < len(lvs)+len(curry); i++ { @@ -692,8 +695,11 @@ func constrainLabelValues(desc *Desc, lvs []string, curry []curriedLabelValue) [ continue } - if i < len(desc.variableLabels) { - constrainedValues[iLVs] = desc.variableLabels[i].Constrain(lvs[iLVs]) + if i < len(desc.variableLabels.names) { + constrainedValues[iLVs] = desc.variableLabels.constrain( + desc.variableLabels.names[i], + lvs[iLVs], + ) } else { constrainedValues[iLVs] = lvs[iLVs] } diff --git a/vendor/github.com/prometheus/client_model/go/metrics.pb.go b/vendor/github.com/prometheus/client_model/go/metrics.pb.go index 2b5bca4b9..84946b270 100644 --- a/vendor/github.com/prometheus/client_model/go/metrics.pb.go +++ b/vendor/github.com/prometheus/client_model/go/metrics.pb.go @@ -215,8 +215,9 @@ type Counter struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"` - Exemplar *Exemplar `protobuf:"bytes,2,opt,name=exemplar" json:"exemplar,omitempty"` + Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"` + Exemplar *Exemplar `protobuf:"bytes,2,opt,name=exemplar" json:"exemplar,omitempty"` + CreatedTimestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_timestamp,json=createdTimestamp" json:"created_timestamp,omitempty"` } func (x *Counter) Reset() { @@ -265,6 +266,13 @@ func (x *Counter) GetExemplar() *Exemplar { return nil } +func (x *Counter) GetCreatedTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTimestamp + } + return nil +} + type Quantile struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -325,9 +333,10 @@ type Summary struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"` - SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"` - Quantile []*Quantile `protobuf:"bytes,3,rep,name=quantile" json:"quantile,omitempty"` + SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"` + SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"` + Quantile []*Quantile `protobuf:"bytes,3,rep,name=quantile" json:"quantile,omitempty"` + CreatedTimestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_timestamp,json=createdTimestamp" json:"created_timestamp,omitempty"` } func (x *Summary) Reset() { @@ -383,6 +392,13 @@ func (x *Summary) GetQuantile() []*Quantile { return nil } +func (x *Summary) GetCreatedTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTimestamp + } + return nil +} + type Untyped struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -439,7 +455,8 @@ type Histogram struct { SampleCountFloat *float64 `protobuf:"fixed64,4,opt,name=sample_count_float,json=sampleCountFloat" json:"sample_count_float,omitempty"` // Overrides sample_count if > 0. SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"` // Buckets for the conventional histogram. - Bucket []*Bucket `protobuf:"bytes,3,rep,name=bucket" json:"bucket,omitempty"` // Ordered in increasing order of upper_bound, +Inf bucket is optional. + Bucket []*Bucket `protobuf:"bytes,3,rep,name=bucket" json:"bucket,omitempty"` // Ordered in increasing order of upper_bound, +Inf bucket is optional. + CreatedTimestamp *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=created_timestamp,json=createdTimestamp" json:"created_timestamp,omitempty"` // schema defines the bucket schema. Currently, valid numbers are -4 <= n <= 8. // They are all for base-2 bucket schemas, where 1 is a bucket boundary in each case, and // then each power of two is divided into 2^n logarithmic buckets. @@ -525,6 +542,13 @@ func (x *Histogram) GetBucket() []*Bucket { return nil } +func (x *Histogram) GetCreatedTimestamp() *timestamppb.Timestamp { + if x != nil { + return x.CreatedTimestamp + } + return nil +} + func (x *Histogram) GetSchema() int32 { if x != nil && x.Schema != nil { return *x.Schema @@ -972,137 +996,151 @@ var file_io_prometheus_client_metrics_proto_rawDesc = []byte{ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x1d, 0x0a, 0x05, 0x47, 0x61, 0x75, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x22, 0x5b, 0x0a, 0x07, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, - 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, - 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x65, 0x6d, - 0x70, 0x6c, 0x61, 0x72, 0x52, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x22, 0x3c, - 0x0a, 0x08, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, - 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x71, 0x75, - 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x87, 0x01, 0x0a, - 0x07, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x61, 0x6d, 0x70, + 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x07, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, + 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x65, + 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x12, + 0x47, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, + 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, + 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, + 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x3c, 0x0a, 0x08, 0x51, 0x75, 0x61, 0x6e, + 0x74, 0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xd0, 0x01, 0x0a, 0x07, 0x53, 0x75, 0x6d, 0x6d, 0x61, + 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, + 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x73, 0x61, 0x6d, 0x70, 0x6c, + 0x65, 0x53, 0x75, 0x6d, 0x12, 0x3a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, + 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x51, 0x75, + 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, + 0x12, 0x47, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x1f, 0x0a, 0x07, 0x55, 0x6e, 0x74, + 0x79, 0x70, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xac, 0x05, 0x0a, 0x09, 0x48, + 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, - 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, - 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, - 0x09, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x3a, 0x0a, 0x08, 0x71, 0x75, - 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, + 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, + 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, + 0x70, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x73, + 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x34, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, + 0x65, 0x74, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, + 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x47, + 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, + 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x54, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, + 0x25, 0x0a, 0x0e, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, + 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x7a, 0x65, 0x72, 0x6f, 0x54, 0x68, 0x72, + 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x7a, 0x65, 0x72, 0x6f, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x0e, 0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, + 0x45, 0x0a, 0x0d, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x61, 0x6e, + 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, + 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x75, + 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x0c, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x12, 0x52, 0x0d, + 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x25, 0x0a, + 0x0e, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x0b, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0d, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, + 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, + 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6f, + 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, + 0x6e, 0x74, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x0c, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x70, + 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x0d, 0x20, + 0x03, 0x28, 0x12, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x6c, + 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69, + 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc6, 0x01, 0x0a, 0x06, 0x42, 0x75, + 0x63, 0x6b, 0x65, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, + 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, + 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x34, 0x0a, 0x16, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, + 0x14, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, + 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x70, 0x65, 0x72, 0x5f, 0x62, + 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x70, 0x65, + 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, + 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, + 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x08, 0x65, 0x78, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x72, 0x22, 0x3c, 0x0a, 0x0a, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e, + 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, + 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e, 0x67, + 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, + 0x22, 0x91, 0x01, 0x0a, 0x08, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x12, 0x35, 0x0a, + 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x2e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x52, 0x08, 0x71, 0x75, - 0x61, 0x6e, 0x74, 0x69, 0x6c, 0x65, 0x22, 0x1f, 0x0a, 0x07, 0x55, 0x6e, 0x74, 0x79, 0x70, 0x65, - 0x64, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xe3, 0x04, 0x0a, 0x09, 0x48, 0x69, 0x73, 0x74, - 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x5f, - 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x61, 0x6d, - 0x70, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x61, 0x6d, 0x70, - 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, - 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, - 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x73, 0x61, 0x6d, 0x70, - 0x6c, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x34, 0x0a, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, - 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x75, 0x63, - 0x6b, 0x65, 0x74, 0x52, 0x06, 0x62, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x74, 0x68, 0x72, 0x65, - 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0d, 0x7a, 0x65, 0x72, - 0x6f, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x7a, 0x65, - 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, - 0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x7a, 0x65, 0x72, - 0x6f, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x01, 0x52, 0x0e, 0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, - 0x6f, 0x61, 0x74, 0x12, 0x45, 0x0a, 0x0d, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, - 0x73, 0x70, 0x61, 0x6e, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6f, 0x2e, + 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x52, 0x05, 0x6c, + 0x61, 0x62, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x22, 0xff, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, + 0x35, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, + 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x69, 0x72, 0x52, + 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x31, 0x0a, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, + 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x47, 0x61, 0x75, + 0x67, 0x65, 0x52, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, - 0x74, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, 0x6e, 0x52, 0x0c, 0x6e, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x65, - 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x0a, 0x20, 0x03, - 0x28, 0x12, 0x52, 0x0d, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x6c, 0x74, - 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x65, 0x67, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, - 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0d, 0x6e, 0x65, 0x67, 0x61, 0x74, - 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x45, 0x0a, 0x0d, 0x70, 0x6f, 0x73, 0x69, - 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x61, 0x6e, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x20, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, - 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x70, 0x61, - 0x6e, 0x52, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x53, 0x70, 0x61, 0x6e, 0x12, - 0x25, 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x6c, 0x74, - 0x61, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x12, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, - 0x65, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, - 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x01, 0x52, 0x0d, - 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xc6, 0x01, - 0x0a, 0x06, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x75, 0x6d, 0x75, - 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x0f, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, 0x6f, - 0x75, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, - 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x04, 0x20, - 0x01, 0x28, 0x01, 0x52, 0x14, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x43, - 0x6f, 0x75, 0x6e, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x70, 0x70, - 0x65, 0x72, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, - 0x75, 0x70, 0x70, 0x65, 0x72, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x3a, 0x0a, 0x08, 0x65, 0x78, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, + 0x74, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, + 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x53, 0x75, 0x6d, 0x6d, 0x61, + 0x72, 0x79, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x37, 0x0a, 0x07, 0x75, + 0x6e, 0x74, 0x79, 0x70, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x52, 0x08, 0x65, 0x78, - 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x72, 0x22, 0x3c, 0x0a, 0x0a, 0x42, 0x75, 0x63, 0x6b, 0x65, 0x74, - 0x53, 0x70, 0x61, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x65, - 0x6e, 0x67, 0x74, 0x68, 0x22, 0x91, 0x01, 0x0a, 0x08, 0x45, 0x78, 0x65, 0x6d, 0x70, 0x6c, 0x61, - 0x72, 0x12, 0x35, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1f, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, - 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x69, - 0x72, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x38, - 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xff, 0x02, 0x0a, 0x06, 0x4d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x12, 0x35, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, - 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x50, - 0x61, 0x69, 0x72, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x31, 0x0a, 0x05, 0x67, 0x61, - 0x75, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x69, 0x6f, 0x2e, 0x70, - 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x2e, 0x47, 0x61, 0x75, 0x67, 0x65, 0x52, 0x05, 0x67, 0x61, 0x75, 0x67, 0x65, 0x12, 0x37, 0x0a, - 0x07, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, - 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, - 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x52, 0x07, 0x63, - 0x6f, 0x75, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, - 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, - 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x53, - 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, - 0x37, 0x0a, 0x07, 0x75, 0x6e, 0x74, 0x79, 0x70, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x1d, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, - 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x6e, 0x74, 0x79, 0x70, 0x65, 0x64, 0x52, - 0x07, 0x75, 0x6e, 0x74, 0x79, 0x70, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x68, 0x69, 0x73, 0x74, - 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6f, - 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x2e, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x09, 0x68, 0x69, - 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x73, - 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6d, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, - 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x0c, 0x4d, - 0x65, 0x74, 0x72, 0x69, 0x63, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x68, 0x65, 0x6c, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, - 0x65, 0x6c, 0x70, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x20, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, - 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x6d, 0x65, 0x74, - 0x72, 0x69, 0x63, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, - 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2a, - 0x62, 0x0a, 0x0a, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, - 0x07, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x41, - 0x55, 0x47, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x4d, 0x4d, 0x41, 0x52, 0x59, - 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x54, 0x59, 0x50, 0x45, 0x44, 0x10, 0x03, 0x12, - 0x0d, 0x0a, 0x09, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10, 0x04, 0x12, 0x13, - 0x0a, 0x0f, 0x47, 0x41, 0x55, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, - 0x4d, 0x10, 0x05, 0x42, 0x52, 0x0a, 0x14, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, - 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5a, 0x3a, 0x67, 0x69, 0x74, - 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, - 0x75, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, - 0x67, 0x6f, 0x3b, 0x69, 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, - 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x2e, 0x55, 0x6e, 0x74, 0x79, 0x70, 0x65, 0x64, 0x52, 0x07, 0x75, 0x6e, 0x74, + 0x79, 0x70, 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, + 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, + 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x48, + 0x69, 0x73, 0x74, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x52, 0x09, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x67, + 0x72, 0x61, 0x6d, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, + 0x5f, 0x6d, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x73, + 0x74, 0x61, 0x6d, 0x70, 0x4d, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x0c, 0x4d, 0x65, 0x74, 0x72, 0x69, + 0x63, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, + 0x65, 0x6c, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x65, 0x6c, 0x70, 0x12, + 0x34, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, + 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, + 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, + 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x4d, 0x65, 0x74, + 0x72, 0x69, 0x63, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x2a, 0x62, 0x0a, 0x0a, 0x4d, + 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4f, 0x55, + 0x4e, 0x54, 0x45, 0x52, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x47, 0x41, 0x55, 0x47, 0x45, 0x10, + 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x55, 0x4d, 0x4d, 0x41, 0x52, 0x59, 0x10, 0x02, 0x12, 0x0b, + 0x0a, 0x07, 0x55, 0x4e, 0x54, 0x59, 0x50, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09, 0x48, + 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x47, 0x41, + 0x55, 0x47, 0x45, 0x5f, 0x48, 0x49, 0x53, 0x54, 0x4f, 0x47, 0x52, 0x41, 0x4d, 0x10, 0x05, 0x42, + 0x52, 0x0a, 0x14, 0x69, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, + 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2f, 0x63, + 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2f, 0x67, 0x6f, 0x3b, 0x69, + 0x6f, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x5f, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, } var ( @@ -1137,26 +1175,29 @@ var file_io_prometheus_client_metrics_proto_goTypes = []interface{}{ } var file_io_prometheus_client_metrics_proto_depIdxs = []int32{ 10, // 0: io.prometheus.client.Counter.exemplar:type_name -> io.prometheus.client.Exemplar - 4, // 1: io.prometheus.client.Summary.quantile:type_name -> io.prometheus.client.Quantile - 8, // 2: io.prometheus.client.Histogram.bucket:type_name -> io.prometheus.client.Bucket - 9, // 3: io.prometheus.client.Histogram.negative_span:type_name -> io.prometheus.client.BucketSpan - 9, // 4: io.prometheus.client.Histogram.positive_span:type_name -> io.prometheus.client.BucketSpan - 10, // 5: io.prometheus.client.Bucket.exemplar:type_name -> io.prometheus.client.Exemplar - 1, // 6: io.prometheus.client.Exemplar.label:type_name -> io.prometheus.client.LabelPair - 13, // 7: io.prometheus.client.Exemplar.timestamp:type_name -> google.protobuf.Timestamp - 1, // 8: io.prometheus.client.Metric.label:type_name -> io.prometheus.client.LabelPair - 2, // 9: io.prometheus.client.Metric.gauge:type_name -> io.prometheus.client.Gauge - 3, // 10: io.prometheus.client.Metric.counter:type_name -> io.prometheus.client.Counter - 5, // 11: io.prometheus.client.Metric.summary:type_name -> io.prometheus.client.Summary - 6, // 12: io.prometheus.client.Metric.untyped:type_name -> io.prometheus.client.Untyped - 7, // 13: io.prometheus.client.Metric.histogram:type_name -> io.prometheus.client.Histogram - 0, // 14: io.prometheus.client.MetricFamily.type:type_name -> io.prometheus.client.MetricType - 11, // 15: io.prometheus.client.MetricFamily.metric:type_name -> io.prometheus.client.Metric - 16, // [16:16] is the sub-list for method output_type - 16, // [16:16] is the sub-list for method input_type - 16, // [16:16] is the sub-list for extension type_name - 16, // [16:16] is the sub-list for extension extendee - 0, // [0:16] is the sub-list for field type_name + 13, // 1: io.prometheus.client.Counter.created_timestamp:type_name -> google.protobuf.Timestamp + 4, // 2: io.prometheus.client.Summary.quantile:type_name -> io.prometheus.client.Quantile + 13, // 3: io.prometheus.client.Summary.created_timestamp:type_name -> google.protobuf.Timestamp + 8, // 4: io.prometheus.client.Histogram.bucket:type_name -> io.prometheus.client.Bucket + 13, // 5: io.prometheus.client.Histogram.created_timestamp:type_name -> google.protobuf.Timestamp + 9, // 6: io.prometheus.client.Histogram.negative_span:type_name -> io.prometheus.client.BucketSpan + 9, // 7: io.prometheus.client.Histogram.positive_span:type_name -> io.prometheus.client.BucketSpan + 10, // 8: io.prometheus.client.Bucket.exemplar:type_name -> io.prometheus.client.Exemplar + 1, // 9: io.prometheus.client.Exemplar.label:type_name -> io.prometheus.client.LabelPair + 13, // 10: io.prometheus.client.Exemplar.timestamp:type_name -> google.protobuf.Timestamp + 1, // 11: io.prometheus.client.Metric.label:type_name -> io.prometheus.client.LabelPair + 2, // 12: io.prometheus.client.Metric.gauge:type_name -> io.prometheus.client.Gauge + 3, // 13: io.prometheus.client.Metric.counter:type_name -> io.prometheus.client.Counter + 5, // 14: io.prometheus.client.Metric.summary:type_name -> io.prometheus.client.Summary + 6, // 15: io.prometheus.client.Metric.untyped:type_name -> io.prometheus.client.Untyped + 7, // 16: io.prometheus.client.Metric.histogram:type_name -> io.prometheus.client.Histogram + 0, // 17: io.prometheus.client.MetricFamily.type:type_name -> io.prometheus.client.MetricType + 11, // 18: io.prometheus.client.MetricFamily.metric:type_name -> io.prometheus.client.Metric + 19, // [19:19] is the sub-list for method output_type + 19, // [19:19] is the sub-list for method input_type + 19, // [19:19] is the sub-list for extension type_name + 19, // [19:19] is the sub-list for extension extendee + 0, // [0:19] is the sub-list for field type_name } func init() { file_io_prometheus_client_metrics_proto_init() } diff --git a/vendor/github.com/prometheus/procfs/.golangci.yml b/vendor/github.com/prometheus/procfs/.golangci.yml index a197699a1..c24864a92 100644 --- a/vendor/github.com/prometheus/procfs/.golangci.yml +++ b/vendor/github.com/prometheus/procfs/.golangci.yml @@ -2,6 +2,7 @@ linters: enable: - godot + - misspell - revive linter-settings: @@ -10,3 +11,5 @@ linter-settings: exclude: # Ignore "See: URL" - 'See:' + misspell: + locale: US diff --git a/vendor/github.com/prometheus/procfs/Makefile.common b/vendor/github.com/prometheus/procfs/Makefile.common index b111d2562..0ce7ea461 100644 --- a/vendor/github.com/prometheus/procfs/Makefile.common +++ b/vendor/github.com/prometheus/procfs/Makefile.common @@ -49,19 +49,19 @@ endif GOTEST := $(GO) test GOTEST_DIR := ifneq ($(CIRCLE_JOB),) -ifneq ($(shell which gotestsum),) +ifneq ($(shell command -v gotestsum > /dev/null),) GOTEST_DIR := test-results GOTEST := gotestsum --junitfile $(GOTEST_DIR)/unit-tests.xml -- endif endif -PROMU_VERSION ?= 0.14.0 +PROMU_VERSION ?= 0.15.0 PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_VERSION)/promu-$(PROMU_VERSION).$(GO_BUILD_PLATFORM).tar.gz SKIP_GOLANGCI_LINT := GOLANGCI_LINT := GOLANGCI_LINT_OPTS ?= -GOLANGCI_LINT_VERSION ?= v1.51.2 +GOLANGCI_LINT_VERSION ?= v1.53.3 # golangci-lint only supports linux, darwin and windows platforms on i386/amd64. # windows isn't included here because of the path separator being different. ifeq ($(GOHOSTOS),$(filter $(GOHOSTOS),linux darwin)) @@ -178,7 +178,7 @@ endif .PHONY: common-yamllint common-yamllint: @echo ">> running yamllint on all YAML files in the repository" -ifeq (, $(shell which yamllint)) +ifeq (, $(shell command -v yamllint > /dev/null)) @echo "yamllint not installed so skipping" else yamllint . diff --git a/vendor/github.com/prometheus/procfs/README.md b/vendor/github.com/prometheus/procfs/README.md index 43c37735a..1224816c2 100644 --- a/vendor/github.com/prometheus/procfs/README.md +++ b/vendor/github.com/prometheus/procfs/README.md @@ -51,11 +51,11 @@ ensure the `fixtures` directory is up to date by removing the existing directory extracting the ttar file using `make fixtures/.unpacked` or just `make test`. ```bash -rm -rf fixtures +rm -rf testdata/fixtures make test ``` Next, make the required changes to the extracted files in the `fixtures` directory. When the changes are complete, run `make update_fixtures` to create a new `fixtures.ttar` file based on the updated `fixtures` directory. And finally, verify the changes using -`git diff fixtures.ttar`. +`git diff testdata/fixtures.ttar`. diff --git a/vendor/github.com/prometheus/procfs/arp.go b/vendor/github.com/prometheus/procfs/arp.go index 68f36e888..28783e2dd 100644 --- a/vendor/github.com/prometheus/procfs/arp.go +++ b/vendor/github.com/prometheus/procfs/arp.go @@ -55,7 +55,7 @@ type ARPEntry struct { func (fs FS) GatherARPEntries() ([]ARPEntry, error) { data, err := os.ReadFile(fs.proc.Path("net/arp")) if err != nil { - return nil, fmt.Errorf("error reading arp %q: %w", fs.proc.Path("net/arp"), err) + return nil, fmt.Errorf("%s: error reading arp %s: %w", ErrFileRead, fs.proc.Path("net/arp"), err) } return parseARPEntries(data) @@ -78,11 +78,11 @@ func parseARPEntries(data []byte) ([]ARPEntry, error) { } else if width == expectedDataWidth { entry, err := parseARPEntry(columns) if err != nil { - return []ARPEntry{}, fmt.Errorf("failed to parse ARP entry: %w", err) + return []ARPEntry{}, fmt.Errorf("%s: Failed to parse ARP entry: %v: %w", ErrFileParse, entry, err) } entries = append(entries, entry) } else { - return []ARPEntry{}, fmt.Errorf("%d columns were detected, but %d were expected", width, expectedDataWidth) + return []ARPEntry{}, fmt.Errorf("%s: %d columns found, but expected %d: %w", ErrFileParse, width, expectedDataWidth, err) } } diff --git a/vendor/github.com/prometheus/procfs/buddyinfo.go b/vendor/github.com/prometheus/procfs/buddyinfo.go index f5b7939b2..4a173636c 100644 --- a/vendor/github.com/prometheus/procfs/buddyinfo.go +++ b/vendor/github.com/prometheus/procfs/buddyinfo.go @@ -55,7 +55,7 @@ func parseBuddyInfo(r io.Reader) ([]BuddyInfo, error) { parts := strings.Fields(line) if len(parts) < 4 { - return nil, fmt.Errorf("invalid number of fields when parsing buddyinfo") + return nil, fmt.Errorf("%w: Invalid number of fields, found: %v", ErrFileParse, parts) } node := strings.TrimRight(parts[1], ",") @@ -66,7 +66,7 @@ func parseBuddyInfo(r io.Reader) ([]BuddyInfo, error) { bucketCount = arraySize } else { if bucketCount != arraySize { - return nil, fmt.Errorf("mismatch in number of buddyinfo buckets, previous count %d, new count %d", bucketCount, arraySize) + return nil, fmt.Errorf("%w: mismatch in number of buddyinfo buckets, previous count %d, new count %d", ErrFileParse, bucketCount, arraySize) } } @@ -74,7 +74,7 @@ func parseBuddyInfo(r io.Reader) ([]BuddyInfo, error) { for i := 0; i < arraySize; i++ { sizes[i], err = strconv.ParseFloat(parts[i+4], 64) if err != nil { - return nil, fmt.Errorf("invalid value in buddyinfo: %w", err) + return nil, fmt.Errorf("%s: Invalid valid in buddyinfo: %f: %w", ErrFileParse, sizes[i], err) } } diff --git a/vendor/github.com/prometheus/procfs/cpuinfo.go b/vendor/github.com/prometheus/procfs/cpuinfo.go index 06968ca2e..f4f5501c6 100644 --- a/vendor/github.com/prometheus/procfs/cpuinfo.go +++ b/vendor/github.com/prometheus/procfs/cpuinfo.go @@ -79,7 +79,7 @@ func parseCPUInfoX86(info []byte) ([]CPUInfo, error) { // find the first "processor" line firstLine := firstNonEmptyLine(scanner) if !strings.HasPrefix(firstLine, "processor") || !strings.Contains(firstLine, ":") { - return nil, fmt.Errorf("invalid cpuinfo file: %q", firstLine) + return nil, fmt.Errorf("%w: Cannot parse line: %q", ErrFileParse, firstLine) } field := strings.SplitN(firstLine, ": ", 2) v, err := strconv.ParseUint(field[1], 0, 32) @@ -192,9 +192,10 @@ func parseCPUInfoARM(info []byte) ([]CPUInfo, error) { scanner := bufio.NewScanner(bytes.NewReader(info)) firstLine := firstNonEmptyLine(scanner) - match, _ := regexp.MatchString("^[Pp]rocessor", firstLine) + match, err := regexp.MatchString("^[Pp]rocessor", firstLine) if !match || !strings.Contains(firstLine, ":") { - return nil, fmt.Errorf("invalid cpuinfo file: %q", firstLine) + return nil, fmt.Errorf("%s: Cannot parse line: %q: %w", ErrFileParse, firstLine, err) + } field := strings.SplitN(firstLine, ": ", 2) cpuinfo := []CPUInfo{} @@ -258,7 +259,7 @@ func parseCPUInfoS390X(info []byte) ([]CPUInfo, error) { firstLine := firstNonEmptyLine(scanner) if !strings.HasPrefix(firstLine, "vendor_id") || !strings.Contains(firstLine, ":") { - return nil, fmt.Errorf("invalid cpuinfo file: %q", firstLine) + return nil, fmt.Errorf("%w: Cannot parse line: %q", ErrFileParse, firstLine) } field := strings.SplitN(firstLine, ": ", 2) cpuinfo := []CPUInfo{} @@ -283,7 +284,7 @@ func parseCPUInfoS390X(info []byte) ([]CPUInfo, error) { if strings.HasPrefix(line, "processor") { match := cpuinfoS390XProcessorRegexp.FindStringSubmatch(line) if len(match) < 2 { - return nil, fmt.Errorf("invalid cpuinfo file: %q", firstLine) + return nil, fmt.Errorf("%w: %q", ErrFileParse, firstLine) } cpu := commonCPUInfo v, err := strconv.ParseUint(match[1], 0, 32) @@ -343,7 +344,7 @@ func parseCPUInfoMips(info []byte) ([]CPUInfo, error) { // find the first "processor" line firstLine := firstNonEmptyLine(scanner) if !strings.HasPrefix(firstLine, "system type") || !strings.Contains(firstLine, ":") { - return nil, fmt.Errorf("invalid cpuinfo file: %q", firstLine) + return nil, fmt.Errorf("%w: %q", ErrFileParse, firstLine) } field := strings.SplitN(firstLine, ": ", 2) cpuinfo := []CPUInfo{} @@ -421,7 +422,7 @@ func parseCPUInfoPPC(info []byte) ([]CPUInfo, error) { firstLine := firstNonEmptyLine(scanner) if !strings.HasPrefix(firstLine, "processor") || !strings.Contains(firstLine, ":") { - return nil, fmt.Errorf("invalid cpuinfo file: %q", firstLine) + return nil, fmt.Errorf("%w: %q", ErrFileParse, firstLine) } field := strings.SplitN(firstLine, ": ", 2) v, err := strconv.ParseUint(field[1], 0, 32) @@ -466,7 +467,7 @@ func parseCPUInfoRISCV(info []byte) ([]CPUInfo, error) { firstLine := firstNonEmptyLine(scanner) if !strings.HasPrefix(firstLine, "processor") || !strings.Contains(firstLine, ":") { - return nil, fmt.Errorf("invalid cpuinfo file: %q", firstLine) + return nil, fmt.Errorf("%w: %q", ErrFileParse, firstLine) } field := strings.SplitN(firstLine, ": ", 2) v, err := strconv.ParseUint(field[1], 0, 32) diff --git a/vendor/github.com/prometheus/procfs/crypto.go b/vendor/github.com/prometheus/procfs/crypto.go index 5048ad1f2..9a73e2639 100644 --- a/vendor/github.com/prometheus/procfs/crypto.go +++ b/vendor/github.com/prometheus/procfs/crypto.go @@ -55,12 +55,13 @@ func (fs FS) Crypto() ([]Crypto, error) { path := fs.proc.Path("crypto") b, err := util.ReadFileNoStat(path) if err != nil { - return nil, fmt.Errorf("error reading crypto %q: %w", path, err) + return nil, fmt.Errorf("%s: Cannot read file %v: %w", ErrFileRead, b, err) + } crypto, err := parseCrypto(bytes.NewReader(b)) if err != nil { - return nil, fmt.Errorf("error parsing crypto %q: %w", path, err) + return nil, fmt.Errorf("%s: Cannot parse %v: %w", ErrFileParse, crypto, err) } return crypto, nil @@ -83,7 +84,7 @@ func parseCrypto(r io.Reader) ([]Crypto, error) { kv := strings.Split(text, ":") if len(kv) != 2 { - return nil, fmt.Errorf("malformed crypto line: %q", text) + return nil, fmt.Errorf("%w: Cannot parae line: %q", ErrFileParse, text) } k := strings.TrimSpace(kv[0]) diff --git a/vendor/github.com/prometheus/procfs/fs.go b/vendor/github.com/prometheus/procfs/fs.go index 60c551e02..4980c875b 100644 --- a/vendor/github.com/prometheus/procfs/fs.go +++ b/vendor/github.com/prometheus/procfs/fs.go @@ -20,8 +20,8 @@ import ( // FS represents the pseudo-filesystem sys, which provides an interface to // kernel data structures. type FS struct { - proc fs.FS - real bool + proc fs.FS + isReal bool } // DefaultMountPoint is the common mount point of the proc filesystem. @@ -41,10 +41,10 @@ func NewFS(mountPoint string) (FS, error) { return FS{}, err } - real, err := isRealProc(mountPoint) + isReal, err := isRealProc(mountPoint) if err != nil { return FS{}, err } - return FS{fs, real}, nil + return FS{fs, isReal}, nil } diff --git a/vendor/github.com/prometheus/procfs/fs_statfs_notype.go b/vendor/github.com/prometheus/procfs/fs_statfs_notype.go index 800576968..13d74e395 100644 --- a/vendor/github.com/prometheus/procfs/fs_statfs_notype.go +++ b/vendor/github.com/prometheus/procfs/fs_statfs_notype.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build netbsd || openbsd || solaris || windows -// +build netbsd openbsd solaris windows +//go:build netbsd || openbsd || solaris || windows || nostatfs +// +build netbsd openbsd solaris windows nostatfs package procfs diff --git a/vendor/github.com/prometheus/procfs/fs_statfs_type.go b/vendor/github.com/prometheus/procfs/fs_statfs_type.go index 6233217ad..bee151445 100644 --- a/vendor/github.com/prometheus/procfs/fs_statfs_type.go +++ b/vendor/github.com/prometheus/procfs/fs_statfs_type.go @@ -11,8 +11,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -//go:build !netbsd && !openbsd && !solaris && !windows -// +build !netbsd,!openbsd,!solaris,!windows +//go:build !netbsd && !openbsd && !solaris && !windows && !nostatfs +// +build !netbsd,!openbsd,!solaris,!windows,!nostatfs package procfs diff --git a/vendor/github.com/prometheus/procfs/fscache.go b/vendor/github.com/prometheus/procfs/fscache.go index f8070e6e2..f560a8db3 100644 --- a/vendor/github.com/prometheus/procfs/fscache.go +++ b/vendor/github.com/prometheus/procfs/fscache.go @@ -236,7 +236,7 @@ func (fs FS) Fscacheinfo() (Fscacheinfo, error) { m, err := parseFscacheinfo(bytes.NewReader(b)) if err != nil { - return Fscacheinfo{}, fmt.Errorf("failed to parse Fscacheinfo: %w", err) + return Fscacheinfo{}, fmt.Errorf("%s: Cannot parse %v: %w", ErrFileParse, m, err) } return *m, nil @@ -245,7 +245,7 @@ func (fs FS) Fscacheinfo() (Fscacheinfo, error) { func setFSCacheFields(fields []string, setFields ...*uint64) error { var err error if len(fields) < len(setFields) { - return fmt.Errorf("Insufficient number of fields, expected %v, got %v", len(setFields), len(fields)) + return fmt.Errorf("%s: Expected %d, but got %d: %w", ErrFileParse, len(setFields), len(fields), err) } for i := range setFields { @@ -263,7 +263,7 @@ func parseFscacheinfo(r io.Reader) (*Fscacheinfo, error) { for s.Scan() { fields := strings.Fields(s.Text()) if len(fields) < 2 { - return nil, fmt.Errorf("malformed Fscacheinfo line: %q", s.Text()) + return nil, fmt.Errorf("%w: malformed Fscacheinfo line: %q", ErrFileParse, s.Text()) } switch fields[0] { diff --git a/vendor/github.com/prometheus/procfs/ipvs.go b/vendor/github.com/prometheus/procfs/ipvs.go index 391c07957..5a145bbfe 100644 --- a/vendor/github.com/prometheus/procfs/ipvs.go +++ b/vendor/github.com/prometheus/procfs/ipvs.go @@ -221,15 +221,16 @@ func parseIPPort(s string) (net.IP, uint16, error) { case 46: ip = net.ParseIP(s[1:40]) if ip == nil { - return nil, 0, fmt.Errorf("invalid IPv6 address: %s", s[1:40]) + return nil, 0, fmt.Errorf("%s: Invalid IPv6 addr %s: %w", ErrFileParse, s[1:40], err) } default: - return nil, 0, fmt.Errorf("unexpected IP:Port: %s", s) + return nil, 0, fmt.Errorf("%s: Unexpected IP:Port %s: %w", ErrFileParse, s, err) } portString := s[len(s)-4:] if len(portString) != 4 { - return nil, 0, fmt.Errorf("unexpected port string format: %s", portString) + return nil, 0, + fmt.Errorf("%s: Unexpected port string format %s: %w", ErrFileParse, portString, err) } port, err := strconv.ParseUint(portString, 16, 16) if err != nil { diff --git a/vendor/github.com/prometheus/procfs/loadavg.go b/vendor/github.com/prometheus/procfs/loadavg.go index 0096cafbd..59465c5bb 100644 --- a/vendor/github.com/prometheus/procfs/loadavg.go +++ b/vendor/github.com/prometheus/procfs/loadavg.go @@ -44,14 +44,14 @@ func parseLoad(loadavgBytes []byte) (*LoadAvg, error) { loads := make([]float64, 3) parts := strings.Fields(string(loadavgBytes)) if len(parts) < 3 { - return nil, fmt.Errorf("malformed loadavg line: too few fields in loadavg string: %q", string(loadavgBytes)) + return nil, fmt.Errorf("%w: Malformed line %q", ErrFileParse, string(loadavgBytes)) } var err error for i, load := range parts[0:3] { loads[i], err = strconv.ParseFloat(load, 64) if err != nil { - return nil, fmt.Errorf("could not parse load %q: %w", load, err) + return nil, fmt.Errorf("%s: Cannot parse load: %f: %w", ErrFileParse, loads[i], err) } } return &LoadAvg{ diff --git a/vendor/github.com/prometheus/procfs/mdstat.go b/vendor/github.com/prometheus/procfs/mdstat.go index a95c889cb..fdd4b9544 100644 --- a/vendor/github.com/prometheus/procfs/mdstat.go +++ b/vendor/github.com/prometheus/procfs/mdstat.go @@ -70,7 +70,7 @@ func (fs FS) MDStat() ([]MDStat, error) { } mdstat, err := parseMDStat(data) if err != nil { - return nil, fmt.Errorf("error parsing mdstat %q: %w", fs.proc.Path("mdstat"), err) + return nil, fmt.Errorf("%s: Cannot parse %v: %w", ErrFileParse, fs.proc.Path("mdstat"), err) } return mdstat, nil } @@ -90,13 +90,13 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) { deviceFields := strings.Fields(line) if len(deviceFields) < 3 { - return nil, fmt.Errorf("not enough fields in mdline (expected at least 3): %s", line) + return nil, fmt.Errorf("%s: Expected 3+ lines, got %q", ErrFileParse, line) } mdName := deviceFields[0] // mdx state := deviceFields[2] // active or inactive if len(lines) <= i+3 { - return nil, fmt.Errorf("error parsing %q: too few lines for md device", mdName) + return nil, fmt.Errorf("%w: Too few lines for md device: %q", ErrFileParse, mdName) } // Failed disks have the suffix (F) & Spare disks have the suffix (S). @@ -105,7 +105,7 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) { active, total, down, size, err := evalStatusLine(lines[i], lines[i+1]) if err != nil { - return nil, fmt.Errorf("error parsing md device lines: %w", err) + return nil, fmt.Errorf("%s: Cannot parse md device lines: %v: %w", ErrFileParse, active, err) } syncLineIdx := i + 2 @@ -140,7 +140,7 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) { } else { syncedBlocks, pct, finish, speed, err = evalRecoveryLine(lines[syncLineIdx]) if err != nil { - return nil, fmt.Errorf("error parsing sync line in md device %q: %w", mdName, err) + return nil, fmt.Errorf("%s: Cannot parse sync line in md device: %q: %w", ErrFileParse, mdName, err) } } } @@ -168,13 +168,13 @@ func parseMDStat(mdStatData []byte) ([]MDStat, error) { func evalStatusLine(deviceLine, statusLine string) (active, total, down, size int64, err error) { statusFields := strings.Fields(statusLine) if len(statusFields) < 1 { - return 0, 0, 0, 0, fmt.Errorf("unexpected statusLine %q", statusLine) + return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected statusline %q: %w", ErrFileParse, statusLine, err) } sizeStr := statusFields[0] size, err = strconv.ParseInt(sizeStr, 10, 64) if err != nil { - return 0, 0, 0, 0, fmt.Errorf("unexpected statusLine %q: %w", statusLine, err) + return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected statusline %q: %w", ErrFileParse, statusLine, err) } if strings.Contains(deviceLine, "raid0") || strings.Contains(deviceLine, "linear") { @@ -189,17 +189,17 @@ func evalStatusLine(deviceLine, statusLine string) (active, total, down, size in matches := statusLineRE.FindStringSubmatch(statusLine) if len(matches) != 5 { - return 0, 0, 0, 0, fmt.Errorf("couldn't find all the substring matches: %s", statusLine) + return 0, 0, 0, 0, fmt.Errorf("%s: Could not fild all substring matches %s: %w", ErrFileParse, statusLine, err) } total, err = strconv.ParseInt(matches[2], 10, 64) if err != nil { - return 0, 0, 0, 0, fmt.Errorf("unexpected statusLine %q: %w", statusLine, err) + return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected statusline %q: %w", ErrFileParse, statusLine, err) } active, err = strconv.ParseInt(matches[3], 10, 64) if err != nil { - return 0, 0, 0, 0, fmt.Errorf("unexpected statusLine %q: %w", statusLine, err) + return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected active %d: %w", ErrFileParse, active, err) } down = int64(strings.Count(matches[4], "_")) @@ -209,42 +209,42 @@ func evalStatusLine(deviceLine, statusLine string) (active, total, down, size in func evalRecoveryLine(recoveryLine string) (syncedBlocks int64, pct float64, finish float64, speed float64, err error) { matches := recoveryLineBlocksRE.FindStringSubmatch(recoveryLine) if len(matches) != 2 { - return 0, 0, 0, 0, fmt.Errorf("unexpected recoveryLine: %s", recoveryLine) + return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected recoveryLine %s: %w", ErrFileParse, recoveryLine, err) } syncedBlocks, err = strconv.ParseInt(matches[1], 10, 64) if err != nil { - return 0, 0, 0, 0, fmt.Errorf("error parsing int from recoveryLine %q: %w", recoveryLine, err) + return 0, 0, 0, 0, fmt.Errorf("%s: Unexpected parsing of recoveryLine %q: %w", ErrFileParse, recoveryLine, err) } // Get percentage complete matches = recoveryLinePctRE.FindStringSubmatch(recoveryLine) if len(matches) != 2 { - return syncedBlocks, 0, 0, 0, fmt.Errorf("unexpected recoveryLine matching percentage: %s", recoveryLine) + return syncedBlocks, 0, 0, 0, fmt.Errorf("%w: Unexpected recoveryLine matching percentage %s", ErrFileParse, recoveryLine) } pct, err = strconv.ParseFloat(strings.TrimSpace(matches[1]), 64) if err != nil { - return syncedBlocks, 0, 0, 0, fmt.Errorf("error parsing float from recoveryLine %q: %w", recoveryLine, err) + return syncedBlocks, 0, 0, 0, fmt.Errorf("%w: Error parsing float from recoveryLine %q", ErrFileParse, recoveryLine) } // Get time expected left to complete matches = recoveryLineFinishRE.FindStringSubmatch(recoveryLine) if len(matches) != 2 { - return syncedBlocks, pct, 0, 0, fmt.Errorf("unexpected recoveryLine matching est. finish time: %s", recoveryLine) + return syncedBlocks, pct, 0, 0, fmt.Errorf("%w: Unexpected recoveryLine matching est. finish time: %s", ErrFileParse, recoveryLine) } finish, err = strconv.ParseFloat(matches[1], 64) if err != nil { - return syncedBlocks, pct, 0, 0, fmt.Errorf("error parsing float from recoveryLine %q: %w", recoveryLine, err) + return syncedBlocks, pct, 0, 0, fmt.Errorf("%w: Unable to parse float from recoveryLine: %q", ErrFileParse, recoveryLine) } // Get recovery speed matches = recoveryLineSpeedRE.FindStringSubmatch(recoveryLine) if len(matches) != 2 { - return syncedBlocks, pct, finish, 0, fmt.Errorf("unexpected recoveryLine matching speed: %s", recoveryLine) + return syncedBlocks, pct, finish, 0, fmt.Errorf("%w: Unexpected recoveryLine value: %s", ErrFileParse, recoveryLine) } speed, err = strconv.ParseFloat(matches[1], 64) if err != nil { - return syncedBlocks, pct, finish, 0, fmt.Errorf("error parsing float from recoveryLine %q: %w", recoveryLine, err) + return syncedBlocks, pct, finish, 0, fmt.Errorf("%s: Error parsing float from recoveryLine: %q: %w", ErrFileParse, recoveryLine, err) } return syncedBlocks, pct, finish, speed, nil diff --git a/vendor/github.com/prometheus/procfs/meminfo.go b/vendor/github.com/prometheus/procfs/meminfo.go index f65e174e5..eaf00e224 100644 --- a/vendor/github.com/prometheus/procfs/meminfo.go +++ b/vendor/github.com/prometheus/procfs/meminfo.go @@ -152,7 +152,7 @@ func (fs FS) Meminfo() (Meminfo, error) { m, err := parseMemInfo(bytes.NewReader(b)) if err != nil { - return Meminfo{}, fmt.Errorf("failed to parse meminfo: %w", err) + return Meminfo{}, fmt.Errorf("%s: %w", ErrFileParse, err) } return *m, nil @@ -165,7 +165,7 @@ func parseMemInfo(r io.Reader) (*Meminfo, error) { // Each line has at least a name and value; we ignore the unit. fields := strings.Fields(s.Text()) if len(fields) < 2 { - return nil, fmt.Errorf("malformed meminfo line: %q", s.Text()) + return nil, fmt.Errorf("%w: Malformed line %q", ErrFileParse, s.Text()) } v, err := strconv.ParseUint(fields[1], 0, 64) diff --git a/vendor/github.com/prometheus/procfs/mountinfo.go b/vendor/github.com/prometheus/procfs/mountinfo.go index 59f4d5055..388ebf396 100644 --- a/vendor/github.com/prometheus/procfs/mountinfo.go +++ b/vendor/github.com/prometheus/procfs/mountinfo.go @@ -78,11 +78,11 @@ func parseMountInfoString(mountString string) (*MountInfo, error) { mountInfo := strings.Split(mountString, " ") mountInfoLength := len(mountInfo) if mountInfoLength < 10 { - return nil, fmt.Errorf("couldn't find enough fields in mount string: %s", mountString) + return nil, fmt.Errorf("%w: Too few fields in mount string: %s", ErrFileParse, mountString) } if mountInfo[mountInfoLength-4] != "-" { - return nil, fmt.Errorf("couldn't find separator in expected field: %s", mountInfo[mountInfoLength-4]) + return nil, fmt.Errorf("%w: couldn't find separator in expected field: %s", ErrFileParse, mountInfo[mountInfoLength-4]) } mount := &MountInfo{ @@ -98,18 +98,18 @@ func parseMountInfoString(mountString string) (*MountInfo, error) { mount.MountID, err = strconv.Atoi(mountInfo[0]) if err != nil { - return nil, fmt.Errorf("failed to parse mount ID") + return nil, fmt.Errorf("%w: mount ID: %q", ErrFileParse, mount.MountID) } mount.ParentID, err = strconv.Atoi(mountInfo[1]) if err != nil { - return nil, fmt.Errorf("failed to parse parent ID") + return nil, fmt.Errorf("%w: parent ID: %q", ErrFileParse, mount.ParentID) } // Has optional fields, which is a space separated list of values. // Example: shared:2 master:7 if mountInfo[6] != "" { mount.OptionalFields, err = mountOptionsParseOptionalFields(mountInfo[6 : mountInfoLength-4]) if err != nil { - return nil, err + return nil, fmt.Errorf("%s: %w", ErrFileParse, err) } } return mount, nil diff --git a/vendor/github.com/prometheus/procfs/mountstats.go b/vendor/github.com/prometheus/procfs/mountstats.go index 7f68890cf..852c8c4a0 100644 --- a/vendor/github.com/prometheus/procfs/mountstats.go +++ b/vendor/github.com/prometheus/procfs/mountstats.go @@ -266,7 +266,7 @@ func parseMountStats(r io.Reader) ([]*Mount, error) { if len(ss) > deviceEntryLen { // Only NFSv3 and v4 are supported for parsing statistics if m.Type != nfs3Type && m.Type != nfs4Type { - return nil, fmt.Errorf("cannot parse MountStats for fstype %q", m.Type) + return nil, fmt.Errorf("%w: Cannot parse MountStats for %q", ErrFileParse, m.Type) } statVersion := strings.TrimPrefix(ss[8], statVersionPrefix) @@ -290,7 +290,7 @@ func parseMountStats(r io.Reader) ([]*Mount, error) { // device [device] mounted on [mount] with fstype [type] func parseMount(ss []string) (*Mount, error) { if len(ss) < deviceEntryLen { - return nil, fmt.Errorf("invalid device entry: %v", ss) + return nil, fmt.Errorf("%w: Invalid device %q", ErrFileParse, ss) } // Check for specific words appearing at specific indices to ensure @@ -308,7 +308,7 @@ func parseMount(ss []string) (*Mount, error) { for _, f := range format { if ss[f.i] != f.s { - return nil, fmt.Errorf("invalid device entry: %v", ss) + return nil, fmt.Errorf("%w: Invalid device %q", ErrFileParse, ss) } } @@ -345,7 +345,7 @@ func parseMountStatsNFS(s *bufio.Scanner, statVersion string) (*MountStatsNFS, e switch ss[0] { case fieldOpts: if len(ss) < 2 { - return nil, fmt.Errorf("not enough information for NFS stats: %v", ss) + return nil, fmt.Errorf("%w: Incomplete information for NFS stats: %v", ErrFileParse, ss) } if stats.Opts == nil { stats.Opts = map[string]string{} @@ -360,7 +360,7 @@ func parseMountStatsNFS(s *bufio.Scanner, statVersion string) (*MountStatsNFS, e } case fieldAge: if len(ss) < 2 { - return nil, fmt.Errorf("not enough information for NFS stats: %v", ss) + return nil, fmt.Errorf("%w: Incomplete information for NFS stats: %v", ErrFileParse, ss) } // Age integer is in seconds d, err := time.ParseDuration(ss[1] + "s") @@ -371,7 +371,7 @@ func parseMountStatsNFS(s *bufio.Scanner, statVersion string) (*MountStatsNFS, e stats.Age = d case fieldBytes: if len(ss) < 2 { - return nil, fmt.Errorf("not enough information for NFS stats: %v", ss) + return nil, fmt.Errorf("%w: Incomplete information for NFS stats: %v", ErrFileParse, ss) } bstats, err := parseNFSBytesStats(ss[1:]) if err != nil { @@ -381,7 +381,7 @@ func parseMountStatsNFS(s *bufio.Scanner, statVersion string) (*MountStatsNFS, e stats.Bytes = *bstats case fieldEvents: if len(ss) < 2 { - return nil, fmt.Errorf("not enough information for NFS stats: %v", ss) + return nil, fmt.Errorf("%w: Incomplete information for NFS events: %v", ErrFileParse, ss) } estats, err := parseNFSEventsStats(ss[1:]) if err != nil { @@ -391,7 +391,7 @@ func parseMountStatsNFS(s *bufio.Scanner, statVersion string) (*MountStatsNFS, e stats.Events = *estats case fieldTransport: if len(ss) < 3 { - return nil, fmt.Errorf("not enough information for NFS transport stats: %v", ss) + return nil, fmt.Errorf("%w: Incomplete information for NFS transport stats: %v", ErrFileParse, ss) } tstats, err := parseNFSTransportStats(ss[1:], statVersion) @@ -430,7 +430,7 @@ func parseMountStatsNFS(s *bufio.Scanner, statVersion string) (*MountStatsNFS, e // integer fields. func parseNFSBytesStats(ss []string) (*NFSBytesStats, error) { if len(ss) != fieldBytesLen { - return nil, fmt.Errorf("invalid NFS bytes stats: %v", ss) + return nil, fmt.Errorf("%w: Invalid NFS bytes stats: %v", ErrFileParse, ss) } ns := make([]uint64, 0, fieldBytesLen) @@ -459,7 +459,7 @@ func parseNFSBytesStats(ss []string) (*NFSBytesStats, error) { // integer fields. func parseNFSEventsStats(ss []string) (*NFSEventsStats, error) { if len(ss) != fieldEventsLen { - return nil, fmt.Errorf("invalid NFS events stats: %v", ss) + return nil, fmt.Errorf("%w: invalid NFS events stats: %v", ErrFileParse, ss) } ns := make([]uint64, 0, fieldEventsLen) @@ -523,7 +523,7 @@ func parseNFSOperationStats(s *bufio.Scanner) ([]NFSOperationStats, error) { } if len(ss) < minFields { - return nil, fmt.Errorf("invalid NFS per-operations stats: %v", ss) + return nil, fmt.Errorf("%w: invalid NFS per-operations stats: %v", ErrFileParse, ss) } // Skip string operation name for integers @@ -576,10 +576,10 @@ func parseNFSTransportStats(ss []string, statVersion string) (*NFSTransportStats } else if protocol == "udp" { expectedLength = fieldTransport10UDPLen } else { - return nil, fmt.Errorf("invalid NFS protocol \"%s\" in stats 1.0 statement: %v", protocol, ss) + return nil, fmt.Errorf("%w: Invalid NFS protocol \"%s\" in stats 1.0 statement: %v", ErrFileParse, protocol, ss) } if len(ss) != expectedLength { - return nil, fmt.Errorf("invalid NFS transport stats 1.0 statement: %v", ss) + return nil, fmt.Errorf("%w: Invalid NFS transport stats 1.0 statement: %v", ErrFileParse, ss) } case statVersion11: var expectedLength int @@ -588,13 +588,13 @@ func parseNFSTransportStats(ss []string, statVersion string) (*NFSTransportStats } else if protocol == "udp" { expectedLength = fieldTransport11UDPLen } else { - return nil, fmt.Errorf("invalid NFS protocol \"%s\" in stats 1.1 statement: %v", protocol, ss) + return nil, fmt.Errorf("%w: invalid NFS protocol \"%s\" in stats 1.1 statement: %v", ErrFileParse, protocol, ss) } if len(ss) != expectedLength { - return nil, fmt.Errorf("invalid NFS transport stats 1.1 statement: %v", ss) + return nil, fmt.Errorf("%w: invalid NFS transport stats 1.1 statement: %v", ErrFileParse, ss) } default: - return nil, fmt.Errorf("unrecognized NFS transport stats version: %q", statVersion) + return nil, fmt.Errorf("%s: Unrecognized NFS transport stats version: %q", ErrFileParse, statVersion) } // Allocate enough for v1.1 stats since zero value for v1.1 stats will be okay diff --git a/vendor/github.com/prometheus/procfs/net_conntrackstat.go b/vendor/github.com/prometheus/procfs/net_conntrackstat.go index 64a0e9460..fdfa45611 100644 --- a/vendor/github.com/prometheus/procfs/net_conntrackstat.go +++ b/vendor/github.com/prometheus/procfs/net_conntrackstat.go @@ -58,7 +58,7 @@ func readConntrackStat(path string) ([]ConntrackStatEntry, error) { stat, err := parseConntrackStat(bytes.NewReader(b)) if err != nil { - return nil, fmt.Errorf("failed to read conntrack stats from %q: %w", path, err) + return nil, fmt.Errorf("%s: Cannot read file: %v: %w", ErrFileRead, path, err) } return stat, nil @@ -86,11 +86,12 @@ func parseConntrackStat(r io.Reader) ([]ConntrackStatEntry, error) { func parseConntrackStatEntry(fields []string) (*ConntrackStatEntry, error) { entries, err := util.ParseHexUint64s(fields) if err != nil { - return nil, fmt.Errorf("invalid conntrackstat entry, couldn't parse fields: %s", err) + return nil, fmt.Errorf("%s: Cannot parse entry: %d: %w", ErrFileParse, entries, err) } numEntries := len(entries) if numEntries < 16 || numEntries > 17 { - return nil, fmt.Errorf("invalid conntrackstat entry, invalid number of fields: %d", numEntries) + return nil, + fmt.Errorf("%w: invalid conntrackstat entry, invalid number of fields: %d", ErrFileParse, numEntries) } stats := &ConntrackStatEntry{ diff --git a/vendor/github.com/prometheus/procfs/net_ip_socket.go b/vendor/github.com/prometheus/procfs/net_ip_socket.go index 7fd57d7f4..4da81ea57 100644 --- a/vendor/github.com/prometheus/procfs/net_ip_socket.go +++ b/vendor/github.com/prometheus/procfs/net_ip_socket.go @@ -130,7 +130,7 @@ func parseIP(hexIP string) (net.IP, error) { var byteIP []byte byteIP, err := hex.DecodeString(hexIP) if err != nil { - return nil, fmt.Errorf("cannot parse address field in socket line %q", hexIP) + return nil, fmt.Errorf("%s: Cannot parse socket field in %q: %w", ErrFileParse, hexIP, err) } switch len(byteIP) { case 4: @@ -144,7 +144,7 @@ func parseIP(hexIP string) (net.IP, error) { } return i, nil default: - return nil, fmt.Errorf("Unable to parse IP %s", hexIP) + return nil, fmt.Errorf("%s: Unable to parse IP %s: %w", ErrFileParse, hexIP, nil) } } @@ -153,7 +153,8 @@ func parseNetIPSocketLine(fields []string) (*netIPSocketLine, error) { line := &netIPSocketLine{} if len(fields) < 10 { return nil, fmt.Errorf( - "cannot parse net socket line as it has less then 10 columns %q", + "%w: Less than 10 columns found %q", + ErrFileParse, strings.Join(fields, " "), ) } @@ -162,64 +163,65 @@ func parseNetIPSocketLine(fields []string) (*netIPSocketLine, error) { // sl s := strings.Split(fields[0], ":") if len(s) != 2 { - return nil, fmt.Errorf("cannot parse sl field in socket line %q", fields[0]) + return nil, fmt.Errorf("%w: Unable to parse sl field in line %q", ErrFileParse, fields[0]) } if line.Sl, err = strconv.ParseUint(s[0], 0, 64); err != nil { - return nil, fmt.Errorf("cannot parse sl value in socket line: %w", err) + return nil, fmt.Errorf("%s: Unable to parse sl field in %q: %w", ErrFileParse, line.Sl, err) } // local_address l := strings.Split(fields[1], ":") if len(l) != 2 { - return nil, fmt.Errorf("cannot parse local_address field in socket line %q", fields[1]) + return nil, fmt.Errorf("%w: Unable to parse local_address field in %q", ErrFileParse, fields[1]) } if line.LocalAddr, err = parseIP(l[0]); err != nil { return nil, err } if line.LocalPort, err = strconv.ParseUint(l[1], 16, 64); err != nil { - return nil, fmt.Errorf("cannot parse local_address port value in socket line: %w", err) + return nil, fmt.Errorf("%s: Unable to parse local_address port value line %q: %w", ErrFileParse, line.LocalPort, err) } // remote_address r := strings.Split(fields[2], ":") if len(r) != 2 { - return nil, fmt.Errorf("cannot parse rem_address field in socket line %q", fields[1]) + return nil, fmt.Errorf("%w: Unable to parse rem_address field in %q", ErrFileParse, fields[1]) } if line.RemAddr, err = parseIP(r[0]); err != nil { return nil, err } if line.RemPort, err = strconv.ParseUint(r[1], 16, 64); err != nil { - return nil, fmt.Errorf("cannot parse rem_address port value in socket line: %w", err) + return nil, fmt.Errorf("%s: Cannot parse rem_address port value in %q: %w", ErrFileParse, line.RemPort, err) } // st if line.St, err = strconv.ParseUint(fields[3], 16, 64); err != nil { - return nil, fmt.Errorf("cannot parse st value in socket line: %w", err) + return nil, fmt.Errorf("%s: Cannot parse st value in %q: %w", ErrFileParse, line.St, err) } // tx_queue and rx_queue q := strings.Split(fields[4], ":") if len(q) != 2 { return nil, fmt.Errorf( - "cannot parse tx/rx queues in socket line as it has a missing colon %q", + "%w: Missing colon for tx/rx queues in socket line %q", + ErrFileParse, fields[4], ) } if line.TxQueue, err = strconv.ParseUint(q[0], 16, 64); err != nil { - return nil, fmt.Errorf("cannot parse tx_queue value in socket line: %w", err) + return nil, fmt.Errorf("%s: Cannot parse tx_queue value in %q: %w", ErrFileParse, line.TxQueue, err) } if line.RxQueue, err = strconv.ParseUint(q[1], 16, 64); err != nil { - return nil, fmt.Errorf("cannot parse rx_queue value in socket line: %w", err) + return nil, fmt.Errorf("%s: Cannot parse trx_queue value in %q: %w", ErrFileParse, line.RxQueue, err) } // uid if line.UID, err = strconv.ParseUint(fields[7], 0, 64); err != nil { - return nil, fmt.Errorf("cannot parse uid value in socket line: %w", err) + return nil, fmt.Errorf("%s: Cannot parse UID value in %q: %w", ErrFileParse, line.UID, err) } // inode if line.Inode, err = strconv.ParseUint(fields[9], 0, 64); err != nil { - return nil, fmt.Errorf("cannot parse inode value in socket line: %w", err) + return nil, fmt.Errorf("%s: Cannot parse inode value in %q: %w", ErrFileParse, line.Inode, err) } return line, nil diff --git a/vendor/github.com/prometheus/procfs/net_protocols.go b/vendor/github.com/prometheus/procfs/net_protocols.go index 374b6f73f..b6c77b709 100644 --- a/vendor/github.com/prometheus/procfs/net_protocols.go +++ b/vendor/github.com/prometheus/procfs/net_protocols.go @@ -131,7 +131,7 @@ func (ps NetProtocolStats) parseLine(rawLine string) (*NetProtocolStatLine, erro } else if fields[6] == disabled { line.Slab = false } else { - return nil, fmt.Errorf("unable to parse capability for protocol: %s", line.Name) + return nil, fmt.Errorf("%w: capability for protocol: %s", ErrFileParse, line.Name) } line.ModuleName = fields[7] @@ -173,7 +173,7 @@ func (pc *NetProtocolCapabilities) parseCapabilities(capabilities []string) erro } else if capabilities[i] == "n" { *capabilityFields[i] = false } else { - return fmt.Errorf("unable to parse capability block for protocol: position %d", i) + return fmt.Errorf("%w: capability block for protocol: position %d", ErrFileParse, i) } } return nil diff --git a/vendor/github.com/prometheus/procfs/net_route.go b/vendor/github.com/prometheus/procfs/net_route.go new file mode 100644 index 000000000..deb7029fe --- /dev/null +++ b/vendor/github.com/prometheus/procfs/net_route.go @@ -0,0 +1,143 @@ +// Copyright 2023 The Prometheus 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 procfs + +import ( + "bufio" + "bytes" + "fmt" + "io" + "strconv" + "strings" + + "github.com/prometheus/procfs/internal/util" +) + +const ( + blackholeRepresentation string = "*" + blackholeIfaceName string = "blackhole" + routeLineColumns int = 11 +) + +// A NetRouteLine represents one line from net/route. +type NetRouteLine struct { + Iface string + Destination uint32 + Gateway uint32 + Flags uint32 + RefCnt uint32 + Use uint32 + Metric uint32 + Mask uint32 + MTU uint32 + Window uint32 + IRTT uint32 +} + +func (fs FS) NetRoute() ([]NetRouteLine, error) { + return readNetRoute(fs.proc.Path("net", "route")) +} + +func readNetRoute(path string) ([]NetRouteLine, error) { + b, err := util.ReadFileNoStat(path) + if err != nil { + return nil, err + } + + routelines, err := parseNetRoute(bytes.NewReader(b)) + if err != nil { + return nil, fmt.Errorf("failed to read net route from %s: %w", path, err) + } + return routelines, nil +} + +func parseNetRoute(r io.Reader) ([]NetRouteLine, error) { + var routelines []NetRouteLine + + scanner := bufio.NewScanner(r) + scanner.Scan() + for scanner.Scan() { + fields := strings.Fields(scanner.Text()) + routeline, err := parseNetRouteLine(fields) + if err != nil { + return nil, err + } + routelines = append(routelines, *routeline) + } + return routelines, nil +} + +func parseNetRouteLine(fields []string) (*NetRouteLine, error) { + if len(fields) != routeLineColumns { + return nil, fmt.Errorf("invalid routeline, num of digits: %d", len(fields)) + } + iface := fields[0] + if iface == blackholeRepresentation { + iface = blackholeIfaceName + } + destination, err := strconv.ParseUint(fields[1], 16, 32) + if err != nil { + return nil, err + } + gateway, err := strconv.ParseUint(fields[2], 16, 32) + if err != nil { + return nil, err + } + flags, err := strconv.ParseUint(fields[3], 10, 32) + if err != nil { + return nil, err + } + refcnt, err := strconv.ParseUint(fields[4], 10, 32) + if err != nil { + return nil, err + } + use, err := strconv.ParseUint(fields[5], 10, 32) + if err != nil { + return nil, err + } + metric, err := strconv.ParseUint(fields[6], 10, 32) + if err != nil { + return nil, err + } + mask, err := strconv.ParseUint(fields[7], 16, 32) + if err != nil { + return nil, err + } + mtu, err := strconv.ParseUint(fields[8], 10, 32) + if err != nil { + return nil, err + } + window, err := strconv.ParseUint(fields[9], 10, 32) + if err != nil { + return nil, err + } + irtt, err := strconv.ParseUint(fields[10], 10, 32) + if err != nil { + return nil, err + } + routeline := &NetRouteLine{ + Iface: iface, + Destination: uint32(destination), + Gateway: uint32(gateway), + Flags: uint32(flags), + RefCnt: uint32(refcnt), + Use: uint32(use), + Metric: uint32(metric), + Mask: uint32(mask), + MTU: uint32(mtu), + Window: uint32(window), + IRTT: uint32(irtt), + } + return routeline, nil +} diff --git a/vendor/github.com/prometheus/procfs/net_sockstat.go b/vendor/github.com/prometheus/procfs/net_sockstat.go index e36f4872d..360e36af7 100644 --- a/vendor/github.com/prometheus/procfs/net_sockstat.go +++ b/vendor/github.com/prometheus/procfs/net_sockstat.go @@ -16,7 +16,6 @@ package procfs import ( "bufio" "bytes" - "errors" "fmt" "io" "strings" @@ -70,7 +69,7 @@ func readSockstat(name string) (*NetSockstat, error) { stat, err := parseSockstat(bytes.NewReader(b)) if err != nil { - return nil, fmt.Errorf("failed to read sockstats from %q: %w", name, err) + return nil, fmt.Errorf("%s: sockstats from %q: %w", ErrFileRead, name, err) } return stat, nil @@ -84,13 +83,13 @@ func parseSockstat(r io.Reader) (*NetSockstat, error) { // Expect a minimum of a protocol and one key/value pair. fields := strings.Split(s.Text(), " ") if len(fields) < 3 { - return nil, fmt.Errorf("malformed sockstat line: %q", s.Text()) + return nil, fmt.Errorf("%w: Malformed sockstat line: %q", ErrFileParse, s.Text()) } // The remaining fields are key/value pairs. kvs, err := parseSockstatKVs(fields[1:]) if err != nil { - return nil, fmt.Errorf("error parsing sockstat key/value pairs from %q: %w", s.Text(), err) + return nil, fmt.Errorf("%s: sockstat key/value pairs from %q: %w", ErrFileParse, s.Text(), err) } // The first field is the protocol. We must trim its colon suffix. @@ -119,7 +118,7 @@ func parseSockstat(r io.Reader) (*NetSockstat, error) { // parseSockstatKVs parses a string slice into a map of key/value pairs. func parseSockstatKVs(kvs []string) (map[string]int, error) { if len(kvs)%2 != 0 { - return nil, errors.New("odd number of fields in key/value pairs") + return nil, fmt.Errorf("%w:: Odd number of fields in key/value pairs %q", ErrFileParse, kvs) } // Iterate two values at a time to gather key/value pairs. diff --git a/vendor/github.com/prometheus/procfs/net_softnet.go b/vendor/github.com/prometheus/procfs/net_softnet.go index 540cea52c..c77085291 100644 --- a/vendor/github.com/prometheus/procfs/net_softnet.go +++ b/vendor/github.com/prometheus/procfs/net_softnet.go @@ -64,7 +64,7 @@ func (fs FS) NetSoftnetStat() ([]SoftnetStat, error) { entries, err := parseSoftnet(bytes.NewReader(b)) if err != nil { - return nil, fmt.Errorf("failed to parse /proc/net/softnet_stat: %w", err) + return nil, fmt.Errorf("%s: /proc/net/softnet_stat: %w", ErrFileParse, err) } return entries, nil @@ -83,7 +83,7 @@ func parseSoftnet(r io.Reader) ([]SoftnetStat, error) { softnetStat := SoftnetStat{} if width < minColumns { - return nil, fmt.Errorf("%d columns were detected, but at least %d were expected", width, minColumns) + return nil, fmt.Errorf("%w: detected %d columns, but expected at least %d", ErrFileParse, width, minColumns) } // Linux 2.6.23 https://elixir.bootlin.com/linux/v2.6.23/source/net/core/dev.c#L2347 diff --git a/vendor/github.com/prometheus/procfs/net_unix.go b/vendor/github.com/prometheus/procfs/net_unix.go index 98aa8e1c3..acbbc57ea 100644 --- a/vendor/github.com/prometheus/procfs/net_unix.go +++ b/vendor/github.com/prometheus/procfs/net_unix.go @@ -108,14 +108,14 @@ func parseNetUNIX(r io.Reader) (*NetUNIX, error) { line := s.Text() item, err := nu.parseLine(line, hasInode, minFields) if err != nil { - return nil, fmt.Errorf("failed to parse /proc/net/unix data %q: %w", line, err) + return nil, fmt.Errorf("%s: /proc/net/unix encountered data %q: %w", ErrFileParse, line, err) } nu.Rows = append(nu.Rows, item) } if err := s.Err(); err != nil { - return nil, fmt.Errorf("failed to scan /proc/net/unix data: %w", err) + return nil, fmt.Errorf("%s: /proc/net/unix encountered data: %w", ErrFileParse, err) } return &nu, nil @@ -126,7 +126,7 @@ func (u *NetUNIX) parseLine(line string, hasInode bool, min int) (*NetUNIXLine, l := len(fields) if l < min { - return nil, fmt.Errorf("expected at least %d fields but got %d", min, l) + return nil, fmt.Errorf("%w: expected at least %d fields but got %d", ErrFileParse, min, l) } // Field offsets are as follows: @@ -136,29 +136,29 @@ func (u *NetUNIX) parseLine(line string, hasInode bool, min int) (*NetUNIXLine, users, err := u.parseUsers(fields[1]) if err != nil { - return nil, fmt.Errorf("failed to parse ref count %q: %w", fields[1], err) + return nil, fmt.Errorf("%s: ref count %q: %w", ErrFileParse, fields[1], err) } flags, err := u.parseFlags(fields[3]) if err != nil { - return nil, fmt.Errorf("failed to parse flags %q: %w", fields[3], err) + return nil, fmt.Errorf("%s: Unable to parse flags %q: %w", ErrFileParse, fields[3], err) } typ, err := u.parseType(fields[4]) if err != nil { - return nil, fmt.Errorf("failed to parse type %q: %w", fields[4], err) + return nil, fmt.Errorf("%s: Failed to parse type %q: %w", ErrFileParse, fields[4], err) } state, err := u.parseState(fields[5]) if err != nil { - return nil, fmt.Errorf("failed to parse state %q: %w", fields[5], err) + return nil, fmt.Errorf("%s: Failed to parse state %q: %w", ErrFileParse, fields[5], err) } var inode uint64 if hasInode { inode, err = u.parseInode(fields[6]) if err != nil { - return nil, fmt.Errorf("failed to parse inode %q: %w", fields[6], err) + return nil, fmt.Errorf("%s failed to parse inode %q: %w", ErrFileParse, fields[6], err) } } diff --git a/vendor/github.com/prometheus/procfs/net_wireless.go b/vendor/github.com/prometheus/procfs/net_wireless.go index c80fb1542..7443edca9 100644 --- a/vendor/github.com/prometheus/procfs/net_wireless.go +++ b/vendor/github.com/prometheus/procfs/net_wireless.go @@ -68,7 +68,7 @@ func (fs FS) Wireless() ([]*Wireless, error) { m, err := parseWireless(bytes.NewReader(b)) if err != nil { - return nil, fmt.Errorf("failed to parse wireless: %w", err) + return nil, fmt.Errorf("%s: wireless: %w", ErrFileParse, err) } return m, nil @@ -97,64 +97,64 @@ func parseWireless(r io.Reader) ([]*Wireless, error) { parts := strings.Split(line, ":") if len(parts) != 2 { - return nil, fmt.Errorf("expected 2 parts after splitting line by ':', got %d for line %q", len(parts), line) + return nil, fmt.Errorf("%w: expected 2 parts after splitting line by ':', got %d for line %q", ErrFileParse, len(parts), line) } name := strings.TrimSpace(parts[0]) stats := strings.Fields(parts[1]) if len(stats) < 10 { - return nil, fmt.Errorf("invalid number of fields in line %d, expected at least 10, got %d: %q", n, len(stats), line) + return nil, fmt.Errorf("%w: invalid number of fields in line %d, expected 10+, got %d: %q", ErrFileParse, n, len(stats), line) } status, err := strconv.ParseUint(stats[0], 16, 16) if err != nil { - return nil, fmt.Errorf("invalid status in line %d: %q", n, line) + return nil, fmt.Errorf("%w: invalid status in line %d: %q", ErrFileParse, n, line) } qlink, err := strconv.Atoi(strings.TrimSuffix(stats[1], ".")) if err != nil { - return nil, fmt.Errorf("failed to parse Quality:link as integer %q: %w", qlink, err) + return nil, fmt.Errorf("%s: parse Quality:link as integer %q: %w", ErrFileParse, qlink, err) } qlevel, err := strconv.Atoi(strings.TrimSuffix(stats[2], ".")) if err != nil { - return nil, fmt.Errorf("failed to parse Quality:level as integer %q: %w", qlevel, err) + return nil, fmt.Errorf("%s: Quality:level as integer %q: %w", ErrFileParse, qlevel, err) } qnoise, err := strconv.Atoi(strings.TrimSuffix(stats[3], ".")) if err != nil { - return nil, fmt.Errorf("failed to parse Quality:noise as integer %q: %w", qnoise, err) + return nil, fmt.Errorf("%s: Quality:noise as integer %q: %w", ErrFileParse, qnoise, err) } dnwid, err := strconv.Atoi(stats[4]) if err != nil { - return nil, fmt.Errorf("failed to parse Discarded:nwid as integer %q: %w", dnwid, err) + return nil, fmt.Errorf("%s: Discarded:nwid as integer %q: %w", ErrFileParse, dnwid, err) } dcrypt, err := strconv.Atoi(stats[5]) if err != nil { - return nil, fmt.Errorf("failed to parse Discarded:crypt as integer %q: %w", dcrypt, err) + return nil, fmt.Errorf("%s: Discarded:crypt as integer %q: %w", ErrFileParse, dcrypt, err) } dfrag, err := strconv.Atoi(stats[6]) if err != nil { - return nil, fmt.Errorf("failed to parse Discarded:frag as integer %q: %w", dfrag, err) + return nil, fmt.Errorf("%s: Discarded:frag as integer %q: %w", ErrFileParse, dfrag, err) } dretry, err := strconv.Atoi(stats[7]) if err != nil { - return nil, fmt.Errorf("failed to parse Discarded:retry as integer %q: %w", dretry, err) + return nil, fmt.Errorf("%s: Discarded:retry as integer %q: %w", ErrFileParse, dretry, err) } dmisc, err := strconv.Atoi(stats[8]) if err != nil { - return nil, fmt.Errorf("failed to parse Discarded:misc as integer %q: %w", dmisc, err) + return nil, fmt.Errorf("%s: Discarded:misc as integer %q: %w", ErrFileParse, dmisc, err) } mbeacon, err := strconv.Atoi(stats[9]) if err != nil { - return nil, fmt.Errorf("failed to parse Missed:beacon as integer %q: %w", mbeacon, err) + return nil, fmt.Errorf("%s: Missed:beacon as integer %q: %w", ErrFileParse, mbeacon, err) } w := &Wireless{ @@ -175,7 +175,7 @@ func parseWireless(r io.Reader) ([]*Wireless, error) { } if err := scanner.Err(); err != nil { - return nil, fmt.Errorf("failed to scan /proc/net/wireless: %w", err) + return nil, fmt.Errorf("%s: Failed to scan /proc/net/wireless: %w", ErrFileRead, err) } return interfaces, nil diff --git a/vendor/github.com/prometheus/procfs/net_xfrm.go b/vendor/github.com/prometheus/procfs/net_xfrm.go index f9d9d243d..932ef2046 100644 --- a/vendor/github.com/prometheus/procfs/net_xfrm.go +++ b/vendor/github.com/prometheus/procfs/net_xfrm.go @@ -115,7 +115,7 @@ func (fs FS) NewXfrmStat() (XfrmStat, error) { fields := strings.Fields(s.Text()) if len(fields) != 2 { - return XfrmStat{}, fmt.Errorf("couldn't parse %q line %q", file.Name(), s.Text()) + return XfrmStat{}, fmt.Errorf("%w: %q line %q", ErrFileParse, file.Name(), s.Text()) } name := fields[0] diff --git a/vendor/github.com/prometheus/procfs/proc.go b/vendor/github.com/prometheus/procfs/proc.go index 48f39dafd..d1f71caa5 100644 --- a/vendor/github.com/prometheus/procfs/proc.go +++ b/vendor/github.com/prometheus/procfs/proc.go @@ -15,6 +15,7 @@ package procfs import ( "bytes" + "errors" "fmt" "io" "os" @@ -35,6 +36,12 @@ type Proc struct { // Procs represents a list of Proc structs. type Procs []Proc +var ( + ErrFileParse = errors.New("Error Parsing File") + ErrFileRead = errors.New("Error Reading File") + ErrMountPoint = errors.New("Error Accessing Mount point") +) + func (p Procs) Len() int { return len(p) } func (p Procs) Swap(i, j int) { p[i], p[j] = p[j], p[i] } func (p Procs) Less(i, j int) bool { return p[i].PID < p[j].PID } @@ -42,7 +49,7 @@ func (p Procs) Less(i, j int) bool { return p[i].PID < p[j].PID } // Self returns a process for the current process read via /proc/self. func Self() (Proc, error) { fs, err := NewFS(DefaultMountPoint) - if err != nil { + if err != nil || errors.Unwrap(err) == ErrMountPoint { return Proc{}, err } return fs.Self() @@ -104,7 +111,7 @@ func (fs FS) AllProcs() (Procs, error) { names, err := d.Readdirnames(-1) if err != nil { - return Procs{}, fmt.Errorf("could not read %q: %w", d.Name(), err) + return Procs{}, fmt.Errorf("%s: Cannot read file: %v: %w", ErrFileRead, names, err) } p := Procs{} @@ -205,7 +212,7 @@ func (p Proc) FileDescriptors() ([]uintptr, error) { for i, n := range names { fd, err := strconv.ParseInt(n, 10, 32) if err != nil { - return nil, fmt.Errorf("could not parse fd %q: %w", n, err) + return nil, fmt.Errorf("%s: Cannot parse line: %v: %w", ErrFileParse, i, err) } fds[i] = uintptr(fd) } @@ -237,7 +244,7 @@ func (p Proc) FileDescriptorTargets() ([]string, error) { // a process. func (p Proc) FileDescriptorsLen() (int, error) { // Use fast path if available (Linux v6.2): https://github.com/torvalds/linux/commit/f1f1f2569901 - if p.fs.real { + if p.fs.isReal { stat, err := os.Stat(p.path("fd")) if err != nil { return 0, err @@ -290,7 +297,7 @@ func (p Proc) fileDescriptors() ([]string, error) { names, err := d.Readdirnames(-1) if err != nil { - return nil, fmt.Errorf("could not read %q: %w", d.Name(), err) + return nil, fmt.Errorf("%s: Cannot read file: %v: %w", ErrFileRead, names, err) } return names, nil diff --git a/vendor/github.com/prometheus/procfs/proc_cgroup.go b/vendor/github.com/prometheus/procfs/proc_cgroup.go index ea83a75ff..daeed7f57 100644 --- a/vendor/github.com/prometheus/procfs/proc_cgroup.go +++ b/vendor/github.com/prometheus/procfs/proc_cgroup.go @@ -51,7 +51,7 @@ func parseCgroupString(cgroupStr string) (*Cgroup, error) { fields := strings.SplitN(cgroupStr, ":", 3) if len(fields) < 3 { - return nil, fmt.Errorf("at least 3 fields required, found %d fields in cgroup string: %s", len(fields), cgroupStr) + return nil, fmt.Errorf("%w: 3+ fields required, found %d fields in cgroup string: %s", ErrFileParse, len(fields), cgroupStr) } cgroup := &Cgroup{ @@ -60,7 +60,7 @@ func parseCgroupString(cgroupStr string) (*Cgroup, error) { } cgroup.HierarchyID, err = strconv.Atoi(fields[0]) if err != nil { - return nil, fmt.Errorf("failed to parse hierarchy ID") + return nil, fmt.Errorf("%w: hierarchy ID: %q", ErrFileParse, cgroup.HierarchyID) } if fields[1] != "" { ssNames := strings.Split(fields[1], ",") diff --git a/vendor/github.com/prometheus/procfs/proc_cgroups.go b/vendor/github.com/prometheus/procfs/proc_cgroups.go index 24d4dce9c..5dd493899 100644 --- a/vendor/github.com/prometheus/procfs/proc_cgroups.go +++ b/vendor/github.com/prometheus/procfs/proc_cgroups.go @@ -46,7 +46,7 @@ func parseCgroupSummaryString(CgroupSummaryStr string) (*CgroupSummary, error) { fields := strings.Fields(CgroupSummaryStr) // require at least 4 fields if len(fields) < 4 { - return nil, fmt.Errorf("at least 4 fields required, found %d fields in cgroup info string: %s", len(fields), CgroupSummaryStr) + return nil, fmt.Errorf("%w: 4+ fields required, found %d fields in cgroup info string: %s", ErrFileParse, len(fields), CgroupSummaryStr) } CgroupSummary := &CgroupSummary{ @@ -54,15 +54,15 @@ func parseCgroupSummaryString(CgroupSummaryStr string) (*CgroupSummary, error) { } CgroupSummary.Hierarchy, err = strconv.Atoi(fields[1]) if err != nil { - return nil, fmt.Errorf("failed to parse hierarchy ID") + return nil, fmt.Errorf("%w: Unable to parse hierarchy ID from %q", ErrFileParse, fields[1]) } CgroupSummary.Cgroups, err = strconv.Atoi(fields[2]) if err != nil { - return nil, fmt.Errorf("failed to parse Cgroup Num") + return nil, fmt.Errorf("%w: Unable to parse Cgroup Num from %q", ErrFileParse, fields[2]) } CgroupSummary.Enabled, err = strconv.Atoi(fields[3]) if err != nil { - return nil, fmt.Errorf("failed to parse Enabled") + return nil, fmt.Errorf("%w: Unable to parse Enabled from %q", ErrFileParse, fields[3]) } return CgroupSummary, nil } diff --git a/vendor/github.com/prometheus/procfs/proc_fdinfo.go b/vendor/github.com/prometheus/procfs/proc_fdinfo.go index 1bbdd4a8e..4b7933e4f 100644 --- a/vendor/github.com/prometheus/procfs/proc_fdinfo.go +++ b/vendor/github.com/prometheus/procfs/proc_fdinfo.go @@ -111,7 +111,7 @@ func parseInotifyInfo(line string) (*InotifyInfo, error) { } return i, nil } - return nil, fmt.Errorf("invalid inode entry: %q", line) + return nil, fmt.Errorf("%w: invalid inode entry: %q", ErrFileParse, line) } // ProcFDInfos represents a list of ProcFDInfo structs. diff --git a/vendor/github.com/prometheus/procfs/proc_interrupts.go b/vendor/github.com/prometheus/procfs/proc_interrupts.go index 9df79c237..86b4b4524 100644 --- a/vendor/github.com/prometheus/procfs/proc_interrupts.go +++ b/vendor/github.com/prometheus/procfs/proc_interrupts.go @@ -66,7 +66,7 @@ func parseInterrupts(r io.Reader) (Interrupts, error) { continue } if len(parts) < 2 { - return nil, fmt.Errorf("not enough fields in interrupts (expected at least 2 fields but got %d): %s", len(parts), parts) + return nil, fmt.Errorf("%w: Not enough fields in interrupts (expected 2+ fields but got %d): %s", ErrFileParse, len(parts), parts) } intName := parts[0][:len(parts[0])-1] // remove trailing : diff --git a/vendor/github.com/prometheus/procfs/proc_limits.go b/vendor/github.com/prometheus/procfs/proc_limits.go index 7a1388185..c86d815d7 100644 --- a/vendor/github.com/prometheus/procfs/proc_limits.go +++ b/vendor/github.com/prometheus/procfs/proc_limits.go @@ -103,7 +103,7 @@ func (p Proc) Limits() (ProcLimits, error) { //fields := limitsMatch.Split(s.Text(), limitsFields) fields := limitsMatch.FindStringSubmatch(s.Text()) if len(fields) != limitsFields { - return ProcLimits{}, fmt.Errorf("couldn't parse %q line %q", f.Name(), s.Text()) + return ProcLimits{}, fmt.Errorf("%w: couldn't parse %q line %q", ErrFileParse, f.Name(), s.Text()) } switch fields[1] { @@ -154,7 +154,7 @@ func parseUint(s string) (uint64, error) { } i, err := strconv.ParseUint(s, 10, 64) if err != nil { - return 0, fmt.Errorf("couldn't parse value %q: %w", s, err) + return 0, fmt.Errorf("%s: couldn't parse value %q: %w", ErrFileParse, s, err) } return i, nil } diff --git a/vendor/github.com/prometheus/procfs/proc_maps.go b/vendor/github.com/prometheus/procfs/proc_maps.go index f1bcbf32b..727549a13 100644 --- a/vendor/github.com/prometheus/procfs/proc_maps.go +++ b/vendor/github.com/prometheus/procfs/proc_maps.go @@ -65,7 +65,7 @@ type ProcMap struct { func parseDevice(s string) (uint64, error) { toks := strings.Split(s, ":") if len(toks) < 2 { - return 0, fmt.Errorf("unexpected number of fields") + return 0, fmt.Errorf("%w: unexpected number of fields, expected: 2, got: %q", ErrFileParse, len(toks)) } major, err := strconv.ParseUint(toks[0], 16, 0) @@ -95,7 +95,7 @@ func parseAddress(s string) (uintptr, error) { func parseAddresses(s string) (uintptr, uintptr, error) { toks := strings.Split(s, "-") if len(toks) < 2 { - return 0, 0, fmt.Errorf("invalid address") + return 0, 0, fmt.Errorf("%w: invalid address", ErrFileParse) } saddr, err := parseAddress(toks[0]) @@ -114,7 +114,7 @@ func parseAddresses(s string) (uintptr, uintptr, error) { // parsePermissions parses a token and returns any that are set. func parsePermissions(s string) (*ProcMapPermissions, error) { if len(s) < 4 { - return nil, fmt.Errorf("invalid permissions token") + return nil, fmt.Errorf("%w: invalid permissions token", ErrFileParse) } perms := ProcMapPermissions{} @@ -141,7 +141,7 @@ func parsePermissions(s string) (*ProcMapPermissions, error) { func parseProcMap(text string) (*ProcMap, error) { fields := strings.Fields(text) if len(fields) < 5 { - return nil, fmt.Errorf("truncated procmap entry") + return nil, fmt.Errorf("%w: truncated procmap entry", ErrFileParse) } saddr, eaddr, err := parseAddresses(fields[0]) diff --git a/vendor/github.com/prometheus/procfs/proc_netstat.go b/vendor/github.com/prometheus/procfs/proc_netstat.go index 6a43bb245..8e3ff4d79 100644 --- a/vendor/github.com/prometheus/procfs/proc_netstat.go +++ b/vendor/github.com/prometheus/procfs/proc_netstat.go @@ -195,8 +195,8 @@ func parseProcNetstat(r io.Reader, fileName string) (ProcNetstat, error) { // Remove trailing :. protocol := strings.TrimSuffix(nameParts[0], ":") if len(nameParts) != len(valueParts) { - return procNetstat, fmt.Errorf("mismatch field count mismatch in %s: %s", - fileName, protocol) + return procNetstat, fmt.Errorf("%w: mismatch field count mismatch in %s: %s", + ErrFileParse, fileName, protocol) } for i := 1; i < len(nameParts); i++ { value, err := strconv.ParseFloat(valueParts[i], 64) diff --git a/vendor/github.com/prometheus/procfs/proc_ns.go b/vendor/github.com/prometheus/procfs/proc_ns.go index 391b4cbd1..c22666750 100644 --- a/vendor/github.com/prometheus/procfs/proc_ns.go +++ b/vendor/github.com/prometheus/procfs/proc_ns.go @@ -40,7 +40,7 @@ func (p Proc) Namespaces() (Namespaces, error) { names, err := d.Readdirnames(-1) if err != nil { - return nil, fmt.Errorf("failed to read contents of ns dir: %w", err) + return nil, fmt.Errorf("%s: failed to read contents of ns dir: %w", ErrFileRead, err) } ns := make(Namespaces, len(names)) @@ -52,13 +52,13 @@ func (p Proc) Namespaces() (Namespaces, error) { fields := strings.SplitN(target, ":", 2) if len(fields) != 2 { - return nil, fmt.Errorf("failed to parse namespace type and inode from %q", target) + return nil, fmt.Errorf("%w: namespace type and inode from %q", ErrFileParse, target) } typ := fields[0] inode, err := strconv.ParseUint(strings.Trim(fields[1], "[]"), 10, 32) if err != nil { - return nil, fmt.Errorf("failed to parse inode from %q: %w", fields[1], err) + return nil, fmt.Errorf("%s: inode from %q: %w", ErrFileParse, fields[1], err) } ns[name] = Namespace{typ, uint32(inode)} diff --git a/vendor/github.com/prometheus/procfs/proc_psi.go b/vendor/github.com/prometheus/procfs/proc_psi.go index a68fe1529..fe9dbb425 100644 --- a/vendor/github.com/prometheus/procfs/proc_psi.go +++ b/vendor/github.com/prometheus/procfs/proc_psi.go @@ -61,14 +61,14 @@ type PSIStats struct { func (fs FS) PSIStatsForResource(resource string) (PSIStats, error) { data, err := util.ReadFileNoStat(fs.proc.Path(fmt.Sprintf("%s/%s", "pressure", resource))) if err != nil { - return PSIStats{}, fmt.Errorf("psi_stats: unavailable for %q: %w", resource, err) + return PSIStats{}, fmt.Errorf("%s: psi_stats: unavailable for %q: %w", ErrFileRead, resource, err) } - return parsePSIStats(resource, bytes.NewReader(data)) + return parsePSIStats(bytes.NewReader(data)) } // parsePSIStats parses the specified file for pressure stall information. -func parsePSIStats(resource string, r io.Reader) (PSIStats, error) { +func parsePSIStats(r io.Reader) (PSIStats, error) { psiStats := PSIStats{} scanner := bufio.NewScanner(r) diff --git a/vendor/github.com/prometheus/procfs/proc_smaps.go b/vendor/github.com/prometheus/procfs/proc_smaps.go index 0e97d9957..ad8785a40 100644 --- a/vendor/github.com/prometheus/procfs/proc_smaps.go +++ b/vendor/github.com/prometheus/procfs/proc_smaps.go @@ -135,12 +135,12 @@ func (s *ProcSMapsRollup) parseLine(line string) error { } vBytes := vKBytes * 1024 - s.addValue(k, v, vKBytes, vBytes) + s.addValue(k, vBytes) return nil } -func (s *ProcSMapsRollup) addValue(k string, vString string, vUint uint64, vUintBytes uint64) { +func (s *ProcSMapsRollup) addValue(k string, vUintBytes uint64) { switch k { case "Rss": s.Rss += vUintBytes diff --git a/vendor/github.com/prometheus/procfs/proc_snmp.go b/vendor/github.com/prometheus/procfs/proc_snmp.go index 6c46b7188..b9d2cf642 100644 --- a/vendor/github.com/prometheus/procfs/proc_snmp.go +++ b/vendor/github.com/prometheus/procfs/proc_snmp.go @@ -159,8 +159,8 @@ func parseSnmp(r io.Reader, fileName string) (ProcSnmp, error) { // Remove trailing :. protocol := strings.TrimSuffix(nameParts[0], ":") if len(nameParts) != len(valueParts) { - return procSnmp, fmt.Errorf("mismatch field count mismatch in %s: %s", - fileName, protocol) + return procSnmp, fmt.Errorf("%w: mismatch field count mismatch in %s: %s", + ErrFileParse, fileName, protocol) } for i := 1; i < len(nameParts); i++ { value, err := strconv.ParseFloat(valueParts[i], 64) diff --git a/vendor/github.com/prometheus/procfs/proc_stat.go b/vendor/github.com/prometheus/procfs/proc_stat.go index 14b249f4f..923e55005 100644 --- a/vendor/github.com/prometheus/procfs/proc_stat.go +++ b/vendor/github.com/prometheus/procfs/proc_stat.go @@ -138,7 +138,7 @@ func (p Proc) Stat() (ProcStat, error) { ) if l < 0 || r < 0 { - return ProcStat{}, fmt.Errorf("unexpected format, couldn't extract comm %q", data) + return ProcStat{}, fmt.Errorf("%w: unexpected format, couldn't extract comm %q", ErrFileParse, data) } s.Comm = string(data[l+1 : r]) diff --git a/vendor/github.com/prometheus/procfs/proc_sys.go b/vendor/github.com/prometheus/procfs/proc_sys.go index d46533ebf..12c5bf05b 100644 --- a/vendor/github.com/prometheus/procfs/proc_sys.go +++ b/vendor/github.com/prometheus/procfs/proc_sys.go @@ -44,7 +44,7 @@ func (fs FS) SysctlInts(sysctl string) ([]int, error) { vp := util.NewValueParser(f) values[i] = vp.Int() if err := vp.Err(); err != nil { - return nil, fmt.Errorf("field %d in sysctl %s is not a valid int: %w", i, sysctl, err) + return nil, fmt.Errorf("%s: field %d in sysctl %s is not a valid int: %w", ErrFileParse, i, sysctl, err) } } return values, nil diff --git a/vendor/github.com/prometheus/procfs/slab.go b/vendor/github.com/prometheus/procfs/slab.go index bc9aaf5c2..8611c9017 100644 --- a/vendor/github.com/prometheus/procfs/slab.go +++ b/vendor/github.com/prometheus/procfs/slab.go @@ -68,7 +68,7 @@ func parseV21SlabEntry(line string) (*Slab, error) { l := slabSpace.ReplaceAllString(line, " ") s := strings.Split(l, " ") if len(s) != 16 { - return nil, fmt.Errorf("unable to parse: %q", line) + return nil, fmt.Errorf("%w: unable to parse: %q", ErrFileParse, line) } var err error i := &Slab{Name: s[0]} diff --git a/vendor/github.com/prometheus/procfs/softirqs.go b/vendor/github.com/prometheus/procfs/softirqs.go index 559129cbc..b8fad677d 100644 --- a/vendor/github.com/prometheus/procfs/softirqs.go +++ b/vendor/github.com/prometheus/procfs/softirqs.go @@ -57,7 +57,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { ) if !scanner.Scan() { - return Softirqs{}, fmt.Errorf("softirqs empty") + return Softirqs{}, fmt.Errorf("%w: softirqs empty", ErrFileRead) } for scanner.Scan() { @@ -74,7 +74,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.Hi = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.Hi[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (HI%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (HI%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "TIMER:": @@ -82,7 +82,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.Timer = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.Timer[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (TIMER%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (TIMER%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "NET_TX:": @@ -90,7 +90,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.NetTx = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.NetTx[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (NET_TX%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (NET_TX%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "NET_RX:": @@ -98,7 +98,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.NetRx = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.NetRx[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (NET_RX%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (NET_RX%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "BLOCK:": @@ -106,7 +106,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.Block = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.Block[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (BLOCK%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (BLOCK%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "IRQ_POLL:": @@ -114,7 +114,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.IRQPoll = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.IRQPoll[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (IRQ_POLL%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (IRQ_POLL%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "TASKLET:": @@ -122,7 +122,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.Tasklet = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.Tasklet[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (TASKLET%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (TASKLET%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "SCHED:": @@ -130,7 +130,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.Sched = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.Sched[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (SCHED%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (SCHED%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "HRTIMER:": @@ -138,7 +138,7 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.HRTimer = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.HRTimer[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (HRTIMER%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (HRTIMER%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "RCU:": @@ -146,14 +146,14 @@ func parseSoftirqs(r io.Reader) (Softirqs, error) { softirqs.RCU = make([]uint64, len(perCPU)) for i, count := range perCPU { if softirqs.RCU[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse %q (RCU%d): %w", count, i, err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse %q (RCU%d): %w", ErrFileParse, count, i, err) } } } } if err := scanner.Err(); err != nil { - return Softirqs{}, fmt.Errorf("couldn't parse softirqs: %w", err) + return Softirqs{}, fmt.Errorf("%s: couldn't parse softirqs: %w", ErrFileParse, err) } return softirqs, scanner.Err() diff --git a/vendor/github.com/prometheus/procfs/stat.go b/vendor/github.com/prometheus/procfs/stat.go index 586af48af..34fc3ee21 100644 --- a/vendor/github.com/prometheus/procfs/stat.go +++ b/vendor/github.com/prometheus/procfs/stat.go @@ -93,10 +93,10 @@ func parseCPUStat(line string) (CPUStat, int64, error) { &cpuStat.Guest, &cpuStat.GuestNice) if err != nil && err != io.EOF { - return CPUStat{}, -1, fmt.Errorf("couldn't parse %q (cpu): %w", line, err) + return CPUStat{}, -1, fmt.Errorf("%s: couldn't parse %q (cpu): %w", ErrFileParse, line, err) } if count == 0 { - return CPUStat{}, -1, fmt.Errorf("couldn't parse %q (cpu): 0 elements parsed", line) + return CPUStat{}, -1, fmt.Errorf("%w: couldn't parse %q (cpu): 0 elements parsed", ErrFileParse, line) } cpuStat.User /= userHZ @@ -116,7 +116,7 @@ func parseCPUStat(line string) (CPUStat, int64, error) { cpuID, err := strconv.ParseInt(cpu[3:], 10, 64) if err != nil { - return CPUStat{}, -1, fmt.Errorf("couldn't parse %q (cpu/cpuid): %w", line, err) + return CPUStat{}, -1, fmt.Errorf("%s: couldn't parse %q (cpu/cpuid): %w", ErrFileParse, line, err) } return cpuStat, cpuID, nil @@ -136,7 +136,7 @@ func parseSoftIRQStat(line string) (SoftIRQStat, uint64, error) { &softIRQStat.Hrtimer, &softIRQStat.Rcu) if err != nil { - return SoftIRQStat{}, 0, fmt.Errorf("couldn't parse %q (softirq): %w", line, err) + return SoftIRQStat{}, 0, fmt.Errorf("%s: couldn't parse %q (softirq): %w", ErrFileParse, line, err) } return softIRQStat, total, nil @@ -187,6 +187,10 @@ func parseStat(r io.Reader, fileName string) (Stat, error) { err error ) + // Increase default scanner buffer to handle very long `intr` lines. + buf := make([]byte, 0, 8*1024) + scanner.Buffer(buf, 1024*1024) + for scanner.Scan() { line := scanner.Text() parts := strings.Fields(scanner.Text()) @@ -197,34 +201,34 @@ func parseStat(r io.Reader, fileName string) (Stat, error) { switch { case parts[0] == "btime": if stat.BootTime, err = strconv.ParseUint(parts[1], 10, 64); err != nil { - return Stat{}, fmt.Errorf("couldn't parse %q (btime): %w", parts[1], err) + return Stat{}, fmt.Errorf("%s: couldn't parse %q (btime): %w", ErrFileParse, parts[1], err) } case parts[0] == "intr": if stat.IRQTotal, err = strconv.ParseUint(parts[1], 10, 64); err != nil { - return Stat{}, fmt.Errorf("couldn't parse %q (intr): %w", parts[1], err) + return Stat{}, fmt.Errorf("%s: couldn't parse %q (intr): %w", ErrFileParse, parts[1], err) } numberedIRQs := parts[2:] stat.IRQ = make([]uint64, len(numberedIRQs)) for i, count := range numberedIRQs { if stat.IRQ[i], err = strconv.ParseUint(count, 10, 64); err != nil { - return Stat{}, fmt.Errorf("couldn't parse %q (intr%d): %w", count, i, err) + return Stat{}, fmt.Errorf("%s: couldn't parse %q (intr%d): %w", ErrFileParse, count, i, err) } } case parts[0] == "ctxt": if stat.ContextSwitches, err = strconv.ParseUint(parts[1], 10, 64); err != nil { - return Stat{}, fmt.Errorf("couldn't parse %q (ctxt): %w", parts[1], err) + return Stat{}, fmt.Errorf("%s: couldn't parse %q (ctxt): %w", ErrFileParse, parts[1], err) } case parts[0] == "processes": if stat.ProcessCreated, err = strconv.ParseUint(parts[1], 10, 64); err != nil { - return Stat{}, fmt.Errorf("couldn't parse %q (processes): %w", parts[1], err) + return Stat{}, fmt.Errorf("%s: couldn't parse %q (processes): %w", ErrFileParse, parts[1], err) } case parts[0] == "procs_running": if stat.ProcessesRunning, err = strconv.ParseUint(parts[1], 10, 64); err != nil { - return Stat{}, fmt.Errorf("couldn't parse %q (procs_running): %w", parts[1], err) + return Stat{}, fmt.Errorf("%s: couldn't parse %q (procs_running): %w", ErrFileParse, parts[1], err) } case parts[0] == "procs_blocked": if stat.ProcessesBlocked, err = strconv.ParseUint(parts[1], 10, 64); err != nil { - return Stat{}, fmt.Errorf("couldn't parse %q (procs_blocked): %w", parts[1], err) + return Stat{}, fmt.Errorf("%s: couldn't parse %q (procs_blocked): %w", ErrFileParse, parts[1], err) } case parts[0] == "softirq": softIRQStats, total, err := parseSoftIRQStat(line) @@ -247,7 +251,7 @@ func parseStat(r io.Reader, fileName string) (Stat, error) { } if err := scanner.Err(); err != nil { - return Stat{}, fmt.Errorf("couldn't parse %q: %w", fileName, err) + return Stat{}, fmt.Errorf("%s: couldn't parse %q: %w", ErrFileParse, fileName, err) } return stat, nil diff --git a/vendor/github.com/prometheus/procfs/swaps.go b/vendor/github.com/prometheus/procfs/swaps.go index 15edc2212..fa00f555d 100644 --- a/vendor/github.com/prometheus/procfs/swaps.go +++ b/vendor/github.com/prometheus/procfs/swaps.go @@ -64,7 +64,7 @@ func parseSwapString(swapString string) (*Swap, error) { swapFields := strings.Fields(swapString) swapLength := len(swapFields) if swapLength < 5 { - return nil, fmt.Errorf("too few fields in swap string: %s", swapString) + return nil, fmt.Errorf("%w: too few fields in swap string: %s", ErrFileParse, swapString) } swap := &Swap{ @@ -74,15 +74,15 @@ func parseSwapString(swapString string) (*Swap, error) { swap.Size, err = strconv.Atoi(swapFields[2]) if err != nil { - return nil, fmt.Errorf("invalid swap size: %s", swapFields[2]) + return nil, fmt.Errorf("%s: invalid swap size: %s: %w", ErrFileParse, swapFields[2], err) } swap.Used, err = strconv.Atoi(swapFields[3]) if err != nil { - return nil, fmt.Errorf("invalid swap used: %s", swapFields[3]) + return nil, fmt.Errorf("%s: invalid swap used: %s: %w", ErrFileParse, swapFields[3], err) } swap.Priority, err = strconv.Atoi(swapFields[4]) if err != nil { - return nil, fmt.Errorf("invalid swap priority: %s", swapFields[4]) + return nil, fmt.Errorf("%s: invalid swap priority: %s: %w", ErrFileParse, swapFields[4], err) } return swap, nil diff --git a/vendor/github.com/prometheus/procfs/thread.go b/vendor/github.com/prometheus/procfs/thread.go index 490c14708..df2215ece 100644 --- a/vendor/github.com/prometheus/procfs/thread.go +++ b/vendor/github.com/prometheus/procfs/thread.go @@ -45,7 +45,7 @@ func (fs FS) AllThreads(pid int) (Procs, error) { names, err := d.Readdirnames(-1) if err != nil { - return Procs{}, fmt.Errorf("could not read %q: %w", d.Name(), err) + return Procs{}, fmt.Errorf("%s: could not read %q: %w", ErrFileRead, d.Name(), err) } t := Procs{} @@ -55,7 +55,7 @@ func (fs FS) AllThreads(pid int) (Procs, error) { continue } - t = append(t, Proc{PID: int(tid), fs: FS{fsi.FS(taskPath), fs.real}}) + t = append(t, Proc{PID: int(tid), fs: FS{fsi.FS(taskPath), fs.isReal}}) } return t, nil @@ -67,12 +67,12 @@ func (fs FS) Thread(pid, tid int) (Proc, error) { if _, err := os.Stat(taskPath); err != nil { return Proc{}, err } - return Proc{PID: tid, fs: FS{fsi.FS(taskPath), fs.real}}, nil + return Proc{PID: tid, fs: FS{fsi.FS(taskPath), fs.isReal}}, nil } // Thread returns a process for a given TID of Proc. func (proc Proc) Thread(tid int) (Proc, error) { - tfs := FS{fsi.FS(proc.path("task")), proc.fs.real} + tfs := FS{fsi.FS(proc.path("task")), proc.fs.isReal} if _, err := os.Stat(tfs.proc.Path(strconv.Itoa(tid))); err != nil { return Proc{}, err } diff --git a/vendor/github.com/prometheus/procfs/vm.go b/vendor/github.com/prometheus/procfs/vm.go index cdedcae99..51c49d89e 100644 --- a/vendor/github.com/prometheus/procfs/vm.go +++ b/vendor/github.com/prometheus/procfs/vm.go @@ -86,7 +86,7 @@ func (fs FS) VM() (*VM, error) { return nil, err } if !file.Mode().IsDir() { - return nil, fmt.Errorf("%s is not a directory", path) + return nil, fmt.Errorf("%w: %s is not a directory", ErrFileRead, path) } files, err := os.ReadDir(path) diff --git a/vendor/github.com/prometheus/procfs/zoneinfo.go b/vendor/github.com/prometheus/procfs/zoneinfo.go index c745a4c04..ce5fefa5b 100644 --- a/vendor/github.com/prometheus/procfs/zoneinfo.go +++ b/vendor/github.com/prometheus/procfs/zoneinfo.go @@ -75,11 +75,11 @@ var nodeZoneRE = regexp.MustCompile(`(\d+), zone\s+(\w+)`) func (fs FS) Zoneinfo() ([]Zoneinfo, error) { data, err := os.ReadFile(fs.proc.Path("zoneinfo")) if err != nil { - return nil, fmt.Errorf("error reading zoneinfo %q: %w", fs.proc.Path("zoneinfo"), err) + return nil, fmt.Errorf("%s: error reading zoneinfo %q: %w", ErrFileRead, fs.proc.Path("zoneinfo"), err) } zoneinfo, err := parseZoneinfo(data) if err != nil { - return nil, fmt.Errorf("error parsing zoneinfo %q: %w", fs.proc.Path("zoneinfo"), err) + return nil, fmt.Errorf("%s: error parsing zoneinfo %q: %w", ErrFileParse, fs.proc.Path("zoneinfo"), err) } return zoneinfo, nil } diff --git a/vendor/github.com/sirupsen/logrus/README.md b/vendor/github.com/sirupsen/logrus/README.md index b042c896f..d1d4a85fd 100644 --- a/vendor/github.com/sirupsen/logrus/README.md +++ b/vendor/github.com/sirupsen/logrus/README.md @@ -9,7 +9,7 @@ the last thing you want from your Logging library (again...). This does not mean Logrus is dead. Logrus will continue to be maintained for security, (backwards compatible) bug fixes, and performance (where we are -limited by the interface). +limited by the interface). I believe Logrus' biggest contribution is to have played a part in today's widespread use of structured logging in Golang. There doesn't seem to be a @@ -43,7 +43,7 @@ plain text): With `log.SetFormatter(&log.JSONFormatter{})`, for easy parsing by logstash or Splunk: -```json +```text {"animal":"walrus","level":"info","msg":"A group of walrus emerges from the ocean","size":10,"time":"2014-03-10 19:57:38.562264131 -0400 EDT"} @@ -99,7 +99,7 @@ time="2015-03-26T01:27:38-04:00" level=fatal method=github.com/sirupsen/arcticcr ``` Note that this does add measurable overhead - the cost will depend on the version of Go, but is between 20 and 40% in recent tests with 1.6 and 1.7. You can validate this in your -environment via benchmarks: +environment via benchmarks: ``` go test -bench=.*CallerTracing ``` @@ -317,6 +317,8 @@ log.SetLevel(log.InfoLevel) It may be useful to set `log.Level = logrus.DebugLevel` in a debug or verbose environment if your application has that. +Note: If you want different log levels for global (`log.SetLevel(...)`) and syslog logging, please check the [syslog hook README](hooks/syslog/README.md#different-log-levels-for-local-and-remote-logging). + #### Entries Besides the fields added with `WithField` or `WithFields` some fields are diff --git a/vendor/github.com/sirupsen/logrus/writer.go b/vendor/github.com/sirupsen/logrus/writer.go index 72e8e3a1b..074fd4b8b 100644 --- a/vendor/github.com/sirupsen/logrus/writer.go +++ b/vendor/github.com/sirupsen/logrus/writer.go @@ -4,6 +4,7 @@ import ( "bufio" "io" "runtime" + "strings" ) // Writer at INFO level. See WriterLevel for details. @@ -20,15 +21,18 @@ func (logger *Logger) WriterLevel(level Level) *io.PipeWriter { return NewEntry(logger).WriterLevel(level) } +// Writer returns an io.Writer that writes to the logger at the info log level func (entry *Entry) Writer() *io.PipeWriter { return entry.WriterLevel(InfoLevel) } +// WriterLevel returns an io.Writer that writes to the logger at the given log level func (entry *Entry) WriterLevel(level Level) *io.PipeWriter { reader, writer := io.Pipe() var printFunc func(args ...interface{}) + // Determine which log function to use based on the specified log level switch level { case TraceLevel: printFunc = entry.Trace @@ -48,23 +52,51 @@ func (entry *Entry) WriterLevel(level Level) *io.PipeWriter { printFunc = entry.Print } + // Start a new goroutine to scan the input and write it to the logger using the specified print function. + // It splits the input into chunks of up to 64KB to avoid buffer overflows. go entry.writerScanner(reader, printFunc) + + // Set a finalizer function to close the writer when it is garbage collected runtime.SetFinalizer(writer, writerFinalizer) return writer } +// writerScanner scans the input from the reader and writes it to the logger func (entry *Entry) writerScanner(reader *io.PipeReader, printFunc func(args ...interface{})) { scanner := bufio.NewScanner(reader) + + // Set the buffer size to the maximum token size to avoid buffer overflows + scanner.Buffer(make([]byte, bufio.MaxScanTokenSize), bufio.MaxScanTokenSize) + + // Define a split function to split the input into chunks of up to 64KB + chunkSize := bufio.MaxScanTokenSize // 64KB + splitFunc := func(data []byte, atEOF bool) (int, []byte, error) { + if len(data) >= chunkSize { + return chunkSize, data[:chunkSize], nil + } + + return bufio.ScanLines(data, atEOF) + } + + // Use the custom split function to split the input + scanner.Split(splitFunc) + + // Scan the input and write it to the logger using the specified print function for scanner.Scan() { - printFunc(scanner.Text()) + printFunc(strings.TrimRight(scanner.Text(), "\r\n")) } + + // If there was an error while scanning the input, log an error if err := scanner.Err(); err != nil { entry.Errorf("Error while reading from Writer: %s", err) } + + // Close the reader when we are done reader.Close() } +// WriterFinalizer is a finalizer function that closes then given writer when it is garbage collected func writerFinalizer(writer *io.PipeWriter) { writer.Close() } diff --git a/vendor/golang.org/x/oauth2/clientcredentials/clientcredentials.go b/vendor/golang.org/x/oauth2/clientcredentials/clientcredentials.go index 7a0b9ed10..2459d069f 100644 --- a/vendor/golang.org/x/oauth2/clientcredentials/clientcredentials.go +++ b/vendor/golang.org/x/oauth2/clientcredentials/clientcredentials.go @@ -47,6 +47,10 @@ type Config struct { // client ID & client secret sent. The zero value means to // auto-detect. AuthStyle oauth2.AuthStyle + + // authStyleCache caches which auth style to use when Endpoint.AuthStyle is + // the zero value (AuthStyleAutoDetect). + authStyleCache internal.LazyAuthStyleCache } // Token uses client credentials to retrieve a token. @@ -103,7 +107,7 @@ func (c *tokenSource) Token() (*oauth2.Token, error) { v[k] = p } - tk, err := internal.RetrieveToken(c.ctx, c.conf.ClientID, c.conf.ClientSecret, c.conf.TokenURL, v, internal.AuthStyle(c.conf.AuthStyle)) + tk, err := internal.RetrieveToken(c.ctx, c.conf.ClientID, c.conf.ClientSecret, c.conf.TokenURL, v, internal.AuthStyle(c.conf.AuthStyle), c.conf.authStyleCache.Get()) if err != nil { if rErr, ok := err.(*internal.RetrieveError); ok { return nil, (*oauth2.RetrieveError)(rErr) diff --git a/vendor/golang.org/x/oauth2/internal/client_appengine.go b/vendor/golang.org/x/oauth2/internal/client_appengine.go index e1755d1d9..d28140f78 100644 --- a/vendor/golang.org/x/oauth2/internal/client_appengine.go +++ b/vendor/golang.org/x/oauth2/internal/client_appengine.go @@ -3,7 +3,6 @@ // license that can be found in the LICENSE file. //go:build appengine -// +build appengine package internal diff --git a/vendor/golang.org/x/oauth2/internal/token.go b/vendor/golang.org/x/oauth2/internal/token.go index 58901bda5..e83ddeef0 100644 --- a/vendor/golang.org/x/oauth2/internal/token.go +++ b/vendor/golang.org/x/oauth2/internal/token.go @@ -18,6 +18,7 @@ import ( "strconv" "strings" "sync" + "sync/atomic" "time" ) @@ -115,41 +116,60 @@ const ( AuthStyleInHeader AuthStyle = 2 ) -// authStyleCache is the set of tokenURLs we've successfully used via +// LazyAuthStyleCache is a backwards compatibility compromise to let Configs +// have a lazily-initialized AuthStyleCache. +// +// The two users of this, oauth2.Config and oauth2/clientcredentials.Config, +// both would ideally just embed an unexported AuthStyleCache but because both +// were historically allowed to be copied by value we can't retroactively add an +// uncopyable Mutex to them. +// +// We could use an atomic.Pointer, but that was added recently enough (in Go +// 1.18) that we'd break Go 1.17 users where the tests as of 2023-08-03 +// still pass. By using an atomic.Value, it supports both Go 1.17 and +// copying by value, even if that's not ideal. +type LazyAuthStyleCache struct { + v atomic.Value // of *AuthStyleCache +} + +func (lc *LazyAuthStyleCache) Get() *AuthStyleCache { + if c, ok := lc.v.Load().(*AuthStyleCache); ok { + return c + } + c := new(AuthStyleCache) + if !lc.v.CompareAndSwap(nil, c) { + c = lc.v.Load().(*AuthStyleCache) + } + return c +} + +// AuthStyleCache is the set of tokenURLs we've successfully used via // RetrieveToken and which style auth we ended up using. // It's called a cache, but it doesn't (yet?) shrink. It's expected that // the set of OAuth2 servers a program contacts over time is fixed and // small. -var authStyleCache struct { - sync.Mutex - m map[string]AuthStyle // keyed by tokenURL -} - -// ResetAuthCache resets the global authentication style cache used -// for AuthStyleUnknown token requests. -func ResetAuthCache() { - authStyleCache.Lock() - defer authStyleCache.Unlock() - authStyleCache.m = nil +type AuthStyleCache struct { + mu sync.Mutex + m map[string]AuthStyle // keyed by tokenURL } // lookupAuthStyle reports which auth style we last used with tokenURL // when calling RetrieveToken and whether we have ever done so. -func lookupAuthStyle(tokenURL string) (style AuthStyle, ok bool) { - authStyleCache.Lock() - defer authStyleCache.Unlock() - style, ok = authStyleCache.m[tokenURL] +func (c *AuthStyleCache) lookupAuthStyle(tokenURL string) (style AuthStyle, ok bool) { + c.mu.Lock() + defer c.mu.Unlock() + style, ok = c.m[tokenURL] return } // setAuthStyle adds an entry to authStyleCache, documented above. -func setAuthStyle(tokenURL string, v AuthStyle) { - authStyleCache.Lock() - defer authStyleCache.Unlock() - if authStyleCache.m == nil { - authStyleCache.m = make(map[string]AuthStyle) +func (c *AuthStyleCache) setAuthStyle(tokenURL string, v AuthStyle) { + c.mu.Lock() + defer c.mu.Unlock() + if c.m == nil { + c.m = make(map[string]AuthStyle) } - authStyleCache.m[tokenURL] = v + c.m[tokenURL] = v } // newTokenRequest returns a new *http.Request to retrieve a new token @@ -189,10 +209,10 @@ func cloneURLValues(v url.Values) url.Values { return v2 } -func RetrieveToken(ctx context.Context, clientID, clientSecret, tokenURL string, v url.Values, authStyle AuthStyle) (*Token, error) { +func RetrieveToken(ctx context.Context, clientID, clientSecret, tokenURL string, v url.Values, authStyle AuthStyle, styleCache *AuthStyleCache) (*Token, error) { needsAuthStyleProbe := authStyle == 0 if needsAuthStyleProbe { - if style, ok := lookupAuthStyle(tokenURL); ok { + if style, ok := styleCache.lookupAuthStyle(tokenURL); ok { authStyle = style needsAuthStyleProbe = false } else { @@ -222,7 +242,7 @@ func RetrieveToken(ctx context.Context, clientID, clientSecret, tokenURL string, token, err = doTokenRoundTrip(ctx, req) } if needsAuthStyleProbe && err == nil { - setAuthStyle(tokenURL, authStyle) + styleCache.setAuthStyle(tokenURL, authStyle) } // Don't overwrite `RefreshToken` with an empty value // if this was a token refreshing request. diff --git a/vendor/golang.org/x/oauth2/oauth2.go b/vendor/golang.org/x/oauth2/oauth2.go index 9085fabe3..cc7c98c25 100644 --- a/vendor/golang.org/x/oauth2/oauth2.go +++ b/vendor/golang.org/x/oauth2/oauth2.go @@ -58,6 +58,10 @@ type Config struct { // Scope specifies optional requested permissions. Scopes []string + + // authStyleCache caches which auth style to use when Endpoint.AuthStyle is + // the zero value (AuthStyleAutoDetect). + authStyleCache internal.LazyAuthStyleCache } // A TokenSource is anything that can return a token. diff --git a/vendor/golang.org/x/oauth2/token.go b/vendor/golang.org/x/oauth2/token.go index 5ffce9764..5bbb33217 100644 --- a/vendor/golang.org/x/oauth2/token.go +++ b/vendor/golang.org/x/oauth2/token.go @@ -164,7 +164,7 @@ func tokenFromInternal(t *internal.Token) *Token { // This token is then mapped from *internal.Token into an *oauth2.Token which is returned along // with an error.. func retrieveToken(ctx context.Context, c *Config, v url.Values) (*Token, error) { - tk, err := internal.RetrieveToken(ctx, c.ClientID, c.ClientSecret, c.Endpoint.TokenURL, v, internal.AuthStyle(c.Endpoint.AuthStyle)) + tk, err := internal.RetrieveToken(ctx, c.ClientID, c.ClientSecret, c.Endpoint.TokenURL, v, internal.AuthStyle(c.Endpoint.AuthStyle), c.authStyleCache.Get()) if err != nil { if rErr, ok := err.(*internal.RetrieveError); ok { return nil, (*RetrieveError)(rErr) diff --git a/vendor/golang.org/x/tools/internal/typeparams/coretype.go b/vendor/golang.org/x/tools/internal/typeparams/coretype.go index 993135ec9..71248209e 100644 --- a/vendor/golang.org/x/tools/internal/typeparams/coretype.go +++ b/vendor/golang.org/x/tools/internal/typeparams/coretype.go @@ -81,13 +81,13 @@ func CoreType(T types.Type) types.Type { // restrictions may be arbitrarily complex. For example, consider the // following: // -// type A interface{ ~string|~[]byte } +// type A interface{ ~string|~[]byte } // -// type B interface{ int|string } +// type B interface{ int|string } // -// type C interface { ~string|~int } +// type C interface { ~string|~int } // -// type T[P interface{ A|B; C }] int +// type T[P interface{ A|B; C }] int // // In this example, the structural type restriction of P is ~string|int: A|B // expands to ~string|~[]byte|int|string, which reduces to ~string|~[]byte|int, diff --git a/vendor/golang.org/x/tools/internal/typeparams/termlist.go b/vendor/golang.org/x/tools/internal/typeparams/termlist.go index 933106a23..cbd12f801 100644 --- a/vendor/golang.org/x/tools/internal/typeparams/termlist.go +++ b/vendor/golang.org/x/tools/internal/typeparams/termlist.go @@ -30,7 +30,7 @@ func (xl termlist) String() string { var buf bytes.Buffer for i, x := range xl { if i > 0 { - buf.WriteString(" ∪ ") + buf.WriteString(" | ") } buf.WriteString(x.String()) } diff --git a/vendor/golang.org/x/tools/internal/typeparams/typeterm.go b/vendor/golang.org/x/tools/internal/typeparams/typeterm.go index 7ddee28d9..7350bb702 100644 --- a/vendor/golang.org/x/tools/internal/typeparams/typeterm.go +++ b/vendor/golang.org/x/tools/internal/typeparams/typeterm.go @@ -10,11 +10,10 @@ import "go/types" // A term describes elementary type sets: // -// ∅: (*term)(nil) == ∅ // set of no types (empty set) -// 𝓤: &term{} == 𝓤 // set of all types (𝓤niverse) -// T: &term{false, T} == {T} // set of type T -// ~t: &term{true, t} == {t' | under(t') == t} // set of types with underlying type t -// +// ∅: (*term)(nil) == ∅ // set of no types (empty set) +// 𝓤: &term{} == 𝓤 // set of all types (𝓤niverse) +// T: &term{false, T} == {T} // set of type T +// ~t: &term{true, t} == {t' | under(t') == t} // set of types with underlying type t type term struct { tilde bool // valid if typ != nil typ types.Type diff --git a/vendor/google.golang.org/protobuf/encoding/prototext/encode.go b/vendor/google.golang.org/protobuf/encoding/prototext/encode.go index ebf6c6528..722a7b41d 100644 --- a/vendor/google.golang.org/protobuf/encoding/prototext/encode.go +++ b/vendor/google.golang.org/protobuf/encoding/prototext/encode.go @@ -101,13 +101,19 @@ func (o MarshalOptions) Format(m proto.Message) string { // MarshalOptions object. Do not depend on the output being stable. It may // change over time across different versions of the program. func (o MarshalOptions) Marshal(m proto.Message) ([]byte, error) { - return o.marshal(m) + return o.marshal(nil, m) +} + +// MarshalAppend appends the textproto format encoding of m to b, +// returning the result. +func (o MarshalOptions) MarshalAppend(b []byte, m proto.Message) ([]byte, error) { + return o.marshal(b, m) } // marshal is a centralized function that all marshal operations go through. // For profiling purposes, avoid changing the name of this function or // introducing other code paths for marshal that do not go through this. -func (o MarshalOptions) marshal(m proto.Message) ([]byte, error) { +func (o MarshalOptions) marshal(b []byte, m proto.Message) ([]byte, error) { var delims = [2]byte{'{', '}'} if o.Multiline && o.Indent == "" { @@ -117,7 +123,7 @@ func (o MarshalOptions) marshal(m proto.Message) ([]byte, error) { o.Resolver = protoregistry.GlobalTypes } - internalEnc, err := text.NewEncoder(o.Indent, delims, o.EmitASCII) + internalEnc, err := text.NewEncoder(b, o.Indent, delims, o.EmitASCII) if err != nil { return nil, err } @@ -125,7 +131,7 @@ func (o MarshalOptions) marshal(m proto.Message) ([]byte, error) { // Treat nil message interface as an empty message, // in which case there is nothing to output. if m == nil { - return []byte{}, nil + return b, nil } enc := encoder{internalEnc, o} diff --git a/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go b/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go index da289ccce..cf7aed77b 100644 --- a/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go +++ b/vendor/google.golang.org/protobuf/internal/encoding/text/encode.go @@ -53,8 +53,10 @@ type encoderState struct { // If outputASCII is true, strings will be serialized in such a way that // multi-byte UTF-8 sequences are escaped. This property ensures that the // overall output is ASCII (as opposed to UTF-8). -func NewEncoder(indent string, delims [2]byte, outputASCII bool) (*Encoder, error) { - e := &Encoder{} +func NewEncoder(buf []byte, indent string, delims [2]byte, outputASCII bool) (*Encoder, error) { + e := &Encoder{ + encoderState: encoderState{out: buf}, + } if len(indent) > 0 { if strings.Trim(indent, " \t") != "" { return nil, errors.New("indent may only be composed of space and tab characters") @@ -195,13 +197,13 @@ func appendFloat(out []byte, n float64, bitSize int) []byte { // WriteInt writes out the given signed integer value. func (e *Encoder) WriteInt(n int64) { e.prepareNext(scalar) - e.out = append(e.out, strconv.FormatInt(n, 10)...) + e.out = strconv.AppendInt(e.out, n, 10) } // WriteUint writes out the given unsigned integer value. func (e *Encoder) WriteUint(n uint64) { e.prepareNext(scalar) - e.out = append(e.out, strconv.FormatUint(n, 10)...) + e.out = strconv.AppendUint(e.out, n, 10) } // WriteLiteral writes out the given string as a literal value without quotes. diff --git a/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go b/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go index 5c0e8f73f..136f1b215 100644 --- a/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go +++ b/vendor/google.golang.org/protobuf/internal/genid/descriptor_gen.go @@ -183,13 +183,58 @@ const ( // Field names for google.protobuf.ExtensionRangeOptions. const ( ExtensionRangeOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option" + ExtensionRangeOptions_Declaration_field_name protoreflect.Name = "declaration" + ExtensionRangeOptions_Verification_field_name protoreflect.Name = "verification" ExtensionRangeOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.uninterpreted_option" + ExtensionRangeOptions_Declaration_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.declaration" + ExtensionRangeOptions_Verification_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.verification" ) // Field numbers for google.protobuf.ExtensionRangeOptions. const ( ExtensionRangeOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999 + ExtensionRangeOptions_Declaration_field_number protoreflect.FieldNumber = 2 + ExtensionRangeOptions_Verification_field_number protoreflect.FieldNumber = 3 +) + +// Full and short names for google.protobuf.ExtensionRangeOptions.VerificationState. +const ( + ExtensionRangeOptions_VerificationState_enum_fullname = "google.protobuf.ExtensionRangeOptions.VerificationState" + ExtensionRangeOptions_VerificationState_enum_name = "VerificationState" +) + +// Names for google.protobuf.ExtensionRangeOptions.Declaration. +const ( + ExtensionRangeOptions_Declaration_message_name protoreflect.Name = "Declaration" + ExtensionRangeOptions_Declaration_message_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration" +) + +// Field names for google.protobuf.ExtensionRangeOptions.Declaration. +const ( + ExtensionRangeOptions_Declaration_Number_field_name protoreflect.Name = "number" + ExtensionRangeOptions_Declaration_FullName_field_name protoreflect.Name = "full_name" + ExtensionRangeOptions_Declaration_Type_field_name protoreflect.Name = "type" + ExtensionRangeOptions_Declaration_IsRepeated_field_name protoreflect.Name = "is_repeated" + ExtensionRangeOptions_Declaration_Reserved_field_name protoreflect.Name = "reserved" + ExtensionRangeOptions_Declaration_Repeated_field_name protoreflect.Name = "repeated" + + ExtensionRangeOptions_Declaration_Number_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.number" + ExtensionRangeOptions_Declaration_FullName_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.full_name" + ExtensionRangeOptions_Declaration_Type_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.type" + ExtensionRangeOptions_Declaration_IsRepeated_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.is_repeated" + ExtensionRangeOptions_Declaration_Reserved_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.reserved" + ExtensionRangeOptions_Declaration_Repeated_field_fullname protoreflect.FullName = "google.protobuf.ExtensionRangeOptions.Declaration.repeated" +) + +// Field numbers for google.protobuf.ExtensionRangeOptions.Declaration. +const ( + ExtensionRangeOptions_Declaration_Number_field_number protoreflect.FieldNumber = 1 + ExtensionRangeOptions_Declaration_FullName_field_number protoreflect.FieldNumber = 2 + ExtensionRangeOptions_Declaration_Type_field_number protoreflect.FieldNumber = 3 + ExtensionRangeOptions_Declaration_IsRepeated_field_number protoreflect.FieldNumber = 4 + ExtensionRangeOptions_Declaration_Reserved_field_number protoreflect.FieldNumber = 5 + ExtensionRangeOptions_Declaration_Repeated_field_number protoreflect.FieldNumber = 6 ) // Names for google.protobuf.FieldDescriptorProto. @@ -540,6 +585,7 @@ const ( FieldOptions_DebugRedact_field_name protoreflect.Name = "debug_redact" FieldOptions_Retention_field_name protoreflect.Name = "retention" FieldOptions_Target_field_name protoreflect.Name = "target" + FieldOptions_Targets_field_name protoreflect.Name = "targets" FieldOptions_UninterpretedOption_field_name protoreflect.Name = "uninterpreted_option" FieldOptions_Ctype_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.ctype" @@ -552,6 +598,7 @@ const ( FieldOptions_DebugRedact_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.debug_redact" FieldOptions_Retention_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.retention" FieldOptions_Target_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.target" + FieldOptions_Targets_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.targets" FieldOptions_UninterpretedOption_field_fullname protoreflect.FullName = "google.protobuf.FieldOptions.uninterpreted_option" ) @@ -567,6 +614,7 @@ const ( FieldOptions_DebugRedact_field_number protoreflect.FieldNumber = 16 FieldOptions_Retention_field_number protoreflect.FieldNumber = 17 FieldOptions_Target_field_number protoreflect.FieldNumber = 18 + FieldOptions_Targets_field_number protoreflect.FieldNumber = 19 FieldOptions_UninterpretedOption_field_number protoreflect.FieldNumber = 999 ) diff --git a/vendor/google.golang.org/protobuf/internal/genid/type_gen.go b/vendor/google.golang.org/protobuf/internal/genid/type_gen.go index 3bc710138..e0f75fea0 100644 --- a/vendor/google.golang.org/protobuf/internal/genid/type_gen.go +++ b/vendor/google.golang.org/protobuf/internal/genid/type_gen.go @@ -32,6 +32,7 @@ const ( Type_Options_field_name protoreflect.Name = "options" Type_SourceContext_field_name protoreflect.Name = "source_context" Type_Syntax_field_name protoreflect.Name = "syntax" + Type_Edition_field_name protoreflect.Name = "edition" Type_Name_field_fullname protoreflect.FullName = "google.protobuf.Type.name" Type_Fields_field_fullname protoreflect.FullName = "google.protobuf.Type.fields" @@ -39,6 +40,7 @@ const ( Type_Options_field_fullname protoreflect.FullName = "google.protobuf.Type.options" Type_SourceContext_field_fullname protoreflect.FullName = "google.protobuf.Type.source_context" Type_Syntax_field_fullname protoreflect.FullName = "google.protobuf.Type.syntax" + Type_Edition_field_fullname protoreflect.FullName = "google.protobuf.Type.edition" ) // Field numbers for google.protobuf.Type. @@ -49,6 +51,7 @@ const ( Type_Options_field_number protoreflect.FieldNumber = 4 Type_SourceContext_field_number protoreflect.FieldNumber = 5 Type_Syntax_field_number protoreflect.FieldNumber = 6 + Type_Edition_field_number protoreflect.FieldNumber = 7 ) // Names for google.protobuf.Field. @@ -121,12 +124,14 @@ const ( Enum_Options_field_name protoreflect.Name = "options" Enum_SourceContext_field_name protoreflect.Name = "source_context" Enum_Syntax_field_name protoreflect.Name = "syntax" + Enum_Edition_field_name protoreflect.Name = "edition" Enum_Name_field_fullname protoreflect.FullName = "google.protobuf.Enum.name" Enum_Enumvalue_field_fullname protoreflect.FullName = "google.protobuf.Enum.enumvalue" Enum_Options_field_fullname protoreflect.FullName = "google.protobuf.Enum.options" Enum_SourceContext_field_fullname protoreflect.FullName = "google.protobuf.Enum.source_context" Enum_Syntax_field_fullname protoreflect.FullName = "google.protobuf.Enum.syntax" + Enum_Edition_field_fullname protoreflect.FullName = "google.protobuf.Enum.edition" ) // Field numbers for google.protobuf.Enum. @@ -136,6 +141,7 @@ const ( Enum_Options_field_number protoreflect.FieldNumber = 3 Enum_SourceContext_field_number protoreflect.FieldNumber = 4 Enum_Syntax_field_number protoreflect.FieldNumber = 5 + Enum_Edition_field_number protoreflect.FieldNumber = 6 ) // Names for google.protobuf.EnumValue. diff --git a/vendor/google.golang.org/protobuf/internal/order/order.go b/vendor/google.golang.org/protobuf/internal/order/order.go index 33745ed06..dea522e12 100644 --- a/vendor/google.golang.org/protobuf/internal/order/order.go +++ b/vendor/google.golang.org/protobuf/internal/order/order.go @@ -33,7 +33,7 @@ var ( return !inOneof(ox) && inOneof(oy) } // Fields in disjoint oneof sets are sorted by declaration index. - if ox != nil && oy != nil && ox != oy { + if inOneof(ox) && inOneof(oy) && ox != oy { return ox.Index() < oy.Index() } // Fields sorted by field number. diff --git a/vendor/google.golang.org/protobuf/internal/version/version.go b/vendor/google.golang.org/protobuf/internal/version/version.go index f7014cd51..0999f29d5 100644 --- a/vendor/google.golang.org/protobuf/internal/version/version.go +++ b/vendor/google.golang.org/protobuf/internal/version/version.go @@ -51,7 +51,7 @@ import ( // 10. Send out the CL for review and submit it. const ( Major = 1 - Minor = 30 + Minor = 31 Patch = 0 PreRelease = "" ) diff --git a/vendor/google.golang.org/protobuf/proto/size.go b/vendor/google.golang.org/protobuf/proto/size.go index 554b9c6c0..f1692b49b 100644 --- a/vendor/google.golang.org/protobuf/proto/size.go +++ b/vendor/google.golang.org/protobuf/proto/size.go @@ -73,23 +73,27 @@ func (o MarshalOptions) sizeField(fd protoreflect.FieldDescriptor, value protore } func (o MarshalOptions) sizeList(num protowire.Number, fd protoreflect.FieldDescriptor, list protoreflect.List) (size int) { + sizeTag := protowire.SizeTag(num) + if fd.IsPacked() && list.Len() > 0 { content := 0 for i, llen := 0, list.Len(); i < llen; i++ { content += o.sizeSingular(num, fd.Kind(), list.Get(i)) } - return protowire.SizeTag(num) + protowire.SizeBytes(content) + return sizeTag + protowire.SizeBytes(content) } for i, llen := 0, list.Len(); i < llen; i++ { - size += protowire.SizeTag(num) + o.sizeSingular(num, fd.Kind(), list.Get(i)) + size += sizeTag + o.sizeSingular(num, fd.Kind(), list.Get(i)) } return size } func (o MarshalOptions) sizeMap(num protowire.Number, fd protoreflect.FieldDescriptor, mapv protoreflect.Map) (size int) { + sizeTag := protowire.SizeTag(num) + mapv.Range(func(key protoreflect.MapKey, value protoreflect.Value) bool { - size += protowire.SizeTag(num) + size += sizeTag size += protowire.SizeBytes(o.sizeField(fd.MapKey(), key.Value()) + o.sizeField(fd.MapValue(), value)) return true }) diff --git a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go b/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go index 54ce326df..717b106f3 100644 --- a/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go +++ b/vendor/google.golang.org/protobuf/reflect/protoreflect/source_gen.go @@ -363,6 +363,8 @@ func (p *SourcePath) appendFieldOptions(b []byte) []byte { b = p.appendSingularField(b, "retention", nil) case 18: b = p.appendSingularField(b, "target", nil) + case 19: + b = p.appendRepeatedField(b, "targets", nil) case 999: b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption) } @@ -418,6 +420,10 @@ func (p *SourcePath) appendExtensionRangeOptions(b []byte) []byte { switch (*p)[0] { case 999: b = p.appendRepeatedField(b, "uninterpreted_option", (*SourcePath).appendUninterpretedOption) + case 2: + b = p.appendRepeatedField(b, "declaration", (*SourcePath).appendExtensionRangeOptions_Declaration) + case 3: + b = p.appendSingularField(b, "verification", nil) } return b } @@ -473,3 +479,24 @@ func (p *SourcePath) appendUninterpretedOption_NamePart(b []byte) []byte { } return b } + +func (p *SourcePath) appendExtensionRangeOptions_Declaration(b []byte) []byte { + if len(*p) == 0 { + return b + } + switch (*p)[0] { + case 1: + b = p.appendSingularField(b, "number", nil) + case 2: + b = p.appendSingularField(b, "full_name", nil) + case 3: + b = p.appendSingularField(b, "type", nil) + case 4: + b = p.appendSingularField(b, "is_repeated", nil) + case 5: + b = p.appendSingularField(b, "reserved", nil) + case 6: + b = p.appendSingularField(b, "repeated", nil) + } + return b +} diff --git a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go index dac5671db..04c00f737 100644 --- a/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go +++ b/vendor/google.golang.org/protobuf/types/descriptorpb/descriptor.pb.go @@ -48,6 +48,64 @@ import ( sync "sync" ) +// The verification state of the extension range. +type ExtensionRangeOptions_VerificationState int32 + +const ( + // All the extensions of the range must be declared. + ExtensionRangeOptions_DECLARATION ExtensionRangeOptions_VerificationState = 0 + ExtensionRangeOptions_UNVERIFIED ExtensionRangeOptions_VerificationState = 1 +) + +// Enum value maps for ExtensionRangeOptions_VerificationState. +var ( + ExtensionRangeOptions_VerificationState_name = map[int32]string{ + 0: "DECLARATION", + 1: "UNVERIFIED", + } + ExtensionRangeOptions_VerificationState_value = map[string]int32{ + "DECLARATION": 0, + "UNVERIFIED": 1, + } +) + +func (x ExtensionRangeOptions_VerificationState) Enum() *ExtensionRangeOptions_VerificationState { + p := new(ExtensionRangeOptions_VerificationState) + *p = x + return p +} + +func (x ExtensionRangeOptions_VerificationState) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ExtensionRangeOptions_VerificationState) Descriptor() protoreflect.EnumDescriptor { + return file_google_protobuf_descriptor_proto_enumTypes[0].Descriptor() +} + +func (ExtensionRangeOptions_VerificationState) Type() protoreflect.EnumType { + return &file_google_protobuf_descriptor_proto_enumTypes[0] +} + +func (x ExtensionRangeOptions_VerificationState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Do not use. +func (x *ExtensionRangeOptions_VerificationState) UnmarshalJSON(b []byte) error { + num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) + if err != nil { + return err + } + *x = ExtensionRangeOptions_VerificationState(num) + return nil +} + +// Deprecated: Use ExtensionRangeOptions_VerificationState.Descriptor instead. +func (ExtensionRangeOptions_VerificationState) EnumDescriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{3, 0} +} + type FieldDescriptorProto_Type int32 const ( @@ -137,11 +195,11 @@ func (x FieldDescriptorProto_Type) String() string { } func (FieldDescriptorProto_Type) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[0].Descriptor() + return file_google_protobuf_descriptor_proto_enumTypes[1].Descriptor() } func (FieldDescriptorProto_Type) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[0] + return &file_google_protobuf_descriptor_proto_enumTypes[1] } func (x FieldDescriptorProto_Type) Number() protoreflect.EnumNumber { @@ -197,11 +255,11 @@ func (x FieldDescriptorProto_Label) String() string { } func (FieldDescriptorProto_Label) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[1].Descriptor() + return file_google_protobuf_descriptor_proto_enumTypes[2].Descriptor() } func (FieldDescriptorProto_Label) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[1] + return &file_google_protobuf_descriptor_proto_enumTypes[2] } func (x FieldDescriptorProto_Label) Number() protoreflect.EnumNumber { @@ -258,11 +316,11 @@ func (x FileOptions_OptimizeMode) String() string { } func (FileOptions_OptimizeMode) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[2].Descriptor() + return file_google_protobuf_descriptor_proto_enumTypes[3].Descriptor() } func (FileOptions_OptimizeMode) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[2] + return &file_google_protobuf_descriptor_proto_enumTypes[3] } func (x FileOptions_OptimizeMode) Number() protoreflect.EnumNumber { @@ -288,7 +346,13 @@ type FieldOptions_CType int32 const ( // Default mode. - FieldOptions_STRING FieldOptions_CType = 0 + FieldOptions_STRING FieldOptions_CType = 0 + // The option [ctype=CORD] may be applied to a non-repeated field of type + // "bytes". It indicates that in C++, the data should be stored in a Cord + // instead of a string. For very large strings, this may reduce memory + // fragmentation. It may also allow better performance when parsing from a + // Cord, or when parsing with aliasing enabled, as the parsed Cord may then + // alias the original buffer. FieldOptions_CORD FieldOptions_CType = 1 FieldOptions_STRING_PIECE FieldOptions_CType = 2 ) @@ -318,11 +382,11 @@ func (x FieldOptions_CType) String() string { } func (FieldOptions_CType) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[3].Descriptor() + return file_google_protobuf_descriptor_proto_enumTypes[4].Descriptor() } func (FieldOptions_CType) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[3] + return &file_google_protobuf_descriptor_proto_enumTypes[4] } func (x FieldOptions_CType) Number() protoreflect.EnumNumber { @@ -380,11 +444,11 @@ func (x FieldOptions_JSType) String() string { } func (FieldOptions_JSType) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[4].Descriptor() + return file_google_protobuf_descriptor_proto_enumTypes[5].Descriptor() } func (FieldOptions_JSType) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[4] + return &file_google_protobuf_descriptor_proto_enumTypes[5] } func (x FieldOptions_JSType) Number() protoreflect.EnumNumber { @@ -442,11 +506,11 @@ func (x FieldOptions_OptionRetention) String() string { } func (FieldOptions_OptionRetention) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[5].Descriptor() + return file_google_protobuf_descriptor_proto_enumTypes[6].Descriptor() } func (FieldOptions_OptionRetention) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[5] + return &file_google_protobuf_descriptor_proto_enumTypes[6] } func (x FieldOptions_OptionRetention) Number() protoreflect.EnumNumber { @@ -526,11 +590,11 @@ func (x FieldOptions_OptionTargetType) String() string { } func (FieldOptions_OptionTargetType) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[6].Descriptor() + return file_google_protobuf_descriptor_proto_enumTypes[7].Descriptor() } func (FieldOptions_OptionTargetType) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[6] + return &file_google_protobuf_descriptor_proto_enumTypes[7] } func (x FieldOptions_OptionTargetType) Number() protoreflect.EnumNumber { @@ -588,11 +652,11 @@ func (x MethodOptions_IdempotencyLevel) String() string { } func (MethodOptions_IdempotencyLevel) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[7].Descriptor() + return file_google_protobuf_descriptor_proto_enumTypes[8].Descriptor() } func (MethodOptions_IdempotencyLevel) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[7] + return &file_google_protobuf_descriptor_proto_enumTypes[8] } func (x MethodOptions_IdempotencyLevel) Number() protoreflect.EnumNumber { @@ -652,11 +716,11 @@ func (x GeneratedCodeInfo_Annotation_Semantic) String() string { } func (GeneratedCodeInfo_Annotation_Semantic) Descriptor() protoreflect.EnumDescriptor { - return file_google_protobuf_descriptor_proto_enumTypes[8].Descriptor() + return file_google_protobuf_descriptor_proto_enumTypes[9].Descriptor() } func (GeneratedCodeInfo_Annotation_Semantic) Type() protoreflect.EnumType { - return &file_google_protobuf_descriptor_proto_enumTypes[8] + return &file_google_protobuf_descriptor_proto_enumTypes[9] } func (x GeneratedCodeInfo_Annotation_Semantic) Number() protoreflect.EnumNumber { @@ -1015,7 +1079,21 @@ type ExtensionRangeOptions struct { // The parser stores options it doesn't recognize here. See above. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` -} + // go/protobuf-stripping-extension-declarations + // Like Metadata, but we use a repeated field to hold all extension + // declarations. This should avoid the size increases of transforming a large + // extension range into small ranges in generated binaries. + Declaration []*ExtensionRangeOptions_Declaration `protobuf:"bytes,2,rep,name=declaration" json:"declaration,omitempty"` + // The verification state of the range. + // TODO(b/278783756): flip the default to DECLARATION once all empty ranges + // are marked as UNVERIFIED. + Verification *ExtensionRangeOptions_VerificationState `protobuf:"varint,3,opt,name=verification,enum=google.protobuf.ExtensionRangeOptions_VerificationState,def=1" json:"verification,omitempty"` +} + +// Default values for ExtensionRangeOptions fields. +const ( + Default_ExtensionRangeOptions_Verification = ExtensionRangeOptions_UNVERIFIED +) func (x *ExtensionRangeOptions) Reset() { *x = ExtensionRangeOptions{} @@ -1056,6 +1134,20 @@ func (x *ExtensionRangeOptions) GetUninterpretedOption() []*UninterpretedOption return nil } +func (x *ExtensionRangeOptions) GetDeclaration() []*ExtensionRangeOptions_Declaration { + if x != nil { + return x.Declaration + } + return nil +} + +func (x *ExtensionRangeOptions) GetVerification() ExtensionRangeOptions_VerificationState { + if x != nil && x.Verification != nil { + return *x.Verification + } + return Default_ExtensionRangeOptions_Verification +} + // Describes a field within a message. type FieldDescriptorProto struct { state protoimpl.MessageState @@ -2046,8 +2138,10 @@ type FieldOptions struct { // The ctype option instructs the C++ code generator to use a different // representation of the field than it normally would. See the specific - // options below. This option is not yet implemented in the open source - // release -- sorry, we'll try to include it in a future version! + // options below. This option is only implemented to support use of + // [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of + // type "bytes" in the open source release -- sorry, we'll try to include + // other types in a future version! Ctype *FieldOptions_CType `protobuf:"varint,1,opt,name=ctype,enum=google.protobuf.FieldOptions_CType,def=0" json:"ctype,omitempty"` // The packed option can be enabled for repeated primitive fields to enable // a more efficient representation on the wire. Rather than repeatedly @@ -2111,9 +2205,11 @@ type FieldOptions struct { Weak *bool `protobuf:"varint,10,opt,name=weak,def=0" json:"weak,omitempty"` // Indicate that the field value should not be printed out when using debug // formats, e.g. when the field contains sensitive credentials. - DebugRedact *bool `protobuf:"varint,16,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"` - Retention *FieldOptions_OptionRetention `protobuf:"varint,17,opt,name=retention,enum=google.protobuf.FieldOptions_OptionRetention" json:"retention,omitempty"` - Target *FieldOptions_OptionTargetType `protobuf:"varint,18,opt,name=target,enum=google.protobuf.FieldOptions_OptionTargetType" json:"target,omitempty"` + DebugRedact *bool `protobuf:"varint,16,opt,name=debug_redact,json=debugRedact,def=0" json:"debug_redact,omitempty"` + Retention *FieldOptions_OptionRetention `protobuf:"varint,17,opt,name=retention,enum=google.protobuf.FieldOptions_OptionRetention" json:"retention,omitempty"` + // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. + Target *FieldOptions_OptionTargetType `protobuf:"varint,18,opt,name=target,enum=google.protobuf.FieldOptions_OptionTargetType" json:"target,omitempty"` + Targets []FieldOptions_OptionTargetType `protobuf:"varint,19,rep,name=targets,enum=google.protobuf.FieldOptions_OptionTargetType" json:"targets,omitempty"` // The parser stores options it doesn't recognize here. See above. UninterpretedOption []*UninterpretedOption `protobuf:"bytes,999,rep,name=uninterpreted_option,json=uninterpretedOption" json:"uninterpreted_option,omitempty"` } @@ -2224,6 +2320,7 @@ func (x *FieldOptions) GetRetention() FieldOptions_OptionRetention { return FieldOptions_RETENTION_UNKNOWN } +// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. func (x *FieldOptions) GetTarget() FieldOptions_OptionTargetType { if x != nil && x.Target != nil { return *x.Target @@ -2231,6 +2328,13 @@ func (x *FieldOptions) GetTarget() FieldOptions_OptionTargetType { return FieldOptions_TARGET_TYPE_UNKNOWN } +func (x *FieldOptions) GetTargets() []FieldOptions_OptionTargetType { + if x != nil { + return x.Targets + } + return nil +} + func (x *FieldOptions) GetUninterpretedOption() []*UninterpretedOption { if x != nil { return x.UninterpretedOption @@ -2960,6 +3064,108 @@ func (x *DescriptorProto_ReservedRange) GetEnd() int32 { return 0 } +type ExtensionRangeOptions_Declaration struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The extension number declared within the extension range. + Number *int32 `protobuf:"varint,1,opt,name=number" json:"number,omitempty"` + // The fully-qualified name of the extension field. There must be a leading + // dot in front of the full name. + FullName *string `protobuf:"bytes,2,opt,name=full_name,json=fullName" json:"full_name,omitempty"` + // The fully-qualified type name of the extension field. Unlike + // Metadata.type, Declaration.type must have a leading dot for messages + // and enums. + Type *string `protobuf:"bytes,3,opt,name=type" json:"type,omitempty"` + // Deprecated. Please use "repeated". + // + // Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. + IsRepeated *bool `protobuf:"varint,4,opt,name=is_repeated,json=isRepeated" json:"is_repeated,omitempty"` + // If true, indicates that the number is reserved in the extension range, + // and any extension field with the number will fail to compile. Set this + // when a declared extension field is deleted. + Reserved *bool `protobuf:"varint,5,opt,name=reserved" json:"reserved,omitempty"` + // If true, indicates that the extension must be defined as repeated. + // Otherwise the extension must be defined as optional. + Repeated *bool `protobuf:"varint,6,opt,name=repeated" json:"repeated,omitempty"` +} + +func (x *ExtensionRangeOptions_Declaration) Reset() { + *x = ExtensionRangeOptions_Declaration{} + if protoimpl.UnsafeEnabled { + mi := &file_google_protobuf_descriptor_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ExtensionRangeOptions_Declaration) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ExtensionRangeOptions_Declaration) ProtoMessage() {} + +func (x *ExtensionRangeOptions_Declaration) ProtoReflect() protoreflect.Message { + mi := &file_google_protobuf_descriptor_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ExtensionRangeOptions_Declaration.ProtoReflect.Descriptor instead. +func (*ExtensionRangeOptions_Declaration) Descriptor() ([]byte, []int) { + return file_google_protobuf_descriptor_proto_rawDescGZIP(), []int{3, 0} +} + +func (x *ExtensionRangeOptions_Declaration) GetNumber() int32 { + if x != nil && x.Number != nil { + return *x.Number + } + return 0 +} + +func (x *ExtensionRangeOptions_Declaration) GetFullName() string { + if x != nil && x.FullName != nil { + return *x.FullName + } + return "" +} + +func (x *ExtensionRangeOptions_Declaration) GetType() string { + if x != nil && x.Type != nil { + return *x.Type + } + return "" +} + +// Deprecated: Marked as deprecated in google/protobuf/descriptor.proto. +func (x *ExtensionRangeOptions_Declaration) GetIsRepeated() bool { + if x != nil && x.IsRepeated != nil { + return *x.IsRepeated + } + return false +} + +func (x *ExtensionRangeOptions_Declaration) GetReserved() bool { + if x != nil && x.Reserved != nil { + return *x.Reserved + } + return false +} + +func (x *ExtensionRangeOptions_Declaration) GetRepeated() bool { + if x != nil && x.Repeated != nil { + return *x.Repeated + } + return false +} + // Range of reserved numeric values. Reserved values may not be used by // entries in the same enum. Reserved ranges may not overlap. // @@ -2978,7 +3184,7 @@ type EnumDescriptorProto_EnumReservedRange struct { func (x *EnumDescriptorProto_EnumReservedRange) Reset() { *x = EnumDescriptorProto_EnumReservedRange{} if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_descriptor_proto_msgTypes[23] + mi := &file_google_protobuf_descriptor_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2991,7 +3197,7 @@ func (x *EnumDescriptorProto_EnumReservedRange) String() string { func (*EnumDescriptorProto_EnumReservedRange) ProtoMessage() {} func (x *EnumDescriptorProto_EnumReservedRange) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[23] + mi := &file_google_protobuf_descriptor_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3038,7 +3244,7 @@ type UninterpretedOption_NamePart struct { func (x *UninterpretedOption_NamePart) Reset() { *x = UninterpretedOption_NamePart{} if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_descriptor_proto_msgTypes[24] + mi := &file_google_protobuf_descriptor_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3051,7 +3257,7 @@ func (x *UninterpretedOption_NamePart) String() string { func (*UninterpretedOption_NamePart) ProtoMessage() {} func (x *UninterpretedOption_NamePart) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[24] + mi := &file_google_protobuf_descriptor_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3182,7 +3388,7 @@ type SourceCodeInfo_Location struct { func (x *SourceCodeInfo_Location) Reset() { *x = SourceCodeInfo_Location{} if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_descriptor_proto_msgTypes[25] + mi := &file_google_protobuf_descriptor_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3195,7 +3401,7 @@ func (x *SourceCodeInfo_Location) String() string { func (*SourceCodeInfo_Location) ProtoMessage() {} func (x *SourceCodeInfo_Location) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[25] + mi := &file_google_protobuf_descriptor_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3269,7 +3475,7 @@ type GeneratedCodeInfo_Annotation struct { func (x *GeneratedCodeInfo_Annotation) Reset() { *x = GeneratedCodeInfo_Annotation{} if protoimpl.UnsafeEnabled { - mi := &file_google_protobuf_descriptor_proto_msgTypes[26] + mi := &file_google_protobuf_descriptor_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3282,7 +3488,7 @@ func (x *GeneratedCodeInfo_Annotation) String() string { func (*GeneratedCodeInfo_Annotation) ProtoMessage() {} func (x *GeneratedCodeInfo_Annotation) ProtoReflect() protoreflect.Message { - mi := &file_google_protobuf_descriptor_proto_msgTypes[26] + mi := &file_google_protobuf_descriptor_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3436,264 +3642,296 @@ var file_google_protobuf_descriptor_proto_rawDesc = []byte{ 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, - 0x7c, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, - 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, - 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, - 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0xc1, 0x06, - 0x0a, 0x14, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, - 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, - 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, - 0x65, 0x72, 0x12, 0x41, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x05, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0xad, 0x04, 0x0a, 0x15, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, + 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, + 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a, 0x0b, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, + 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x2e, 0x44, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0x88, 0x01, + 0x02, 0x52, 0x0b, 0x64, 0x65, 0x63, 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x68, + 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, + 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x65, 0x72, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x3a, 0x0a, + 0x55, 0x4e, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, 0x45, 0x44, 0x52, 0x0c, 0x76, 0x65, 0x72, 0x69, + 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xb3, 0x01, 0x0a, 0x0b, 0x44, 0x65, 0x63, + 0x6c, 0x61, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, + 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, + 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x23, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, + 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x22, 0x34, + 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x44, 0x45, 0x43, 0x4c, 0x41, 0x52, 0x41, 0x54, 0x49, + 0x4f, 0x4e, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x55, 0x4e, 0x56, 0x45, 0x52, 0x49, 0x46, 0x49, + 0x45, 0x44, 0x10, 0x01, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, + 0xc1, 0x06, 0x0a, 0x14, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, + 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, + 0x6d, 0x62, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, - 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, 0x12, 0x23, - 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x69, 0x6e, 0x64, - 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x49, - 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x33, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x11, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x61, 0x6c, 0x22, 0xb6, 0x02, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, - 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 0x12, 0x0e, 0x0a, - 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x03, 0x12, 0x0f, 0x0a, - 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, 0x12, 0x0e, - 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x05, 0x12, 0x10, - 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x06, - 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, - 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, 0x4c, 0x10, - 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, - 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x4f, 0x55, 0x50, - 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, 0x53, 0x41, - 0x47, 0x45, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x59, 0x54, - 0x45, 0x53, 0x10, 0x0c, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, - 0x54, 0x33, 0x32, 0x10, 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x4e, - 0x55, 0x4d, 0x10, 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x46, 0x49, - 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x0f, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, - 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x11, 0x12, 0x0f, 0x0a, 0x0b, 0x54, - 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x12, 0x22, 0x43, 0x0a, 0x05, - 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x4f, - 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, - 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x12, 0x12, 0x0a, - 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, - 0x03, 0x22, 0x63, 0x0a, 0x14, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, - 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, + 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x65, + 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x69, + 0x6e, 0x64, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, + 0x66, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, + 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x22, 0xb6, 0x02, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0f, + 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, + 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 0x12, + 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x03, 0x12, + 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x04, + 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x05, + 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, + 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, + 0x33, 0x32, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 0x4f, + 0x4c, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x52, 0x49, + 0x4e, 0x47, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 0x4f, + 0x55, 0x50, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 0x53, + 0x53, 0x41, 0x47, 0x45, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, + 0x59, 0x54, 0x45, 0x53, 0x10, 0x0c, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, + 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, + 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, + 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x0f, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x10, 0x12, 0x0f, 0x0a, 0x0b, + 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x11, 0x12, 0x0f, 0x0a, + 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x12, 0x22, 0x43, + 0x0a, 0x05, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, + 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x4c, + 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x12, + 0x12, 0x0a, 0x0e, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45, + 0x44, 0x10, 0x03, 0x22, 0x63, 0x0a, 0x14, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x37, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, + 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, + 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe3, 0x02, 0x0a, 0x13, 0x45, 0x6e, 0x75, + 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, + 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5d, 0x0a, + 0x0e, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, + 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x72, + 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, + 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x61, 0x6d, + 0x65, 0x1a, 0x3b, 0x0a, 0x11, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, + 0x65, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x83, + 0x01, 0x0a, 0x18, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x6d, 0x65, 0x74, + 0x68, 0x6f, 0x64, 0x12, 0x39, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x89, + 0x02, 0x0a, 0x15, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x07, + 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, + 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, + 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, + 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, + 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, + 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, + 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, + 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0x91, 0x09, 0x0a, 0x0b, 0x46, + 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6a, 0x61, + 0x76, 0x61, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0b, 0x6a, 0x61, 0x76, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, + 0x14, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x61, 0x73, + 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6a, 0x61, 0x76, + 0x61, 0x4f, 0x75, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x35, 0x0a, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, + 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, + 0x6c, 0x73, 0x65, 0x52, 0x11, 0x6a, 0x61, 0x76, 0x61, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, + 0x65, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x1d, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x5f, 0x61, + 0x6e, 0x64, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, + 0x01, 0x52, 0x19, 0x6a, 0x61, 0x76, 0x61, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x45, + 0x71, 0x75, 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3a, 0x0a, 0x16, + 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x65, 0x63, + 0x6b, 0x5f, 0x75, 0x74, 0x66, 0x38, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, + 0x6c, 0x73, 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x55, 0x74, 0x66, 0x38, 0x12, 0x53, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x69, + 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, - 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe3, 0x02, 0x0a, 0x13, 0x45, 0x6e, 0x75, 0x6d, 0x44, - 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, - 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, - 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x12, 0x36, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5d, 0x0a, 0x0e, 0x72, - 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x65, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, - 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, - 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x1a, - 0x3b, 0x0a, 0x11, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x52, - 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x22, 0x83, 0x01, 0x0a, - 0x18, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, - 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x16, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, - 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x12, 0x39, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x89, 0x02, 0x0a, - 0x15, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, - 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6e, - 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x69, 0x6e, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x75, 0x74, - 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, - 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, - 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x10, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, - 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x72, - 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x10, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, - 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, - 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x53, - 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x22, 0x91, 0x09, 0x0a, 0x0b, 0x46, 0x69, 0x6c, - 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6a, 0x61, 0x76, 0x61, - 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, - 0x6a, 0x61, 0x76, 0x61, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x6a, - 0x61, 0x76, 0x61, 0x5f, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6a, 0x61, 0x76, 0x61, 0x4f, - 0x75, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, - 0x13, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x5f, 0x66, - 0x69, 0x6c, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, - 0x65, 0x52, 0x11, 0x6a, 0x61, 0x76, 0x61, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x1d, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67, 0x65, 0x6e, - 0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x71, 0x75, 0x61, 0x6c, 0x73, 0x5f, 0x61, 0x6e, 0x64, - 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, - 0x19, 0x6a, 0x61, 0x76, 0x61, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x45, 0x71, 0x75, - 0x61, 0x6c, 0x73, 0x41, 0x6e, 0x64, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3a, 0x0a, 0x16, 0x6a, 0x61, - 0x76, 0x61, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, - 0x75, 0x74, 0x66, 0x38, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, - 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x65, - 0x63, 0x6b, 0x55, 0x74, 0x66, 0x38, 0x12, 0x53, 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, - 0x7a, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, - 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, - 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6d, - 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x3a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, 0x52, 0x0b, - 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x46, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x67, - 0x6f, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x09, 0x67, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x13, 0x63, 0x63, - 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x11, - 0x63, 0x63, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x73, 0x12, 0x39, 0x0a, 0x15, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, - 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, - 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x47, 0x65, 0x6e, - 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x13, - 0x70, 0x79, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, - 0x52, 0x11, 0x70, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, - 0x63, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x14, 0x70, 0x68, 0x70, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x2a, 0x20, 0x01, 0x28, - 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x12, 0x70, 0x68, 0x70, 0x47, 0x65, 0x6e, - 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0a, - 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, - 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, - 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x63, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, - 0x5f, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, - 0x72, 0x75, 0x65, 0x52, 0x0e, 0x63, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x72, 0x65, - 0x6e, 0x61, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x62, 0x6a, 0x63, 0x5f, 0x63, 0x6c, 0x61, 0x73, - 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, - 0x6f, 0x62, 0x6a, 0x63, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, - 0x29, 0x0a, 0x10, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, - 0x61, 0x63, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x73, 0x68, 0x61, 0x72, - 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x77, - 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x27, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x73, 0x77, 0x69, 0x66, 0x74, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x28, 0x0a, - 0x10, 0x70, 0x68, 0x70, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, - 0x78, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x68, 0x70, 0x43, 0x6c, 0x61, 0x73, - 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x68, 0x70, 0x5f, 0x6e, - 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x70, 0x68, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x16, - 0x70, 0x68, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x61, 0x6d, - 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x70, 0x68, - 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, - 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x62, 0x79, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, - 0x67, 0x65, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x75, 0x62, 0x79, 0x50, 0x61, - 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, - 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, - 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, - 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, - 0x09, 0x0a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x4f, - 0x44, 0x45, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4c, 0x49, 0x54, - 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x03, 0x2a, 0x09, 0x08, 0xe8, 0x07, - 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x22, 0xbb, 0x03, 0x0a, - 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, - 0x3c, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x77, - 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, - 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x53, 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, 0x4c, 0x0a, - 0x1f, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x5f, 0x64, 0x65, 0x73, - 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x1c, 0x6e, - 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, - 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0a, 0x64, - 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, - 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, - 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x18, - 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, - 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6c, 0x65, - 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, - 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x4c, - 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x43, 0x6f, - 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, + 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, + 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x3a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, + 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x46, 0x6f, 0x72, 0x12, 0x1d, 0x0a, + 0x0a, 0x67, 0x6f, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x67, 0x6f, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x35, 0x0a, 0x13, + 0x63, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, + 0x52, 0x11, 0x63, 0x63, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x15, 0x6a, 0x61, 0x76, 0x61, 0x5f, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x11, 0x20, 0x01, + 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x13, 0x6a, 0x61, 0x76, 0x61, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x35, + 0x0a, 0x13, 0x70, 0x79, 0x5f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, + 0x73, 0x65, 0x52, 0x11, 0x70, 0x79, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x14, 0x70, 0x68, 0x70, 0x5f, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x69, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x2a, 0x20, + 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x12, 0x70, 0x68, 0x70, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x25, + 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x17, 0x20, 0x01, + 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, + 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x63, 0x5f, 0x65, 0x6e, 0x61, 0x62, + 0x6c, 0x65, 0x5f, 0x61, 0x72, 0x65, 0x6e, 0x61, 0x73, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x08, 0x3a, + 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, 0x0e, 0x63, 0x63, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x41, + 0x72, 0x65, 0x6e, 0x61, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x62, 0x6a, 0x63, 0x5f, 0x63, 0x6c, + 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x6f, 0x62, 0x6a, 0x63, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, + 0x78, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x73, 0x68, 0x61, 0x72, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x25, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x73, 0x68, + 0x61, 0x72, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, + 0x73, 0x77, 0x69, 0x66, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x27, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0b, 0x73, 0x77, 0x69, 0x66, 0x74, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, + 0x28, 0x0a, 0x10, 0x70, 0x68, 0x70, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x65, + 0x66, 0x69, 0x78, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x68, 0x70, 0x43, 0x6c, + 0x61, 0x73, 0x73, 0x50, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x68, 0x70, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x29, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x70, 0x68, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x34, + 0x0a, 0x16, 0x70, 0x68, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, + 0x70, 0x68, 0x70, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x75, 0x62, 0x79, 0x5f, 0x70, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x18, 0x2d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x75, 0x62, 0x79, + 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x04, - 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, - 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0xb7, 0x08, 0x0a, 0x0c, 0x46, - 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x05, 0x63, - 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, - 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, - 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70, 0x65, 0x3a, - 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, - 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09, 0x4a, 0x53, - 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, 0x65, 0x12, - 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, - 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f, 0x75, 0x6e, - 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x0f, 0x20, - 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e, 0x76, 0x65, - 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a, 0x64, 0x65, - 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, - 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, - 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x3a, - 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28, 0x0a, 0x0c, - 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x10, 0x20, 0x01, - 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, 0x75, 0x67, - 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, - 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, - 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, - 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, 0x6e, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x12, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, - 0x79, 0x70, 0x65, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x58, 0x0a, 0x14, 0x75, + 0x6e, 0x22, 0x3a, 0x0a, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x4d, 0x6f, 0x64, + 0x65, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x50, 0x45, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x49, 0x5a, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x4c, + 0x49, 0x54, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x03, 0x2a, 0x09, 0x08, + 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, 0x08, 0x26, 0x10, 0x27, 0x22, 0xbb, + 0x03, 0x0a, 0x0e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x12, 0x3c, 0x0a, 0x17, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, + 0x5f, 0x77, 0x69, 0x72, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x14, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x53, 0x65, 0x74, 0x57, 0x69, 0x72, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12, + 0x4c, 0x0a, 0x1f, 0x6e, 0x6f, 0x5f, 0x73, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x5f, 0x64, + 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, + 0x1c, 0x6e, 0x6f, 0x53, 0x74, 0x61, 0x6e, 0x64, 0x61, 0x72, 0x64, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x6f, 0x72, 0x12, 0x25, 0x0a, + 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, + 0x61, 0x74, 0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x6e, 0x74, 0x72, + 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x6e, 0x74, 0x72, + 0x79, 0x12, 0x56, 0x0a, 0x26, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, + 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, + 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x22, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, + 0x64, 0x4c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x4a, 0x73, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, 0x6e, 0x74, + 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, + 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x2a, 0x09, 0x08, 0xe8, 0x07, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x4a, 0x04, + 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, + 0x4a, 0x04, 0x08, 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x22, 0x85, 0x09, 0x0a, + 0x0c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, + 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, + 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x43, 0x54, 0x79, 0x70, + 0x65, 0x3a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x52, 0x05, 0x63, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x12, 0x47, 0x0a, 0x06, 0x6a, 0x73, 0x74, 0x79, + 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x09, + 0x4a, 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x52, 0x06, 0x6a, 0x73, 0x74, 0x79, 0x70, + 0x65, 0x12, 0x19, 0x0a, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x3a, + 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x6c, 0x61, 0x7a, 0x79, 0x12, 0x2e, 0x0a, 0x0f, + 0x75, 0x6e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x6c, 0x61, 0x7a, 0x79, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0e, 0x75, 0x6e, + 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x4c, 0x61, 0x7a, 0x79, 0x12, 0x25, 0x0a, 0x0a, + 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, + 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x04, 0x77, 0x65, 0x61, 0x6b, 0x12, 0x28, + 0x0a, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x5f, 0x72, 0x65, 0x64, 0x61, 0x63, 0x74, 0x18, 0x10, + 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0b, 0x64, 0x65, 0x62, + 0x75, 0x67, 0x52, 0x65, 0x64, 0x61, 0x63, 0x74, 0x12, 0x4b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, + 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, + 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x74, 0x65, 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x74, 0x65, + 0x6e, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, + 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x12, 0x48, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x13, 0x20, 0x03, + 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x73, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, + 0x70, 0x65, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x58, 0x0a, 0x14, 0x75, 0x6e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0xe7, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x6e, 0x69, @@ -3885,98 +4123,103 @@ func file_google_protobuf_descriptor_proto_rawDescGZIP() []byte { return file_google_protobuf_descriptor_proto_rawDescData } -var file_google_protobuf_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 9) -var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 27) +var file_google_protobuf_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 10) +var file_google_protobuf_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 28) var file_google_protobuf_descriptor_proto_goTypes = []interface{}{ - (FieldDescriptorProto_Type)(0), // 0: google.protobuf.FieldDescriptorProto.Type - (FieldDescriptorProto_Label)(0), // 1: google.protobuf.FieldDescriptorProto.Label - (FileOptions_OptimizeMode)(0), // 2: google.protobuf.FileOptions.OptimizeMode - (FieldOptions_CType)(0), // 3: google.protobuf.FieldOptions.CType - (FieldOptions_JSType)(0), // 4: google.protobuf.FieldOptions.JSType - (FieldOptions_OptionRetention)(0), // 5: google.protobuf.FieldOptions.OptionRetention - (FieldOptions_OptionTargetType)(0), // 6: google.protobuf.FieldOptions.OptionTargetType - (MethodOptions_IdempotencyLevel)(0), // 7: google.protobuf.MethodOptions.IdempotencyLevel - (GeneratedCodeInfo_Annotation_Semantic)(0), // 8: google.protobuf.GeneratedCodeInfo.Annotation.Semantic - (*FileDescriptorSet)(nil), // 9: google.protobuf.FileDescriptorSet - (*FileDescriptorProto)(nil), // 10: google.protobuf.FileDescriptorProto - (*DescriptorProto)(nil), // 11: google.protobuf.DescriptorProto - (*ExtensionRangeOptions)(nil), // 12: google.protobuf.ExtensionRangeOptions - (*FieldDescriptorProto)(nil), // 13: google.protobuf.FieldDescriptorProto - (*OneofDescriptorProto)(nil), // 14: google.protobuf.OneofDescriptorProto - (*EnumDescriptorProto)(nil), // 15: google.protobuf.EnumDescriptorProto - (*EnumValueDescriptorProto)(nil), // 16: google.protobuf.EnumValueDescriptorProto - (*ServiceDescriptorProto)(nil), // 17: google.protobuf.ServiceDescriptorProto - (*MethodDescriptorProto)(nil), // 18: google.protobuf.MethodDescriptorProto - (*FileOptions)(nil), // 19: google.protobuf.FileOptions - (*MessageOptions)(nil), // 20: google.protobuf.MessageOptions - (*FieldOptions)(nil), // 21: google.protobuf.FieldOptions - (*OneofOptions)(nil), // 22: google.protobuf.OneofOptions - (*EnumOptions)(nil), // 23: google.protobuf.EnumOptions - (*EnumValueOptions)(nil), // 24: google.protobuf.EnumValueOptions - (*ServiceOptions)(nil), // 25: google.protobuf.ServiceOptions - (*MethodOptions)(nil), // 26: google.protobuf.MethodOptions - (*UninterpretedOption)(nil), // 27: google.protobuf.UninterpretedOption - (*SourceCodeInfo)(nil), // 28: google.protobuf.SourceCodeInfo - (*GeneratedCodeInfo)(nil), // 29: google.protobuf.GeneratedCodeInfo - (*DescriptorProto_ExtensionRange)(nil), // 30: google.protobuf.DescriptorProto.ExtensionRange - (*DescriptorProto_ReservedRange)(nil), // 31: google.protobuf.DescriptorProto.ReservedRange - (*EnumDescriptorProto_EnumReservedRange)(nil), // 32: google.protobuf.EnumDescriptorProto.EnumReservedRange - (*UninterpretedOption_NamePart)(nil), // 33: google.protobuf.UninterpretedOption.NamePart - (*SourceCodeInfo_Location)(nil), // 34: google.protobuf.SourceCodeInfo.Location - (*GeneratedCodeInfo_Annotation)(nil), // 35: google.protobuf.GeneratedCodeInfo.Annotation + (ExtensionRangeOptions_VerificationState)(0), // 0: google.protobuf.ExtensionRangeOptions.VerificationState + (FieldDescriptorProto_Type)(0), // 1: google.protobuf.FieldDescriptorProto.Type + (FieldDescriptorProto_Label)(0), // 2: google.protobuf.FieldDescriptorProto.Label + (FileOptions_OptimizeMode)(0), // 3: google.protobuf.FileOptions.OptimizeMode + (FieldOptions_CType)(0), // 4: google.protobuf.FieldOptions.CType + (FieldOptions_JSType)(0), // 5: google.protobuf.FieldOptions.JSType + (FieldOptions_OptionRetention)(0), // 6: google.protobuf.FieldOptions.OptionRetention + (FieldOptions_OptionTargetType)(0), // 7: google.protobuf.FieldOptions.OptionTargetType + (MethodOptions_IdempotencyLevel)(0), // 8: google.protobuf.MethodOptions.IdempotencyLevel + (GeneratedCodeInfo_Annotation_Semantic)(0), // 9: google.protobuf.GeneratedCodeInfo.Annotation.Semantic + (*FileDescriptorSet)(nil), // 10: google.protobuf.FileDescriptorSet + (*FileDescriptorProto)(nil), // 11: google.protobuf.FileDescriptorProto + (*DescriptorProto)(nil), // 12: google.protobuf.DescriptorProto + (*ExtensionRangeOptions)(nil), // 13: google.protobuf.ExtensionRangeOptions + (*FieldDescriptorProto)(nil), // 14: google.protobuf.FieldDescriptorProto + (*OneofDescriptorProto)(nil), // 15: google.protobuf.OneofDescriptorProto + (*EnumDescriptorProto)(nil), // 16: google.protobuf.EnumDescriptorProto + (*EnumValueDescriptorProto)(nil), // 17: google.protobuf.EnumValueDescriptorProto + (*ServiceDescriptorProto)(nil), // 18: google.protobuf.ServiceDescriptorProto + (*MethodDescriptorProto)(nil), // 19: google.protobuf.MethodDescriptorProto + (*FileOptions)(nil), // 20: google.protobuf.FileOptions + (*MessageOptions)(nil), // 21: google.protobuf.MessageOptions + (*FieldOptions)(nil), // 22: google.protobuf.FieldOptions + (*OneofOptions)(nil), // 23: google.protobuf.OneofOptions + (*EnumOptions)(nil), // 24: google.protobuf.EnumOptions + (*EnumValueOptions)(nil), // 25: google.protobuf.EnumValueOptions + (*ServiceOptions)(nil), // 26: google.protobuf.ServiceOptions + (*MethodOptions)(nil), // 27: google.protobuf.MethodOptions + (*UninterpretedOption)(nil), // 28: google.protobuf.UninterpretedOption + (*SourceCodeInfo)(nil), // 29: google.protobuf.SourceCodeInfo + (*GeneratedCodeInfo)(nil), // 30: google.protobuf.GeneratedCodeInfo + (*DescriptorProto_ExtensionRange)(nil), // 31: google.protobuf.DescriptorProto.ExtensionRange + (*DescriptorProto_ReservedRange)(nil), // 32: google.protobuf.DescriptorProto.ReservedRange + (*ExtensionRangeOptions_Declaration)(nil), // 33: google.protobuf.ExtensionRangeOptions.Declaration + (*EnumDescriptorProto_EnumReservedRange)(nil), // 34: google.protobuf.EnumDescriptorProto.EnumReservedRange + (*UninterpretedOption_NamePart)(nil), // 35: google.protobuf.UninterpretedOption.NamePart + (*SourceCodeInfo_Location)(nil), // 36: google.protobuf.SourceCodeInfo.Location + (*GeneratedCodeInfo_Annotation)(nil), // 37: google.protobuf.GeneratedCodeInfo.Annotation } var file_google_protobuf_descriptor_proto_depIdxs = []int32{ - 10, // 0: google.protobuf.FileDescriptorSet.file:type_name -> google.protobuf.FileDescriptorProto - 11, // 1: google.protobuf.FileDescriptorProto.message_type:type_name -> google.protobuf.DescriptorProto - 15, // 2: google.protobuf.FileDescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto - 17, // 3: google.protobuf.FileDescriptorProto.service:type_name -> google.protobuf.ServiceDescriptorProto - 13, // 4: google.protobuf.FileDescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto - 19, // 5: google.protobuf.FileDescriptorProto.options:type_name -> google.protobuf.FileOptions - 28, // 6: google.protobuf.FileDescriptorProto.source_code_info:type_name -> google.protobuf.SourceCodeInfo - 13, // 7: google.protobuf.DescriptorProto.field:type_name -> google.protobuf.FieldDescriptorProto - 13, // 8: google.protobuf.DescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto - 11, // 9: google.protobuf.DescriptorProto.nested_type:type_name -> google.protobuf.DescriptorProto - 15, // 10: google.protobuf.DescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto - 30, // 11: google.protobuf.DescriptorProto.extension_range:type_name -> google.protobuf.DescriptorProto.ExtensionRange - 14, // 12: google.protobuf.DescriptorProto.oneof_decl:type_name -> google.protobuf.OneofDescriptorProto - 20, // 13: google.protobuf.DescriptorProto.options:type_name -> google.protobuf.MessageOptions - 31, // 14: google.protobuf.DescriptorProto.reserved_range:type_name -> google.protobuf.DescriptorProto.ReservedRange - 27, // 15: google.protobuf.ExtensionRangeOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 1, // 16: google.protobuf.FieldDescriptorProto.label:type_name -> google.protobuf.FieldDescriptorProto.Label - 0, // 17: google.protobuf.FieldDescriptorProto.type:type_name -> google.protobuf.FieldDescriptorProto.Type - 21, // 18: google.protobuf.FieldDescriptorProto.options:type_name -> google.protobuf.FieldOptions - 22, // 19: google.protobuf.OneofDescriptorProto.options:type_name -> google.protobuf.OneofOptions - 16, // 20: google.protobuf.EnumDescriptorProto.value:type_name -> google.protobuf.EnumValueDescriptorProto - 23, // 21: google.protobuf.EnumDescriptorProto.options:type_name -> google.protobuf.EnumOptions - 32, // 22: google.protobuf.EnumDescriptorProto.reserved_range:type_name -> google.protobuf.EnumDescriptorProto.EnumReservedRange - 24, // 23: google.protobuf.EnumValueDescriptorProto.options:type_name -> google.protobuf.EnumValueOptions - 18, // 24: google.protobuf.ServiceDescriptorProto.method:type_name -> google.protobuf.MethodDescriptorProto - 25, // 25: google.protobuf.ServiceDescriptorProto.options:type_name -> google.protobuf.ServiceOptions - 26, // 26: google.protobuf.MethodDescriptorProto.options:type_name -> google.protobuf.MethodOptions - 2, // 27: google.protobuf.FileOptions.optimize_for:type_name -> google.protobuf.FileOptions.OptimizeMode - 27, // 28: google.protobuf.FileOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 27, // 29: google.protobuf.MessageOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 3, // 30: google.protobuf.FieldOptions.ctype:type_name -> google.protobuf.FieldOptions.CType - 4, // 31: google.protobuf.FieldOptions.jstype:type_name -> google.protobuf.FieldOptions.JSType - 5, // 32: google.protobuf.FieldOptions.retention:type_name -> google.protobuf.FieldOptions.OptionRetention - 6, // 33: google.protobuf.FieldOptions.target:type_name -> google.protobuf.FieldOptions.OptionTargetType - 27, // 34: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 27, // 35: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 27, // 36: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 27, // 37: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 27, // 38: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 7, // 39: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel - 27, // 40: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption - 33, // 41: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart - 34, // 42: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location - 35, // 43: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation - 12, // 44: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions - 8, // 45: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic - 46, // [46:46] is the sub-list for method output_type - 46, // [46:46] is the sub-list for method input_type - 46, // [46:46] is the sub-list for extension type_name - 46, // [46:46] is the sub-list for extension extendee - 0, // [0:46] is the sub-list for field type_name + 11, // 0: google.protobuf.FileDescriptorSet.file:type_name -> google.protobuf.FileDescriptorProto + 12, // 1: google.protobuf.FileDescriptorProto.message_type:type_name -> google.protobuf.DescriptorProto + 16, // 2: google.protobuf.FileDescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto + 18, // 3: google.protobuf.FileDescriptorProto.service:type_name -> google.protobuf.ServiceDescriptorProto + 14, // 4: google.protobuf.FileDescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto + 20, // 5: google.protobuf.FileDescriptorProto.options:type_name -> google.protobuf.FileOptions + 29, // 6: google.protobuf.FileDescriptorProto.source_code_info:type_name -> google.protobuf.SourceCodeInfo + 14, // 7: google.protobuf.DescriptorProto.field:type_name -> google.protobuf.FieldDescriptorProto + 14, // 8: google.protobuf.DescriptorProto.extension:type_name -> google.protobuf.FieldDescriptorProto + 12, // 9: google.protobuf.DescriptorProto.nested_type:type_name -> google.protobuf.DescriptorProto + 16, // 10: google.protobuf.DescriptorProto.enum_type:type_name -> google.protobuf.EnumDescriptorProto + 31, // 11: google.protobuf.DescriptorProto.extension_range:type_name -> google.protobuf.DescriptorProto.ExtensionRange + 15, // 12: google.protobuf.DescriptorProto.oneof_decl:type_name -> google.protobuf.OneofDescriptorProto + 21, // 13: google.protobuf.DescriptorProto.options:type_name -> google.protobuf.MessageOptions + 32, // 14: google.protobuf.DescriptorProto.reserved_range:type_name -> google.protobuf.DescriptorProto.ReservedRange + 28, // 15: google.protobuf.ExtensionRangeOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 33, // 16: google.protobuf.ExtensionRangeOptions.declaration:type_name -> google.protobuf.ExtensionRangeOptions.Declaration + 0, // 17: google.protobuf.ExtensionRangeOptions.verification:type_name -> google.protobuf.ExtensionRangeOptions.VerificationState + 2, // 18: google.protobuf.FieldDescriptorProto.label:type_name -> google.protobuf.FieldDescriptorProto.Label + 1, // 19: google.protobuf.FieldDescriptorProto.type:type_name -> google.protobuf.FieldDescriptorProto.Type + 22, // 20: google.protobuf.FieldDescriptorProto.options:type_name -> google.protobuf.FieldOptions + 23, // 21: google.protobuf.OneofDescriptorProto.options:type_name -> google.protobuf.OneofOptions + 17, // 22: google.protobuf.EnumDescriptorProto.value:type_name -> google.protobuf.EnumValueDescriptorProto + 24, // 23: google.protobuf.EnumDescriptorProto.options:type_name -> google.protobuf.EnumOptions + 34, // 24: google.protobuf.EnumDescriptorProto.reserved_range:type_name -> google.protobuf.EnumDescriptorProto.EnumReservedRange + 25, // 25: google.protobuf.EnumValueDescriptorProto.options:type_name -> google.protobuf.EnumValueOptions + 19, // 26: google.protobuf.ServiceDescriptorProto.method:type_name -> google.protobuf.MethodDescriptorProto + 26, // 27: google.protobuf.ServiceDescriptorProto.options:type_name -> google.protobuf.ServiceOptions + 27, // 28: google.protobuf.MethodDescriptorProto.options:type_name -> google.protobuf.MethodOptions + 3, // 29: google.protobuf.FileOptions.optimize_for:type_name -> google.protobuf.FileOptions.OptimizeMode + 28, // 30: google.protobuf.FileOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 28, // 31: google.protobuf.MessageOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 4, // 32: google.protobuf.FieldOptions.ctype:type_name -> google.protobuf.FieldOptions.CType + 5, // 33: google.protobuf.FieldOptions.jstype:type_name -> google.protobuf.FieldOptions.JSType + 6, // 34: google.protobuf.FieldOptions.retention:type_name -> google.protobuf.FieldOptions.OptionRetention + 7, // 35: google.protobuf.FieldOptions.target:type_name -> google.protobuf.FieldOptions.OptionTargetType + 7, // 36: google.protobuf.FieldOptions.targets:type_name -> google.protobuf.FieldOptions.OptionTargetType + 28, // 37: google.protobuf.FieldOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 28, // 38: google.protobuf.OneofOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 28, // 39: google.protobuf.EnumOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 28, // 40: google.protobuf.EnumValueOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 28, // 41: google.protobuf.ServiceOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 8, // 42: google.protobuf.MethodOptions.idempotency_level:type_name -> google.protobuf.MethodOptions.IdempotencyLevel + 28, // 43: google.protobuf.MethodOptions.uninterpreted_option:type_name -> google.protobuf.UninterpretedOption + 35, // 44: google.protobuf.UninterpretedOption.name:type_name -> google.protobuf.UninterpretedOption.NamePart + 36, // 45: google.protobuf.SourceCodeInfo.location:type_name -> google.protobuf.SourceCodeInfo.Location + 37, // 46: google.protobuf.GeneratedCodeInfo.annotation:type_name -> google.protobuf.GeneratedCodeInfo.Annotation + 13, // 47: google.protobuf.DescriptorProto.ExtensionRange.options:type_name -> google.protobuf.ExtensionRangeOptions + 9, // 48: google.protobuf.GeneratedCodeInfo.Annotation.semantic:type_name -> google.protobuf.GeneratedCodeInfo.Annotation.Semantic + 49, // [49:49] is the sub-list for method output_type + 49, // [49:49] is the sub-list for method input_type + 49, // [49:49] is the sub-list for extension type_name + 49, // [49:49] is the sub-list for extension extendee + 0, // [0:49] is the sub-list for field type_name } func init() { file_google_protobuf_descriptor_proto_init() } @@ -4280,7 +4523,7 @@ func file_google_protobuf_descriptor_proto_init() { } } file_google_protobuf_descriptor_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EnumDescriptorProto_EnumReservedRange); i { + switch v := v.(*ExtensionRangeOptions_Declaration); i { case 0: return &v.state case 1: @@ -4292,7 +4535,7 @@ func file_google_protobuf_descriptor_proto_init() { } } file_google_protobuf_descriptor_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UninterpretedOption_NamePart); i { + switch v := v.(*EnumDescriptorProto_EnumReservedRange); i { case 0: return &v.state case 1: @@ -4304,7 +4547,7 @@ func file_google_protobuf_descriptor_proto_init() { } } file_google_protobuf_descriptor_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*SourceCodeInfo_Location); i { + switch v := v.(*UninterpretedOption_NamePart); i { case 0: return &v.state case 1: @@ -4316,6 +4559,18 @@ func file_google_protobuf_descriptor_proto_init() { } } file_google_protobuf_descriptor_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SourceCodeInfo_Location); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_google_protobuf_descriptor_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GeneratedCodeInfo_Annotation); i { case 0: return &v.state @@ -4333,8 +4588,8 @@ func file_google_protobuf_descriptor_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_protobuf_descriptor_proto_rawDesc, - NumEnums: 9, - NumMessages: 27, + NumEnums: 10, + NumMessages: 28, NumExtensions: 0, NumServices: 0, }, diff --git a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go index a6c7a33f3..580b232f4 100644 --- a/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/anypb/any.pb.go @@ -142,39 +142,39 @@ import ( // // Example 2: Pack and unpack a message in Java. // -// Foo foo = ...; -// Any any = Any.pack(foo); -// ... -// if (any.is(Foo.class)) { -// foo = any.unpack(Foo.class); -// } -// // or ... -// if (any.isSameTypeAs(Foo.getDefaultInstance())) { -// foo = any.unpack(Foo.getDefaultInstance()); -// } -// -// Example 3: Pack and unpack a message in Python. -// -// foo = Foo(...) -// any = Any() -// any.Pack(foo) -// ... -// if any.Is(Foo.DESCRIPTOR): -// any.Unpack(foo) -// ... -// -// Example 4: Pack and unpack a message in Go -// -// foo := &pb.Foo{...} -// any, err := anypb.New(foo) -// if err != nil { -// ... -// } -// ... -// foo := &pb.Foo{} -// if err := any.UnmarshalTo(foo); err != nil { -// ... -// } +// Foo foo = ...; +// Any any = Any.pack(foo); +// ... +// if (any.is(Foo.class)) { +// foo = any.unpack(Foo.class); +// } +// // or ... +// if (any.isSameTypeAs(Foo.getDefaultInstance())) { +// foo = any.unpack(Foo.getDefaultInstance()); +// } +// +// Example 3: Pack and unpack a message in Python. +// +// foo = Foo(...) +// any = Any() +// any.Pack(foo) +// ... +// if any.Is(Foo.DESCRIPTOR): +// any.Unpack(foo) +// ... +// +// Example 4: Pack and unpack a message in Go +// +// foo := &pb.Foo{...} +// any, err := anypb.New(foo) +// if err != nil { +// ... +// } +// ... +// foo := &pb.Foo{} +// if err := any.UnmarshalTo(foo); err != nil { +// ... +// } // // The pack methods provided by protobuf library will by default use // 'type.googleapis.com/full.type.name' as the type URL and the unpack @@ -182,8 +182,8 @@ import ( // in the type URL, for example "foo.bar.com/x/y.z" will yield type // name "y.z". // -// # JSON -// +// JSON +// ==== // The JSON representation of an `Any` value uses the regular // representation of the deserialized, embedded message, with an // additional field `@type` which contains the type URL. Example: diff --git a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go b/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go index 61f69fc11..81511a336 100644 --- a/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go +++ b/vendor/google.golang.org/protobuf/types/known/timestamppb/timestamp.pb.go @@ -167,7 +167,7 @@ import ( // [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with // the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use // the Joda Time's [`ISODateTimeFormat.dateTime()`]( -// http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D +// http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() // ) to obtain a formatter capable of generating timestamps in this format. type Timestamp struct { state protoimpl.MessageState diff --git a/vendor/modules.txt b/vendor/modules.txt index 9818c0a41..d7ce65608 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -4,7 +4,7 @@ github.com/beorn7/perks/quantile # github.com/cespare/xxhash/v2 v2.2.0 ## explicit; go 1.11 github.com/cespare/xxhash/v2 -# github.com/davecgh/go-spew v1.1.1 +# github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc ## explicit github.com/davecgh/go-spew/spew # github.com/emicklei/go-restful/v3 v3.11.0 @@ -17,8 +17,8 @@ github.com/evanphx/json-patch # github.com/evanphx/json-patch/v5 v5.6.0 ## explicit; go 1.12 github.com/evanphx/json-patch/v5 -# github.com/fsnotify/fsnotify v1.6.0 -## explicit; go 1.16 +# github.com/fsnotify/fsnotify v1.7.0 +## explicit; go 1.17 github.com/fsnotify/fsnotify # github.com/go-logr/logr v1.3.0 ## explicit; go 1.18 @@ -68,14 +68,6 @@ github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/flags github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value -# github.com/google/go-jsonnet v0.19.1 -## explicit; go 1.13 -github.com/google/go-jsonnet -github.com/google/go-jsonnet/ast -github.com/google/go-jsonnet/astgen -github.com/google/go-jsonnet/internal/errors -github.com/google/go-jsonnet/internal/parser -github.com/google/go-jsonnet/internal/program # github.com/google/gofuzz v1.2.0 ## explicit; go 1.12 github.com/google/gofuzz @@ -83,10 +75,10 @@ github.com/google/gofuzz/bytesource # github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1 ## explicit; go 1.14 github.com/google/pprof/profile -# github.com/google/uuid v1.3.0 +# github.com/google/uuid v1.3.1 ## explicit github.com/google/uuid -# github.com/imdario/mergo v0.3.12 +# github.com/imdario/mergo v0.3.15 ## explicit; go 1.13 github.com/imdario/mergo # github.com/josharian/intern v1.0.0 @@ -121,10 +113,9 @@ github.com/munnerz/goautoneg # github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f ## explicit github.com/mwitkow/go-conntrack -# github.com/netobserv/flowlogs-pipeline v0.1.10 +# github.com/netobserv/flowlogs-pipeline v0.1.11-0.20231108130854-fac8a619b238 ## explicit; go 1.19 github.com/netobserv/flowlogs-pipeline/pkg/api -github.com/netobserv/flowlogs-pipeline/pkg/confgen github.com/netobserv/flowlogs-pipeline/pkg/config github.com/netobserv/flowlogs-pipeline/pkg/utils # github.com/onsi/ginkgo/v2 v2.13.0 @@ -170,20 +161,20 @@ github.com/openshift/api/security/v1 # github.com/pkg/errors v0.9.1 ## explicit github.com/pkg/errors -# github.com/pmezard/go-difflib v1.0.0 +# github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 ## explicit github.com/pmezard/go-difflib/difflib # github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.68.0 ## explicit; go 1.17 github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1 -# github.com/prometheus/client_golang v1.16.0 -## explicit; go 1.17 +# github.com/prometheus/client_golang v1.17.0 +## explicit; go 1.19 github.com/prometheus/client_golang/prometheus github.com/prometheus/client_golang/prometheus/collectors github.com/prometheus/client_golang/prometheus/internal github.com/prometheus/client_golang/prometheus/promhttp -# github.com/prometheus/client_model v0.4.0 +# github.com/prometheus/client_model v0.4.1-0.20230718164431-9a2bf3000d16 ## explicit; go 1.18 github.com/prometheus/client_model/go # github.com/prometheus/common v0.44.0 => github.com/netobserv/prometheus-common v0.44.0-netobserv @@ -192,12 +183,12 @@ github.com/prometheus/common/config github.com/prometheus/common/expfmt github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg github.com/prometheus/common/model -# github.com/prometheus/procfs v0.10.1 +# github.com/prometheus/procfs v0.11.1 ## explicit; go 1.19 github.com/prometheus/procfs github.com/prometheus/procfs/internal/fs github.com/prometheus/procfs/internal/util -# github.com/sirupsen/logrus v1.9.0 +# github.com/sirupsen/logrus v1.9.3 ## explicit; go 1.13 github.com/sirupsen/logrus # github.com/spf13/pflag v1.0.5 @@ -224,8 +215,8 @@ go.uber.org/zap/internal/exit go.uber.org/zap/internal/pool go.uber.org/zap/internal/stacktrace go.uber.org/zap/zapcore -# golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e -## explicit; go 1.18 +# golang.org/x/exp v0.0.0-20230905200255-921286631fa9 +## explicit; go 1.20 golang.org/x/exp/maps # golang.org/x/net v0.17.0 ## explicit; go 1.17 @@ -240,8 +231,8 @@ golang.org/x/net/http2/hpack golang.org/x/net/idna golang.org/x/net/internal/timeseries golang.org/x/net/trace -# golang.org/x/oauth2 v0.8.0 -## explicit; go 1.17 +# golang.org/x/oauth2 v0.12.0 +## explicit; go 1.18 golang.org/x/oauth2 golang.org/x/oauth2/clientcredentials golang.org/x/oauth2/internal @@ -278,7 +269,7 @@ golang.org/x/text/unicode/norm # golang.org/x/time v0.3.0 ## explicit golang.org/x/time/rate -# golang.org/x/tools v0.12.0 +# golang.org/x/tools v0.13.0 ## explicit; go 1.18 golang.org/x/tools/go/ast/inspector golang.org/x/tools/internal/typeparams @@ -294,7 +285,7 @@ google.golang.org/appengine/internal/log google.golang.org/appengine/internal/remote_api google.golang.org/appengine/internal/urlfetch google.golang.org/appengine/urlfetch -# google.golang.org/protobuf v1.30.0 +# google.golang.org/protobuf v1.31.0 ## explicit; go 1.11 google.golang.org/protobuf/encoding/prototext google.golang.org/protobuf/encoding/protowire