puppet 6.22.1-universal-darwin → 6.25.1-universal-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +5 -5
- data/Gemfile +2 -2
- data/Gemfile.lock +20 -20
- data/README.md +4 -4
- data/{ext → examples/enc}/regexp_nodes/classes/databases +0 -0
- data/{ext → examples/enc}/regexp_nodes/classes/webservers +0 -0
- data/{ext → examples/enc}/regexp_nodes/environment/development +0 -0
- data/{ext → examples/enc}/regexp_nodes/parameters/service/prod +0 -0
- data/{ext → examples/enc}/regexp_nodes/parameters/service/qa +0 -0
- data/{ext → examples/enc}/regexp_nodes/parameters/service/sandbox +0 -0
- data/{ext → examples/enc}/regexp_nodes/regexp_nodes.rb +0 -0
- data/{ext → examples}/nagios/check_puppet.rb +2 -2
- data/ext/README.md +13 -0
- data/ext/osx/puppet.plist +2 -0
- data/ext/project_data.yaml +1 -0
- data/lib/puppet/application/agent.rb +16 -5
- data/lib/puppet/application/apply.rb +22 -3
- data/lib/puppet/application/device.rb +2 -1
- data/lib/puppet/application/filebucket.rb +1 -0
- data/lib/puppet/application/resource.rb +32 -16
- data/lib/puppet/application/script.rb +2 -1
- data/lib/puppet/application/ssl.rb +1 -0
- data/lib/puppet/concurrent/thread_local_singleton.rb +1 -0
- data/lib/puppet/configurer/downloader.rb +2 -1
- data/lib/puppet/configurer.rb +144 -56
- data/lib/puppet/confine/variable.rb +1 -1
- data/lib/puppet/defaults.rb +47 -33
- data/lib/puppet/environments.rb +75 -25
- data/lib/puppet/face/facts.rb +1 -1
- data/lib/puppet/face/help/action.erb +1 -0
- data/lib/puppet/face/help/face.erb +1 -0
- data/lib/puppet/face/node/clean.rb +11 -0
- data/lib/puppet/facter_impl.rb +96 -0
- data/lib/puppet/file_serving/configuration/parser.rb +2 -0
- data/lib/puppet/file_serving/configuration.rb +3 -0
- data/lib/puppet/file_serving/fileset.rb +14 -2
- data/lib/puppet/file_serving/mount/file.rb +4 -4
- data/lib/puppet/file_serving/mount/scripts.rb +24 -0
- data/lib/puppet/file_system/file_impl.rb +3 -1
- data/lib/puppet/file_system/windows.rb +2 -2
- data/lib/puppet/forge.rb +4 -4
- data/lib/puppet/functions/all.rb +1 -1
- data/lib/puppet/functions/camelcase.rb +1 -1
- data/lib/puppet/functions/capitalize.rb +2 -2
- data/lib/puppet/functions/downcase.rb +2 -2
- data/lib/puppet/functions/empty.rb +8 -0
- data/lib/puppet/functions/find_template.rb +2 -2
- data/lib/puppet/functions/get.rb +5 -5
- data/lib/puppet/functions/group_by.rb +13 -5
- data/lib/puppet/functions/lest.rb +1 -1
- data/lib/puppet/functions/new.rb +100 -100
- data/lib/puppet/functions/partition.rb +4 -4
- data/lib/puppet/functions/require.rb +5 -5
- data/lib/puppet/functions/sort.rb +3 -3
- data/lib/puppet/functions/strftime.rb +1 -0
- data/lib/puppet/functions/tree_each.rb +7 -9
- data/lib/puppet/functions/type.rb +4 -4
- data/lib/puppet/functions/unwrap.rb +17 -2
- data/lib/puppet/functions/upcase.rb +2 -2
- data/lib/puppet/http/client.rb +1 -1
- data/lib/puppet/http/redirector.rb +5 -0
- data/lib/puppet/http/resolver/server_list.rb +15 -4
- data/lib/puppet/http/service/compiler.rb +75 -1
- data/lib/puppet/http/service/file_server.rb +2 -1
- data/lib/puppet/indirector/catalog/compiler.rb +25 -6
- data/lib/puppet/indirector/catalog/rest.rb +1 -0
- data/lib/puppet/indirector/facts/facter.rb +6 -6
- data/lib/puppet/indirector/file_metadata/rest.rb +1 -0
- data/lib/puppet/indirector/indirection.rb +1 -1
- data/lib/puppet/indirector/resource/ral.rb +6 -1
- data/lib/puppet/indirector/terminus.rb +4 -0
- data/lib/puppet/interface/documentation.rb +1 -0
- data/lib/puppet/module/plan.rb +0 -1
- data/lib/puppet/module/task.rb +1 -1
- data/lib/puppet/module.rb +1 -0
- data/lib/puppet/module_tool/applications/installer.rb +12 -4
- data/lib/puppet/module_tool/applications/uninstaller.rb +1 -1
- data/lib/puppet/module_tool/applications/upgrader.rb +1 -1
- data/lib/puppet/module_tool/errors/shared.rb +17 -0
- data/lib/puppet/network/http/api/indirected_routes.rb +1 -1
- data/lib/puppet/node/environment.rb +10 -11
- data/lib/puppet/pal/pal_impl.rb +1 -1
- data/lib/puppet/parser/functions/fqdn_rand.rb +14 -6
- data/lib/puppet/parser/resource.rb +1 -1
- data/lib/puppet/parser/scope.rb +1 -0
- data/lib/puppet/parser/templatewrapper.rb +1 -0
- data/lib/puppet/pops/evaluator/closure.rb +7 -5
- data/lib/puppet/pops/evaluator/runtime3_resource_support.rb +1 -0
- data/lib/puppet/pops/lookup/lookup_adapter.rb +3 -2
- data/lib/puppet/pops/model/ast.rb +1 -0
- data/lib/puppet/pops/model/factory.rb +2 -1
- data/lib/puppet/pops/parser/eparser.rb +201 -201
- data/lib/puppet/pops/parser/lexer2.rb +92 -91
- data/lib/puppet/pops/parser/slurp_support.rb +1 -0
- data/lib/puppet/pops/serialization/to_data_converter.rb +18 -6
- data/lib/puppet/pops/serialization/to_stringified_converter.rb +1 -1
- data/lib/puppet/pops/types/p_sem_ver_type.rb +8 -2
- data/lib/puppet/pops/types/p_sensitive_type.rb +10 -0
- data/lib/puppet/pops/types/type_formatter.rb +4 -3
- data/lib/puppet/pops/types/type_mismatch_describer.rb +1 -1
- data/lib/puppet/pops/types/types.rb +1 -1
- data/lib/puppet/provider/aix_object.rb +1 -1
- data/lib/puppet/provider/exec/posix.rb +16 -4
- data/lib/puppet/provider/group/groupadd.rb +5 -2
- data/lib/puppet/provider/package/nim.rb +11 -6
- data/lib/puppet/provider/package/pip.rb +15 -3
- data/lib/puppet/provider/package/pkg.rb +19 -2
- data/lib/puppet/provider/package/puppetserver_gem.rb +1 -1
- data/lib/puppet/provider/package/yum.rb +1 -1
- data/lib/puppet/provider/parsedfile.rb +3 -0
- data/lib/puppet/provider/service/base.rb +1 -1
- data/lib/puppet/provider/service/init.rb +5 -5
- data/lib/puppet/provider/service/launchd.rb +2 -2
- data/lib/puppet/provider/service/redhat.rb +1 -1
- data/lib/puppet/provider/service/smf.rb +3 -3
- data/lib/puppet/provider/service/systemd.rb +15 -5
- data/lib/puppet/provider/service/upstart.rb +5 -5
- data/lib/puppet/provider/service/windows.rb +38 -0
- data/lib/puppet/provider/user/aix.rb +44 -1
- data/lib/puppet/provider/user/directoryservice.rb +26 -13
- data/lib/puppet/provider/user/useradd.rb +72 -16
- data/lib/puppet/provider.rb +1 -1
- data/lib/puppet/reference/configuration.rb +1 -1
- data/lib/puppet/reference/providers.rb +2 -2
- data/lib/puppet/resource/catalog.rb +1 -1
- data/lib/puppet/resource/type_collection.rb +1 -0
- data/lib/puppet/resource.rb +38 -5
- data/lib/puppet/runtime.rb +11 -1
- data/lib/puppet/settings.rb +32 -9
- data/lib/puppet/test/test_helper.rb +4 -1
- data/lib/puppet/transaction/additional_resource_generator.rb +1 -1
- data/lib/puppet/transaction/persistence.rb +11 -1
- data/lib/puppet/transaction/report.rb +15 -1
- data/lib/puppet/type/exec.rb +35 -5
- data/lib/puppet/type/file/mode.rb +6 -0
- data/lib/puppet/type/file/selcontext.rb +1 -1
- data/lib/puppet/type/file.rb +25 -7
- data/lib/puppet/type/filebucket.rb +3 -3
- data/lib/puppet/type/group.rb +0 -1
- data/lib/puppet/type/resources.rb +1 -1
- data/lib/puppet/type/service.rb +26 -41
- data/lib/puppet/type/tidy.rb +22 -3
- data/lib/puppet/type/user.rb +38 -21
- data/lib/puppet/type.rb +1 -1
- data/lib/puppet/util/command_line.rb +1 -1
- data/lib/puppet/util/filetype.rb +2 -2
- data/lib/puppet/util/json.rb +3 -0
- data/lib/puppet/util/log.rb +1 -2
- data/lib/puppet/util/logging.rb +1 -25
- data/lib/puppet/util/pidlock.rb +1 -1
- data/lib/puppet/util/rdoc/parser/puppet_parser_core.rb +1 -1
- data/lib/puppet/util/selinux.rb +30 -4
- data/lib/puppet/util/suidmanager.rb +1 -2
- data/lib/puppet/util/symbolic_file_mode.rb +29 -17
- data/lib/puppet/util/tagging.rb +1 -0
- data/lib/puppet/util/windows/service.rb +0 -5
- data/lib/puppet/util/windows/sid.rb +3 -1
- data/lib/puppet/util/windows/user.rb +0 -2
- data/lib/puppet/util/windows.rb +3 -0
- data/lib/puppet/util.rb +4 -3
- data/lib/puppet/version.rb +1 -1
- data/lib/puppet.rb +5 -9
- data/locales/puppet.pot +408 -364
- data/man/man5/puppet.conf.5 +303 -275
- data/man/man8/puppet-agent.8 +4 -1
- data/man/man8/puppet-apply.8 +1 -1
- data/man/man8/puppet-catalog.8 +9 -9
- data/man/man8/puppet-config.8 +1 -1
- data/man/man8/puppet-describe.8 +1 -1
- data/man/man8/puppet-device.8 +1 -1
- data/man/man8/puppet-doc.8 +1 -1
- data/man/man8/puppet-epp.8 +1 -1
- data/man/man8/puppet-facts.8 +8 -8
- data/man/man8/puppet-filebucket.8 +1 -1
- data/man/man8/puppet-generate.8 +1 -1
- data/man/man8/puppet-help.8 +1 -1
- data/man/man8/puppet-key.8 +7 -7
- data/man/man8/puppet-lookup.8 +1 -1
- data/man/man8/puppet-man.8 +1 -1
- data/man/man8/puppet-module.8 +3 -3
- data/man/man8/puppet-node.8 +5 -5
- data/man/man8/puppet-parser.8 +1 -1
- data/man/man8/puppet-plugin.8 +1 -1
- data/man/man8/puppet-report.8 +5 -5
- data/man/man8/puppet-resource.8 +1 -1
- data/man/man8/puppet-script.8 +1 -1
- data/man/man8/puppet-ssl.8 +1 -1
- data/man/man8/puppet-status.8 +4 -4
- data/man/man8/puppet.8 +2 -2
- data/spec/fixtures/integration/application/agent/cached_deferred_catalog.json +2 -1
- data/spec/fixtures/integration/application/agent/lib/facter/agent_spec_role.rb +3 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Gemfile +4 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/Rakefile +3 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/lib/puppet/functions/l10n.rb +8 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/config.yaml +25 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/ja/puppet-l10n.po +19 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/locales/puppet-l10n.pot +20 -0
- data/spec/fixtures/integration/l10n/envs/prod/modules/demo/metadata.json +8 -0
- data/spec/fixtures/ssl/127.0.0.1-key.pem +107 -57
- data/spec/fixtures/ssl/127.0.0.1.pem +52 -31
- data/spec/fixtures/ssl/bad-basic-constraints.pem +57 -35
- data/spec/fixtures/ssl/bad-int-basic-constraints.pem +57 -35
- data/spec/fixtures/ssl/ca.pem +57 -35
- data/spec/fixtures/ssl/crl.pem +28 -18
- data/spec/fixtures/ssl/ec-key.pem +11 -11
- data/spec/fixtures/ssl/ec.pem +33 -24
- data/spec/fixtures/ssl/encrypted-ec-key.pem +12 -12
- data/spec/fixtures/ssl/encrypted-key.pem +108 -58
- data/spec/fixtures/ssl/intermediate-agent-crl.pem +28 -19
- data/spec/fixtures/ssl/intermediate-agent.pem +57 -36
- data/spec/fixtures/ssl/intermediate-crl.pem +31 -21
- data/spec/fixtures/ssl/intermediate.pem +57 -36
- data/spec/fixtures/ssl/oid-key.pem +117 -0
- data/spec/fixtures/ssl/oid.pem +69 -0
- data/spec/fixtures/ssl/pluto-key.pem +107 -57
- data/spec/fixtures/ssl/pluto.pem +52 -30
- data/spec/fixtures/ssl/request-key.pem +107 -57
- data/spec/fixtures/ssl/request.pem +47 -26
- data/spec/fixtures/ssl/revoked-key.pem +107 -57
- data/spec/fixtures/ssl/revoked.pem +52 -30
- data/spec/fixtures/ssl/signed-key.pem +107 -57
- data/spec/fixtures/ssl/signed.pem +52 -30
- data/spec/fixtures/ssl/tampered-cert.pem +52 -30
- data/spec/fixtures/ssl/tampered-csr.pem +47 -26
- data/spec/fixtures/ssl/trusted_oid_mapping.yaml +5 -0
- data/spec/fixtures/ssl/unknown-127.0.0.1-key.pem +107 -57
- data/spec/fixtures/ssl/unknown-127.0.0.1.pem +50 -29
- data/spec/fixtures/ssl/unknown-ca-key.pem +107 -57
- data/spec/fixtures/ssl/unknown-ca.pem +55 -33
- data/spec/integration/application/agent_spec.rb +141 -37
- data/spec/integration/application/filebucket_spec.rb +16 -0
- data/spec/integration/application/module_spec.rb +21 -0
- data/spec/integration/application/resource_spec.rb +64 -0
- data/spec/integration/application/ssl_spec.rb +20 -0
- data/spec/integration/configurer_spec.rb +18 -2
- data/spec/integration/environments/settings_interpolation_spec.rb +0 -4
- data/spec/integration/indirector/facts/facter_spec.rb +93 -39
- data/spec/integration/l10n/compiler_spec.rb +37 -0
- data/spec/integration/parser/pcore_resource_spec.rb +10 -0
- data/spec/integration/transaction/report_spec.rb +1 -1
- data/spec/integration/type/exec_spec.rb +70 -45
- data/spec/integration/type/file_spec.rb +2 -2
- data/spec/integration/type/package_spec.rb +6 -6
- data/spec/integration/util/rdoc/parser_spec.rb +1 -1
- data/spec/integration/util/windows/process_spec.rb +1 -9
- data/spec/lib/puppet/test_ca.rb +7 -2
- data/spec/lib/puppet_spec/modules.rb +13 -2
- data/spec/lib/puppet_spec/puppetserver.rb +15 -0
- data/spec/lib/puppet_spec/settings.rb +1 -0
- data/spec/shared_behaviours/documentation_on_faces.rb +0 -2
- data/spec/shared_contexts/l10n.rb +27 -0
- data/spec/spec_helper.rb +1 -10
- data/spec/unit/application/agent_spec.rb +7 -2
- data/spec/unit/application/apply_spec.rb +76 -56
- data/spec/unit/application/resource_spec.rb +29 -0
- data/spec/unit/configurer/downloader_spec.rb +6 -0
- data/spec/unit/configurer_spec.rb +256 -57
- data/spec/unit/defaults_spec.rb +1 -0
- data/spec/unit/environments_spec.rb +184 -0
- data/spec/unit/facter_impl_spec.rb +31 -0
- data/spec/unit/file_bucket/dipper_spec.rb +2 -2
- data/spec/unit/file_serving/configuration/parser_spec.rb +23 -0
- data/spec/unit/file_serving/configuration_spec.rb +14 -4
- data/spec/unit/file_serving/fileset_spec.rb +60 -0
- data/spec/unit/file_serving/mount/scripts_spec.rb +69 -0
- data/spec/unit/file_system_spec.rb +13 -0
- data/spec/unit/functions/assert_type_spec.rb +1 -1
- data/spec/unit/functions/empty_spec.rb +10 -0
- data/spec/unit/functions/logging_spec.rb +1 -0
- data/spec/unit/functions/lookup_spec.rb +64 -0
- data/spec/unit/functions/unwrap_spec.rb +8 -0
- data/spec/unit/functions4_spec.rb +2 -2
- data/spec/unit/gettext/config_spec.rb +12 -0
- data/spec/unit/http/client_spec.rb +58 -1
- data/spec/unit/http/service/compiler_spec.rb +131 -0
- data/spec/unit/indirector/catalog/compiler_spec.rb +101 -10
- data/spec/unit/indirector/catalog/rest_spec.rb +8 -0
- data/spec/unit/indirector/indirection_spec.rb +10 -3
- data/spec/unit/indirector/resource/ral_spec.rb +40 -75
- data/spec/unit/interface/action_spec.rb +0 -9
- data/spec/unit/module_spec.rb +15 -1
- data/spec/unit/module_tool/applications/installer_spec.rb +51 -12
- data/spec/unit/network/authstore_spec.rb +0 -15
- data/spec/unit/network/formats_spec.rb +6 -0
- data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -1
- data/spec/unit/parser/templatewrapper_spec.rb +12 -2
- data/spec/unit/pops/parser/parse_containers_spec.rb +0 -11
- data/spec/unit/pops/serialization/to_from_hr_spec.rb +58 -0
- data/spec/unit/pops/serialization/to_stringified_spec.rb +5 -0
- data/spec/unit/pops/types/p_sem_ver_type_spec.rb +18 -0
- data/spec/unit/pops/types/p_sensitive_type_spec.rb +18 -0
- data/spec/unit/pops/types/type_calculator_spec.rb +6 -0
- data/spec/unit/provider/package/gem_spec.rb +1 -1
- data/spec/unit/provider/package/nim_spec.rb +42 -0
- data/spec/unit/provider/package/pip2_spec.rb +1 -1
- data/spec/unit/provider/package/pip3_spec.rb +1 -1
- data/spec/unit/provider/package/pip_spec.rb +38 -1
- data/spec/unit/provider/package/pkg_spec.rb +29 -4
- data/spec/unit/provider/package/puppet_gem_spec.rb +1 -1
- data/spec/unit/provider/package/puppetserver_gem_spec.rb +1 -1
- data/spec/unit/provider/parsedfile_spec.rb +10 -0
- data/spec/unit/provider/service/init_spec.rb +1 -0
- data/spec/unit/provider/service/launchd_spec.rb +11 -0
- data/spec/unit/provider/service/openwrt_spec.rb +3 -1
- data/spec/unit/provider/service/systemd_spec.rb +43 -9
- data/spec/unit/provider/service/windows_spec.rb +202 -0
- data/spec/unit/provider/user/aix_spec.rb +100 -0
- data/spec/unit/provider/user/directoryservice_spec.rb +68 -36
- data/spec/unit/provider/user/useradd_spec.rb +43 -2
- data/spec/unit/provider_spec.rb +4 -4
- data/spec/unit/puppet_spec.rb +12 -4
- data/spec/unit/resource/catalog_spec.rb +14 -1
- data/spec/unit/resource_spec.rb +58 -2
- data/spec/unit/settings_spec.rb +97 -56
- data/spec/unit/ssl/certificate_request_spec.rb +8 -14
- data/spec/unit/ssl/state_machine_spec.rb +19 -5
- data/spec/unit/transaction/additional_resource_generator_spec.rb +0 -2
- data/spec/unit/transaction_spec.rb +18 -20
- data/spec/unit/type/exec_spec.rb +76 -29
- data/spec/unit/type/file/selinux_spec.rb +3 -3
- data/spec/unit/type/file/source_spec.rb +4 -4
- data/spec/unit/type/service_spec.rb +86 -188
- data/spec/unit/type/tidy_spec.rb +24 -7
- data/spec/unit/type/user_spec.rb +45 -0
- data/spec/unit/type_spec.rb +2 -2
- data/spec/unit/util/logging_spec.rb +2 -0
- data/spec/unit/util/selinux_spec.rb +87 -16
- data/spec/unit/util/windows/sid_spec.rb +39 -4
- data/tasks/generate_cert_fixtures.rake +12 -3
- data/tasks/parallel.rake +3 -3
- metadata +49 -95
- data/ext/README.environment +0 -8
- data/ext/dbfix.sql +0 -132
- data/ext/debian/README.Debian +0 -8
- data/ext/debian/README.source +0 -2
- data/ext/debian/TODO.Debian +0 -1
- data/ext/debian/changelog.erb +0 -1122
- data/ext/debian/compat +0 -1
- data/ext/debian/control +0 -144
- data/ext/debian/copyright +0 -339
- data/ext/debian/docs +0 -1
- data/ext/debian/fileserver.conf +0 -41
- data/ext/debian/puppet-common.dirs +0 -13
- data/ext/debian/puppet-common.install +0 -3
- data/ext/debian/puppet-common.lintian-overrides +0 -5
- data/ext/debian/puppet-common.manpages +0 -28
- data/ext/debian/puppet-common.postinst +0 -35
- data/ext/debian/puppet-common.postrm +0 -33
- data/ext/debian/puppet-el.dirs +0 -1
- data/ext/debian/puppet-el.emacsen-install +0 -25
- data/ext/debian/puppet-el.emacsen-remove +0 -11
- data/ext/debian/puppet-el.emacsen-startup +0 -9
- data/ext/debian/puppet-el.install +0 -1
- data/ext/debian/puppet-testsuite.install +0 -2
- data/ext/debian/puppet-testsuite.lintian-overrides +0 -4
- data/ext/debian/puppet.lintian-overrides +0 -3
- data/ext/debian/puppet.logrotate +0 -20
- data/ext/debian/puppet.postinst +0 -20
- data/ext/debian/puppet.postrm +0 -20
- data/ext/debian/puppet.preinst +0 -20
- data/ext/debian/puppetmaster-common.install +0 -2
- data/ext/debian/puppetmaster-common.manpages +0 -2
- data/ext/debian/puppetmaster-common.postinst +0 -6
- data/ext/debian/puppetmaster-passenger.dirs +0 -4
- data/ext/debian/puppetmaster-passenger.postinst +0 -162
- data/ext/debian/puppetmaster-passenger.postrm +0 -61
- data/ext/debian/puppetmaster.README.debian +0 -17
- data/ext/debian/puppetmaster.default +0 -14
- data/ext/debian/puppetmaster.init +0 -137
- data/ext/debian/puppetmaster.lintian-overrides +0 -3
- data/ext/debian/puppetmaster.postinst +0 -20
- data/ext/debian/puppetmaster.postrm +0 -5
- data/ext/debian/puppetmaster.preinst +0 -22
- data/ext/debian/rules +0 -132
- data/ext/debian/source/format +0 -1
- data/ext/debian/source/options +0 -1
- data/ext/debian/vim-puppet.README.Debian +0 -13
- data/ext/debian/vim-puppet.dirs +0 -5
- data/ext/debian/vim-puppet.yaml +0 -7
- data/ext/debian/watch +0 -2
- data/ext/freebsd/puppetd +0 -26
- data/ext/freebsd/puppetmasterd +0 -26
- data/ext/gentoo/conf.d/puppet +0 -5
- data/ext/gentoo/conf.d/puppetmaster +0 -12
- data/ext/gentoo/init.d/puppet +0 -38
- data/ext/gentoo/init.d/puppetmaster +0 -51
- data/ext/gentoo/puppet/fileserver.conf +0 -41
- data/ext/ips/puppet-agent +0 -44
- data/ext/ips/puppet-master +0 -44
- data/ext/ips/puppet.p5m.erb +0 -12
- data/ext/ips/puppetagent.xml +0 -42
- data/ext/ips/puppetmaster.xml +0 -42
- data/ext/ips/rules +0 -19
- data/ext/ips/transforms +0 -34
- data/ext/ldap/puppet.schema +0 -24
- data/ext/logcheck/puppet +0 -23
- data/ext/osx/file_mapping.yaml +0 -33
- data/ext/osx/postflight.erb +0 -109
- data/ext/osx/preflight.erb +0 -52
- data/ext/osx/prototype.plist.erb +0 -38
- data/ext/redhat/fileserver.conf +0 -41
- data/ext/redhat/logrotate +0 -21
- data/ext/redhat/puppet.spec.erb +0 -842
- data/ext/redhat/server.init +0 -128
- data/ext/redhat/server.sysconfig +0 -13
- data/ext/solaris/pkginfo +0 -6
- data/ext/solaris/smf/puppetd.xml +0 -77
- data/ext/solaris/smf/puppetmasterd.xml +0 -77
- data/ext/solaris/smf/svc-puppetd +0 -71
- data/ext/solaris/smf/svc-puppetmasterd +0 -67
- data/ext/suse/puppet.spec +0 -310
- data/ext/suse/server.init +0 -173
- data/ext/yaml_nodes.rb +0 -105
- data/spec/unit/indirector/store_configs_spec.rb +0 -7
@@ -1,7 +1,7 @@
|
|
1
1
|
#
|
2
2
|
# DO NOT MODIFY!!!!
|
3
|
-
# This file is automatically generated by Racc 1.
|
4
|
-
# from Racc
|
3
|
+
# This file is automatically generated by Racc 1.5.2
|
4
|
+
# from Racc grammar file "".
|
5
5
|
#
|
6
6
|
|
7
7
|
require 'racc/parser.rb'
|
@@ -1604,28 +1604,28 @@ Racc_debug_parser = false
|
|
1604
1604
|
|
1605
1605
|
module_eval(<<'.,.,', 'egrammar.ra', 68)
|
1606
1606
|
def _reduce_1(val, _values, result)
|
1607
|
-
result = create_program(Factory.block_or_expression(val[0]))
|
1607
|
+
result = create_program(Factory.block_or_expression(val[0]))
|
1608
1608
|
result
|
1609
1609
|
end
|
1610
1610
|
.,.,
|
1611
1611
|
|
1612
1612
|
module_eval(<<'.,.,', 'egrammar.ra', 69)
|
1613
1613
|
def _reduce_2(val, _values, result)
|
1614
|
-
result = create_program(val[0])
|
1614
|
+
result = create_program(val[0])
|
1615
1615
|
result
|
1616
1616
|
end
|
1617
1617
|
.,.,
|
1618
1618
|
|
1619
1619
|
module_eval(<<'.,.,', 'egrammar.ra', 70)
|
1620
1620
|
def _reduce_3(val, _values, result)
|
1621
|
-
result = create_empty_program
|
1621
|
+
result = create_empty_program
|
1622
1622
|
result
|
1623
1623
|
end
|
1624
1624
|
.,.,
|
1625
1625
|
|
1626
1626
|
module_eval(<<'.,.,', 'egrammar.ra', 74)
|
1627
1627
|
def _reduce_4(val, _values, result)
|
1628
|
-
result = transform_calls(val[0])
|
1628
|
+
result = transform_calls(val[0])
|
1629
1629
|
result
|
1630
1630
|
end
|
1631
1631
|
.,.,
|
@@ -1639,28 +1639,28 @@ module_eval(<<'.,.,', 'egrammar.ra', 81)
|
|
1639
1639
|
|
1640
1640
|
module_eval(<<'.,.,', 'egrammar.ra', 82)
|
1641
1641
|
def _reduce_6(val, _values, result)
|
1642
|
-
result = val[0].push val[2]
|
1642
|
+
result = val[0].push val[2]
|
1643
1643
|
result
|
1644
1644
|
end
|
1645
1645
|
.,.,
|
1646
1646
|
|
1647
1647
|
module_eval(<<'.,.,', 'egrammar.ra', 83)
|
1648
1648
|
def _reduce_7(val, _values, result)
|
1649
|
-
result = val[0].push val[1]
|
1649
|
+
result = val[0].push val[1]
|
1650
1650
|
result
|
1651
1651
|
end
|
1652
1652
|
.,.,
|
1653
1653
|
|
1654
1654
|
module_eval(<<'.,.,', 'egrammar.ra', 90)
|
1655
1655
|
def _reduce_8(val, _values, result)
|
1656
|
-
result = val[0]
|
1656
|
+
result = val[0]
|
1657
1657
|
result
|
1658
1658
|
end
|
1659
1659
|
.,.,
|
1660
1660
|
|
1661
1661
|
module_eval(<<'.,.,', 'egrammar.ra', 91)
|
1662
1662
|
def _reduce_9(val, _values, result)
|
1663
|
-
result = aryfy(val[0]).push(val[1]).push(val[2])
|
1663
|
+
result = aryfy(val[0]).push(val[1]).push(val[2])
|
1664
1664
|
result
|
1665
1665
|
end
|
1666
1666
|
.,.,
|
@@ -1669,21 +1669,21 @@ module_eval(<<'.,.,', 'egrammar.ra', 91)
|
|
1669
1669
|
|
1670
1670
|
module_eval(<<'.,.,', 'egrammar.ra', 96)
|
1671
1671
|
def _reduce_11(val, _values, result)
|
1672
|
-
result = val[0].set(val[2]) ; loc result, val[1]
|
1672
|
+
result = val[0].set(val[2]) ; loc result, val[1]
|
1673
1673
|
result
|
1674
1674
|
end
|
1675
1675
|
.,.,
|
1676
1676
|
|
1677
1677
|
module_eval(<<'.,.,', 'egrammar.ra', 97)
|
1678
1678
|
def _reduce_12(val, _values, result)
|
1679
|
-
result = val[0].plus_set(val[2]) ; loc result, val[1]
|
1679
|
+
result = val[0].plus_set(val[2]) ; loc result, val[1]
|
1680
1680
|
result
|
1681
1681
|
end
|
1682
1682
|
.,.,
|
1683
1683
|
|
1684
1684
|
module_eval(<<'.,.,', 'egrammar.ra', 98)
|
1685
1685
|
def _reduce_13(val, _values, result)
|
1686
|
-
result = val[0].minus_set(val[2]); loc result, val[1]
|
1686
|
+
result = val[0].minus_set(val[2]); loc result, val[1]
|
1687
1687
|
result
|
1688
1688
|
end
|
1689
1689
|
.,.,
|
@@ -1692,21 +1692,21 @@ module_eval(<<'.,.,', 'egrammar.ra', 98)
|
|
1692
1692
|
|
1693
1693
|
module_eval(<<'.,.,', 'egrammar.ra', 103)
|
1694
1694
|
def _reduce_15(val, _values, result)
|
1695
|
-
result = Factory.HASH_UNFOLDED([val[0]]); loc result, val[0]
|
1695
|
+
result = Factory.HASH_UNFOLDED([val[0]]); loc result, val[0]
|
1696
1696
|
result
|
1697
1697
|
end
|
1698
1698
|
.,.,
|
1699
1699
|
|
1700
1700
|
module_eval(<<'.,.,', 'egrammar.ra', 107)
|
1701
1701
|
def _reduce_16(val, _values, result)
|
1702
|
-
result = [val[0]]
|
1702
|
+
result = [val[0]]
|
1703
1703
|
result
|
1704
1704
|
end
|
1705
1705
|
.,.,
|
1706
1706
|
|
1707
1707
|
module_eval(<<'.,.,', 'egrammar.ra', 108)
|
1708
1708
|
def _reduce_17(val, _values, result)
|
1709
|
-
result = Factory.ARGUMENTS(val[0], val[2])
|
1709
|
+
result = Factory.ARGUMENTS(val[0], val[2])
|
1710
1710
|
result
|
1711
1711
|
end
|
1712
1712
|
.,.,
|
@@ -1715,28 +1715,28 @@ module_eval(<<'.,.,', 'egrammar.ra', 108)
|
|
1715
1715
|
|
1716
1716
|
module_eval(<<'.,.,', 'egrammar.ra', 112)
|
1717
1717
|
def _reduce_19(val, _values, result)
|
1718
|
-
result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
|
1718
|
+
result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
|
1719
1719
|
result
|
1720
1720
|
end
|
1721
1721
|
.,.,
|
1722
1722
|
|
1723
1723
|
module_eval(<<'.,.,', 'egrammar.ra', 113)
|
1724
1724
|
def _reduce_20(val, _values, result)
|
1725
|
-
result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
|
1725
|
+
result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
|
1726
1726
|
result
|
1727
1727
|
end
|
1728
1728
|
.,.,
|
1729
1729
|
|
1730
1730
|
module_eval(<<'.,.,', 'egrammar.ra', 114)
|
1731
1731
|
def _reduce_21(val, _values, result)
|
1732
|
-
result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
|
1732
|
+
result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
|
1733
1733
|
result
|
1734
1734
|
end
|
1735
1735
|
.,.,
|
1736
1736
|
|
1737
1737
|
module_eval(<<'.,.,', 'egrammar.ra', 115)
|
1738
1738
|
def _reduce_22(val, _values, result)
|
1739
|
-
result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
|
1739
|
+
result = val[0].relop(val[1][:value], val[2]); loc result, val[1]
|
1740
1740
|
result
|
1741
1741
|
end
|
1742
1742
|
.,.,
|
@@ -1752,7 +1752,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 124)
|
|
1752
1752
|
end
|
1753
1753
|
# relocate the result
|
1754
1754
|
loc result, val[0], val[1]
|
1755
|
-
|
1755
|
+
|
1756
1756
|
result
|
1757
1757
|
end
|
1758
1758
|
.,.,
|
@@ -1766,7 +1766,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 135)
|
|
1766
1766
|
end
|
1767
1767
|
# relocate the result
|
1768
1768
|
loc result, val[0], val[1]
|
1769
|
-
|
1769
|
+
|
1770
1770
|
result
|
1771
1771
|
end
|
1772
1772
|
.,.,
|
@@ -1776,7 +1776,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 146)
|
|
1776
1776
|
bodies = [Factory.RESOURCE_BODY(val[2], val[4])] + val[5]
|
1777
1777
|
result = Factory.RESOURCE(val[0], bodies)
|
1778
1778
|
loc result, val[0], val[6]
|
1779
|
-
|
1779
|
+
|
1780
1780
|
result
|
1781
1781
|
end
|
1782
1782
|
.,.,
|
@@ -1785,7 +1785,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 153)
|
|
1785
1785
|
def _reduce_27(val, _values, result)
|
1786
1786
|
result = Factory.RESOURCE(Factory.fqn(token_text(val[0])), val[2])
|
1787
1787
|
loc result, val[0], val[4]
|
1788
|
-
|
1788
|
+
|
1789
1789
|
result
|
1790
1790
|
end
|
1791
1791
|
.,.,
|
@@ -1811,49 +1811,49 @@ module_eval(<<'.,.,', 'egrammar.ra', 162)
|
|
1811
1811
|
error val[0], "Expression is not valid as a resource, resource-default, or resource-override"
|
1812
1812
|
end
|
1813
1813
|
loc result, val[0], val[4]
|
1814
|
-
|
1814
|
+
|
1815
1815
|
result
|
1816
1816
|
end
|
1817
1817
|
.,.,
|
1818
1818
|
|
1819
1819
|
module_eval(<<'.,.,', 'egrammar.ra', 184)
|
1820
1820
|
def _reduce_29(val, _values, result)
|
1821
|
-
result = Factory.RESOURCE_BODY(val[0], val[2])
|
1821
|
+
result = Factory.RESOURCE_BODY(val[0], val[2])
|
1822
1822
|
result
|
1823
1823
|
end
|
1824
1824
|
.,.,
|
1825
1825
|
|
1826
1826
|
module_eval(<<'.,.,', 'egrammar.ra', 187)
|
1827
1827
|
def _reduce_30(val, _values, result)
|
1828
|
-
result = [val[0]]
|
1828
|
+
result = [val[0]]
|
1829
1829
|
result
|
1830
1830
|
end
|
1831
1831
|
.,.,
|
1832
1832
|
|
1833
1833
|
module_eval(<<'.,.,', 'egrammar.ra', 188)
|
1834
1834
|
def _reduce_31(val, _values, result)
|
1835
|
-
result = val[0].push val[2]
|
1835
|
+
result = val[0].push val[2]
|
1836
1836
|
result
|
1837
1837
|
end
|
1838
1838
|
.,.,
|
1839
1839
|
|
1840
1840
|
module_eval(<<'.,.,', 'egrammar.ra', 194)
|
1841
1841
|
def _reduce_32(val, _values, result)
|
1842
|
-
result = []
|
1842
|
+
result = []
|
1843
1843
|
result
|
1844
1844
|
end
|
1845
1845
|
.,.,
|
1846
1846
|
|
1847
1847
|
module_eval(<<'.,.,', 'egrammar.ra', 195)
|
1848
1848
|
def _reduce_33(val, _values, result)
|
1849
|
-
result = []
|
1849
|
+
result = []
|
1850
1850
|
result
|
1851
1851
|
end
|
1852
1852
|
.,.,
|
1853
1853
|
|
1854
1854
|
module_eval(<<'.,.,', 'egrammar.ra', 196)
|
1855
1855
|
def _reduce_34(val, _values, result)
|
1856
|
-
result = val[2]
|
1856
|
+
result = val[2]
|
1857
1857
|
result
|
1858
1858
|
end
|
1859
1859
|
.,.,
|
@@ -1868,189 +1868,189 @@ module_eval(<<'.,.,', 'egrammar.ra', 196)
|
|
1868
1868
|
|
1869
1869
|
module_eval(<<'.,.,', 'egrammar.ra', 205)
|
1870
1870
|
def _reduce_39(val, _values, result)
|
1871
|
-
result = val[0].in val[2] ; loc result, val[1]
|
1871
|
+
result = val[0].in val[2] ; loc result, val[1]
|
1872
1872
|
result
|
1873
1873
|
end
|
1874
1874
|
.,.,
|
1875
1875
|
|
1876
1876
|
module_eval(<<'.,.,', 'egrammar.ra', 206)
|
1877
1877
|
def _reduce_40(val, _values, result)
|
1878
|
-
result = val[0] =~ val[2] ; loc result, val[1]
|
1878
|
+
result = val[0] =~ val[2] ; loc result, val[1]
|
1879
1879
|
result
|
1880
1880
|
end
|
1881
1881
|
.,.,
|
1882
1882
|
|
1883
1883
|
module_eval(<<'.,.,', 'egrammar.ra', 207)
|
1884
1884
|
def _reduce_41(val, _values, result)
|
1885
|
-
result = val[0].mne val[2] ; loc result, val[1]
|
1885
|
+
result = val[0].mne val[2] ; loc result, val[1]
|
1886
1886
|
result
|
1887
1887
|
end
|
1888
1888
|
.,.,
|
1889
1889
|
|
1890
1890
|
module_eval(<<'.,.,', 'egrammar.ra', 208)
|
1891
1891
|
def _reduce_42(val, _values, result)
|
1892
|
-
result = val[0] + val[2] ; loc result, val[1]
|
1892
|
+
result = val[0] + val[2] ; loc result, val[1]
|
1893
1893
|
result
|
1894
1894
|
end
|
1895
1895
|
.,.,
|
1896
1896
|
|
1897
1897
|
module_eval(<<'.,.,', 'egrammar.ra', 209)
|
1898
1898
|
def _reduce_43(val, _values, result)
|
1899
|
-
result = val[0] - val[2] ; loc result, val[1]
|
1899
|
+
result = val[0] - val[2] ; loc result, val[1]
|
1900
1900
|
result
|
1901
1901
|
end
|
1902
1902
|
.,.,
|
1903
1903
|
|
1904
1904
|
module_eval(<<'.,.,', 'egrammar.ra', 210)
|
1905
1905
|
def _reduce_44(val, _values, result)
|
1906
|
-
result = val[0] / val[2] ; loc result, val[1]
|
1906
|
+
result = val[0] / val[2] ; loc result, val[1]
|
1907
1907
|
result
|
1908
1908
|
end
|
1909
1909
|
.,.,
|
1910
1910
|
|
1911
1911
|
module_eval(<<'.,.,', 'egrammar.ra', 211)
|
1912
1912
|
def _reduce_45(val, _values, result)
|
1913
|
-
result = val[0] * val[2] ; loc result, val[1]
|
1913
|
+
result = val[0] * val[2] ; loc result, val[1]
|
1914
1914
|
result
|
1915
1915
|
end
|
1916
1916
|
.,.,
|
1917
1917
|
|
1918
1918
|
module_eval(<<'.,.,', 'egrammar.ra', 212)
|
1919
1919
|
def _reduce_46(val, _values, result)
|
1920
|
-
result = val[0] % val[2] ; loc result, val[1]
|
1920
|
+
result = val[0] % val[2] ; loc result, val[1]
|
1921
1921
|
result
|
1922
1922
|
end
|
1923
1923
|
.,.,
|
1924
1924
|
|
1925
1925
|
module_eval(<<'.,.,', 'egrammar.ra', 213)
|
1926
1926
|
def _reduce_47(val, _values, result)
|
1927
|
-
result = val[0] << val[2] ; loc result, val[1]
|
1927
|
+
result = val[0] << val[2] ; loc result, val[1]
|
1928
1928
|
result
|
1929
1929
|
end
|
1930
1930
|
.,.,
|
1931
1931
|
|
1932
1932
|
module_eval(<<'.,.,', 'egrammar.ra', 214)
|
1933
1933
|
def _reduce_48(val, _values, result)
|
1934
|
-
result = val[0] >> val[2] ; loc result, val[1]
|
1934
|
+
result = val[0] >> val[2] ; loc result, val[1]
|
1935
1935
|
result
|
1936
1936
|
end
|
1937
1937
|
.,.,
|
1938
1938
|
|
1939
1939
|
module_eval(<<'.,.,', 'egrammar.ra', 215)
|
1940
1940
|
def _reduce_49(val, _values, result)
|
1941
|
-
result = val[1].minus ; loc result, val[0]
|
1941
|
+
result = val[1].minus ; loc result, val[0]
|
1942
1942
|
result
|
1943
1943
|
end
|
1944
1944
|
.,.,
|
1945
1945
|
|
1946
1946
|
module_eval(<<'.,.,', 'egrammar.ra', 216)
|
1947
1947
|
def _reduce_50(val, _values, result)
|
1948
|
-
result = val[1].unfold ; loc result, val[0]
|
1948
|
+
result = val[1].unfold ; loc result, val[0]
|
1949
1949
|
result
|
1950
1950
|
end
|
1951
1951
|
.,.,
|
1952
1952
|
|
1953
1953
|
module_eval(<<'.,.,', 'egrammar.ra', 217)
|
1954
1954
|
def _reduce_51(val, _values, result)
|
1955
|
-
result = val[0].ne val[2] ; loc result, val[1]
|
1955
|
+
result = val[0].ne val[2] ; loc result, val[1]
|
1956
1956
|
result
|
1957
1957
|
end
|
1958
1958
|
.,.,
|
1959
1959
|
|
1960
1960
|
module_eval(<<'.,.,', 'egrammar.ra', 218)
|
1961
1961
|
def _reduce_52(val, _values, result)
|
1962
|
-
result = val[0].eq val[2] ; loc result, val[1]
|
1962
|
+
result = val[0].eq val[2] ; loc result, val[1]
|
1963
1963
|
result
|
1964
1964
|
end
|
1965
1965
|
.,.,
|
1966
1966
|
|
1967
1967
|
module_eval(<<'.,.,', 'egrammar.ra', 219)
|
1968
1968
|
def _reduce_53(val, _values, result)
|
1969
|
-
result = val[0] > val[2] ; loc result, val[1]
|
1969
|
+
result = val[0] > val[2] ; loc result, val[1]
|
1970
1970
|
result
|
1971
1971
|
end
|
1972
1972
|
.,.,
|
1973
1973
|
|
1974
1974
|
module_eval(<<'.,.,', 'egrammar.ra', 220)
|
1975
1975
|
def _reduce_54(val, _values, result)
|
1976
|
-
result = val[0] >= val[2] ; loc result, val[1]
|
1976
|
+
result = val[0] >= val[2] ; loc result, val[1]
|
1977
1977
|
result
|
1978
1978
|
end
|
1979
1979
|
.,.,
|
1980
1980
|
|
1981
1981
|
module_eval(<<'.,.,', 'egrammar.ra', 221)
|
1982
1982
|
def _reduce_55(val, _values, result)
|
1983
|
-
result = val[0] < val[2] ; loc result, val[1]
|
1983
|
+
result = val[0] < val[2] ; loc result, val[1]
|
1984
1984
|
result
|
1985
1985
|
end
|
1986
1986
|
.,.,
|
1987
1987
|
|
1988
1988
|
module_eval(<<'.,.,', 'egrammar.ra', 222)
|
1989
1989
|
def _reduce_56(val, _values, result)
|
1990
|
-
result = val[0] <= val[2] ; loc result, val[1]
|
1990
|
+
result = val[0] <= val[2] ; loc result, val[1]
|
1991
1991
|
result
|
1992
1992
|
end
|
1993
1993
|
.,.,
|
1994
1994
|
|
1995
1995
|
module_eval(<<'.,.,', 'egrammar.ra', 223)
|
1996
1996
|
def _reduce_57(val, _values, result)
|
1997
|
-
result = val[1].not ; loc result, val[0]
|
1997
|
+
result = val[1].not ; loc result, val[0]
|
1998
1998
|
result
|
1999
1999
|
end
|
2000
2000
|
.,.,
|
2001
2001
|
|
2002
2002
|
module_eval(<<'.,.,', 'egrammar.ra', 224)
|
2003
2003
|
def _reduce_58(val, _values, result)
|
2004
|
-
result = val[0].and val[2] ; loc result, val[1]
|
2004
|
+
result = val[0].and val[2] ; loc result, val[1]
|
2005
2005
|
result
|
2006
2006
|
end
|
2007
2007
|
.,.,
|
2008
2008
|
|
2009
2009
|
module_eval(<<'.,.,', 'egrammar.ra', 225)
|
2010
2010
|
def _reduce_59(val, _values, result)
|
2011
|
-
result = val[0].or val[2] ; loc result, val[1]
|
2011
|
+
result = val[0].or val[2] ; loc result, val[1]
|
2012
2012
|
result
|
2013
2013
|
end
|
2014
2014
|
.,.,
|
2015
2015
|
|
2016
2016
|
module_eval(<<'.,.,', 'egrammar.ra', 226)
|
2017
2017
|
def _reduce_60(val, _values, result)
|
2018
|
-
result = val[0].select(*val[2]) ; loc result, val[0]
|
2018
|
+
result = val[0].select(*val[2]) ; loc result, val[0]
|
2019
2019
|
result
|
2020
2020
|
end
|
2021
2021
|
.,.,
|
2022
2022
|
|
2023
2023
|
module_eval(<<'.,.,', 'egrammar.ra', 227)
|
2024
2024
|
def _reduce_61(val, _values, result)
|
2025
|
-
result = val[1].paren ; loc result, val[0]
|
2025
|
+
result = val[1].paren ; loc result, val[0]
|
2026
2026
|
result
|
2027
2027
|
end
|
2028
2028
|
.,.,
|
2029
2029
|
|
2030
2030
|
module_eval(<<'.,.,', 'egrammar.ra', 228)
|
2031
2031
|
def _reduce_62(val, _values, result)
|
2032
|
-
result = val[1].paren ; loc result, val[0]
|
2032
|
+
result = val[1].paren ; loc result, val[0]
|
2033
2033
|
result
|
2034
2034
|
end
|
2035
2035
|
.,.,
|
2036
2036
|
|
2037
2037
|
module_eval(<<'.,.,', 'egrammar.ra', 231)
|
2038
2038
|
def _reduce_63(val, _values, result)
|
2039
|
-
result = val[0].access(val[2]); loc result, val[0], val[4]
|
2039
|
+
result = val[0].access(val[2]); loc result, val[0], val[4]
|
2040
2040
|
result
|
2041
2041
|
end
|
2042
2042
|
.,.,
|
2043
2043
|
|
2044
2044
|
module_eval(<<'.,.,', 'egrammar.ra', 234)
|
2045
2045
|
def _reduce_64(val, _values, result)
|
2046
|
-
result = [val[0]]
|
2046
|
+
result = [val[0]]
|
2047
2047
|
result
|
2048
2048
|
end
|
2049
2049
|
.,.,
|
2050
2050
|
|
2051
2051
|
module_eval(<<'.,.,', 'egrammar.ra', 235)
|
2052
2052
|
def _reduce_65(val, _values, result)
|
2053
|
-
result = Factory.ARGUMENTS(val[0], val[2])
|
2053
|
+
result = Factory.ARGUMENTS(val[0], val[2])
|
2054
2054
|
result
|
2055
2055
|
end
|
2056
2056
|
.,.,
|
@@ -2059,21 +2059,21 @@ module_eval(<<'.,.,', 'egrammar.ra', 235)
|
|
2059
2059
|
|
2060
2060
|
module_eval(<<'.,.,', 'egrammar.ra', 239)
|
2061
2061
|
def _reduce_67(val, _values, result)
|
2062
|
-
result = Factory.HASH_UNFOLDED([val[0]]); loc result, val[0]
|
2062
|
+
result = Factory.HASH_UNFOLDED([val[0]]); loc result, val[0]
|
2063
2063
|
result
|
2064
2064
|
end
|
2065
2065
|
.,.,
|
2066
2066
|
|
2067
2067
|
module_eval(<<'.,.,', 'egrammar.ra', 248)
|
2068
2068
|
def _reduce_68(val, _values, result)
|
2069
|
-
result = [val[0]]
|
2069
|
+
result = [val[0]]
|
2070
2070
|
result
|
2071
2071
|
end
|
2072
2072
|
.,.,
|
2073
2073
|
|
2074
2074
|
module_eval(<<'.,.,', 'egrammar.ra', 249)
|
2075
2075
|
def _reduce_69(val, _values, result)
|
2076
|
-
result = val[0].push(val[2])
|
2076
|
+
result = val[0].push(val[2])
|
2077
2077
|
result
|
2078
2078
|
end
|
2079
2079
|
.,.,
|
@@ -2126,35 +2126,35 @@ module_eval(<<'.,.,', 'egrammar.ra', 249)
|
|
2126
2126
|
|
2127
2127
|
module_eval(<<'.,.,', 'egrammar.ra', 275)
|
2128
2128
|
def _reduce_93(val, _values, result)
|
2129
|
-
result = Factory.NUMBER(val[0][:value]) ; loc result, val[0]
|
2129
|
+
result = Factory.NUMBER(val[0][:value]) ; loc result, val[0]
|
2130
2130
|
result
|
2131
2131
|
end
|
2132
2132
|
.,.,
|
2133
2133
|
|
2134
2134
|
module_eval(<<'.,.,', 'egrammar.ra', 276)
|
2135
2135
|
def _reduce_94(val, _values, result)
|
2136
|
-
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
2136
|
+
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
2137
2137
|
result
|
2138
2138
|
end
|
2139
2139
|
.,.,
|
2140
2140
|
|
2141
2141
|
module_eval(<<'.,.,', 'egrammar.ra', 277)
|
2142
2142
|
def _reduce_95(val, _values, result)
|
2143
|
-
result = Factory.literal(:default) ; loc result, val[0]
|
2143
|
+
result = Factory.literal(:default) ; loc result, val[0]
|
2144
2144
|
result
|
2145
2145
|
end
|
2146
2146
|
.,.,
|
2147
2147
|
|
2148
2148
|
module_eval(<<'.,.,', 'egrammar.ra', 278)
|
2149
2149
|
def _reduce_96(val, _values, result)
|
2150
|
-
result = Factory.literal(:undef) ; loc result, val[0]
|
2150
|
+
result = Factory.literal(:undef) ; loc result, val[0]
|
2151
2151
|
result
|
2152
2152
|
end
|
2153
2153
|
.,.,
|
2154
2154
|
|
2155
2155
|
module_eval(<<'.,.,', 'egrammar.ra', 279)
|
2156
2156
|
def _reduce_97(val, _values, result)
|
2157
|
-
result = Factory.QNAME_OR_NUMBER(val[0][:value]) ; loc result, val[0]
|
2157
|
+
result = Factory.QNAME_OR_NUMBER(val[0][:value]) ; loc result, val[0]
|
2158
2158
|
result
|
2159
2159
|
end
|
2160
2160
|
.,.,
|
@@ -2163,7 +2163,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 288)
|
|
2163
2163
|
def _reduce_98(val, _values, result)
|
2164
2164
|
result = Factory.CALL_NAMED(val[0], true, val[1])
|
2165
2165
|
loc result, val[0], val[3]
|
2166
|
-
|
2166
|
+
|
2167
2167
|
result
|
2168
2168
|
end
|
2169
2169
|
.,.,
|
@@ -2172,7 +2172,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 292)
|
|
2172
2172
|
def _reduce_99(val, _values, result)
|
2173
2173
|
result = Factory.CALL_NAMED(val[0], true, [])
|
2174
2174
|
loc result, val[0], val[1]
|
2175
|
-
|
2175
|
+
|
2176
2176
|
result
|
2177
2177
|
end
|
2178
2178
|
.,.,
|
@@ -2182,7 +2182,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 296)
|
|
2182
2182
|
result = Factory.CALL_NAMED(val[0], true, val[1])
|
2183
2183
|
loc result, val[0], val[4]
|
2184
2184
|
result.lambda = val[4]
|
2185
|
-
|
2185
|
+
|
2186
2186
|
result
|
2187
2187
|
end
|
2188
2188
|
.,.,
|
@@ -2192,56 +2192,56 @@ module_eval(<<'.,.,', 'egrammar.ra', 301)
|
|
2192
2192
|
result = Factory.CALL_NAMED(val[0], true, [])
|
2193
2193
|
loc result, val[0], val[2]
|
2194
2194
|
result.lambda = val[2]
|
2195
|
-
|
2195
|
+
|
2196
2196
|
result
|
2197
2197
|
end
|
2198
2198
|
.,.,
|
2199
2199
|
|
2200
2200
|
module_eval(<<'.,.,', 'egrammar.ra', 307)
|
2201
2201
|
def _reduce_102(val, _values, result)
|
2202
|
-
result = val[0]
|
2202
|
+
result = val[0]
|
2203
2203
|
result
|
2204
2204
|
end
|
2205
2205
|
.,.,
|
2206
2206
|
|
2207
2207
|
module_eval(<<'.,.,', 'egrammar.ra', 308)
|
2208
2208
|
def _reduce_103(val, _values, result)
|
2209
|
-
result = Factory.QNAME(val[0][:value]); loc result, val[0]
|
2209
|
+
result = Factory.QNAME(val[0][:value]); loc result, val[0]
|
2210
2210
|
result
|
2211
2211
|
end
|
2212
2212
|
.,.,
|
2213
2213
|
|
2214
2214
|
module_eval(<<'.,.,', 'egrammar.ra', 313)
|
2215
2215
|
def _reduce_104(val, _values, result)
|
2216
|
-
result = val[0]
|
2216
|
+
result = val[0]
|
2217
2217
|
result
|
2218
2218
|
end
|
2219
2219
|
.,.,
|
2220
2220
|
|
2221
2221
|
module_eval(<<'.,.,', 'egrammar.ra', 314)
|
2222
2222
|
def _reduce_105(val, _values, result)
|
2223
|
-
result = val[0]; val[0].lambda = val[1]
|
2223
|
+
result = val[0]; val[0].lambda = val[1]
|
2224
2224
|
result
|
2225
2225
|
end
|
2226
2226
|
.,.,
|
2227
2227
|
|
2228
2228
|
module_eval(<<'.,.,', 'egrammar.ra', 317)
|
2229
2229
|
def _reduce_106(val, _values, result)
|
2230
|
-
result = Factory.CALL_METHOD(val[0], val[2]); loc result, val[1], val[3]
|
2230
|
+
result = Factory.CALL_METHOD(val[0], val[2]); loc result, val[1], val[3]
|
2231
2231
|
result
|
2232
2232
|
end
|
2233
2233
|
.,.,
|
2234
2234
|
|
2235
2235
|
module_eval(<<'.,.,', 'egrammar.ra', 318)
|
2236
2236
|
def _reduce_107(val, _values, result)
|
2237
|
-
result = Factory.CALL_METHOD(val[0], []); loc result, val[1], val[3]
|
2237
|
+
result = Factory.CALL_METHOD(val[0], []); loc result, val[1], val[3]
|
2238
2238
|
result
|
2239
2239
|
end
|
2240
2240
|
.,.,
|
2241
2241
|
|
2242
2242
|
module_eval(<<'.,.,', 'egrammar.ra', 319)
|
2243
2243
|
def _reduce_108(val, _values, result)
|
2244
|
-
result = Factory.CALL_METHOD(val[0], []); loc result, val[0]
|
2244
|
+
result = Factory.CALL_METHOD(val[0], []); loc result, val[0]
|
2245
2245
|
result
|
2246
2246
|
end
|
2247
2247
|
.,.,
|
@@ -2250,7 +2250,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 323)
|
|
2250
2250
|
def _reduce_109(val, _values, result)
|
2251
2251
|
result = val[0].dot(Factory.fqn(val[2][:value]))
|
2252
2252
|
loc result, val[1], val[2]
|
2253
|
-
|
2253
|
+
|
2254
2254
|
result
|
2255
2255
|
end
|
2256
2256
|
.,.,
|
@@ -2259,7 +2259,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 327)
|
|
2259
2259
|
def _reduce_110(val, _values, result)
|
2260
2260
|
result = val[0].dot(Factory.fqn(val[2][:value]))
|
2261
2261
|
loc result, val[1], val[2]
|
2262
|
-
|
2262
|
+
|
2263
2263
|
result
|
2264
2264
|
end
|
2265
2265
|
.,.,
|
@@ -2268,35 +2268,35 @@ module_eval(<<'.,.,', 'egrammar.ra', 335)
|
|
2268
2268
|
def _reduce_111(val, _values, result)
|
2269
2269
|
result = Factory.LAMBDA(val[0][:value], val[2][:value], val[1])
|
2270
2270
|
loc result, val[0][:start], val[2][:end]
|
2271
|
-
|
2271
|
+
|
2272
2272
|
result
|
2273
2273
|
end
|
2274
2274
|
.,.,
|
2275
2275
|
|
2276
2276
|
module_eval(<<'.,.,', 'egrammar.ra', 340)
|
2277
2277
|
def _reduce_112(val, _values, result)
|
2278
|
-
result = {:end => val[2], :value =>val[1] }
|
2278
|
+
result = {:end => val[2], :value =>val[1] }
|
2279
2279
|
result
|
2280
2280
|
end
|
2281
2281
|
.,.,
|
2282
2282
|
|
2283
2283
|
module_eval(<<'.,.,', 'egrammar.ra', 341)
|
2284
2284
|
def _reduce_113(val, _values, result)
|
2285
|
-
result = {:end => val[1], :value => nil }
|
2285
|
+
result = {:end => val[1], :value => nil }
|
2286
2286
|
result
|
2287
2287
|
end
|
2288
2288
|
.,.,
|
2289
2289
|
|
2290
2290
|
module_eval(<<'.,.,', 'egrammar.ra', 345)
|
2291
2291
|
def _reduce_114(val, _values, result)
|
2292
|
-
result = {:start => val[0], :value => [] }
|
2292
|
+
result = {:start => val[0], :value => [] }
|
2293
2293
|
result
|
2294
2294
|
end
|
2295
2295
|
.,.,
|
2296
2296
|
|
2297
2297
|
module_eval(<<'.,.,', 'egrammar.ra', 346)
|
2298
2298
|
def _reduce_115(val, _values, result)
|
2299
|
-
result = {:start => val[0], :value => val[1] }
|
2299
|
+
result = {:start => val[0], :value => val[1] }
|
2300
2300
|
result
|
2301
2301
|
end
|
2302
2302
|
.,.,
|
@@ -2305,7 +2305,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 354)
|
|
2305
2305
|
def _reduce_116(val, _values, result)
|
2306
2306
|
result = val[1]
|
2307
2307
|
loc(result, val[0], val[1])
|
2308
|
-
|
2308
|
+
|
2309
2309
|
result
|
2310
2310
|
end
|
2311
2311
|
.,.,
|
@@ -2314,7 +2314,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 361)
|
|
2314
2314
|
def _reduce_117(val, _values, result)
|
2315
2315
|
result = Factory.IF(val[0], Factory.block_or_expression(val[2], val[1], val[3]), val[4])
|
2316
2316
|
loc(result, val[0], (val[4] ? val[4] : val[3]))
|
2317
|
-
|
2317
|
+
|
2318
2318
|
result
|
2319
2319
|
end
|
2320
2320
|
.,.,
|
@@ -2323,7 +2323,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 365)
|
|
2323
2323
|
def _reduce_118(val, _values, result)
|
2324
2324
|
result = Factory.IF(val[0], nil, val[3])
|
2325
2325
|
loc(result, val[0], (val[3] ? val[3] : val[2]))
|
2326
|
-
|
2326
|
+
|
2327
2327
|
result
|
2328
2328
|
end
|
2329
2329
|
.,.,
|
@@ -2334,7 +2334,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 373)
|
|
2334
2334
|
def _reduce_120(val, _values, result)
|
2335
2335
|
result = val[1]
|
2336
2336
|
loc(result, val[0], val[1])
|
2337
|
-
|
2337
|
+
|
2338
2338
|
result
|
2339
2339
|
end
|
2340
2340
|
.,.,
|
@@ -2342,7 +2342,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 373)
|
|
2342
2342
|
module_eval(<<'.,.,', 'egrammar.ra', 377)
|
2343
2343
|
def _reduce_121(val, _values, result)
|
2344
2344
|
result = Factory.block_or_expression(val[2], val[1], val[3])
|
2345
|
-
|
2345
|
+
|
2346
2346
|
result
|
2347
2347
|
end
|
2348
2348
|
.,.,
|
@@ -2350,7 +2350,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 377)
|
|
2350
2350
|
module_eval(<<'.,.,', 'egrammar.ra', 380)
|
2351
2351
|
def _reduce_122(val, _values, result)
|
2352
2352
|
result = nil # don't think a nop is needed here either
|
2353
|
-
|
2353
|
+
|
2354
2354
|
result
|
2355
2355
|
end
|
2356
2356
|
.,.,
|
@@ -2359,7 +2359,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 387)
|
|
2359
2359
|
def _reduce_123(val, _values, result)
|
2360
2360
|
result = Factory.UNLESS(val[1], Factory.block_or_expression(val[3], val[2], val[4]), val[5])
|
2361
2361
|
loc result, val[0], val[4]
|
2362
|
-
|
2362
|
+
|
2363
2363
|
result
|
2364
2364
|
end
|
2365
2365
|
.,.,
|
@@ -2368,7 +2368,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 391)
|
|
2368
2368
|
def _reduce_124(val, _values, result)
|
2369
2369
|
result = Factory.UNLESS(val[1], nil, val[4])
|
2370
2370
|
loc result, val[0], val[4]
|
2371
|
-
|
2371
|
+
|
2372
2372
|
result
|
2373
2373
|
end
|
2374
2374
|
.,.,
|
@@ -2378,7 +2378,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 391)
|
|
2378
2378
|
module_eval(<<'.,.,', 'egrammar.ra', 401)
|
2379
2379
|
def _reduce_126(val, _values, result)
|
2380
2380
|
result = Factory.block_or_expression(val[2], val[1], val[3])
|
2381
|
-
|
2381
|
+
|
2382
2382
|
result
|
2383
2383
|
end
|
2384
2384
|
.,.,
|
@@ -2386,7 +2386,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 401)
|
|
2386
2386
|
module_eval(<<'.,.,', 'egrammar.ra', 404)
|
2387
2387
|
def _reduce_127(val, _values, result)
|
2388
2388
|
result = nil # don't think a nop is needed here either
|
2389
|
-
|
2389
|
+
|
2390
2390
|
result
|
2391
2391
|
end
|
2392
2392
|
.,.,
|
@@ -2395,21 +2395,21 @@ module_eval(<<'.,.,', 'egrammar.ra', 411)
|
|
2395
2395
|
def _reduce_128(val, _values, result)
|
2396
2396
|
result = Factory.CASE(val[1], *val[3])
|
2397
2397
|
loc result, val[0], val[4]
|
2398
|
-
|
2398
|
+
|
2399
2399
|
result
|
2400
2400
|
end
|
2401
2401
|
.,.,
|
2402
2402
|
|
2403
2403
|
module_eval(<<'.,.,', 'egrammar.ra', 417)
|
2404
2404
|
def _reduce_129(val, _values, result)
|
2405
|
-
result = [val[0]]
|
2405
|
+
result = [val[0]]
|
2406
2406
|
result
|
2407
2407
|
end
|
2408
2408
|
.,.,
|
2409
2409
|
|
2410
2410
|
module_eval(<<'.,.,', 'egrammar.ra', 418)
|
2411
2411
|
def _reduce_130(val, _values, result)
|
2412
|
-
result = val[0].push val[1]
|
2412
|
+
result = val[0].push val[1]
|
2413
2413
|
result
|
2414
2414
|
end
|
2415
2415
|
.,.,
|
@@ -2417,7 +2417,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 418)
|
|
2417
2417
|
module_eval(<<'.,.,', 'egrammar.ra', 423)
|
2418
2418
|
def _reduce_131(val, _values, result)
|
2419
2419
|
result = Factory.WHEN(val[0], val[3]); loc result, val[1], val[4]
|
2420
|
-
|
2420
|
+
|
2421
2421
|
result
|
2422
2422
|
end
|
2423
2423
|
.,.,
|
@@ -2431,28 +2431,28 @@ module_eval(<<'.,.,', 'egrammar.ra', 423)
|
|
2431
2431
|
module_eval(<<'.,.,', 'egrammar.ra', 439)
|
2432
2432
|
def _reduce_135(val, _values, result)
|
2433
2433
|
result = val[1]
|
2434
|
-
|
2434
|
+
|
2435
2435
|
result
|
2436
2436
|
end
|
2437
2437
|
.,.,
|
2438
2438
|
|
2439
2439
|
module_eval(<<'.,.,', 'egrammar.ra', 444)
|
2440
2440
|
def _reduce_136(val, _values, result)
|
2441
|
-
result = [val[0]]
|
2441
|
+
result = [val[0]]
|
2442
2442
|
result
|
2443
2443
|
end
|
2444
2444
|
.,.,
|
2445
2445
|
|
2446
2446
|
module_eval(<<'.,.,', 'egrammar.ra', 445)
|
2447
2447
|
def _reduce_137(val, _values, result)
|
2448
|
-
result = val[0].push val[2]
|
2448
|
+
result = val[0].push val[2]
|
2449
2449
|
result
|
2450
2450
|
end
|
2451
2451
|
.,.,
|
2452
2452
|
|
2453
2453
|
module_eval(<<'.,.,', 'egrammar.ra', 450)
|
2454
2454
|
def _reduce_138(val, _values, result)
|
2455
|
-
result = Factory.MAP(val[0], val[2]) ; loc result, val[1]
|
2455
|
+
result = Factory.MAP(val[0], val[2]) ; loc result, val[1]
|
2456
2456
|
result
|
2457
2457
|
end
|
2458
2458
|
.,.,
|
@@ -2461,7 +2461,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 460)
|
|
2461
2461
|
def _reduce_139(val, _values, result)
|
2462
2462
|
result = Factory.COLLECT(val[0], val[1], val[3])
|
2463
2463
|
loc result, val[0], val[5]
|
2464
|
-
|
2464
|
+
|
2465
2465
|
result
|
2466
2466
|
end
|
2467
2467
|
.,.,
|
@@ -2470,21 +2470,21 @@ module_eval(<<'.,.,', 'egrammar.ra', 464)
|
|
2470
2470
|
def _reduce_140(val, _values, result)
|
2471
2471
|
result = Factory.COLLECT(val[0], val[1], [])
|
2472
2472
|
loc result, val[0], val[1]
|
2473
|
-
|
2473
|
+
|
2474
2474
|
result
|
2475
2475
|
end
|
2476
2476
|
.,.,
|
2477
2477
|
|
2478
2478
|
module_eval(<<'.,.,', 'egrammar.ra', 469)
|
2479
2479
|
def _reduce_141(val, _values, result)
|
2480
|
-
result = Factory.VIRTUAL_QUERY(val[1]) ; loc result, val[0], val[2]
|
2480
|
+
result = Factory.VIRTUAL_QUERY(val[1]) ; loc result, val[0], val[2]
|
2481
2481
|
result
|
2482
2482
|
end
|
2483
2483
|
.,.,
|
2484
2484
|
|
2485
2485
|
module_eval(<<'.,.,', 'egrammar.ra', 470)
|
2486
2486
|
def _reduce_142(val, _values, result)
|
2487
|
-
result = Factory.EXPORTED_QUERY(val[1]) ; loc result, val[0], val[2]
|
2487
|
+
result = Factory.EXPORTED_QUERY(val[1]) ; loc result, val[0], val[2]
|
2488
2488
|
result
|
2489
2489
|
end
|
2490
2490
|
.,.,
|
@@ -2495,21 +2495,21 @@ module_eval(<<'.,.,', 'egrammar.ra', 470)
|
|
2495
2495
|
|
2496
2496
|
module_eval(<<'.,.,', 'egrammar.ra', 479)
|
2497
2497
|
def _reduce_145(val, _values, result)
|
2498
|
-
result = []
|
2498
|
+
result = []
|
2499
2499
|
result
|
2500
2500
|
end
|
2501
2501
|
.,.,
|
2502
2502
|
|
2503
2503
|
module_eval(<<'.,.,', 'egrammar.ra', 480)
|
2504
2504
|
def _reduce_146(val, _values, result)
|
2505
|
-
result = [val[0]]
|
2505
|
+
result = [val[0]]
|
2506
2506
|
result
|
2507
2507
|
end
|
2508
2508
|
.,.,
|
2509
2509
|
|
2510
2510
|
module_eval(<<'.,.,', 'egrammar.ra', 481)
|
2511
2511
|
def _reduce_147(val, _values, result)
|
2512
|
-
result = val[0].push(val[2])
|
2512
|
+
result = val[0].push(val[2])
|
2513
2513
|
result
|
2514
2514
|
end
|
2515
2515
|
.,.,
|
@@ -2522,7 +2522,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 496)
|
|
2522
2522
|
def _reduce_150(val, _values, result)
|
2523
2523
|
result = Factory.ATTRIBUTE_OP(val[0][:value], '=>', val[2])
|
2524
2524
|
loc result, val[0], val[2]
|
2525
|
-
|
2525
|
+
|
2526
2526
|
result
|
2527
2527
|
end
|
2528
2528
|
.,.,
|
@@ -2531,7 +2531,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 500)
|
|
2531
2531
|
def _reduce_151(val, _values, result)
|
2532
2532
|
result = Factory.ATTRIBUTE_OP(val[0][:value], '+>', val[2])
|
2533
2533
|
loc result, val[0], val[2]
|
2534
|
-
|
2534
|
+
|
2535
2535
|
result
|
2536
2536
|
end
|
2537
2537
|
.,.,
|
@@ -2539,7 +2539,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 500)
|
|
2539
2539
|
module_eval(<<'.,.,', 'egrammar.ra', 504)
|
2540
2540
|
def _reduce_152(val, _values, result)
|
2541
2541
|
result = Factory.ATTRIBUTES_OP(val[2]) ; loc result, val[0], val[2]
|
2542
|
-
|
2542
|
+
|
2543
2543
|
result
|
2544
2544
|
end
|
2545
2545
|
.,.,
|
@@ -2553,7 +2553,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 513)
|
|
2553
2553
|
if @lexer.respond_to?(:'indefine=')
|
2554
2554
|
@lexer.indefine = false
|
2555
2555
|
end
|
2556
|
-
|
2556
|
+
|
2557
2557
|
result
|
2558
2558
|
end
|
2559
2559
|
.,.,
|
@@ -2563,7 +2563,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 525)
|
|
2563
2563
|
definition = Factory.APPLICATION(classname(val[1][:value]), val[2], val[4])
|
2564
2564
|
loc(definition, val[0], val[5])
|
2565
2565
|
result = add_definition(definition)
|
2566
|
-
|
2566
|
+
|
2567
2567
|
result
|
2568
2568
|
end
|
2569
2569
|
.,.,
|
@@ -2575,7 +2575,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 532)
|
|
2575
2575
|
classname(val[2][:value]), val[4])
|
2576
2576
|
loc result, val[0], val[6]
|
2577
2577
|
add_mapping(result)
|
2578
|
-
|
2578
|
+
|
2579
2579
|
result
|
2580
2580
|
end
|
2581
2581
|
.,.,
|
@@ -2587,7 +2587,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 539)
|
|
2587
2587
|
classname(val[2][:value]), val[4])
|
2588
2588
|
loc result, val[0], val[6]
|
2589
2589
|
add_mapping(result)
|
2590
|
-
|
2590
|
+
|
2591
2591
|
result
|
2592
2592
|
end
|
2593
2593
|
.,.,
|
@@ -2603,7 +2603,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 553)
|
|
2603
2603
|
definition = Factory.PLAN(classname(val[1][:value]), val[2], val[4])
|
2604
2604
|
loc(definition, val[0], val[5])
|
2605
2605
|
result = add_definition(definition)
|
2606
|
-
|
2606
|
+
|
2607
2607
|
result
|
2608
2608
|
end
|
2609
2609
|
.,.,
|
@@ -2612,7 +2612,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 562)
|
|
2612
2612
|
def _reduce_160(val, _values, result)
|
2613
2613
|
result = Factory.APPLY(val[2], Factory.APPLY_BLOCK(val[6]))
|
2614
2614
|
loc result, val[0], val[7]
|
2615
|
-
|
2615
|
+
|
2616
2616
|
result
|
2617
2617
|
end
|
2618
2618
|
.,.,
|
@@ -2621,7 +2621,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 566)
|
|
2621
2621
|
def _reduce_161(val, _values, result)
|
2622
2622
|
result = Factory.APPLY(val[2], Factory.APPLY_BLOCK([]))
|
2623
2623
|
loc result, val[0], val[6]
|
2624
|
-
|
2624
|
+
|
2625
2625
|
result
|
2626
2626
|
end
|
2627
2627
|
.,.,
|
@@ -2633,14 +2633,14 @@ module_eval(<<'.,.,', 'egrammar.ra', 576)
|
|
2633
2633
|
definition = Factory.HOSTCLASS(classname(val[1][:value]), val[2], token_text(val[3]), val[5])
|
2634
2634
|
loc(definition, val[0], val[6])
|
2635
2635
|
result = add_definition(definition)
|
2636
|
-
|
2636
|
+
|
2637
2637
|
result
|
2638
2638
|
end
|
2639
2639
|
.,.,
|
2640
2640
|
|
2641
2641
|
module_eval(<<'.,.,', 'egrammar.ra', 587)
|
2642
2642
|
def _reduce_163(val, _values, result)
|
2643
|
-
namestack(val[0][:value]) ; result = val[0]
|
2643
|
+
namestack(val[0][:value]) ; result = val[0]
|
2644
2644
|
result
|
2645
2645
|
end
|
2646
2646
|
.,.,
|
@@ -2653,7 +2653,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 587)
|
|
2653
2653
|
|
2654
2654
|
module_eval(<<'.,.,', 'egrammar.ra', 596)
|
2655
2655
|
def _reduce_167(val, _values, result)
|
2656
|
-
result = val[1]
|
2656
|
+
result = val[1]
|
2657
2657
|
result
|
2658
2658
|
end
|
2659
2659
|
.,.,
|
@@ -2667,7 +2667,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 613)
|
|
2667
2667
|
definition = Factory.SITE(val[2])
|
2668
2668
|
loc(definition, val[0], val[3])
|
2669
2669
|
result = add_definition(definition)
|
2670
|
-
|
2670
|
+
|
2671
2671
|
result
|
2672
2672
|
end
|
2673
2673
|
.,.,
|
@@ -2677,7 +2677,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 618)
|
|
2677
2677
|
definition = Factory.SITE(nil)
|
2678
2678
|
loc(definition, val[0], val[2])
|
2679
2679
|
result = add_definition(definition)
|
2680
|
-
|
2680
|
+
|
2681
2681
|
result
|
2682
2682
|
end
|
2683
2683
|
.,.,
|
@@ -2687,7 +2687,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 629)
|
|
2687
2687
|
definition = Factory.NODE(val[1], val[3], val[5])
|
2688
2688
|
loc(definition, val[0], val[6])
|
2689
2689
|
result = add_definition(definition)
|
2690
|
-
|
2690
|
+
|
2691
2691
|
result
|
2692
2692
|
end
|
2693
2693
|
.,.,
|
@@ -2697,21 +2697,21 @@ module_eval(<<'.,.,', 'egrammar.ra', 634)
|
|
2697
2697
|
definition = Factory.NODE(val[1], val[3], nil)
|
2698
2698
|
loc(definition, val[0], val[5])
|
2699
2699
|
result = add_definition(definition)
|
2700
|
-
|
2700
|
+
|
2701
2701
|
result
|
2702
2702
|
end
|
2703
2703
|
.,.,
|
2704
2704
|
|
2705
2705
|
module_eval(<<'.,.,', 'egrammar.ra', 645)
|
2706
2706
|
def _reduce_174(val, _values, result)
|
2707
|
-
result = [result]
|
2707
|
+
result = [result]
|
2708
2708
|
result
|
2709
2709
|
end
|
2710
2710
|
.,.,
|
2711
2711
|
|
2712
2712
|
module_eval(<<'.,.,', 'egrammar.ra', 646)
|
2713
2713
|
def _reduce_175(val, _values, result)
|
2714
|
-
result = val[0].push(val[2])
|
2714
|
+
result = val[0].push(val[2])
|
2715
2715
|
result
|
2716
2716
|
end
|
2717
2717
|
.,.,
|
@@ -2722,7 +2722,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 646)
|
|
2722
2722
|
|
2723
2723
|
module_eval(<<'.,.,', 'egrammar.ra', 653)
|
2724
2724
|
def _reduce_178(val, _values, result)
|
2725
|
-
result = Factory.literal(:default); loc result, val[0]
|
2725
|
+
result = Factory.literal(:default); loc result, val[0]
|
2726
2726
|
result
|
2727
2727
|
end
|
2728
2728
|
.,.,
|
@@ -2731,14 +2731,14 @@ module_eval(<<'.,.,', 'egrammar.ra', 653)
|
|
2731
2731
|
|
2732
2732
|
module_eval(<<'.,.,', 'egrammar.ra', 657)
|
2733
2733
|
def _reduce_180(val, _values, result)
|
2734
|
-
result = Factory.literal(val[0][:value]); loc result, val[0]
|
2734
|
+
result = Factory.literal(val[0][:value]); loc result, val[0]
|
2735
2735
|
result
|
2736
2736
|
end
|
2737
2737
|
.,.,
|
2738
2738
|
|
2739
2739
|
module_eval(<<'.,.,', 'egrammar.ra', 658)
|
2740
2740
|
def _reduce_181(val, _values, result)
|
2741
|
-
result = Factory.concat(val[0], '.', val[2][:value]); loc result, val[0], val[2]
|
2741
|
+
result = Factory.concat(val[0], '.', val[2][:value]); loc result, val[0], val[2]
|
2742
2742
|
result
|
2743
2743
|
end
|
2744
2744
|
.,.,
|
@@ -2751,7 +2751,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 658)
|
|
2751
2751
|
|
2752
2752
|
module_eval(<<'.,.,', 'egrammar.ra', 667)
|
2753
2753
|
def _reduce_185(val, _values, result)
|
2754
|
-
result = val[1]
|
2754
|
+
result = val[1]
|
2755
2755
|
result
|
2756
2756
|
end
|
2757
2757
|
.,.,
|
@@ -2761,21 +2761,21 @@ module_eval(<<'.,.,', 'egrammar.ra', 673)
|
|
2761
2761
|
definition = Factory.FUNCTION(val[1][:value], val[2], val[5], val[3])
|
2762
2762
|
loc(definition, val[0], val[6])
|
2763
2763
|
result = add_definition(definition)
|
2764
|
-
|
2764
|
+
|
2765
2765
|
result
|
2766
2766
|
end
|
2767
2767
|
.,.,
|
2768
2768
|
|
2769
2769
|
module_eval(<<'.,.,', 'egrammar.ra', 679)
|
2770
2770
|
def _reduce_187(val, _values, result)
|
2771
|
-
result = val[1]
|
2771
|
+
result = val[1]
|
2772
2772
|
result
|
2773
2773
|
end
|
2774
2774
|
.,.,
|
2775
2775
|
|
2776
2776
|
module_eval(<<'.,.,', 'egrammar.ra', 680)
|
2777
2777
|
def _reduce_188(val, _values, result)
|
2778
|
-
result = val[1].access(val[3]) ; loc result, val[1], val[4]
|
2778
|
+
result = val[1].access(val[3]) ; loc result, val[1], val[4]
|
2779
2779
|
result
|
2780
2780
|
end
|
2781
2781
|
.,.,
|
@@ -2790,63 +2790,63 @@ module_eval(<<'.,.,', 'egrammar.ra', 680)
|
|
2790
2790
|
|
2791
2791
|
module_eval(<<'.,.,', 'egrammar.ra', 690)
|
2792
2792
|
def _reduce_193(val, _values, result)
|
2793
|
-
error val[0], "'class' keyword not allowed at this location"
|
2793
|
+
error val[0], "'class' keyword not allowed at this location"
|
2794
2794
|
result
|
2795
2795
|
end
|
2796
2796
|
.,.,
|
2797
2797
|
|
2798
2798
|
module_eval(<<'.,.,', 'egrammar.ra', 691)
|
2799
2799
|
def _reduce_194(val, _values, result)
|
2800
|
-
error val[0], "A quoted string is not valid as a name here"
|
2800
|
+
error val[0], "A quoted string is not valid as a name here"
|
2801
2801
|
result
|
2802
2802
|
end
|
2803
2803
|
.,.,
|
2804
2804
|
|
2805
2805
|
module_eval(<<'.,.,', 'egrammar.ra', 695)
|
2806
2806
|
def _reduce_195(val, _values, result)
|
2807
|
-
result = []
|
2807
|
+
result = []
|
2808
2808
|
result
|
2809
2809
|
end
|
2810
2810
|
.,.,
|
2811
2811
|
|
2812
2812
|
module_eval(<<'.,.,', 'egrammar.ra', 696)
|
2813
2813
|
def _reduce_196(val, _values, result)
|
2814
|
-
result = []
|
2814
|
+
result = []
|
2815
2815
|
result
|
2816
2816
|
end
|
2817
2817
|
.,.,
|
2818
2818
|
|
2819
2819
|
module_eval(<<'.,.,', 'egrammar.ra', 697)
|
2820
2820
|
def _reduce_197(val, _values, result)
|
2821
|
-
result = []
|
2821
|
+
result = []
|
2822
2822
|
result
|
2823
2823
|
end
|
2824
2824
|
.,.,
|
2825
2825
|
|
2826
2826
|
module_eval(<<'.,.,', 'egrammar.ra', 698)
|
2827
2827
|
def _reduce_198(val, _values, result)
|
2828
|
-
result = val[1]
|
2828
|
+
result = val[1]
|
2829
2829
|
result
|
2830
2830
|
end
|
2831
2831
|
.,.,
|
2832
2832
|
|
2833
2833
|
module_eval(<<'.,.,', 'egrammar.ra', 699)
|
2834
2834
|
def _reduce_199(val, _values, result)
|
2835
|
-
result = val[1]
|
2835
|
+
result = val[1]
|
2836
2836
|
result
|
2837
2837
|
end
|
2838
2838
|
.,.,
|
2839
2839
|
|
2840
2840
|
module_eval(<<'.,.,', 'egrammar.ra', 703)
|
2841
2841
|
def _reduce_200(val, _values, result)
|
2842
|
-
result = [val[0]]
|
2842
|
+
result = [val[0]]
|
2843
2843
|
result
|
2844
2844
|
end
|
2845
2845
|
.,.,
|
2846
2846
|
|
2847
2847
|
module_eval(<<'.,.,', 'egrammar.ra', 704)
|
2848
2848
|
def _reduce_201(val, _values, result)
|
2849
|
-
result = val[0].push(val[2])
|
2849
|
+
result = val[0].push(val[2])
|
2850
2850
|
result
|
2851
2851
|
end
|
2852
2852
|
.,.,
|
@@ -2861,42 +2861,42 @@ module_eval(<<'.,.,', 'egrammar.ra', 704)
|
|
2861
2861
|
|
2862
2862
|
module_eval(<<'.,.,', 'egrammar.ra', 716)
|
2863
2863
|
def _reduce_206(val, _values, result)
|
2864
|
-
result = Factory.PARAM(val[0][:value], val[2]) ; loc result, val[0]
|
2864
|
+
result = Factory.PARAM(val[0][:value], val[2]) ; loc result, val[0]
|
2865
2865
|
result
|
2866
2866
|
end
|
2867
2867
|
.,.,
|
2868
2868
|
|
2869
2869
|
module_eval(<<'.,.,', 'egrammar.ra', 717)
|
2870
2870
|
def _reduce_207(val, _values, result)
|
2871
|
-
result = Factory.PARAM(val[0][:value]); loc result, val[0]
|
2871
|
+
result = Factory.PARAM(val[0][:value]); loc result, val[0]
|
2872
2872
|
result
|
2873
2873
|
end
|
2874
2874
|
.,.,
|
2875
2875
|
|
2876
2876
|
module_eval(<<'.,.,', 'egrammar.ra', 720)
|
2877
2877
|
def _reduce_208(val, _values, result)
|
2878
|
-
result = val[1]; val[1].captures_rest
|
2878
|
+
result = val[1]; val[1].captures_rest
|
2879
2879
|
result
|
2880
2880
|
end
|
2881
2881
|
.,.,
|
2882
2882
|
|
2883
2883
|
module_eval(<<'.,.,', 'egrammar.ra', 723)
|
2884
2884
|
def _reduce_209(val, _values, result)
|
2885
|
-
val[1].type_expr(val[0]) ; result = val[1]
|
2885
|
+
val[1].type_expr(val[0]) ; result = val[1]
|
2886
2886
|
result
|
2887
2887
|
end
|
2888
2888
|
.,.,
|
2889
2889
|
|
2890
2890
|
module_eval(<<'.,.,', 'egrammar.ra', 726)
|
2891
2891
|
def _reduce_210(val, _values, result)
|
2892
|
-
result = val[0]
|
2892
|
+
result = val[0]
|
2893
2893
|
result
|
2894
2894
|
end
|
2895
2895
|
.,.,
|
2896
2896
|
|
2897
2897
|
module_eval(<<'.,.,', 'egrammar.ra', 727)
|
2898
2898
|
def _reduce_211(val, _values, result)
|
2899
|
-
result = val[0].access(val[2]) ; loc result, val[0], val[3]
|
2899
|
+
result = val[0].access(val[2]) ; loc result, val[0], val[3]
|
2900
2900
|
result
|
2901
2901
|
end
|
2902
2902
|
.,.,
|
@@ -2906,7 +2906,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 732)
|
|
2906
2906
|
definition = Factory.TYPE_ASSIGNMENT(val[0], Factory.KEY_ENTRY(val[2], val[3]))
|
2907
2907
|
loc(definition, val[0], val[3])
|
2908
2908
|
result = add_definition(definition)
|
2909
|
-
|
2909
|
+
|
2910
2910
|
result
|
2911
2911
|
end
|
2912
2912
|
.,.,
|
@@ -2916,7 +2916,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 737)
|
|
2916
2916
|
definition = Factory.TYPE_ASSIGNMENT(val[0], val[2].access(val[4]))
|
2917
2917
|
loc(definition, val[0], val[5])
|
2918
2918
|
result = add_definition(definition)
|
2919
|
-
|
2919
|
+
|
2920
2920
|
result
|
2921
2921
|
end
|
2922
2922
|
.,.,
|
@@ -2926,7 +2926,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 742)
|
|
2926
2926
|
definition = Factory.TYPE_ASSIGNMENT(val[0], val[2])
|
2927
2927
|
loc(definition, val[0], val[2])
|
2928
2928
|
result = add_definition(definition)
|
2929
|
-
|
2929
|
+
|
2930
2930
|
result
|
2931
2931
|
end
|
2932
2932
|
.,.,
|
@@ -2936,7 +2936,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 747)
|
|
2936
2936
|
definition = Factory.TYPE_ASSIGNMENT(val[0], val[2])
|
2937
2937
|
loc(definition, val[0], val[2])
|
2938
2938
|
result = add_definition(definition)
|
2939
|
-
|
2939
|
+
|
2940
2940
|
result
|
2941
2941
|
end
|
2942
2942
|
.,.,
|
@@ -2946,14 +2946,14 @@ module_eval(<<'.,.,', 'egrammar.ra', 752)
|
|
2946
2946
|
definition = Factory.TYPE_ASSIGNMENT(val[0], val[2])
|
2947
2947
|
loc(definition, val[0], val[4])
|
2948
2948
|
result = add_definition(definition)
|
2949
|
-
|
2949
|
+
|
2950
2950
|
result
|
2951
2951
|
end
|
2952
2952
|
.,.,
|
2953
2953
|
|
2954
2954
|
module_eval(<<'.,.,', 'egrammar.ra', 758)
|
2955
2955
|
def _reduce_217(val, _values, result)
|
2956
|
-
result = val[1]
|
2956
|
+
result = val[1]
|
2957
2957
|
result
|
2958
2958
|
end
|
2959
2959
|
.,.,
|
@@ -2963,7 +2963,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 764)
|
|
2963
2963
|
definition = Factory.TYPE_DEFINITION(val[1][:value], nil, val[3])
|
2964
2964
|
loc(definition, val[0], val[4])
|
2965
2965
|
result = add_definition(definition)
|
2966
|
-
|
2966
|
+
|
2967
2967
|
result
|
2968
2968
|
end
|
2969
2969
|
.,.,
|
@@ -2973,7 +2973,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 769)
|
|
2973
2973
|
definition = Factory.TYPE_DEFINITION(val[1][:value], val[3][:value], val[5])
|
2974
2974
|
loc(definition, val[0], val[6])
|
2975
2975
|
result = add_definition(definition)
|
2976
|
-
|
2976
|
+
|
2977
2977
|
result
|
2978
2978
|
end
|
2979
2979
|
.,.,
|
@@ -2986,91 +2986,91 @@ module_eval(<<'.,.,', 'egrammar.ra', 778)
|
|
2986
2986
|
fqn['length'] -= 1
|
2987
2987
|
result = fqn.var
|
2988
2988
|
loc(result, val[0])
|
2989
|
-
|
2989
|
+
|
2990
2990
|
result
|
2991
2991
|
end
|
2992
2992
|
.,.,
|
2993
2993
|
|
2994
2994
|
module_eval(<<'.,.,', 'egrammar.ra', 789)
|
2995
2995
|
def _reduce_221(val, _values, result)
|
2996
|
-
result = Factory.RESERVED(val[0][:value]) ; loc result, val[0]
|
2996
|
+
result = Factory.RESERVED(val[0][:value]) ; loc result, val[0]
|
2997
2997
|
result
|
2998
2998
|
end
|
2999
2999
|
.,.,
|
3000
3000
|
|
3001
3001
|
module_eval(<<'.,.,', 'egrammar.ra', 790)
|
3002
3002
|
def _reduce_222(val, _values, result)
|
3003
|
-
result = Factory.RESERVED(val[0][:value]) ; loc result, val[0]
|
3003
|
+
result = Factory.RESERVED(val[0][:value]) ; loc result, val[0]
|
3004
3004
|
result
|
3005
3005
|
end
|
3006
3006
|
.,.,
|
3007
3007
|
|
3008
3008
|
module_eval(<<'.,.,', 'egrammar.ra', 796)
|
3009
3009
|
def _reduce_223(val, _values, result)
|
3010
|
-
result = Factory.LIST(val[1]); loc result, val[0], val[3]
|
3010
|
+
result = Factory.LIST(val[1]); loc result, val[0], val[3]
|
3011
3011
|
result
|
3012
3012
|
end
|
3013
3013
|
.,.,
|
3014
3014
|
|
3015
3015
|
module_eval(<<'.,.,', 'egrammar.ra', 797)
|
3016
3016
|
def _reduce_224(val, _values, result)
|
3017
|
-
result = Factory.literal([]) ; loc result, val[0], val[1]
|
3017
|
+
result = Factory.literal([]) ; loc result, val[0], val[1]
|
3018
3018
|
result
|
3019
3019
|
end
|
3020
3020
|
.,.,
|
3021
3021
|
|
3022
3022
|
module_eval(<<'.,.,', 'egrammar.ra', 798)
|
3023
3023
|
def _reduce_225(val, _values, result)
|
3024
|
-
result = Factory.LIST(val[1]); loc result, val[0], val[3]
|
3024
|
+
result = Factory.LIST(val[1]); loc result, val[0], val[3]
|
3025
3025
|
result
|
3026
3026
|
end
|
3027
3027
|
.,.,
|
3028
3028
|
|
3029
3029
|
module_eval(<<'.,.,', 'egrammar.ra', 799)
|
3030
3030
|
def _reduce_226(val, _values, result)
|
3031
|
-
result = Factory.literal([]) ; loc result, val[0], val[1]
|
3031
|
+
result = Factory.literal([]) ; loc result, val[0], val[1]
|
3032
3032
|
result
|
3033
3033
|
end
|
3034
3034
|
.,.,
|
3035
3035
|
|
3036
3036
|
module_eval(<<'.,.,', 'egrammar.ra', 802)
|
3037
3037
|
def _reduce_227(val, _values, result)
|
3038
|
-
result = Factory.HASH(val[1]); loc result, val[0], val[2]
|
3038
|
+
result = Factory.HASH(val[1]); loc result, val[0], val[2]
|
3039
3039
|
result
|
3040
3040
|
end
|
3041
3041
|
.,.,
|
3042
3042
|
|
3043
3043
|
module_eval(<<'.,.,', 'egrammar.ra', 803)
|
3044
3044
|
def _reduce_228(val, _values, result)
|
3045
|
-
result = Factory.HASH(val[1]); loc result, val[0], val[3]
|
3045
|
+
result = Factory.HASH(val[1]); loc result, val[0], val[3]
|
3046
3046
|
result
|
3047
3047
|
end
|
3048
3048
|
.,.,
|
3049
3049
|
|
3050
3050
|
module_eval(<<'.,.,', 'egrammar.ra', 804)
|
3051
3051
|
def _reduce_229(val, _values, result)
|
3052
|
-
result = Factory.literal({}) ; loc result, val[0], val[1]
|
3052
|
+
result = Factory.literal({}) ; loc result, val[0], val[1]
|
3053
3053
|
result
|
3054
3054
|
end
|
3055
3055
|
.,.,
|
3056
3056
|
|
3057
3057
|
module_eval(<<'.,.,', 'egrammar.ra', 807)
|
3058
3058
|
def _reduce_230(val, _values, result)
|
3059
|
-
result = [val[0]]
|
3059
|
+
result = [val[0]]
|
3060
3060
|
result
|
3061
3061
|
end
|
3062
3062
|
.,.,
|
3063
3063
|
|
3064
3064
|
module_eval(<<'.,.,', 'egrammar.ra', 808)
|
3065
3065
|
def _reduce_231(val, _values, result)
|
3066
|
-
result = val[0].push val[2]
|
3066
|
+
result = val[0].push val[2]
|
3067
3067
|
result
|
3068
3068
|
end
|
3069
3069
|
.,.,
|
3070
3070
|
|
3071
3071
|
module_eval(<<'.,.,', 'egrammar.ra', 811)
|
3072
3072
|
def _reduce_232(val, _values, result)
|
3073
|
-
result = Factory.KEY_ENTRY(val[0], val[2]); loc result, val[1]
|
3073
|
+
result = Factory.KEY_ENTRY(val[0], val[2]); loc result, val[1]
|
3074
3074
|
result
|
3075
3075
|
end
|
3076
3076
|
.,.,
|
@@ -3079,7 +3079,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 811)
|
|
3079
3079
|
|
3080
3080
|
module_eval(<<'.,.,', 'egrammar.ra', 815)
|
3081
3081
|
def _reduce_234(val, _values, result)
|
3082
|
-
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
3082
|
+
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
3083
3083
|
result
|
3084
3084
|
end
|
3085
3085
|
.,.,
|
@@ -3088,21 +3088,21 @@ module_eval(<<'.,.,', 'egrammar.ra', 815)
|
|
3088
3088
|
|
3089
3089
|
module_eval(<<'.,.,', 'egrammar.ra', 820)
|
3090
3090
|
def _reduce_236(val, _values, result)
|
3091
|
-
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
3091
|
+
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
3092
3092
|
result
|
3093
3093
|
end
|
3094
3094
|
.,.,
|
3095
3095
|
|
3096
3096
|
module_eval(<<'.,.,', 'egrammar.ra', 823)
|
3097
3097
|
def _reduce_237(val, _values, result)
|
3098
|
-
result = [val[0]]
|
3098
|
+
result = [val[0]]
|
3099
3099
|
result
|
3100
3100
|
end
|
3101
3101
|
.,.,
|
3102
3102
|
|
3103
3103
|
module_eval(<<'.,.,', 'egrammar.ra', 824)
|
3104
3104
|
def _reduce_238(val, _values, result)
|
3105
|
-
result = Factory.ARGUMENTS(val[0], val[2])
|
3105
|
+
result = Factory.ARGUMENTS(val[0], val[2])
|
3106
3106
|
result
|
3107
3107
|
end
|
3108
3108
|
.,.,
|
@@ -3127,98 +3127,98 @@ module_eval(<<'.,.,', 'egrammar.ra', 824)
|
|
3127
3127
|
|
3128
3128
|
module_eval(<<'.,.,', 'egrammar.ra', 841)
|
3129
3129
|
def _reduce_248(val, _values, result)
|
3130
|
-
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
3130
|
+
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
3131
3131
|
result
|
3132
3132
|
end
|
3133
3133
|
.,.,
|
3134
3134
|
|
3135
3135
|
module_eval(<<'.,.,', 'egrammar.ra', 842)
|
3136
3136
|
def _reduce_249(val, _values, result)
|
3137
|
-
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
3137
|
+
result = Factory.literal(val[0][:value]) ; loc result, val[0]
|
3138
3138
|
result
|
3139
3139
|
end
|
3140
3140
|
.,.,
|
3141
3141
|
|
3142
3142
|
module_eval(<<'.,.,', 'egrammar.ra', 844)
|
3143
3143
|
def _reduce_250(val, _values, result)
|
3144
|
-
result = Factory.STRING(val[0], *val[1]) ; loc result, val[0], val[1][-1]
|
3144
|
+
result = Factory.STRING(val[0], *val[1]) ; loc result, val[0], val[1][-1]
|
3145
3145
|
result
|
3146
3146
|
end
|
3147
3147
|
.,.,
|
3148
3148
|
|
3149
3149
|
module_eval(<<'.,.,', 'egrammar.ra', 845)
|
3150
3150
|
def _reduce_251(val, _values, result)
|
3151
|
-
result = Factory.literal(val[0][:value]); loc result, val[0]
|
3151
|
+
result = Factory.literal(val[0][:value]); loc result, val[0]
|
3152
3152
|
result
|
3153
3153
|
end
|
3154
3154
|
.,.,
|
3155
3155
|
|
3156
3156
|
module_eval(<<'.,.,', 'egrammar.ra', 846)
|
3157
3157
|
def _reduce_252(val, _values, result)
|
3158
|
-
result = Factory.literal(val[0][:value]); loc result, val[0]
|
3158
|
+
result = Factory.literal(val[0][:value]); loc result, val[0]
|
3159
3159
|
result
|
3160
3160
|
end
|
3161
3161
|
.,.,
|
3162
3162
|
|
3163
3163
|
module_eval(<<'.,.,', 'egrammar.ra', 847)
|
3164
3164
|
def _reduce_253(val, _values, result)
|
3165
|
-
result = Factory.literal(val[0][:value]); loc result, val[0]
|
3165
|
+
result = Factory.literal(val[0][:value]); loc result, val[0]
|
3166
3166
|
result
|
3167
3167
|
end
|
3168
3168
|
.,.,
|
3169
3169
|
|
3170
3170
|
module_eval(<<'.,.,', 'egrammar.ra', 848)
|
3171
3171
|
def _reduce_254(val, _values, result)
|
3172
|
-
result = [val[0]] + val[1]
|
3172
|
+
result = [val[0]] + val[1]
|
3173
3173
|
result
|
3174
3174
|
end
|
3175
3175
|
.,.,
|
3176
3176
|
|
3177
3177
|
module_eval(<<'.,.,', 'egrammar.ra', 849)
|
3178
3178
|
def _reduce_255(val, _values, result)
|
3179
|
-
result = Factory.TEXT(val[0])
|
3179
|
+
result = Factory.TEXT(val[0])
|
3180
3180
|
result
|
3181
3181
|
end
|
3182
3182
|
.,.,
|
3183
3183
|
|
3184
3184
|
module_eval(<<'.,.,', 'egrammar.ra', 852)
|
3185
3185
|
def _reduce_256(val, _values, result)
|
3186
|
-
result = [val[0]]
|
3186
|
+
result = [val[0]]
|
3187
3187
|
result
|
3188
3188
|
end
|
3189
3189
|
.,.,
|
3190
3190
|
|
3191
3191
|
module_eval(<<'.,.,', 'egrammar.ra', 853)
|
3192
3192
|
def _reduce_257(val, _values, result)
|
3193
|
-
result = [val[0]] + val[1]
|
3193
|
+
result = [val[0]] + val[1]
|
3194
3194
|
result
|
3195
3195
|
end
|
3196
3196
|
.,.,
|
3197
3197
|
|
3198
3198
|
module_eval(<<'.,.,', 'egrammar.ra', 856)
|
3199
3199
|
def _reduce_258(val, _values, result)
|
3200
|
-
result = Factory.HEREDOC(val[0][:value], val[1]); loc result, val[0]
|
3200
|
+
result = Factory.HEREDOC(val[0][:value], val[1]); loc result, val[0]
|
3201
3201
|
result
|
3202
3202
|
end
|
3203
3203
|
.,.,
|
3204
3204
|
|
3205
3205
|
module_eval(<<'.,.,', 'egrammar.ra', 859)
|
3206
3206
|
def _reduce_259(val, _values, result)
|
3207
|
-
result = Factory.SUBLOCATE(val[0], val[1]);
|
3207
|
+
result = Factory.SUBLOCATE(val[0], val[1]);
|
3208
3208
|
result
|
3209
3209
|
end
|
3210
3210
|
.,.,
|
3211
3211
|
|
3212
3212
|
module_eval(<<'.,.,', 'egrammar.ra', 860)
|
3213
3213
|
def _reduce_260(val, _values, result)
|
3214
|
-
result = Factory.SUBLOCATE(val[0], val[1]);
|
3214
|
+
result = Factory.SUBLOCATE(val[0], val[1]);
|
3215
3215
|
result
|
3216
3216
|
end
|
3217
3217
|
.,.,
|
3218
3218
|
|
3219
3219
|
module_eval(<<'.,.,', 'egrammar.ra', 863)
|
3220
3220
|
def _reduce_261(val, _values, result)
|
3221
|
-
result = Factory.EPP(val[1], val[2]); loc result, val[0]
|
3221
|
+
result = Factory.EPP(val[1], val[2]); loc result, val[0]
|
3222
3222
|
result
|
3223
3223
|
end
|
3224
3224
|
.,.,
|
@@ -3229,42 +3229,42 @@ module_eval(<<'.,.,', 'egrammar.ra', 863)
|
|
3229
3229
|
|
3230
3230
|
module_eval(<<'.,.,', 'egrammar.ra', 870)
|
3231
3231
|
def _reduce_264(val, _values, result)
|
3232
|
-
result = nil
|
3232
|
+
result = nil
|
3233
3233
|
result
|
3234
3234
|
end
|
3235
3235
|
.,.,
|
3236
3236
|
|
3237
3237
|
module_eval(<<'.,.,', 'egrammar.ra', 871)
|
3238
3238
|
def _reduce_265(val, _values, result)
|
3239
|
-
result = []
|
3239
|
+
result = []
|
3240
3240
|
result
|
3241
3241
|
end
|
3242
3242
|
.,.,
|
3243
3243
|
|
3244
3244
|
module_eval(<<'.,.,', 'egrammar.ra', 872)
|
3245
3245
|
def _reduce_266(val, _values, result)
|
3246
|
-
result = val[1]
|
3246
|
+
result = val[1]
|
3247
3247
|
result
|
3248
3248
|
end
|
3249
3249
|
.,.,
|
3250
3250
|
|
3251
3251
|
module_eval(<<'.,.,', 'egrammar.ra', 875)
|
3252
3252
|
def _reduce_267(val, _values, result)
|
3253
|
-
result = Factory.RENDER_STRING(val[0][:value]); loc result, val[0]
|
3253
|
+
result = Factory.RENDER_STRING(val[0][:value]); loc result, val[0]
|
3254
3254
|
result
|
3255
3255
|
end
|
3256
3256
|
.,.,
|
3257
3257
|
|
3258
3258
|
module_eval(<<'.,.,', 'egrammar.ra', 876)
|
3259
3259
|
def _reduce_268(val, _values, result)
|
3260
|
-
result = Factory.RENDER_EXPR(val[1]); loc result, val[0], val[2]
|
3260
|
+
result = Factory.RENDER_EXPR(val[1]); loc result, val[0], val[2]
|
3261
3261
|
result
|
3262
3262
|
end
|
3263
3263
|
.,.,
|
3264
3264
|
|
3265
3265
|
module_eval(<<'.,.,', 'egrammar.ra', 877)
|
3266
3266
|
def _reduce_269(val, _values, result)
|
3267
|
-
result = Factory.RENDER_EXPR(Factory.block_or_expression(val[2], val[1], val[3])); loc result, val[0], val[4]
|
3267
|
+
result = Factory.RENDER_EXPR(Factory.block_or_expression(val[2], val[1], val[3])); loc result, val[0], val[4]
|
3268
3268
|
result
|
3269
3269
|
end
|
3270
3270
|
.,.,
|
@@ -3275,14 +3275,14 @@ module_eval(<<'.,.,', 'egrammar.ra', 877)
|
|
3275
3275
|
|
3276
3276
|
module_eval(<<'.,.,', 'egrammar.ra', 883)
|
3277
3277
|
def _reduce_272(val, _values, result)
|
3278
|
-
result = Factory.QREF(val[0][:value]) ; loc result, val[0]
|
3278
|
+
result = Factory.QREF(val[0][:value]) ; loc result, val[0]
|
3279
3279
|
result
|
3280
3280
|
end
|
3281
3281
|
.,.,
|
3282
3282
|
|
3283
3283
|
module_eval(<<'.,.,', 'egrammar.ra', 886)
|
3284
3284
|
def _reduce_273(val, _values, result)
|
3285
|
-
result = Factory.literal(val[0][:value]); loc result, val[0]
|
3285
|
+
result = Factory.literal(val[0][:value]); loc result, val[0]
|
3286
3286
|
result
|
3287
3287
|
end
|
3288
3288
|
.,.,
|
@@ -3291,7 +3291,7 @@ module_eval(<<'.,.,', 'egrammar.ra', 886)
|
|
3291
3291
|
|
3292
3292
|
module_eval(<<'.,.,', 'egrammar.ra', 892)
|
3293
3293
|
def _reduce_275(val, _values, result)
|
3294
|
-
result = nil
|
3294
|
+
result = nil
|
3295
3295
|
result
|
3296
3296
|
end
|
3297
3297
|
.,.,
|
@@ -3356,6 +3356,6 @@ def _reduce_none(val, _values, result)
|
|
3356
3356
|
end
|
3357
3357
|
|
3358
3358
|
end # class Parser
|
3359
|
-
|
3360
|
-
|
3361
|
-
|
3359
|
+
end # module Parser
|
3360
|
+
end # module Pops
|
3361
|
+
end # module Puppet
|