puppet 2.6.18 → 2.7.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of puppet might be problematic. Click here for more details.
- data/CHANGELOG +733 -187
- data/LICENSE +13 -13
- data/README.md +5 -9
- data/Rakefile +1 -1
- data/conf/auth.conf +8 -3
- data/conf/redhat/puppet.spec +21 -110
- data/conf/solaris/pkginfo +3 -4
- data/conf/suse/puppet.spec +1 -1
- data/ext/cert_inspector +140 -0
- data/ext/nagios/naggen +12 -5
- data/ext/puppet-test +11 -5
- data/ext/vim/README +1 -2
- data/ext/yaml_nodes.rb +11 -5
- data/install.rb +1 -54
- data/lib/puppet.rb +6 -10
- data/lib/puppet/application.rb +23 -32
- data/lib/puppet/application/agent.rb +228 -7
- data/lib/puppet/application/apply.rb +108 -36
- data/lib/puppet/application/catalog.rb +4 -0
- data/lib/puppet/application/cert.rb +128 -17
- data/lib/puppet/application/certificate.rb +18 -0
- data/lib/puppet/application/certificate_request.rb +4 -0
- data/lib/puppet/application/certificate_revocation_list.rb +4 -0
- data/lib/puppet/application/config.rb +4 -0
- data/lib/puppet/application/describe.rb +53 -0
- data/lib/puppet/application/device.rb +255 -0
- data/lib/puppet/application/doc.rb +92 -6
- data/lib/puppet/application/face_base.rb +246 -0
- data/lib/puppet/application/facts.rb +4 -0
- data/lib/puppet/application/file.rb +4 -0
- data/lib/puppet/application/filebucket.rb +102 -0
- data/lib/puppet/application/help.rb +4 -0
- data/lib/puppet/application/indirection_base.rb +4 -0
- data/lib/puppet/application/inspect.rb +21 -23
- data/lib/puppet/application/key.rb +4 -0
- data/lib/puppet/application/kick.rb +131 -4
- data/lib/puppet/application/man.rb +4 -0
- data/lib/puppet/application/master.rb +108 -40
- data/lib/puppet/application/node.rb +4 -0
- data/lib/puppet/application/parser.rb +5 -0
- data/lib/puppet/application/plugin.rb +3 -0
- data/lib/puppet/application/queue.rb +75 -13
- data/lib/puppet/application/report.rb +4 -0
- data/lib/puppet/application/resource.rb +115 -23
- data/lib/puppet/application/resource_type.rb +4 -0
- data/lib/puppet/application/secret_agent.rb +6 -0
- data/lib/puppet/application/status.rb +4 -0
- data/lib/puppet/configurer.rb +57 -61
- data/lib/puppet/configurer/fact_handler.rb +1 -6
- data/lib/puppet/daemon.rb +2 -2
- data/lib/puppet/defaults.rb +30 -88
- data/lib/puppet/dsl/resource_type_api.rb +19 -31
- data/lib/puppet/external/nagios/parser.rb +1 -1
- data/lib/puppet/face.rb +12 -0
- data/lib/puppet/face/catalog.rb +130 -0
- data/lib/puppet/face/catalog/select.rb +49 -0
- data/lib/puppet/face/certificate.rb +115 -0
- data/lib/puppet/face/certificate_request.rb +55 -0
- data/lib/puppet/face/certificate_revocation_list.rb +60 -0
- data/lib/puppet/face/config.rb +45 -0
- data/lib/puppet/face/facts.rb +81 -0
- data/lib/puppet/face/file.rb +47 -0
- data/lib/puppet/face/file/download.rb +54 -0
- data/lib/puppet/face/file/store.rb +21 -0
- data/lib/puppet/face/help.rb +131 -0
- data/lib/puppet/face/help/action.erb +53 -0
- data/lib/puppet/face/help/face.erb +79 -0
- data/lib/puppet/face/help/global.erb +19 -0
- data/lib/puppet/face/help/man.erb +136 -0
- data/lib/puppet/face/key.rb +15 -0
- data/lib/puppet/face/man.rb +93 -0
- data/lib/puppet/face/node.rb +43 -0
- data/lib/puppet/face/parser.rb +42 -0
- data/lib/puppet/face/plugin.rb +55 -0
- data/lib/puppet/face/report.rb +56 -0
- data/lib/puppet/face/resource.rb +53 -0
- data/lib/puppet/face/resource_type.rb +81 -0
- data/lib/puppet/face/secret_agent.rb +54 -0
- data/lib/puppet/face/status.rb +52 -0
- data/lib/puppet/feature/ssh.rb +4 -0
- data/lib/puppet/file_bucket/dipper.rb +3 -3
- data/lib/puppet/file_bucket/file.rb +6 -5
- data/lib/puppet/file_bucket/file/indirection_hooks.rb +9 -0
- data/lib/puppet/file_serving/configuration.rb +1 -2
- data/lib/puppet/file_serving/content.rb +2 -1
- data/lib/puppet/file_serving/{terminus_selector.rb → indirection_hooks.rb} +3 -2
- data/lib/puppet/file_serving/metadata.rb +2 -1
- data/lib/puppet/file_serving/mount/modules.rb +5 -4
- data/lib/puppet/indirector.rb +16 -43
- data/lib/puppet/indirector/catalog/active_record.rb +1 -1
- data/lib/puppet/indirector/catalog/compiler.rb +5 -15
- data/lib/puppet/indirector/catalog/static_compiler.rb +137 -0
- data/lib/puppet/indirector/certificate_request/ca.rb +8 -0
- data/lib/puppet/indirector/certificate_status.rb +4 -0
- data/lib/puppet/indirector/certificate_status/file.rb +82 -0
- data/lib/puppet/indirector/certificate_status/rest.rb +10 -0
- data/lib/puppet/indirector/couch.rb +5 -3
- data/lib/puppet/indirector/exec.rb +3 -3
- data/lib/puppet/indirector/face.rb +127 -0
- data/lib/puppet/indirector/facts/network_device.rb +25 -0
- data/lib/puppet/indirector/file.rb +79 -0
- data/lib/puppet/indirector/file_bucket_file/file.rb +0 -4
- data/lib/puppet/indirector/indirection.rb +1 -2
- data/lib/puppet/indirector/inventory/yaml.rb +81 -0
- data/lib/puppet/indirector/report/processor.rb +0 -2
- data/lib/puppet/indirector/request.rb +0 -4
- data/lib/puppet/indirector/resource/ral.rb +0 -4
- data/lib/puppet/indirector/resource_type/parser.rb +19 -3
- data/lib/puppet/indirector/rest.rb +11 -5
- data/lib/puppet/indirector/run/local.rb +0 -4
- data/lib/puppet/indirector/ssl_file.rb +1 -5
- data/lib/puppet/indirector/terminus.rb +3 -26
- data/lib/puppet/indirector/yaml.rb +0 -5
- data/lib/puppet/interface.rb +156 -0
- data/lib/puppet/interface/action.rb +284 -0
- data/lib/puppet/interface/action_builder.rb +74 -0
- data/lib/puppet/interface/action_manager.rb +70 -0
- data/lib/puppet/interface/documentation.rb +230 -0
- data/lib/puppet/interface/face_collection.rb +137 -0
- data/lib/puppet/interface/option.rb +108 -0
- data/lib/puppet/interface/option_builder.rb +54 -0
- data/lib/puppet/interface/option_manager.rb +67 -0
- data/lib/puppet/metatype/manager.rb +20 -7
- data/lib/puppet/module.rb +1 -1
- data/lib/puppet/network/client.rb +179 -0
- data/lib/puppet/network/client/ca.rb +56 -0
- data/lib/puppet/network/client/file.rb +6 -0
- data/lib/puppet/network/client/proxy.rb +27 -0
- data/lib/puppet/network/client/report.rb +26 -0
- data/lib/puppet/network/client/runner.rb +10 -0
- data/lib/puppet/network/client/status.rb +4 -0
- data/lib/puppet/network/format.rb +1 -1
- data/lib/puppet/network/formats.rb +63 -0
- data/lib/puppet/network/handler/ca.rb +106 -16
- data/lib/puppet/network/handler/filebucket.rb +2 -4
- data/lib/puppet/network/handler/fileserver.rb +3 -2
- data/lib/puppet/network/handler/master.rb +5 -3
- data/lib/puppet/network/handler/report.rb +0 -2
- data/lib/puppet/network/handler/runner.rb +0 -2
- data/lib/puppet/network/handler/status.rb +0 -2
- data/lib/puppet/network/http/api/v1.rb +11 -3
- data/lib/puppet/network/http/handler.rb +26 -35
- data/lib/puppet/network/http/rack/rest.rb +2 -7
- data/lib/puppet/network/http/webrick.rb +1 -2
- data/lib/puppet/network/http_pool.rb +8 -17
- data/lib/puppet/network/http_server/mongrel.rb +1 -0
- data/lib/puppet/network/http_server/webrick.rb +155 -0
- data/lib/puppet/network/rest_authconfig.rb +4 -3
- data/lib/puppet/network/rest_authorization.rb +2 -2
- data/lib/puppet/network/rights.rb +4 -9
- data/lib/puppet/network/server.rb +1 -1
- data/lib/puppet/network/xmlrpc/client.rb +211 -0
- data/lib/puppet/node.rb +2 -1
- data/lib/puppet/node/environment.rb +30 -3
- data/lib/puppet/node/facts.rb +15 -15
- data/lib/puppet/node/inventory.rb +7 -0
- data/lib/puppet/parser/ast.rb +6 -2
- data/lib/puppet/parser/ast/astarray.rb +12 -23
- data/lib/puppet/parser/ast/caseopt.rb +12 -24
- data/lib/puppet/parser/ast/definition.rb +17 -0
- data/lib/puppet/parser/ast/hostclass.rb +29 -0
- data/lib/puppet/parser/ast/leaf.rb +2 -2
- data/lib/puppet/parser/ast/node.rb +20 -0
- data/lib/puppet/parser/ast/resource.rb +42 -50
- data/lib/puppet/parser/ast/resource_instance.rb +9 -0
- data/lib/puppet/parser/ast/resource_override.rb +2 -3
- data/lib/puppet/parser/ast/resource_reference.rb +1 -1
- data/lib/puppet/parser/ast/top_level_construct.rb +4 -0
- data/lib/puppet/parser/ast/vardef.rb +1 -1
- data/lib/puppet/parser/compiler.rb +16 -17
- data/lib/puppet/parser/functions/create_resources.rb +47 -0
- data/lib/puppet/parser/functions/extlookup.rb +2 -7
- data/lib/puppet/parser/functions/fqdn_rand.rb +2 -2
- data/lib/puppet/parser/functions/sha1.rb +1 -1
- data/lib/puppet/parser/grammar.ra +67 -144
- data/lib/puppet/parser/lexer.rb +1 -1
- data/lib/puppet/parser/parser.rb +1190 -1262
- data/lib/puppet/parser/parser_support.rb +48 -73
- data/lib/puppet/parser/resource.rb +2 -19
- data/lib/puppet/parser/scope.rb +33 -103
- data/lib/puppet/parser/templatewrapper.rb +21 -22
- data/lib/puppet/parser/type_loader.rb +60 -35
- data/lib/puppet/provider/aixobject.rb +393 -0
- data/lib/puppet/provider/augeas/augeas.rb +37 -15
- data/lib/puppet/provider/cisco.rb +9 -0
- data/lib/puppet/provider/cron/crontab.rb +1 -7
- data/lib/puppet/provider/exec/posix.rb +3 -6
- data/lib/puppet/provider/exec/shell.rb +2 -11
- data/lib/puppet/provider/file/posix.rb +1 -1
- data/lib/puppet/provider/file/win32.rb +1 -1
- data/lib/puppet/provider/group/aix.rb +141 -0
- data/lib/puppet/provider/group/directoryservice.rb +0 -14
- data/lib/puppet/provider/host/parsed.rb +23 -55
- data/lib/puppet/provider/interface/base.rb +0 -0
- data/lib/puppet/provider/interface/cisco.rb +27 -0
- data/lib/puppet/provider/mcx/mcxcontent.rb +57 -96
- data/lib/puppet/provider/mount/parsed.rb +1 -1
- data/lib/puppet/provider/naginator.rb +1 -9
- data/lib/puppet/provider/nameservice/directoryservice.rb +41 -26
- data/lib/puppet/provider/network_device.rb +68 -0
- data/lib/puppet/provider/package/appdmg.rb +13 -13
- data/lib/puppet/provider/package/aptitude.rb +0 -1
- data/lib/puppet/provider/package/pip.rb +109 -0
- data/lib/puppet/provider/package/pkgdmg.rb +24 -32
- data/lib/puppet/provider/package/pkgutil.rb +175 -0
- data/lib/puppet/provider/package/yum.rb +8 -1
- data/lib/puppet/provider/service/daemontools.rb +1 -1
- data/lib/puppet/provider/service/launchd.rb +1 -1
- data/lib/puppet/provider/service/smf.rb +3 -3
- data/lib/puppet/provider/service/upstart.rb +73 -0
- data/lib/puppet/provider/ssh_authorized_key/parsed.rb +9 -10
- data/lib/puppet/provider/user/aix.rb +353 -0
- data/lib/puppet/provider/user/directoryservice.rb +0 -14
- data/lib/puppet/provider/user/user_role_add.rb +17 -32
- data/lib/puppet/provider/vlan/cisco.rb +28 -0
- data/lib/puppet/provider/zfs/solaris.rb +1 -1
- data/lib/puppet/provider/zone/solaris.rb +3 -0
- data/lib/puppet/provider/zpool/solaris.rb +7 -5
- data/lib/puppet/rails.rb +1 -1
- data/lib/puppet/rails/benchmark.rb +1 -1
- data/lib/puppet/rails/fact_name.rb +1 -0
- data/lib/puppet/rails/host.rb +0 -7
- data/lib/puppet/reference/configuration.rb +26 -101
- data/lib/puppet/reports/store.rb +3 -7
- data/lib/puppet/resource.rb +1 -1
- data/lib/puppet/resource/catalog.rb +86 -36
- data/lib/puppet/resource/type.rb +10 -15
- data/lib/puppet/resource/type_collection.rb +55 -63
- data/lib/puppet/simple_graph.rb +370 -269
- data/lib/puppet/ssl/base.rb +0 -8
- data/lib/puppet/ssl/certificate.rb +0 -6
- data/lib/puppet/ssl/certificate_authority.rb +24 -109
- data/lib/puppet/ssl/certificate_authority/interface.rb +19 -66
- data/lib/puppet/ssl/certificate_factory.rb +91 -112
- data/lib/puppet/ssl/certificate_request.rb +15 -98
- data/lib/puppet/ssl/certificate_revocation_list.rb +1 -1
- data/lib/puppet/ssl/host.rb +85 -51
- data/lib/puppet/ssl/inventory.rb +1 -1
- data/lib/puppet/sslcertificates.rb +146 -0
- data/lib/puppet/sslcertificates/ca.rb +375 -0
- data/lib/puppet/sslcertificates/certificate.rb +255 -0
- data/lib/puppet/sslcertificates/inventory.rb +38 -0
- data/lib/puppet/sslcertificates/support.rb +146 -0
- data/lib/puppet/status.rb +1 -1
- data/lib/puppet/transaction.rb +163 -94
- data/lib/puppet/transaction/event.rb +1 -1
- data/lib/puppet/transaction/event_manager.rb +19 -3
- data/lib/puppet/transaction/report.rb +9 -3
- data/lib/puppet/type.rb +107 -62
- data/lib/puppet/type/augeas.rb +10 -14
- data/lib/puppet/type/cron.rb +13 -14
- data/lib/puppet/type/exec.rb +0 -9
- data/lib/puppet/type/file.rb +20 -29
- data/lib/puppet/type/file/ctime.rb +1 -1
- data/lib/puppet/type/file/ensure.rb +1 -1
- data/lib/puppet/type/file/group.rb +1 -1
- data/lib/puppet/type/file/mode.rb +1 -1
- data/lib/puppet/type/file/mtime.rb +1 -1
- data/lib/puppet/type/file/selcontext.rb +1 -1
- data/lib/puppet/type/file/source.rb +3 -3
- data/lib/puppet/type/file/type.rb +1 -1
- data/lib/puppet/type/group.rb +36 -0
- data/lib/puppet/type/host.rb +18 -43
- data/lib/puppet/type/interface.rb +109 -0
- data/lib/puppet/type/k5login.rb +1 -4
- data/lib/puppet/type/macauthorization.rb +3 -3
- data/lib/puppet/type/mcx.rb +2 -21
- data/lib/puppet/type/router.rb +14 -0
- data/lib/puppet/type/schedule.rb +2 -0
- data/lib/puppet/type/service.rb +2 -0
- data/lib/puppet/type/sshkey.rb +6 -1
- data/lib/puppet/type/tidy.rb +12 -12
- data/lib/puppet/type/user.rb +36 -9
- data/lib/puppet/type/vlan.rb +26 -0
- data/lib/puppet/type/whit.rb +13 -1
- data/lib/puppet/type/zfs.rb +100 -8
- data/lib/puppet/type/zone.rb +45 -1
- data/lib/puppet/type/zpool.rb +1 -0
- data/lib/puppet/util.rb +63 -91
- data/lib/puppet/util/autoload.rb +16 -14
- data/lib/puppet/util/classgen.rb +13 -1
- data/lib/puppet/util/command_line.rb +109 -22
- data/lib/puppet/util/log.rb +1 -0
- data/lib/puppet/util/log/destinations.rb +16 -4
- data/lib/puppet/util/logging.rb +11 -0
- data/lib/puppet/util/monkey_patches.rb +7 -77
- data/lib/puppet/util/network_device.rb +17 -0
- data/lib/puppet/util/network_device/base.rb +27 -0
- data/lib/puppet/util/network_device/cisco.rb +4 -0
- data/lib/puppet/util/network_device/cisco/device.rb +256 -0
- data/lib/puppet/util/network_device/cisco/facts.rb +72 -0
- data/lib/puppet/util/network_device/cisco/interface.rb +82 -0
- data/lib/puppet/util/network_device/config.rb +93 -0
- data/lib/puppet/util/network_device/ipcalc.rb +68 -0
- data/lib/puppet/util/network_device/transport.rb +3 -0
- data/lib/puppet/util/network_device/transport/base.rb +26 -0
- data/lib/puppet/util/network_device/transport/ssh.rb +121 -0
- data/lib/puppet/util/network_device/transport/telnet.rb +42 -0
- data/lib/puppet/util/rdoc.rb +4 -10
- data/lib/puppet/util/rdoc/parser.rb +34 -23
- data/lib/puppet/util/reference.rb +7 -8
- data/lib/puppet/util/selinux.rb +2 -2
- data/lib/puppet/util/settings.rb +1 -6
- data/lib/puppet/util/settings/file_setting.rb +0 -1
- data/lib/puppet/util/suidmanager.rb +30 -79
- data/lib/puppet/util/zaml.rb +41 -40
- data/man/man5/puppet.conf.5 +291 -873
- data/man/man8/filebucket.8 +47 -71
- data/man/man8/pi.8 +44 -10
- data/man/man8/puppet-agent.8 +154 -0
- data/man/man8/puppet-apply.8 +75 -0
- data/man/man8/puppet-catalog.8 +286 -0
- data/man/man8/puppet-cert.8 +97 -0
- data/man/man8/puppet-certificate.8 +229 -0
- data/man/man8/puppet-certificate_request.8 +168 -0
- data/man/man8/puppet-certificate_revocation_list.8 +165 -0
- data/man/man8/puppet-config.8 +80 -0
- data/man/man8/puppet-describe.8 +51 -0
- data/man/man8/puppet-device.8 +86 -0
- data/man/man8/puppet-doc.8 +101 -0
- data/man/man8/puppet-facts.8 +217 -0
- data/man/man8/puppet-file.8 +225 -0
- data/man/man8/puppet-filebucket.8 +81 -0
- data/man/man8/puppet-help.8 +71 -0
- data/man/man8/puppet-inspect.8 +28 -0
- data/man/man8/puppet-key.8 +126 -0
- data/man/man8/puppet-kick.8 +95 -0
- data/man/man8/puppet-man.8 +74 -0
- data/man/man8/puppet-master.8 +74 -0
- data/man/man8/puppet-node.8 +171 -0
- data/man/man8/puppet-parser.8 +71 -0
- data/man/man8/puppet-plugin.8 +77 -0
- data/man/man8/puppet-queue.8 +55 -0
- data/man/man8/puppet-report.8 +187 -0
- data/man/man8/puppet-resource.8 +84 -0
- data/man/man8/puppet-resource_type.8 +214 -0
- data/man/man8/puppet-secret_agent.8 +74 -0
- data/man/man8/puppet-status.8 +150 -0
- data/man/man8/puppet.8 +2 -2
- data/man/man8/puppetca.8 +64 -136
- data/man/man8/puppetd.8 +99 -228
- data/man/man8/puppetdoc.8 +41 -48
- data/man/man8/puppetmasterd.8 +54 -32
- data/man/man8/puppetqd.8 +45 -10
- data/man/man8/puppetrun.8 +56 -134
- data/man/man8/ralsh.8 +48 -49
- data/spec/fixtures/faulty_face/puppet/face/syntax.rb +8 -0
- data/spec/fixtures/integration/provider/mailalias/aliases/test1 +28 -0
- data/spec/fixtures/unit/parser/lexer/aliastest.pp +16 -0
- data/spec/fixtures/unit/parser/lexer/append.pp +11 -0
- data/spec/fixtures/unit/parser/lexer/argumentdefaults.pp +14 -0
- data/spec/fixtures/unit/parser/lexer/arithmetic_expression.pp +8 -0
- data/spec/fixtures/unit/parser/lexer/arraytrailingcomma.pp +3 -0
- data/spec/fixtures/unit/parser/lexer/casestatement.pp +65 -0
- data/spec/fixtures/unit/parser/lexer/classheirarchy.pp +15 -0
- data/spec/fixtures/unit/parser/lexer/classincludes.pp +17 -0
- data/spec/fixtures/unit/parser/lexer/classpathtest.pp +11 -0
- data/spec/fixtures/unit/parser/lexer/collection.pp +10 -0
- data/spec/fixtures/unit/parser/lexer/collection_override.pp +8 -0
- data/spec/fixtures/unit/parser/lexer/collection_within_virtual_definitions.pp +20 -0
- data/spec/fixtures/unit/parser/lexer/componentmetaparams.pp +11 -0
- data/spec/fixtures/unit/parser/lexer/componentrequire.pp +8 -0
- data/spec/fixtures/unit/parser/lexer/deepclassheirarchy.pp +23 -0
- data/spec/fixtures/unit/parser/lexer/defineoverrides.pp +17 -0
- data/spec/fixtures/unit/parser/lexer/emptyclass.pp +9 -0
- data/spec/fixtures/unit/parser/lexer/emptyexec.pp +3 -0
- data/spec/fixtures/unit/parser/lexer/emptyifelse.pp +9 -0
- data/spec/fixtures/unit/parser/lexer/falsevalues.pp +3 -0
- data/spec/fixtures/unit/parser/lexer/filecreate.pp +11 -0
- data/spec/fixtures/unit/parser/lexer/fqdefinition.pp +5 -0
- data/spec/fixtures/unit/parser/lexer/fqparents.pp +11 -0
- data/spec/fixtures/unit/parser/lexer/funccomma.pp +5 -0
- data/spec/fixtures/unit/parser/lexer/hash.pp +33 -0
- data/spec/fixtures/unit/parser/lexer/ifexpression.pp +12 -0
- data/spec/fixtures/unit/parser/lexer/implicititeration.pp +15 -0
- data/spec/fixtures/unit/parser/lexer/multilinecomments.pp +10 -0
- data/spec/fixtures/unit/parser/lexer/multipleclass.pp +9 -0
- data/spec/fixtures/unit/parser/lexer/multipleinstances.pp +7 -0
- data/spec/fixtures/unit/parser/lexer/multisubs.pp +13 -0
- data/spec/fixtures/unit/parser/lexer/namevartest.pp +9 -0
- data/spec/fixtures/unit/parser/lexer/scopetest.pp +13 -0
- data/spec/fixtures/unit/parser/lexer/selectorvalues.pp +49 -0
- data/spec/fixtures/unit/parser/lexer/simpledefaults.pp +5 -0
- data/spec/fixtures/unit/parser/lexer/simpleselector.pp +38 -0
- data/spec/fixtures/unit/parser/lexer/singleary.pp +19 -0
- data/spec/fixtures/unit/parser/lexer/singlequote.pp +11 -0
- data/spec/fixtures/unit/parser/lexer/singleselector.pp +22 -0
- data/spec/fixtures/unit/parser/lexer/subclass_name_duplication.pp +11 -0
- data/spec/fixtures/unit/parser/lexer/tag.pp +9 -0
- data/spec/fixtures/unit/parser/lexer/tagged.pp +35 -0
- data/spec/fixtures/unit/parser/lexer/virtualresources.pp +14 -0
- data/spec/fixtures/unit/provider/host/parsed/valid_hosts +19 -0
- data/spec/fixtures/unit/provider/mount/parsed/aix.filesystems +144 -0
- data/spec/fixtures/unit/provider/mount/parsed/aix.mount +7 -0
- data/spec/fixtures/unit/provider/mount/parsed/darwin.mount +6 -0
- data/spec/fixtures/unit/provider/mount/parsed/freebsd.fstab +8 -0
- data/spec/fixtures/unit/provider/mount/parsed/freebsd.mount +3 -0
- data/spec/fixtures/unit/provider/mount/parsed/hpux.mount +17 -0
- data/spec/fixtures/unit/provider/mount/parsed/linux.fstab +11 -0
- data/spec/fixtures/unit/provider/mount/parsed/linux.mount +5 -0
- data/spec/fixtures/unit/provider/mount/parsed/netbsd.fstab +9 -0
- data/spec/fixtures/unit/provider/mount/parsed/netbsd.mount +8 -0
- data/spec/fixtures/unit/provider/mount/parsed/openbsd.fstab +4 -0
- data/spec/fixtures/unit/provider/mount/parsed/openbsd.mount +4 -0
- data/spec/fixtures/unit/provider/mount/parsed/solaris.fstab +11 -0
- data/spec/fixtures/unit/provider/mount/parsed/solaris.mount +6 -0
- data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys +7 -0
- data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys1 +3 -0
- data/spec/fixtures/unit/provider/ssh_authorized_key/parsed/authorized_keys2 +1 -0
- data/spec/fixtures/unit/reports/tagmail/tagmail_failers.conf +3 -0
- data/spec/fixtures/unit/reports/tagmail/tagmail_passers.conf +30 -0
- data/spec/fixtures/unit/util/rdoc/basic.pp +16 -0
- data/spec/integration/application/apply_spec.rb +2 -5
- data/spec/integration/application/doc_spec.rb +5 -6
- data/spec/integration/configurer_spec.rb +10 -6
- data/spec/integration/defaults_spec.rb +18 -52
- data/spec/integration/faces/documentation_spec.rb +55 -0
- data/spec/integration/file_serving/content_spec.rb +10 -3
- data/spec/integration/file_serving/fileset_spec.rb +2 -3
- data/spec/integration/file_serving/metadata_spec.rb +10 -3
- data/spec/integration/file_serving/terminus_helper_spec.rb +2 -3
- data/spec/integration/indirector/catalog/compiler_spec.rb +7 -12
- data/spec/integration/indirector/catalog/queue_spec.rb +3 -4
- data/spec/integration/indirector/direct_file_server_spec.rb +2 -2
- data/spec/integration/indirector/file_content/file_server_spec.rb +7 -7
- data/spec/integration/indirector/file_metadata/file_server_spec.rb +2 -2
- data/spec/integration/indirector/node/ldap_spec.rb +3 -4
- data/spec/integration/network/client_spec.rb +18 -0
- data/spec/integration/network/formats_spec.rb +3 -4
- data/spec/integration/network/handler_spec.rb +3 -4
- data/spec/integration/network/server/mongrel_spec.rb +3 -4
- data/spec/integration/network/server/webrick_spec.rb +4 -4
- data/spec/integration/node/environment_spec.rb +2 -3
- data/spec/integration/node/facts_spec.rb +6 -6
- data/spec/integration/node_spec.rb +16 -16
- data/spec/integration/parser/collector_spec.rb +3 -4
- data/spec/integration/parser/compiler_spec.rb +43 -3
- data/spec/integration/parser/functions/require_spec.rb +2 -3
- data/spec/integration/parser/functions_spec.rb +3 -4
- data/spec/integration/parser/parser_spec.rb +7 -6
- data/spec/integration/parser/ruby_manifest_spec.rb +2 -3
- data/spec/integration/provider/mailalias/aliases_spec.rb +5 -19
- data/spec/integration/provider/mount_spec.rb +2 -2
- data/spec/integration/provider/package_spec.rb +3 -4
- data/spec/integration/provider/service/init_spec.rb +4 -6
- data/spec/integration/reference/providers_spec.rb +2 -3
- data/spec/integration/reports_spec.rb +2 -2
- data/spec/integration/resource/catalog_spec.rb +6 -7
- data/spec/integration/resource/type_collection_spec.rb +2 -3
- data/spec/integration/ssl/certificate_authority_spec.rb +7 -7
- data/spec/integration/ssl/certificate_request_spec.rb +7 -7
- data/spec/integration/ssl/certificate_revocation_list_spec.rb +2 -2
- data/spec/integration/ssl/host_spec.rb +4 -4
- data/spec/integration/transaction/report_spec.rb +3 -3
- data/spec/integration/transaction_spec.rb +61 -6
- data/spec/integration/type/file_spec.rb +10 -8
- data/spec/integration/type/package_spec.rb +2 -3
- data/spec/integration/type/tidy_spec.rb +2 -3
- data/spec/integration/type_spec.rb +2 -14
- data/spec/integration/util/autoload_spec.rb +2 -3
- data/spec/integration/util/feature_spec.rb +2 -3
- data/spec/integration/util/file_locking_spec.rb +3 -4
- data/spec/integration/util/rdoc/parser_spec.rb +3 -4
- data/spec/integration/util/settings_spec.rb +2 -3
- data/spec/lib/matchers/json.rb +111 -0
- data/spec/lib/puppet/face/basetest.rb +46 -0
- data/spec/lib/puppet/face/huzzah.rb +7 -0
- data/spec/lib/puppet/face/version_matching.rb +12 -0
- data/spec/lib/puppet_spec/files.rb +38 -5
- data/spec/lib/puppet_spec/fixtures.rb +28 -0
- data/spec/lib/puppet_spec/matchers.rb +87 -0
- data/spec/lib/puppet_spec/verbose.rb +0 -0
- data/spec/monkey_patches/alias_should_to_must.rb +0 -0
- data/spec/monkey_patches/publicize_methods.rb +0 -0
- data/spec/shared_behaviours/all_parsedfile_providers.rb +21 -0
- data/spec/shared_behaviours/an_indirector_face.rb +6 -0
- data/spec/shared_behaviours/documentation_on_faces.rb +263 -0
- data/spec/shared_behaviours/file_server_terminus.rb +1 -1
- data/spec/shared_behaviours/file_serving.rb +61 -70
- data/spec/shared_behaviours/memory_terminus.rb +0 -0
- data/spec/shared_behaviours/path_parameters.rb +0 -0
- data/spec/shared_behaviours/things_that_declare_options.rb +150 -0
- data/spec/spec.opts +0 -2
- data/spec/spec_helper.rb +33 -75
- data/spec/unit/agent/locker_spec.rb +2 -3
- data/spec/unit/agent_spec.rb +2 -2
- data/spec/unit/application/agent_spec.rb +51 -76
- data/spec/unit/application/apply_spec.rb +86 -150
- data/spec/unit/application/cert_spec.rb +8 -30
- data/spec/unit/application/certificate_spec.rb +20 -0
- data/spec/unit/application/config_spec.rb +9 -0
- data/spec/unit/application/describe_spec.rb +2 -3
- data/spec/unit/application/device_spec.rb +342 -0
- data/spec/unit/application/doc_spec.rb +11 -18
- data/spec/unit/application/face_base_spec.rb +360 -0
- data/spec/unit/application/facts_spec.rb +27 -0
- data/spec/unit/application/filebucket_spec.rb +7 -18
- data/spec/unit/application/indirection_base_spec.rb +42 -0
- data/spec/unit/application/inspect_spec.rb +7 -13
- data/spec/unit/application/kick_spec.rb +15 -38
- data/spec/unit/application/master_spec.rb +25 -81
- data/spec/unit/application/queue_spec.rb +12 -22
- data/spec/unit/application/resource_spec.rb +19 -53
- data/spec/unit/application/secret_agent_spec.rb +32 -0
- data/spec/unit/application_spec.rb +65 -34
- data/spec/unit/configurer/downloader_spec.rb +2 -3
- data/spec/unit/configurer/fact_handler_spec.rb +39 -46
- data/spec/unit/configurer/plugin_handler_spec.rb +2 -3
- data/spec/unit/configurer_spec.rb +329 -411
- data/spec/unit/daemon_spec.rb +7 -14
- data/spec/unit/dsl/resource_api_spec.rb +2 -3
- data/spec/unit/dsl/resource_type_api_spec.rb +24 -37
- data/spec/unit/face/catalog_spec.rb +7 -0
- data/spec/unit/face/certificate_request_spec.rb +7 -0
- data/spec/unit/face/certificate_revocation_list_spec.rb +7 -0
- data/spec/unit/face/certificate_spec.rb +23 -0
- data/spec/unit/face/config_spec.rb +24 -0
- data/spec/unit/face/facts_spec.rb +23 -0
- data/spec/unit/face/file_spec.rb +12 -0
- data/spec/unit/face/help_spec.rb +129 -0
- data/spec/unit/face/key_spec.rb +7 -0
- data/spec/unit/face/node_spec.rb +7 -0
- data/spec/unit/face/plugin_spec.rb +10 -0
- data/spec/unit/face/report_spec.rb +7 -0
- data/spec/unit/face/resource_spec.rb +7 -0
- data/spec/unit/face/resource_type_spec.rb +7 -0
- data/spec/unit/face/secret_agent_spec.rb +25 -0
- data/spec/unit/face_spec.rb +1 -0
- data/spec/unit/file_bucket/dipper_spec.rb +7 -8
- data/spec/unit/file_bucket/file_spec.rb +7 -16
- data/spec/unit/file_collection/lookup_spec.rb +2 -3
- data/spec/unit/file_collection_spec.rb +2 -3
- data/spec/unit/file_serving/base_spec.rb +2 -3
- data/spec/unit/file_serving/configuration/parser_spec.rb +2 -3
- data/spec/unit/file_serving/configuration_spec.rb +31 -40
- data/spec/unit/file_serving/content_spec.rb +6 -3
- data/spec/unit/file_serving/fileset_spec.rb +2 -3
- data/spec/unit/file_serving/{terminus_selector_spec.rb → indirection_hooks_spec.rb} +14 -13
- data/spec/unit/file_serving/metadata_spec.rb +6 -3
- data/spec/unit/file_serving/mount/file_spec.rb +2 -3
- data/spec/unit/file_serving/mount/modules_spec.rb +2 -11
- data/spec/unit/file_serving/mount/plugins_spec.rb +2 -3
- data/spec/unit/file_serving/mount_spec.rb +2 -3
- data/spec/unit/file_serving/terminus_helper_spec.rb +2 -2
- data/spec/unit/indirector/active_record_spec.rb +5 -7
- data/spec/unit/indirector/catalog/active_record_spec.rb +2 -3
- data/spec/unit/indirector/catalog/compiler_spec.rb +30 -50
- data/spec/unit/indirector/catalog/queue_spec.rb +2 -3
- data/spec/unit/indirector/catalog/rest_spec.rb +2 -3
- data/spec/unit/indirector/catalog/yaml_spec.rb +2 -3
- data/spec/unit/indirector/certificate/ca_spec.rb +2 -2
- data/spec/unit/indirector/certificate/file_spec.rb +2 -2
- data/spec/unit/indirector/certificate/rest_spec.rb +2 -3
- data/spec/unit/indirector/certificate_request/ca_spec.rb +47 -2
- data/spec/unit/indirector/certificate_request/file_spec.rb +2 -2
- data/spec/unit/indirector/certificate_request/rest_spec.rb +2 -3
- data/spec/unit/indirector/certificate_revocation_list/ca_spec.rb +2 -2
- data/spec/unit/indirector/certificate_revocation_list/file_spec.rb +2 -2
- data/spec/unit/indirector/certificate_revocation_list/rest_spec.rb +2 -3
- data/spec/unit/indirector/certificate_status/file_spec.rb +187 -0
- data/spec/unit/indirector/certificate_status/rest_spec.rb +14 -0
- data/spec/unit/indirector/code_spec.rb +6 -8
- data/spec/unit/indirector/direct_file_server_spec.rb +6 -7
- data/spec/unit/indirector/envelope_spec.rb +2 -3
- data/spec/unit/indirector/exec_spec.rb +12 -13
- data/spec/unit/indirector/face_spec.rb +68 -0
- data/spec/unit/indirector/facts/active_record_spec.rb +2 -3
- data/spec/unit/indirector/facts/couch_spec.rb +71 -66
- data/spec/unit/indirector/facts/facter_spec.rb +2 -2
- data/spec/unit/indirector/facts/inventory_active_record_spec.rb +20 -20
- data/spec/unit/indirector/facts/network_device_spec.rb +89 -0
- data/spec/unit/indirector/facts/rest_spec.rb +2 -3
- data/spec/unit/indirector/facts/yaml_spec.rb +2 -3
- data/spec/unit/indirector/file_bucket_file/file_spec.rb +17 -18
- data/spec/unit/indirector/file_bucket_file/rest_spec.rb +2 -3
- data/spec/unit/indirector/file_content/file_server_spec.rb +2 -2
- data/spec/unit/indirector/file_content/file_spec.rb +2 -2
- data/spec/unit/indirector/file_content/rest_spec.rb +2 -3
- data/spec/unit/indirector/file_metadata/file_server_spec.rb +2 -2
- data/spec/unit/indirector/file_metadata/file_spec.rb +2 -2
- data/spec/unit/indirector/file_metadata/rest_spec.rb +2 -3
- data/spec/unit/indirector/file_server_spec.rb +8 -7
- data/spec/unit/indirector/file_spec.rb +179 -0
- data/spec/unit/indirector/indirection_spec.rb +3 -24
- data/spec/unit/indirector/inventory/yaml_spec.rb +220 -0
- data/spec/unit/indirector/key/ca_spec.rb +2 -2
- data/spec/unit/indirector/key/file_spec.rb +2 -2
- data/spec/unit/indirector/ldap_spec.rb +6 -8
- data/spec/unit/indirector/memory_spec.rb +5 -7
- data/spec/unit/indirector/node/active_record_spec.rb +2 -3
- data/spec/unit/indirector/node/exec_spec.rb +3 -4
- data/spec/unit/indirector/node/ldap_spec.rb +3 -4
- data/spec/unit/indirector/node/memory_spec.rb +2 -3
- data/spec/unit/indirector/node/plain_spec.rb +2 -3
- data/spec/unit/indirector/node/rest_spec.rb +2 -3
- data/spec/unit/indirector/node/yaml_spec.rb +2 -3
- data/spec/unit/indirector/plain_spec.rb +5 -7
- data/spec/unit/indirector/queue_spec.rb +11 -14
- data/spec/unit/indirector/report/processor_spec.rb +7 -9
- data/spec/unit/indirector/report/rest_spec.rb +2 -3
- data/spec/unit/indirector/report/yaml_spec.rb +3 -4
- data/spec/unit/indirector/request_spec.rb +3 -25
- data/spec/unit/indirector/resource/ral_spec.rb +3 -4
- data/spec/unit/indirector/resource/rest_spec.rb +2 -3
- data/spec/unit/indirector/resource_type/parser_spec.rb +87 -13
- data/spec/unit/indirector/resource_type/rest_spec.rb +2 -3
- data/spec/unit/indirector/rest_spec.rb +45 -16
- data/spec/unit/indirector/run/local_spec.rb +2 -3
- data/spec/unit/indirector/run/rest_spec.rb +2 -3
- data/spec/unit/indirector/ssl_file_spec.rb +9 -27
- data/spec/unit/indirector/status/rest_spec.rb +2 -3
- data/spec/unit/indirector/terminus_spec.rb +180 -187
- data/spec/unit/indirector/yaml_spec.rb +9 -23
- data/spec/unit/indirector_spec.rb +61 -79
- data/spec/unit/interface/action_builder_spec.rb +214 -0
- data/spec/unit/interface/action_manager_spec.rb +282 -0
- data/spec/unit/interface/action_spec.rb +545 -0
- data/spec/unit/interface/documentation_spec.rb +34 -0
- data/spec/unit/interface/face_collection_spec.rb +180 -0
- data/spec/unit/interface/option_builder_spec.rb +77 -0
- data/spec/unit/interface/option_spec.rb +100 -0
- data/spec/unit/interface_spec.rb +228 -0
- data/spec/unit/module_spec.rb +34 -10
- data/spec/unit/network/authconfig_spec.rb +3 -4
- data/spec/unit/network/authstore_spec.rb +3 -4
- data/spec/unit/network/client_spec.rb +45 -0
- data/spec/unit/network/format_handler_spec.rb +2 -3
- data/spec/unit/network/format_spec.rb +2 -3
- data/spec/unit/network/formats_spec.rb +107 -3
- data/spec/unit/network/handler/fileserver_spec.rb +3 -4
- data/spec/unit/network/http/api/v1_spec.rb +61 -27
- data/spec/unit/network/http/compression_spec.rb +2 -3
- data/spec/unit/network/http/handler_spec.rb +78 -109
- data/spec/unit/network/http/mongrel/rest_spec.rb +3 -4
- data/spec/unit/network/http/mongrel_spec.rb +6 -6
- data/spec/unit/network/http/rack/rest_spec.rb +2 -20
- data/spec/unit/network/http/rack/xmlrpc_spec.rb +2 -3
- data/spec/unit/network/http/rack_spec.rb +2 -3
- data/spec/unit/network/http/webrick/rest_spec.rb +3 -4
- data/spec/unit/network/http/webrick_spec.rb +4 -8
- data/spec/unit/network/http_pool_spec.rb +82 -95
- data/spec/unit/network/http_spec.rb +2 -2
- data/spec/unit/network/rest_authconfig_spec.rb +9 -42
- data/spec/unit/network/rights_spec.rb +6 -7
- data/spec/unit/network/server_spec.rb +2 -2
- data/spec/unit/network/xmlrpc/client_spec.rb +172 -0
- data/spec/unit/node/environment_spec.rb +63 -7
- data/spec/unit/node/facts_spec.rb +9 -13
- data/spec/unit/node_spec.rb +5 -13
- data/spec/unit/other/selinux_spec.rb +2 -3
- data/spec/unit/other/transbucket_spec.rb +2 -3
- data/spec/unit/other/transobject_spec.rb +2 -3
- data/spec/unit/parameter/path_spec.rb +2 -2
- data/spec/unit/parameter/value_collection_spec.rb +2 -3
- data/spec/unit/parameter/value_spec.rb +2 -3
- data/spec/unit/parameter_spec.rb +2 -3
- data/spec/unit/parser/ast/arithmetic_operator_spec.rb +2 -13
- data/spec/unit/parser/ast/astarray_spec.rb +18 -36
- data/spec/unit/parser/ast/asthash_spec.rb +4 -4
- data/spec/unit/parser/ast/boolean_operator_spec.rb +2 -3
- data/spec/unit/parser/ast/casestatement_spec.rb +17 -14
- data/spec/unit/parser/ast/collection_spec.rb +2 -3
- data/spec/unit/parser/ast/collexpr_spec.rb +2 -3
- data/spec/unit/parser/ast/comparison_operator_spec.rb +4 -5
- data/spec/unit/parser/ast/definition_spec.rb +21 -0
- data/spec/unit/parser/ast/function_spec.rb +3 -4
- data/spec/unit/parser/ast/hostclass_spec.rb +72 -0
- data/spec/unit/parser/ast/ifstatement_spec.rb +2 -3
- data/spec/unit/parser/ast/in_operator_spec.rb +2 -3
- data/spec/unit/parser/ast/leaf_spec.rb +23 -19
- data/spec/unit/parser/ast/match_operator_spec.rb +2 -3
- data/spec/unit/parser/ast/minus_spec.rb +2 -3
- data/spec/unit/parser/ast/node_spec.rb +30 -0
- data/spec/unit/parser/ast/nop_spec.rb +2 -3
- data/spec/unit/parser/ast/not_spec.rb +2 -3
- data/spec/unit/parser/ast/relationship_spec.rb +2 -3
- data/spec/unit/parser/ast/resource_defaults_spec.rb +2 -3
- data/spec/unit/parser/ast/resource_override_spec.rb +2 -3
- data/spec/unit/parser/ast/resource_reference_spec.rb +21 -8
- data/spec/unit/parser/ast/resource_spec.rb +24 -13
- data/spec/unit/parser/ast/selector_spec.rb +3 -4
- data/spec/unit/parser/ast/vardef_spec.rb +15 -9
- data/spec/unit/parser/ast_spec.rb +2 -3
- data/spec/unit/parser/collector_spec.rb +2 -3
- data/spec/unit/parser/compiler_spec.rb +62 -35
- data/spec/unit/parser/files_spec.rb +2 -3
- data/spec/unit/parser/functions/create_resources_spec.rb +137 -0
- data/spec/unit/parser/functions/defined_spec.rb +5 -3
- data/spec/unit/parser/functions/extlookup_spec.rb +10 -10
- data/spec/unit/parser/functions/fqdn_rand_spec.rb +15 -13
- data/spec/unit/parser/functions/generate_spec.rb +5 -3
- data/spec/unit/parser/functions/include_spec.rb +5 -3
- data/spec/unit/parser/functions/inline_template_spec.rb +6 -17
- data/spec/unit/parser/functions/realize_spec.rb +5 -3
- data/spec/unit/parser/functions/regsubst_spec.rb +5 -3
- data/spec/unit/parser/functions/require_spec.rb +5 -3
- data/spec/unit/parser/functions/shellquote_spec.rb +8 -6
- data/spec/unit/parser/functions/split_spec.rb +5 -3
- data/spec/unit/parser/functions/sprintf_spec.rb +5 -3
- data/spec/unit/parser/functions/tag_spec.rb +5 -3
- data/spec/unit/parser/functions/template_spec.rb +6 -21
- data/spec/unit/parser/functions/versioncmp_spec.rb +5 -3
- data/spec/unit/parser/functions_spec.rb +2 -3
- data/spec/unit/parser/lexer_spec.rb +3 -7
- data/spec/unit/parser/parser_spec.rb +71 -90
- data/spec/unit/parser/relationship_spec.rb +2 -3
- data/spec/unit/parser/resource_spec.rb +6 -65
- data/spec/unit/parser/scope_spec.rb +28 -179
- data/spec/unit/parser/templatewrapper_spec.rb +25 -43
- data/spec/unit/parser/type_loader_spec.rb +120 -78
- data/spec/unit/property/ensure_spec.rb +2 -3
- data/spec/unit/property/keyvalue_spec.rb +4 -8
- data/spec/unit/property/list_spec.rb +2 -3
- data/spec/unit/property/ordered_list_spec.rb +2 -3
- data/spec/unit/property_spec.rb +2 -3
- data/spec/unit/provider/augeas/augeas_spec.rb +80 -3
- data/spec/unit/provider/cisco_spec.rb +16 -0
- data/spec/unit/provider/confine/exists_spec.rb +2 -3
- data/spec/unit/provider/confine/false_spec.rb +2 -3
- data/spec/unit/provider/confine/feature_spec.rb +2 -3
- data/spec/unit/provider/confine/true_spec.rb +2 -3
- data/spec/unit/provider/confine/variable_spec.rb +2 -3
- data/spec/unit/provider/confine_collection_spec.rb +2 -3
- data/spec/unit/provider/confine_spec.rb +2 -3
- data/spec/unit/provider/confiner_spec.rb +2 -3
- data/spec/unit/provider/exec/posix_spec.rb +2 -2
- data/spec/unit/provider/exec/shell_spec.rb +2 -2
- data/spec/unit/provider/group/groupadd_spec.rb +2 -3
- data/spec/unit/provider/group/ldap_spec.rb +2 -2
- data/spec/unit/provider/host/parsed_spec.rb +197 -0
- data/spec/unit/provider/interface/cisco_spec.rb +58 -0
- data/spec/unit/provider/ldap_spec.rb +2 -2
- data/spec/unit/provider/macauthorization_spec.rb +2 -2
- data/spec/unit/provider/mcx/mcxcontent_spec.rb +2 -21
- data/spec/unit/provider/mount/parsed_spec.rb +61 -86
- data/spec/unit/provider/mount_spec.rb +2 -3
- data/spec/unit/provider/naginator_spec.rb +2 -3
- data/spec/unit/provider/nameservice/directoryservice_spec.rb +2 -63
- data/spec/unit/provider/network_device_spec.rb +153 -0
- data/spec/unit/provider/package/aix_spec.rb +2 -3
- data/spec/unit/provider/package/apt_spec.rb +2 -3
- data/spec/unit/provider/package/dpkg_spec.rb +2 -3
- data/spec/unit/provider/package/freebsd_spec.rb +2 -3
- data/spec/unit/provider/package/gem_spec.rb +2 -3
- data/spec/unit/provider/package/hpux_spec.rb +2 -3
- data/spec/unit/provider/package/macports_spec.rb +2 -2
- data/spec/unit/provider/package/nim_spec.rb +2 -3
- data/spec/unit/provider/package/pip_spec.rb +180 -0
- data/spec/unit/provider/package/pkg_spec.rb +2 -3
- data/spec/unit/provider/package/pkgdmg_spec.rb +49 -56
- data/spec/unit/provider/package/pkgutil_spec.rb +182 -0
- data/spec/unit/provider/package/yum_spec.rb +66 -0
- data/spec/unit/provider/package/zypper_spec.rb +2 -3
- data/spec/unit/provider/parsedfile_spec.rb +2 -3
- data/spec/unit/provider/selboolean_spec.rb +2 -3
- data/spec/unit/provider/selmodule_spec.rb +2 -2
- data/spec/unit/provider/service/daemontools_spec.rb +2 -2
- data/spec/unit/provider/service/debian_spec.rb +2 -2
- data/spec/unit/provider/service/freebsd_spec.rb +2 -3
- data/spec/unit/provider/service/init_spec.rb +3 -3
- data/spec/unit/provider/service/launchd_spec.rb +2 -2
- data/spec/unit/provider/service/redhat_spec.rb +2 -2
- data/spec/unit/provider/service/runit_spec.rb +2 -2
- data/spec/unit/provider/service/smf_spec.rb +137 -0
- data/spec/unit/provider/service/src_spec.rb +7 -7
- data/spec/unit/provider/service/upstart.rb +48 -0
- data/spec/unit/provider/ssh_authorized_key/parsed_spec.rb +28 -47
- data/spec/unit/provider/sshkey/parsed_spec.rb +2 -3
- data/spec/unit/provider/user/hpux_spec.rb +2 -3
- data/spec/unit/provider/user/ldap_spec.rb +2 -2
- data/spec/unit/provider/user/user_role_add_spec.rb +15 -53
- data/spec/unit/provider/user/useradd_spec.rb +2 -3
- data/spec/unit/provider/vlan/cisco_spec.rb +56 -0
- data/spec/unit/provider/zfs/solaris_spec.rb +4 -4
- data/spec/unit/provider/zone/solaris_spec.rb +2 -3
- data/spec/unit/provider/zpool/solaris_spec.rb +33 -4
- data/spec/unit/provider_spec.rb +2 -3
- data/spec/unit/puppet/provider/README.markdown +4 -0
- data/spec/unit/puppet/type/README.markdown +4 -0
- data/spec/unit/puppet_spec.rb +2 -2
- data/spec/unit/rails/host_spec.rb +2 -11
- data/spec/unit/rails/param_value_spec.rb +2 -3
- data/spec/unit/rails/resource_spec.rb +2 -3
- data/spec/unit/rails_spec.rb +2 -3
- data/spec/unit/relationship_spec.rb +2 -2
- data/spec/unit/reports/http_spec.rb +2 -3
- data/spec/unit/reports/rrdgraph_spec.rb +2 -3
- data/spec/unit/reports/store_spec.rb +2 -17
- data/spec/unit/reports/tagmail_spec.rb +4 -8
- data/spec/unit/reports_spec.rb +2 -3
- data/spec/unit/resource/catalog_spec.rb +15 -74
- data/spec/unit/resource/status_spec.rb +3 -4
- data/spec/unit/resource/type_collection_helper_spec.rb +2 -3
- data/spec/unit/resource/type_collection_spec.rb +69 -81
- data/spec/unit/resource/type_spec.rb +26 -44
- data/spec/unit/resource_spec.rb +3 -4
- data/spec/unit/run_spec.rb +2 -3
- data/spec/unit/simple_graph_spec.rb +434 -80
- data/spec/unit/ssl/base_spec.rb +3 -4
- data/spec/unit/ssl/certificate_authority/interface_spec.rb +56 -96
- data/spec/unit/ssl/certificate_authority_spec.rb +71 -246
- data/spec/unit/ssl/certificate_factory_spec.rb +72 -93
- data/spec/unit/ssl/certificate_request_spec.rb +11 -76
- data/spec/unit/ssl/certificate_revocation_list_spec.rb +4 -5
- data/spec/unit/ssl/certificate_spec.rb +2 -34
- data/spec/unit/ssl/host_spec.rb +202 -207
- data/spec/unit/ssl/inventory_spec.rb +4 -5
- data/spec/unit/ssl/key_spec.rb +2 -3
- data/spec/unit/sslcertificates/ca_spec.rb +110 -0
- data/spec/unit/status_spec.rb +8 -5
- data/spec/unit/transaction/event_manager_spec.rb +2 -3
- data/spec/unit/transaction/event_spec.rb +7 -8
- data/spec/unit/transaction/report_spec.rb +25 -14
- data/spec/unit/transaction/resource_harness_spec.rb +2 -4
- data/spec/unit/transaction_spec.rb +31 -28
- data/spec/unit/transportable_spec.rb +0 -0
- data/spec/unit/type/augeas_spec.rb +3 -4
- data/spec/unit/type/component_spec.rb +2 -3
- data/spec/unit/type/computer_spec.rb +2 -3
- data/spec/unit/type/cron_spec.rb +12 -3
- data/spec/unit/type/exec_spec.rb +2 -32
- data/spec/unit/type/file/checksum_spec.rb +2 -3
- data/spec/unit/type/file/content_spec.rb +2 -3
- data/spec/unit/type/file/ctime.rb +2 -3
- data/spec/unit/type/file/ensure_spec.rb +2 -3
- data/spec/unit/type/file/group_spec.rb +2 -3
- data/spec/unit/type/file/mtime.rb +2 -3
- data/spec/unit/type/file/owner_spec.rb +2 -3
- data/spec/unit/type/file/selinux_spec.rb +2 -3
- data/spec/unit/type/file/source_spec.rb +9 -10
- data/spec/unit/type/file/type.rb +2 -3
- data/spec/unit/type/file_spec.rb +15 -30
- data/spec/unit/type/filebucket_spec.rb +2 -3
- data/spec/unit/type/group_spec.rb +4 -5
- data/spec/unit/type/host_spec.rb +129 -0
- data/spec/unit/type/interface_spec.rb +98 -0
- data/spec/unit/type/macauthorization_spec.rb +2 -3
- data/spec/unit/type/maillist_spec.rb +2 -3
- data/spec/unit/type/mcx_spec.rb +2 -23
- data/spec/unit/type/mount_spec.rb +41 -18
- data/spec/unit/type/nagios_spec.rb +2 -3
- data/spec/unit/type/noop_metaparam_spec.rb +2 -3
- data/spec/unit/type/package_spec.rb +2 -3
- data/spec/unit/type/resources_spec.rb +3 -4
- data/spec/unit/type/schedule_spec.rb +19 -12
- data/spec/unit/type/selboolean_spec.rb +2 -3
- data/spec/unit/type/selmodule_spec.rb +2 -3
- data/spec/unit/type/service_spec.rb +6 -3
- data/spec/unit/type/ssh_authorized_key_spec.rb +2 -3
- data/spec/unit/type/sshkey_spec.rb +70 -0
- data/spec/unit/type/stage_spec.rb +2 -3
- data/spec/unit/type/tidy_spec.rb +4 -4
- data/spec/unit/type/user_spec.rb +2 -11
- data/spec/unit/type/vlan_spec.rb +45 -0
- data/spec/unit/type/whit_spec.rb +4 -5
- data/spec/unit/type/zfs_spec.rb +2 -3
- data/spec/unit/type/zone_spec.rb +22 -3
- data/spec/unit/type/zpool_spec.rb +2 -3
- data/spec/unit/type_spec.rb +2 -69
- data/spec/unit/util/autoload/file_cache_spec.rb +2 -3
- data/spec/unit/util/autoload_spec.rb +6 -7
- data/spec/unit/util/backups_spec.rb +2 -3
- data/spec/unit/util/cache_accumulator_spec.rb +2 -3
- data/spec/unit/util/cacher_spec.rb +3 -4
- data/spec/unit/util/checksums_spec.rb +2 -2
- data/spec/unit/util/command_line_spec.rb +11 -8
- data/spec/unit/util/constant_inflector_spec.rb +2 -2
- data/spec/unit/util/errors_spec.rb +2 -3
- data/spec/unit/util/execution_spec.rb +2 -3
- data/spec/unit/util/execution_stub_spec.rb +2 -3
- data/spec/unit/util/feature_spec.rb +2 -3
- data/spec/unit/util/file_locking_spec.rb +4 -5
- data/spec/unit/util/filetype_spec.rb +2 -3
- data/spec/unit/util/inline_docs_spec.rb +2 -3
- data/spec/unit/util/ldap/connection_spec.rb +2 -2
- data/spec/unit/util/ldap/generator_spec.rb +2 -2
- data/spec/unit/util/ldap/manager_spec.rb +2 -2
- data/spec/unit/util/loadedfile_spec.rb +2 -3
- data/spec/unit/util/log/destinations_spec.rb +2 -3
- data/spec/unit/util/log_spec.rb +6 -7
- data/spec/unit/util/logging_spec.rb +27 -3
- data/spec/unit/util/metric_spec.rb +2 -3
- data/spec/unit/util/monkey_patches_spec.rb +48 -10
- data/spec/unit/util/nagios_maker_spec.rb +2 -2
- data/spec/unit/util/network_device/cisco/device_spec.rb +408 -0
- data/spec/unit/util/network_device/cisco/facts_spec.rb +63 -0
- data/spec/unit/util/network_device/cisco/interface_spec.rb +89 -0
- data/spec/unit/util/network_device/config_spec.rb +102 -0
- data/spec/unit/util/network_device/ipcalc_spec.rb +63 -0
- data/spec/unit/util/network_device/transport/base_spec.rb +42 -0
- data/spec/unit/util/network_device/transport/ssh_spec.rb +219 -0
- data/spec/unit/util/network_device/transport/telnet_spec.rb +76 -0
- data/spec/unit/util/network_device_spec.rb +50 -0
- data/spec/unit/util/package_spec.rb +2 -3
- data/spec/unit/util/posix_spec.rb +2 -3
- data/spec/unit/util/pson_spec.rb +3 -4
- data/spec/unit/util/queue/stomp_spec.rb +4 -5
- data/spec/unit/util/queue_spec.rb +2 -3
- data/spec/unit/util/rdoc/parser_spec.rb +17 -12
- data/spec/unit/util/rdoc_spec.rb +19 -58
- data/spec/unit/util/reference_serializer_spec.rb +2 -3
- data/spec/unit/util/resource_template_spec.rb +2 -3
- data/spec/unit/util/run_mode_spec.rb +2 -3
- data/spec/unit/util/selinux_spec.rb +4 -5
- data/spec/unit/util/settings/file_setting_spec.rb +2 -7
- data/spec/unit/util/settings_spec.rb +2 -24
- data/spec/unit/util/storage_spec.rb +2 -3
- data/spec/unit/util/tagging_spec.rb +2 -2
- data/spec/unit/util/user_attr_spec.rb +2 -3
- data/spec/unit/util/warnings_spec.rb +2 -3
- data/spec/unit/util/zaml_spec.rb +23 -53
- data/spec/watchr.rb +146 -0
- data/tasks/rake/gem.rake +5 -4
- data/tasks/rake/git_workflow.rake +62 -51
- data/tasks/rake/manpages.rake +69 -0
- data/test/certmgr/certmgr.rb +308 -0
- data/test/certmgr/inventory.rb +69 -0
- data/test/certmgr/support.rb +105 -0
- data/test/data/providers/host/parsed/valid_hosts +19 -0
- data/test/language/ast.rb +1 -1
- data/test/language/ast/variable.rb +1 -1
- data/test/language/functions.rb +8 -9
- data/test/language/parser.rb +44 -52
- data/test/language/scope.rb +13 -24
- data/test/language/snippets.rb +11 -2
- data/test/language/transportable.rb +1 -1
- data/test/lib/puppettest.rb +2 -2
- data/test/lib/puppettest/exetest.rb +1 -1
- data/test/lib/puppettest/parsertesting.rb +5 -8
- data/test/lib/puppettest/servertest.rb +1 -0
- data/test/lib/puppettest/support/assertions.rb +6 -1
- data/test/lib/puppettest/support/utils.rb +0 -19
- data/test/network/authconfig.rb +1 -1
- data/test/network/authorization.rb +1 -1
- data/test/network/authstore.rb +1 -1
- data/test/network/client/ca.rb +69 -0
- data/test/network/client/dipper.rb +34 -0
- data/test/network/client_request.rb +1 -1
- data/test/network/handler/ca.rb +273 -0
- data/test/network/handler/fileserver.rb +1 -1
- data/test/network/handler/master.rb +13 -9
- data/test/network/handler/report.rb +1 -1
- data/test/network/handler/runner.rb +1 -1
- data/test/network/rights.rb +1 -1
- data/test/network/server/mongrel_test.rb +99 -0
- data/test/network/server/webrick.rb +128 -0
- data/test/network/xmlrpc/client.rb +45 -0
- data/test/network/xmlrpc/processor.rb +1 -1
- data/test/network/xmlrpc/server.rb +1 -1
- data/test/network/xmlrpc/webrick_servlet.rb +1 -1
- data/test/other/provider.rb +1 -1
- data/test/other/puppet.rb +1 -1
- data/test/other/relationships.rb +11 -18
- data/test/other/report.rb +1 -1
- data/test/other/transactions.rb +2 -35
- data/test/puppet/defaults.rb +1 -1
- data/test/puppet/errortest.rb +1 -1
- data/test/puppet/tc_suidmanager.rb +120 -0
- data/test/rails/rails.rb +2 -1
- data/test/rails/railsparameter.rb +2 -2
- data/test/ral/manager/attributes.rb +1 -1
- data/test/ral/manager/instances.rb +1 -1
- data/test/ral/manager/manager.rb +1 -1
- data/test/ral/manager/provider.rb +1 -1
- data/test/ral/manager/type.rb +1 -1
- data/test/ral/providers/cron/crontab.rb +1 -1
- data/test/ral/providers/group.rb +1 -1
- data/test/ral/providers/host/parsed.rb +1 -203
- data/test/ral/providers/mailalias/aliases.rb +1 -1
- data/test/ral/providers/nameservice.rb +1 -1
- data/test/ral/providers/package.rb +1 -1
- data/test/ral/providers/package/aptitude.rb +1 -1
- data/test/ral/providers/package/aptrpm.rb +1 -1
- data/test/ral/providers/parsedfile.rb +1 -1
- data/test/ral/providers/port/parsed.rb +1 -1
- data/test/ral/providers/provider.rb +1 -1
- data/test/ral/providers/service/base.rb +1 -1
- data/test/ral/providers/sshkey/parsed.rb +1 -1
- data/test/ral/providers/user.rb +1 -1
- data/test/ral/providers/user/useradd.rb +1 -1
- data/test/ral/type/cron.rb +1 -1
- data/test/ral/type/exec.rb +1 -42
- data/test/ral/type/file.rb +1 -1
- data/test/ral/type/file/target.rb +6 -19
- data/test/ral/type/fileignoresource.rb +1 -1
- data/test/ral/type/filesources.rb +61 -1
- data/test/ral/type/host.rb +1 -1
- data/test/ral/type/mailalias.rb +1 -1
- data/test/ral/type/port.rb +1 -1
- data/test/ral/type/resources.rb +1 -1
- data/test/ral/type/service.rb +1 -1
- data/test/ral/type/sshkey.rb +1 -1
- data/test/ral/type/user.rb +1 -1
- data/test/ral/type/yumrepo.rb +1 -1
- data/test/ral/type/zone.rb +1 -1
- data/test/test +2 -2
- data/test/util/classgen.rb +1 -1
- data/test/util/execution.rb +1 -1
- data/test/util/fileparsing.rb +1 -1
- data/test/util/inifile.rb +1 -1
- data/test/util/instance_loader.rb +1 -1
- data/test/util/log.rb +1 -1
- data/test/util/metrics.rb +1 -1
- data/test/util/package.rb +1 -1
- data/test/util/pidlock.rb +1 -1
- data/test/util/settings.rb +1 -1
- data/test/util/storage.rb +1 -1
- data/test/util/subclass_loader.rb +1 -1
- data/test/util/utiltest.rb +1 -1
- metadata +312 -48
- data/CHANGELOG.old +0 -1705
- data/CONTRIBUTING.md +0 -299
- data/COPYING +0 -340
- data/README.queueing +0 -126
- data/ext/upload_facts.rb +0 -120
- data/ext/vim/ftplugin/puppet.vim +0 -94
- data/ext/vim/indent/puppet.vim +0 -76
- data/lib/puppet/indirector/errors.rb +0 -5
- data/lib/puppet/indirector/facts/inventory_service.rb +0 -20
- data/lib/puppet/indirector/file_bucket_file/selector.rb +0 -53
- data/lib/puppet/indirector/file_content/selector.rb +0 -30
- data/lib/puppet/indirector/file_metadata/selector.rb +0 -30
- data/lib/puppet/indirector/resource/validator.rb +0 -8
- data/lib/puppet/util/command_line/filebucket +0 -97
- data/lib/puppet/util/command_line/pi +0 -48
- data/lib/puppet/util/command_line/puppet +0 -73
- data/lib/puppet/util/command_line/puppetca +0 -131
- data/lib/puppet/util/command_line/puppetd +0 -188
- data/lib/puppet/util/command_line/puppetdoc +0 -67
- data/lib/puppet/util/command_line/puppetmasterd +0 -70
- data/lib/puppet/util/command_line/puppetqd +0 -53
- data/lib/puppet/util/command_line/puppetrun +0 -125
- data/lib/puppet/util/command_line/ralsh +0 -89
- data/spec/integration/file_bucket/file_spec.rb +0 -44
- data/spec/integration/indirector/bucket_file/rest_spec.rb +0 -77
- data/spec/integration/indirector/certificate/rest_spec.rb +0 -69
- data/spec/integration/indirector/certificate_request/rest_spec.rb +0 -89
- data/spec/integration/indirector/certificate_revocation_list/rest_spec.rb +0 -85
- data/spec/integration/indirector/report/rest_spec.rb +0 -93
- data/spec/shared_behaviours/file_serving_model.rb +0 -73
- data/spec/unit/indirector/facts/inventory_service_spec.rb +0 -22
- data/spec/unit/indirector/file_bucket_file/selector_spec.rb +0 -29
- data/spec/unit/indirector/file_content/selector_spec.rb +0 -10
- data/spec/unit/indirector/file_metadata/selector_spec.rb +0 -11
- data/spec/unit/network/handler/ca_spec.rb +0 -87
- data/spec/unit/network/rest_authorization_spec.rb +0 -43
- data/spec/unit/provider/package/appdmg_spec.rb +0 -42
- data/spec/unit/type/k5login_spec.rb +0 -115
- data/spec/unit/util/suidmanager_spec.rb +0 -220
- data/spec/unit/util_spec.rb +0 -104
@@ -28,41 +28,33 @@ prechigh
|
|
28
28
|
preclow
|
29
29
|
|
30
30
|
rule
|
31
|
-
program:
|
32
|
-
if val[0]
|
33
|
-
# Make sure we always return an array.
|
34
|
-
if val[0].is_a?(AST::ASTArray)
|
35
|
-
if val[0].children.empty?
|
36
|
-
result = nil
|
37
|
-
else
|
38
|
-
result = val[0]
|
39
|
-
end
|
40
|
-
else
|
41
|
-
result = aryfy(val[0])
|
42
|
-
end
|
43
|
-
else
|
44
|
-
result = nil
|
45
|
-
end
|
46
|
-
}
|
31
|
+
program: statements_and_declarations
|
47
32
|
| nil
|
48
33
|
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
34
|
+
statements_and_declarations: statement_or_declaration {
|
35
|
+
result = ast AST::ASTArray, :children => (val[0] ? [val[0]] : [])
|
36
|
+
}
|
37
|
+
| statements_and_declarations statement_or_declaration {
|
38
|
+
if val[1]
|
53
39
|
val[0].push(val[1])
|
54
|
-
result = val[0]
|
55
|
-
else
|
56
|
-
result = ast AST::ASTArray, :children => [val[0],val[1]]
|
57
40
|
end
|
58
|
-
|
59
|
-
|
60
|
-
|
41
|
+
result = val[0]
|
42
|
+
}
|
43
|
+
|
44
|
+
# statements is like statements_and_declarations, but it doesn't allow
|
45
|
+
# nested definitions, classes, or nodes.
|
46
|
+
statements: statements_and_declarations {
|
47
|
+
val[0].each do |stmt|
|
48
|
+
if stmt.is_a?(AST::TopLevelConstruct)
|
49
|
+
error "Classes, definitions, and nodes may only appear at toplevel or inside other classes", \
|
50
|
+
:line => stmt.context[:line], :file => stmt.context[:file]
|
51
|
+
end
|
61
52
|
end
|
53
|
+
result = val[0]
|
62
54
|
}
|
63
55
|
|
64
56
|
# The main list of valid statements
|
65
|
-
|
57
|
+
statement_or_declaration: resource
|
66
58
|
| virtualresource
|
67
59
|
| collection
|
68
60
|
| assignment
|
@@ -89,19 +81,17 @@ relationship_side: resource | resourceref | collection
|
|
89
81
|
edge: IN_EDGE | OUT_EDGE | IN_EDGE_SUB | OUT_EDGE_SUB
|
90
82
|
|
91
83
|
fstatement: NAME LPAREN funcvalues RPAREN {
|
92
|
-
args = aryfy(val[2])
|
93
84
|
result = ast AST::Function,
|
94
85
|
:name => val[0][:value],
|
95
86
|
:line => val[0][:line],
|
96
|
-
:arguments =>
|
87
|
+
:arguments => val[2],
|
97
88
|
:ftype => :statement
|
98
89
|
}
|
99
90
|
| NAME LPAREN funcvalues COMMA RPAREN {
|
100
|
-
args = aryfy(val[2])
|
101
91
|
result = ast AST::Function,
|
102
92
|
:name => val[0][:value],
|
103
93
|
:line => val[0][:line],
|
104
|
-
:arguments =>
|
94
|
+
:arguments => val[2],
|
105
95
|
:ftype => :statement
|
106
96
|
} | NAME LPAREN RPAREN {
|
107
97
|
result = ast AST::Function,
|
@@ -111,29 +101,22 @@ fstatement: NAME LPAREN funcvalues RPAREN {
|
|
111
101
|
:ftype => :statement
|
112
102
|
}
|
113
103
|
| NAME funcvalues {
|
114
|
-
args = aryfy(val[1])
|
115
104
|
result = ast AST::Function,
|
116
105
|
:name => val[0][:value],
|
117
106
|
:line => val[0][:line],
|
118
|
-
:arguments =>
|
107
|
+
:arguments => val[1],
|
119
108
|
:ftype => :statement
|
120
109
|
}
|
121
110
|
|
122
|
-
funcvalues:
|
123
|
-
| resourceref
|
111
|
+
funcvalues: namestring { result = aryfy(val[0]) }
|
112
|
+
| resourceref { result = aryfy(val[0]) }
|
124
113
|
| funcvalues COMMA namestring {
|
125
|
-
|
126
|
-
result
|
127
|
-
result.file = @lexer.file
|
114
|
+
val[0].push(val[2])
|
115
|
+
result = val[0]
|
128
116
|
}
|
129
117
|
| funcvalues COMMA resourceref {
|
130
|
-
|
131
|
-
|
132
|
-
end
|
133
|
-
|
134
|
-
val[0].push(val[2])
|
135
|
-
|
136
|
-
result = val[0]
|
118
|
+
val[0].push(val[2])
|
119
|
+
result = val[0]
|
137
120
|
}
|
138
121
|
|
139
122
|
# This is *almost* an rvalue, but I couldn't get a full
|
@@ -152,23 +135,7 @@ namestring: name
|
|
152
135
|
|
153
136
|
resource: classname LBRACE resourceinstances endsemi RBRACE {
|
154
137
|
@lexer.commentpop
|
155
|
-
|
156
|
-
array = [array] if array.instance_of?(AST::ResourceInstance)
|
157
|
-
result = ast AST::ASTArray
|
158
|
-
|
159
|
-
# this iterates across each specified resourceinstance
|
160
|
-
array.each { |instance|
|
161
|
-
raise Puppet::Dev, "Got something that isn't an instance" unless instance.instance_of?(AST::ResourceInstance)
|
162
|
-
# now, i need to somehow differentiate between those things with
|
163
|
-
# arrays in their names, and normal things
|
164
|
-
|
165
|
-
result.push ast(
|
166
|
-
AST::Resource,
|
167
|
-
:type => val[0],
|
168
|
-
:title => instance[0],
|
169
|
-
|
170
|
-
:parameters => instance[1])
|
171
|
-
}
|
138
|
+
result = ast(AST::Resource, :type => val[0], :instances => val[2])
|
172
139
|
} | classname LBRACE params endcomma RBRACE {
|
173
140
|
# This is a deprecated syntax.
|
174
141
|
error "All resource specifications require names"
|
@@ -189,7 +156,7 @@ resourceoverride: resourceref LBRACE anyparams endcomma RBRACE {
|
|
189
156
|
virtualresource: at resource {
|
190
157
|
type = val[0]
|
191
158
|
|
192
|
-
if (type == :exported and ! Puppet[:storeconfigs])
|
159
|
+
if (type == :exported and ! Puppet[:storeconfigs])
|
193
160
|
Puppet.warning addcontext("You cannot collect without storeconfigs being set")
|
194
161
|
end
|
195
162
|
|
@@ -197,14 +164,8 @@ virtualresource: at resource {
|
|
197
164
|
|
198
165
|
method = type.to_s + "="
|
199
166
|
|
200
|
-
# Just mark our
|
201
|
-
|
202
|
-
val[1].each do |obj|
|
203
|
-
obj.send(method, true)
|
204
|
-
end
|
205
|
-
else
|
206
|
-
val[1].send(method, true)
|
207
|
-
end
|
167
|
+
# Just mark our resource as exported and pass it through.
|
168
|
+
val[1].send(method, true)
|
208
169
|
|
209
170
|
result = val[1]
|
210
171
|
}
|
@@ -227,7 +188,7 @@ collection: classref collectrhand LBRACE anyparams endcomma RBRACE {
|
|
227
188
|
else
|
228
189
|
args[:form] = val[1]
|
229
190
|
end
|
230
|
-
if args[:form] == :exported and ! Puppet[:storeconfigs]
|
191
|
+
if args[:form] == :exported and ! Puppet[:storeconfigs]
|
231
192
|
Puppet.warning addcontext("You cannot collect exported resources without storeconfigs being set; the collection will be ignored")
|
232
193
|
end
|
233
194
|
args[:override] = val[3]
|
@@ -247,7 +208,7 @@ collection: classref collectrhand LBRACE anyparams endcomma RBRACE {
|
|
247
208
|
else
|
248
209
|
args[:form] = val[1]
|
249
210
|
end
|
250
|
-
if args[:form] == :exported and ! Puppet[:storeconfigs]
|
211
|
+
if args[:form] == :exported and ! Puppet[:storeconfigs]
|
251
212
|
Puppet.warning addcontext("You cannot collect exported resources without storeconfigs being set; the collection will be ignored")
|
252
213
|
end
|
253
214
|
result = ast AST::Collection, args
|
@@ -303,17 +264,13 @@ colllval: variable
|
|
303
264
|
| name
|
304
265
|
|
305
266
|
resourceinst: resourcename COLON params endcomma {
|
306
|
-
result = ast AST::ResourceInstance, :
|
267
|
+
result = ast AST::ResourceInstance, :title => val[0], :parameters => val[2]
|
307
268
|
}
|
308
269
|
|
309
|
-
resourceinstances: resourceinst
|
270
|
+
resourceinstances: resourceinst { result = aryfy(val[0]) }
|
310
271
|
| resourceinstances SEMIC resourceinst {
|
311
|
-
if val[0].instance_of?(AST::ResourceInstance)
|
312
|
-
result = ast AST::ASTArray, :children => [val[0],val[2]]
|
313
|
-
else
|
314
272
|
val[0].push val[2]
|
315
273
|
result = val[0]
|
316
|
-
end
|
317
274
|
}
|
318
275
|
|
319
276
|
endsemi: # nothing
|
@@ -358,14 +315,10 @@ params: # nothing
|
|
358
315
|
{
|
359
316
|
result = ast AST::ASTArray
|
360
317
|
}
|
361
|
-
| param { result = val[0] }
|
318
|
+
| param { result = aryfy(val[0]) }
|
362
319
|
| params COMMA param {
|
363
|
-
if val[0].instance_of?(AST::ASTArray)
|
364
320
|
val[0].push(val[2])
|
365
321
|
result = val[0]
|
366
|
-
else
|
367
|
-
result = ast AST::ASTArray, :children => [val[0],val[2]]
|
368
|
-
end
|
369
322
|
}
|
370
323
|
|
371
324
|
param: NAME FARROW rvalue {
|
@@ -384,24 +337,14 @@ anyparams: # nothing
|
|
384
337
|
{
|
385
338
|
result = ast AST::ASTArray
|
386
339
|
}
|
387
|
-
| anyparam { result = val[0] }
|
340
|
+
| anyparam { result = aryfy(val[0]) }
|
388
341
|
| anyparams COMMA anyparam {
|
389
|
-
if val[0].instance_of?(AST::ASTArray)
|
390
342
|
val[0].push(val[2])
|
391
343
|
result = val[0]
|
392
|
-
else
|
393
|
-
result = ast AST::ASTArray, :children => [val[0],val[2]]
|
394
|
-
end
|
395
344
|
}
|
396
345
|
|
397
|
-
rvalues:
|
398
|
-
|
399
|
-
if val[0].instance_of?(AST::ASTArray)
|
400
|
-
result = val[0].push(val[2])
|
401
|
-
else
|
402
|
-
result = ast AST::ASTArray, :children => [val[0],val[2]]
|
403
|
-
end
|
404
|
-
}
|
346
|
+
rvalues: rvalue { result = aryfy(val[0]) }
|
347
|
+
| rvalues comma rvalue { result = val[0].push(val[2]) }
|
405
348
|
|
406
349
|
simplervalue: quotedtext
|
407
350
|
| name
|
@@ -425,10 +368,9 @@ rvalue: quotedtext
|
|
425
368
|
|
426
369
|
# We currently require arguments in these functions.
|
427
370
|
funcrvalue: NAME LPAREN funcvalues RPAREN {
|
428
|
-
args = aryfy(val[2])
|
429
371
|
result = ast AST::Function,
|
430
372
|
:name => val[0][:value], :line => val[0][:line],
|
431
|
-
:arguments =>
|
373
|
+
:arguments => val[2],
|
432
374
|
:ftype => :rvalue
|
433
375
|
} | NAME LPAREN RPAREN {
|
434
376
|
result = ast AST::Function,
|
@@ -572,19 +514,13 @@ expression: rvalue
|
|
572
514
|
|
573
515
|
casestatement: CASE rvalue LBRACE caseopts RBRACE {
|
574
516
|
@lexer.commentpop
|
575
|
-
|
576
|
-
options = ast AST::ASTArray, :children => [val[3]] unless options.instance_of?(AST::ASTArray)
|
577
|
-
result = ast AST::CaseStatement, :test => val[1], :options => options
|
517
|
+
result = ast AST::CaseStatement, :test => val[1], :options => val[3]
|
578
518
|
}
|
579
519
|
|
580
|
-
caseopts: caseopt
|
520
|
+
caseopts: caseopt { result = aryfy(val[0]) }
|
581
521
|
| caseopts caseopt {
|
582
|
-
if val[0].instance_of?(AST::ASTArray)
|
583
522
|
val[0].push val[1]
|
584
523
|
result = val[0]
|
585
|
-
else
|
586
|
-
result = ast AST::ASTArray, :children => [val[0], val[1]]
|
587
|
-
end
|
588
524
|
}
|
589
525
|
|
590
526
|
caseopt: casevalues COLON LBRACE statements RBRACE {
|
@@ -601,14 +537,10 @@ caseopt: casevalues COLON LBRACE statements RBRACE {
|
|
601
537
|
)
|
602
538
|
}
|
603
539
|
|
604
|
-
casevalues: selectlhand
|
540
|
+
casevalues: selectlhand { result = aryfy(val[0]) }
|
605
541
|
| casevalues COMMA selectlhand {
|
606
|
-
if val[0].instance_of?(AST::ASTArray)
|
607
542
|
val[0].push(val[2])
|
608
543
|
result = val[0]
|
609
|
-
else
|
610
|
-
result = ast AST::ASTArray, :children => [val[0],val[2]]
|
611
|
-
end
|
612
544
|
}
|
613
545
|
|
614
546
|
selector: selectlhand QMARK svalues {
|
@@ -658,48 +590,51 @@ import: IMPORT strings {
|
|
658
590
|
import(file)
|
659
591
|
end
|
660
592
|
|
661
|
-
result =
|
593
|
+
result = nil
|
662
594
|
}
|
663
595
|
|
664
596
|
# Disable definition inheritance for now. 8/27/06, luke
|
665
597
|
#definition: DEFINE NAME argumentlist parent LBRACE statements RBRACE {
|
666
598
|
definition: DEFINE classname argumentlist LBRACE statements RBRACE {
|
667
599
|
@lexer.commentpop
|
668
|
-
|
600
|
+
result = Puppet::Parser::AST::Definition.new(classname(val[1]),
|
601
|
+
ast_context(true).merge(:arguments => val[2], :code => val[4],
|
602
|
+
:line => val[0][:line]))
|
669
603
|
@lexer.indefine = false
|
670
|
-
result = nil
|
671
604
|
|
672
605
|
#} | DEFINE NAME argumentlist parent LBRACE RBRACE {
|
673
606
|
} | DEFINE classname argumentlist LBRACE RBRACE {
|
674
607
|
@lexer.commentpop
|
675
|
-
|
608
|
+
result = Puppet::Parser::AST::Definition.new(classname(val[1]),
|
609
|
+
ast_context(true).merge(:arguments => val[2], :line => val[0][:line]))
|
676
610
|
@lexer.indefine = false
|
677
|
-
result = nil
|
678
611
|
}
|
679
612
|
|
680
613
|
#hostclass: CLASS NAME argumentlist parent LBRACE statements RBRACE {
|
681
|
-
hostclass: CLASS classname argumentlist classparent LBRACE
|
614
|
+
hostclass: CLASS classname argumentlist classparent LBRACE statements_and_declarations RBRACE {
|
682
615
|
@lexer.commentpop
|
683
616
|
# Our class gets defined in the parent namespace, not our own.
|
684
617
|
@lexer.namepop
|
685
|
-
|
686
|
-
|
618
|
+
result = Puppet::Parser::AST::Hostclass.new(classname(val[1]),
|
619
|
+
ast_context(true).merge(:arguments => val[2], :parent => val[3],
|
620
|
+
:code => val[5], :line => val[0][:line]))
|
687
621
|
} | CLASS classname argumentlist classparent LBRACE RBRACE {
|
688
622
|
@lexer.commentpop
|
689
623
|
# Our class gets defined in the parent namespace, not our own.
|
690
624
|
@lexer.namepop
|
691
|
-
|
692
|
-
|
625
|
+
result = Puppet::Parser::AST::Hostclass.new(classname(val[1]),
|
626
|
+
ast_context(true).merge(:arguments => val[2], :parent => val[3],
|
627
|
+
:line => val[0][:line]))
|
693
628
|
}
|
694
629
|
|
695
630
|
nodedef: NODE hostnames nodeparent LBRACE statements RBRACE {
|
696
631
|
@lexer.commentpop
|
697
|
-
|
698
|
-
|
632
|
+
result = Puppet::Parser::AST::Node.new(val[1],
|
633
|
+
ast_context(true).merge(:parent => val[2], :code => val[4],
|
634
|
+
:line => val[0][:line]))
|
699
635
|
} | NODE hostnames nodeparent LBRACE RBRACE {
|
700
636
|
@lexer.commentpop
|
701
|
-
|
702
|
-
result = nil
|
637
|
+
result = Puppet::Parser::AST::Node.new(val[1], ast_context(true).merge(:parent => val[2], :line => val[0][:line]))
|
703
638
|
}
|
704
639
|
|
705
640
|
classref: CLASSREF { result = val[0][:value] }
|
@@ -710,10 +645,11 @@ classname: NAME { result = val[0][:value] }
|
|
710
645
|
|
711
646
|
# Multiple hostnames, as used for node names. These are all literal
|
712
647
|
# strings, not AST objects.
|
713
|
-
hostnames: nodename
|
648
|
+
hostnames: nodename {
|
649
|
+
result = [result]
|
650
|
+
}
|
714
651
|
| hostnames COMMA nodename {
|
715
652
|
result = val[0]
|
716
|
-
result = [result] unless result.is_a?(Array)
|
717
653
|
result << val[2]
|
718
654
|
}
|
719
655
|
|
@@ -779,22 +715,9 @@ variable: VARIABLE {
|
|
779
715
|
result = ast AST::Variable, :value => val[0][:value], :line => val[0][:line]
|
780
716
|
}
|
781
717
|
|
782
|
-
array:
|
783
|
-
|
784
|
-
|
785
|
-
else
|
786
|
-
result = ast AST::ASTArray, :children => [val[1]]
|
787
|
-
end
|
788
|
-
}
|
789
|
-
| LBRACK rvalues COMMA RBRACK {
|
790
|
-
if val[1].instance_of?(AST::ASTArray)
|
791
|
-
result = val[1]
|
792
|
-
else
|
793
|
-
result = ast AST::ASTArray, :children => [val[1]]
|
794
|
-
end
|
795
|
-
} | LBRACK RBRACK {
|
796
|
-
result = ast AST::ASTArray
|
797
|
-
}
|
718
|
+
array: LBRACK rvalues RBRACK { result = val[1] }
|
719
|
+
| LBRACK rvalues COMMA RBRACK { result = val[1] }
|
720
|
+
| LBRACK RBRACK { result = ast AST::ASTArray }
|
798
721
|
|
799
722
|
comma: FARROW
|
800
723
|
| COMMA
|
data/lib/puppet/parser/lexer.rb
CHANGED
data/lib/puppet/parser/parser.rb
CHANGED
@@ -21,7 +21,7 @@ module Puppet
|
|
21
21
|
module Parser
|
22
22
|
class Parser < Racc::Parser
|
23
23
|
|
24
|
-
module_eval(<<'...end grammar.ra/module_eval...', 'grammar.ra',
|
24
|
+
module_eval(<<'...end grammar.ra/module_eval...', 'grammar.ra', 789)
|
25
25
|
|
26
26
|
# It got too annoying having code in a file that needs to be compiled.
|
27
27
|
require 'puppet/parser/parser_support'
|
@@ -30,647 +30,612 @@ require 'puppet/parser/parser_support'
|
|
30
30
|
# Local Variables:
|
31
31
|
# mode: ruby
|
32
32
|
# End:
|
33
|
-
|
34
|
-
# $Id$
|
35
33
|
...end grammar.ra/module_eval...
|
36
34
|
##### State transition tables begin ###
|
37
35
|
|
38
36
|
racc_action_table = [
|
39
|
-
|
40
|
-
|
41
|
-
38,
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
nil, nil,
|
91
|
-
nil, nil,
|
92
|
-
|
93
|
-
nil, nil,
|
94
|
-
nil, nil,
|
95
|
-
|
96
|
-
|
97
|
-
nil,
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
nil,
|
107
|
-
|
108
|
-
nil,
|
109
|
-
|
110
|
-
nil,
|
111
|
-
nil, nil,
|
112
|
-
|
113
|
-
nil,
|
114
|
-
|
115
|
-
|
116
|
-
nil,
|
117
|
-
|
118
|
-
|
119
|
-
nil, nil,
|
120
|
-
|
121
|
-
nil, nil, nil, nil, nil, nil,
|
122
|
-
|
123
|
-
|
124
|
-
nil, nil, nil,
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
nil, nil, nil,
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
nil, nil,
|
139
|
-
|
140
|
-
nil, nil,
|
141
|
-
|
142
|
-
nil, nil,
|
143
|
-
|
144
|
-
|
145
|
-
nil,
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
nil,
|
153
|
-
|
154
|
-
nil, nil,
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
nil, nil, nil, nil,
|
163
|
-
|
164
|
-
nil, nil, nil,
|
165
|
-
nil, nil,
|
166
|
-
nil, nil,
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
nil, nil,
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
nil, nil, nil, nil,
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
nil, nil,
|
184
|
-
nil, nil, nil, nil,
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
nil,
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
nil,
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
nil,
|
203
|
-
nil,
|
204
|
-
nil,
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
nil,
|
211
|
-
nil,
|
212
|
-
nil,
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
nil,
|
218
|
-
nil, 17, nil, 23, nil, 29, nil, 3, nil, nil,
|
219
|
-
11, 14, nil, 364, nil, 26, nil, 33, 1, nil,
|
220
|
-
7, 12, nil, 17, nil, 23, nil, 29, nil, 3,
|
221
|
-
nil, nil, 11, 14, 26, nil, 33, 1, nil, 7,
|
222
|
-
12, nil, 17, nil, 23, nil, 29, nil, 3, nil,
|
223
|
-
nil, 11, 14, 26, nil, 33, 1, nil, 7, 12,
|
224
|
-
nil, 17, nil, 23, nil, 29, nil, 3, nil, nil,
|
225
|
-
11, 14, 26, nil, 33, 1, nil, 7, 12, nil,
|
226
|
-
17, nil, 23, nil, 29, nil, 3, nil, nil, 11,
|
227
|
-
14 ]
|
37
|
+
242, 243, 55, 68, 71, 299, 157, 55, 78, 117,
|
38
|
+
199, 68, 71, 181, 186, -169, 36, 112, 341, 113,
|
39
|
+
38, 55, 177, 179, 182, 185, 170, 10, 68, 71,
|
40
|
+
231, 158, 114, 292, 293, 356, 257, 368, 68, 71,
|
41
|
+
59, 198, 100, 61, 103, 59, 180, 184, 61, 198,
|
42
|
+
189, 172, 173, 174, 176, 178, 111, 183, 187, 59,
|
43
|
+
95, 66, 61, 60, 175, 79, 253, 154, 60, 88,
|
44
|
+
345, 66, 233, 229, 139, 79, 81, 231, 84, 88,
|
45
|
+
68, 71, 60, 225, 74, 99, 68, 71, 84, 60,
|
46
|
+
100, 90, 103, 203, 203, 292, 293, 223, 296, 60,
|
47
|
+
203, 117, 231, 78, 202, 202, 295, 240, 95, 209,
|
48
|
+
209, 202, 166, 66, 186, 170, 209, 79, 253, 66,
|
49
|
+
241, 88, 177, 79, 81, 334, 139, 88, 68, 71,
|
50
|
+
84, 310, 74, 99, 68, 71, 84, 357, 100, 90,
|
51
|
+
103, 60, 183, 187, 311, 358, 307, 60, 308, 175,
|
52
|
+
189, 172, 173, 174, 176, 178, 95, 183, 187, 36,
|
53
|
+
309, 66, 288, 38, 175, 79, 253, 66, 218, 88,
|
54
|
+
10, 79, 81, 219, 139, 88, 338, 312, 84, 336,
|
55
|
+
74, 99, 68, 71, 84, 218, 100, 90, 103, 60,
|
56
|
+
219, 173, 174, 217, 285, 60, 183, 187, 257, 284,
|
57
|
+
203, 68, 71, 175, 95, 100, 36, 103, 68, 71,
|
58
|
+
127, 202, 100, 316, 103, 66, 209, 10, 15, 79,
|
59
|
+
81, 173, 174, 88, 183, 187, 183, 187, 74, 99,
|
60
|
+
95, 175, 84, 175, 66, 90, 113, 338, 79, 81,
|
61
|
+
336, 66, 88, 60, 213, 79, 81, 74, 319, 88,
|
62
|
+
216, 84, 68, 71, 74, 99, 213, 49, 84, 68,
|
63
|
+
71, 90, 60, 100, 215, 103, 47, 48, 287, 60,
|
64
|
+
154, 286, 189, 172, 173, 174, 324, 68, 71, 183,
|
65
|
+
187, 100, 213, 103, 36, 66, 175, 327, 38, 79,
|
66
|
+
253, 314, 66, 88, 200, 10, 79, 81, 139, 95,
|
67
|
+
88, -171, 84, 68, 71, 74, 330, 78, 170, 84,
|
68
|
+
66, -172, 259, 60, 79, 81, 257, 258, 88, -173,
|
69
|
+
60, -168, -170, 74, 99, 70, 228, 84, 68, 71,
|
70
|
+
90, 36, 100, -167, 103, 127, 66, -167, 60, 161,
|
71
|
+
79, 81, 10, 15, 88, -169, -171, 297, 72, 74,
|
72
|
+
95, 257, 258, 84, 68, 71, 36, -172, 100, -168,
|
73
|
+
38, 66, 112, -170, 60, 79, 81, 10, 15, 88,
|
74
|
+
-22, -22, -22, -22, 74, 99, 68, 71, 84, 290,
|
75
|
+
100, 90, 103, 292, 293, -167, 167, 66, 166, 60,
|
76
|
+
335, 79, 253, 229, -187, 88, 339, 68, 71, 161,
|
77
|
+
139, 100, 49, 103, 84, 43, 44, 40, 41, 66,
|
78
|
+
234, -169, -174, 79, 81, 60, 156, 88, 154, 68,
|
79
|
+
71, 354, 74, 100, 122, 103, 84, 122, 359, 161,
|
80
|
+
66, 60, -170, 53, 79, 81, 229, 60, 88, 366,
|
81
|
+
68, 71, 52, 74, 100, -168, 103, 84, 43, 44,
|
82
|
+
40, 41, 66, 232, 51, 373, 79, 81, 60, 374,
|
83
|
+
88, -169, 95, -167, -170, 74, 68, 71, -168, 84,
|
84
|
+
100, -172, 103, 66, 60, 376, 45, 79, 81, -222,
|
85
|
+
60, 88, -24, -24, -24, -24, 74, 99, 95, 234,
|
86
|
+
84, 379, 238, 90, 39, 384, 68, 71, 385, 66,
|
87
|
+
100, 60, 103, 79, 81, nil, nil, 88, nil, nil,
|
88
|
+
nil, nil, 74, 99, nil, nil, 84, nil, 95, 90,
|
89
|
+
nil, nil, 68, 71, nil, nil, 100, 60, 103, 66,
|
90
|
+
nil, nil, nil, 79, 81, nil, nil, 88, nil, nil,
|
91
|
+
nil, nil, 74, 99, 95, nil, 84, nil, nil, 90,
|
92
|
+
nil, nil, 68, 71, nil, 66, 100, 60, 103, 79,
|
93
|
+
81, nil, nil, 88, nil, nil, nil, nil, 74, 99,
|
94
|
+
nil, nil, 84, nil, 95, 90, nil, nil, 68, 71,
|
95
|
+
nil, nil, 100, 60, 103, 66, nil, nil, nil, 79,
|
96
|
+
81, nil, nil, 88, nil, nil, nil, nil, 74, 99,
|
97
|
+
95, nil, 84, nil, nil, 90, nil, nil, 68, 71,
|
98
|
+
nil, 66, 100, 60, 103, 79, 81, nil, nil, 88,
|
99
|
+
nil, nil, nil, nil, 74, 99, nil, nil, 84, nil,
|
100
|
+
95, 90, nil, nil, 68, 71, nil, nil, 100, 60,
|
101
|
+
103, 66, nil, nil, nil, 79, 81, nil, nil, 88,
|
102
|
+
68, 71, nil, nil, 74, 99, 68, 71, 84, nil,
|
103
|
+
100, 90, 103, nil, nil, nil, nil, 66, nil, 60,
|
104
|
+
nil, 79, 81, nil, nil, 88, nil, nil, 95, nil,
|
105
|
+
74, 68, 71, 66, 84, 100, nil, 79, 253, 66,
|
106
|
+
nil, 88, nil, 79, 81, 60, 139, 88, nil, nil,
|
107
|
+
84, nil, 74, 99, nil, nil, 84, 68, 71, 90,
|
108
|
+
nil, 60, nil, nil, 66, nil, nil, 60, 79, 144,
|
109
|
+
nil, nil, 88, nil, nil, nil, nil, 139, 68, 71,
|
110
|
+
nil, 84, 100, nil, 103, nil, nil, nil, nil, nil,
|
111
|
+
66, nil, 60, nil, 79, 253, 68, 71, 88, nil,
|
112
|
+
100, nil, 103, 139, nil, nil, nil, 84, nil, nil,
|
113
|
+
nil, 66, nil, nil, nil, 79, 81, nil, 60, 88,
|
114
|
+
nil, 68, 71, nil, 74, nil, nil, nil, 84, 66,
|
115
|
+
nil, nil, nil, 79, 81, nil, nil, 88, nil, 60,
|
116
|
+
nil, nil, 74, nil, 261, nil, 84, 68, 71, nil,
|
117
|
+
nil, 100, nil, 103, 66, nil, nil, 60, 79, 81,
|
118
|
+
nil, nil, 88, nil, nil, nil, 72, 74, 68, 71,
|
119
|
+
nil, 84, 100, nil, 103, nil, nil, nil, nil, nil,
|
120
|
+
66, nil, 60, nil, 79, 81, nil, nil, 88, nil,
|
121
|
+
95, nil, nil, 74, 68, 71, nil, 84, nil, nil,
|
122
|
+
nil, 66, nil, nil, nil, 79, 81, nil, 60, 88,
|
123
|
+
nil, nil, nil, nil, 74, 99, nil, 162, 84, 68,
|
124
|
+
71, 90, nil, 100, nil, 103, nil, 66, nil, 60,
|
125
|
+
nil, 79, 81, nil, nil, 88, nil, nil, nil, 72,
|
126
|
+
74, 95, nil, nil, 84, 68, 71, nil, nil, 100,
|
127
|
+
nil, 103, 66, nil, nil, 60, 79, 81, nil, nil,
|
128
|
+
88, nil, nil, nil, nil, 74, 99, 95, nil, 84,
|
129
|
+
68, 71, 90, nil, 100, nil, 103, nil, 66, nil,
|
130
|
+
60, nil, 79, 81, 68, 71, 88, nil, nil, nil,
|
131
|
+
255, 74, 99, nil, nil, 84, nil, nil, 90, nil,
|
132
|
+
nil, nil, nil, 66, nil, nil, 60, 79, 81, 68,
|
133
|
+
71, 88, nil, 100, nil, 103, 74, 66, nil, nil,
|
134
|
+
84, 79, 253, nil, nil, 88, nil, nil, 68, 71,
|
135
|
+
139, 60, nil, nil, 84, nil, nil, nil, nil, nil,
|
136
|
+
nil, nil, 66, nil, nil, 60, 79, 81, nil, nil,
|
137
|
+
88, 328, nil, 68, 71, 74, nil, nil, nil, 84,
|
138
|
+
nil, 66, nil, nil, nil, 79, 81, nil, nil, 88,
|
139
|
+
60, 68, 71, 72, 74, 100, 193, 103, 84, nil,
|
140
|
+
nil, nil, nil, nil, nil, nil, 66, nil, nil, 60,
|
141
|
+
79, 253, 68, 71, 88, nil, 100, nil, 103, 139,
|
142
|
+
nil, nil, nil, 84, 66, nil, nil, nil, 79, 81,
|
143
|
+
nil, nil, 88, nil, 60, nil, nil, 74, 68, 71,
|
144
|
+
nil, 84, 100, nil, 103, 66, nil, nil, nil, 79,
|
145
|
+
81, nil, 60, 88, nil, nil, nil, nil, 74, nil,
|
146
|
+
95, nil, 84, nil, 68, 71, nil, nil, 100, nil,
|
147
|
+
103, 66, nil, 60, nil, 79, 81, nil, nil, 88,
|
148
|
+
nil, nil, nil, nil, 74, 99, 95, nil, 84, 68,
|
149
|
+
71, 90, nil, 100, nil, 103, nil, 66, nil, 60,
|
150
|
+
nil, 79, 81, 68, 71, 88, nil, nil, nil, nil,
|
151
|
+
74, 99, nil, nil, 84, nil, nil, 90, nil, nil,
|
152
|
+
nil, nil, 66, nil, nil, 60, 79, 81, nil, nil,
|
153
|
+
88, nil, nil, nil, nil, 74, 66, nil, nil, 84,
|
154
|
+
79, 81, nil, nil, 88, nil, nil, nil, 72, 74,
|
155
|
+
60, 68, 71, 84, nil, 100, nil, 103, 189, 172,
|
156
|
+
173, 174, 176, 178, 60, 183, 187, nil, 189, 172,
|
157
|
+
173, 174, 175, 95, nil, 183, 187, 68, 71, nil,
|
158
|
+
nil, 100, 175, 103, 66, nil, nil, nil, 79, 81,
|
159
|
+
nil, nil, 88, nil, nil, nil, nil, 74, 99, 95,
|
160
|
+
nil, 84, nil, nil, 90, nil, nil, 68, 71, nil,
|
161
|
+
66, 100, 60, 103, 79, 81, nil, nil, 88, nil,
|
162
|
+
nil, nil, nil, 74, 99, nil, nil, 84, nil, 95,
|
163
|
+
90, nil, nil, 68, 71, nil, nil, 100, 60, 103,
|
164
|
+
66, nil, nil, nil, 79, 81, nil, nil, 88, nil,
|
165
|
+
nil, nil, nil, 74, 99, 95, nil, 84, nil, nil,
|
166
|
+
90, nil, nil, nil, nil, nil, 66, nil, 60, nil,
|
167
|
+
79, 81, 188, nil, 88, nil, nil, nil, nil, 74,
|
168
|
+
99, 181, 186, 84, nil, nil, 90, nil, nil, nil,
|
169
|
+
177, 179, 182, 185, 60, nil, 181, 186, nil, nil,
|
170
|
+
nil, nil, nil, nil, nil, 177, 179, 182, 185, nil,
|
171
|
+
nil, nil, nil, nil, 180, 184, nil, nil, 189, 172,
|
172
|
+
173, 174, 176, 178, nil, 183, 187, nil, nil, 180,
|
173
|
+
184, nil, 175, 189, 172, 173, 174, 176, 178, nil,
|
174
|
+
183, 187, 181, 186, nil, nil, nil, 175, nil, nil,
|
175
|
+
283, 177, 179, 182, 185, nil, nil, 181, 186, nil,
|
176
|
+
nil, nil, nil, nil, nil, nil, 177, 179, 182, 185,
|
177
|
+
nil, nil, nil, nil, nil, 180, 184, nil, nil, 189,
|
178
|
+
172, 173, 174, 176, 178, nil, 183, 187, nil, nil,
|
179
|
+
nil, 184, nil, 175, 189, 172, 173, 174, 176, 178,
|
180
|
+
nil, 183, 187, 181, 186, nil, nil, nil, 175, nil,
|
181
|
+
nil, nil, 177, 179, 182, 185, nil, nil, 181, 186,
|
182
|
+
nil, nil, nil, nil, nil, nil, nil, 177, 179, 182,
|
183
|
+
185, nil, nil, nil, nil, nil, 180, 184, nil, nil,
|
184
|
+
189, 172, 173, 174, 176, 178, nil, 183, 187, nil,
|
185
|
+
nil, 180, 184, nil, 175, 189, 172, 173, 174, 176,
|
186
|
+
178, nil, 183, 187, 181, 186, nil, nil, nil, 175,
|
187
|
+
nil, nil, nil, 177, 179, 182, 185, nil, nil, 26,
|
188
|
+
186, 32, 1, nil, 8, 11, nil, 18, 177, 23,
|
189
|
+
nil, 29, nil, 2, nil, nil, 10, 15, nil, 186,
|
190
|
+
nil, 189, 172, 173, 174, 176, 178, 177, 183, 187,
|
191
|
+
nil, nil, nil, nil, 186, 175, 189, 172, 173, 174,
|
192
|
+
176, 178, 177, 183, 187, nil, nil, nil, nil, nil,
|
193
|
+
175, nil, nil, nil, nil, 189, 172, 173, 174, 176,
|
194
|
+
178, nil, 183, 187, 281, nil, nil, nil, nil, 175,
|
195
|
+
189, 172, 173, 174, 176, 178, nil, 183, 187, nil,
|
196
|
+
nil, nil, nil, 377, 175, 26, nil, 32, 1, nil,
|
197
|
+
8, 11, nil, 18, nil, 23, nil, 29, nil, 2,
|
198
|
+
nil, nil, 10, 15, 26, 364, 32, 1, nil, 8,
|
199
|
+
11, nil, 18, nil, 23, nil, 29, nil, 2, nil,
|
200
|
+
nil, 10, 15, nil, 383, nil, 26, nil, 32, 1,
|
201
|
+
nil, 8, 11, nil, 18, nil, 23, nil, 29, nil,
|
202
|
+
2, nil, nil, 10, 15, 26, 306, 32, 1, nil,
|
203
|
+
8, 11, nil, 18, nil, 23, nil, 29, nil, 2,
|
204
|
+
nil, nil, 10, 15, nil, 381, nil, 26, nil, 32,
|
205
|
+
1, nil, 8, 11, nil, 18, nil, 23, nil, 29,
|
206
|
+
nil, 2, nil, nil, 10, 15, 26, 326, 32, 1,
|
207
|
+
nil, 8, 11, nil, 18, nil, 23, nil, 29, nil,
|
208
|
+
2, nil, nil, 10, 15, nil, nil, nil, 26, nil,
|
209
|
+
32, 1, nil, 8, 11, nil, 18, nil, 23, nil,
|
210
|
+
29, nil, 2, nil, nil, 10, 15, 26, nil, 32,
|
211
|
+
1, nil, 8, 11, nil, 18, nil, 23, nil, 29,
|
212
|
+
nil, 2, nil, nil, 10, 15, 26, nil, 32, 1,
|
213
|
+
nil, 8, 11, nil, 18, nil, 23, nil, 29, nil,
|
214
|
+
2, nil, nil, 10, 15, 189, 172, 173, 174, 176,
|
215
|
+
178, nil, 183, 187, nil, nil, nil, nil, nil, 175 ]
|
228
216
|
|
229
217
|
racc_action_check = [
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
nil, nil,
|
282
|
-
nil, nil,
|
283
|
-
|
284
|
-
nil, nil,
|
285
|
-
nil, nil,
|
286
|
-
|
287
|
-
|
288
|
-
nil,
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
nil,
|
295
|
-
|
296
|
-
|
297
|
-
nil,
|
298
|
-
|
299
|
-
nil,
|
300
|
-
|
301
|
-
nil,
|
302
|
-
nil, nil,
|
303
|
-
|
304
|
-
|
305
|
-
|
306
|
-
|
307
|
-
nil,
|
308
|
-
|
309
|
-
|
310
|
-
nil, nil,
|
311
|
-
|
312
|
-
nil,
|
313
|
-
|
314
|
-
|
315
|
-
nil, nil, nil,
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
nil,
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
nil, nil,
|
330
|
-
|
331
|
-
nil,
|
332
|
-
|
333
|
-
nil, nil,
|
334
|
-
|
335
|
-
|
336
|
-
nil,
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
nil,
|
344
|
-
|
345
|
-
nil, nil,
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
nil, nil, nil, nil,
|
354
|
-
|
355
|
-
nil, nil, nil,
|
356
|
-
nil, nil,
|
357
|
-
nil, nil,
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
nil, nil,
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
nil, nil, nil, nil,
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
nil, nil,
|
375
|
-
nil, nil, nil, nil,
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
nil,
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
nil,
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
nil,
|
394
|
-
nil,
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
nil, 304, nil, 304, nil, 304, nil, 304, nil, nil,
|
410
|
-
304, 304, nil, 320, nil, 324, nil, 324, 324, nil,
|
411
|
-
324, 324, nil, 324, nil, 324, nil, 324, nil, 324,
|
412
|
-
nil, nil, 324, 324, 320, nil, 320, 320, nil, 320,
|
413
|
-
320, nil, 320, nil, 320, nil, 320, nil, 320, nil,
|
414
|
-
nil, 320, 320, 19, nil, 19, 19, nil, 19, 19,
|
415
|
-
nil, 19, nil, 19, nil, 19, nil, 19, nil, nil,
|
416
|
-
19, 19, 0, nil, 0, 0, nil, 0, 0, nil,
|
417
|
-
0, nil, 0, nil, 0, nil, 0, nil, nil, 0,
|
418
|
-
0 ]
|
218
|
+
164, 164, 18, 103, 103, 214, 56, 157, 81, 32,
|
219
|
+
103, 286, 286, 164, 164, 136, 11, 27, 286, 27,
|
220
|
+
11, 158, 164, 164, 164, 164, 81, 11, 300, 300,
|
221
|
+
154, 56, 27, 214, 214, 300, 332, 332, 189, 189,
|
222
|
+
18, 103, 189, 18, 189, 157, 164, 164, 157, 286,
|
223
|
+
164, 164, 164, 164, 164, 164, 27, 164, 164, 158,
|
224
|
+
189, 300, 158, 18, 164, 300, 300, 200, 157, 300,
|
225
|
+
294, 189, 154, 212, 300, 189, 189, 213, 300, 189,
|
226
|
+
369, 369, 158, 134, 189, 189, 186, 186, 189, 300,
|
227
|
+
186, 189, 186, 203, 291, 294, 294, 133, 206, 189,
|
228
|
+
111, 216, 144, 127, 203, 291, 206, 163, 186, 203,
|
229
|
+
291, 111, 262, 369, 273, 144, 111, 369, 369, 186,
|
230
|
+
163, 369, 273, 186, 186, 262, 369, 186, 357, 357,
|
231
|
+
369, 221, 186, 186, 185, 185, 186, 302, 185, 186,
|
232
|
+
185, 369, 264, 264, 221, 302, 218, 186, 219, 264,
|
233
|
+
273, 273, 273, 273, 273, 273, 185, 273, 273, 1,
|
234
|
+
220, 357, 197, 1, 273, 357, 357, 185, 122, 357,
|
235
|
+
1, 185, 185, 122, 357, 185, 281, 224, 357, 281,
|
236
|
+
185, 185, 176, 176, 185, 310, 176, 185, 176, 357,
|
237
|
+
310, 282, 282, 121, 192, 185, 282, 282, 192, 192,
|
238
|
+
114, 175, 175, 282, 176, 175, 46, 175, 336, 336,
|
239
|
+
46, 114, 336, 227, 336, 176, 114, 46, 46, 176,
|
240
|
+
176, 263, 263, 176, 265, 265, 263, 263, 176, 176,
|
241
|
+
336, 265, 176, 263, 175, 176, 119, 335, 175, 175,
|
242
|
+
335, 336, 175, 176, 229, 336, 336, 175, 230, 336,
|
243
|
+
116, 175, 215, 215, 336, 336, 232, 8, 336, 330,
|
244
|
+
330, 336, 175, 330, 115, 330, 8, 8, 194, 336,
|
245
|
+
234, 194, 267, 267, 267, 267, 235, 184, 184, 267,
|
246
|
+
267, 184, 113, 184, 225, 215, 267, 239, 225, 215,
|
247
|
+
215, 225, 330, 215, 110, 225, 330, 330, 215, 184,
|
248
|
+
330, 108, 215, 23, 23, 330, 250, 23, 253, 330,
|
249
|
+
184, 107, 169, 215, 184, 184, 169, 169, 184, 106,
|
250
|
+
330, 105, 102, 184, 184, 23, 140, 184, 26, 26,
|
251
|
+
184, 42, 26, 141, 26, 42, 23, 101, 184, 96,
|
252
|
+
23, 23, 42, 42, 23, 94, 89, 211, 23, 23,
|
253
|
+
26, 211, 211, 23, 228, 228, 33, 87, 228, 85,
|
254
|
+
33, 26, 83, 82, 23, 26, 26, 33, 33, 26,
|
255
|
+
31, 31, 31, 31, 26, 26, 29, 29, 26, 201,
|
256
|
+
29, 26, 29, 201, 201, 80, 77, 228, 75, 26,
|
257
|
+
280, 228, 228, 142, 74, 228, 284, 308, 308, 69,
|
258
|
+
228, 308, 66, 308, 228, 6, 6, 6, 6, 29,
|
259
|
+
289, 65, 64, 29, 29, 228, 53, 29, 52, 307,
|
260
|
+
307, 298, 29, 307, 50, 307, 29, 37, 305, 138,
|
261
|
+
308, 187, 143, 17, 308, 308, 321, 29, 308, 325,
|
262
|
+
174, 174, 13, 308, 174, 146, 174, 308, 3, 3,
|
263
|
+
3, 3, 307, 147, 12, 338, 307, 307, 308, 343,
|
264
|
+
307, 347, 174, 348, 350, 307, 179, 179, 351, 307,
|
265
|
+
179, 352, 179, 174, 183, 358, 5, 174, 174, 368,
|
266
|
+
307, 174, 4, 4, 4, 4, 174, 174, 179, 155,
|
267
|
+
174, 370, 159, 174, 2, 380, 173, 173, 382, 179,
|
268
|
+
173, 174, 173, 179, 179, nil, nil, 179, nil, nil,
|
269
|
+
nil, nil, 179, 179, nil, nil, 179, nil, 173, 179,
|
270
|
+
nil, nil, 45, 45, nil, nil, 45, 179, 45, 173,
|
271
|
+
nil, nil, nil, 173, 173, nil, nil, 173, nil, nil,
|
272
|
+
nil, nil, 173, 173, 45, nil, 173, nil, nil, 173,
|
273
|
+
nil, nil, 172, 172, nil, 45, 172, 173, 172, 45,
|
274
|
+
45, nil, nil, 45, nil, nil, nil, nil, 45, 45,
|
275
|
+
nil, nil, 45, nil, 172, 45, nil, nil, 47, 47,
|
276
|
+
nil, nil, 47, 45, 47, 172, nil, nil, nil, 172,
|
277
|
+
172, nil, nil, 172, nil, nil, nil, nil, 172, 172,
|
278
|
+
47, nil, 172, nil, nil, 172, nil, nil, 48, 48,
|
279
|
+
nil, 47, 48, 172, 48, 47, 47, nil, nil, 47,
|
280
|
+
nil, nil, nil, nil, 47, 47, nil, nil, 47, nil,
|
281
|
+
48, 47, nil, nil, 49, 49, nil, nil, 49, 47,
|
282
|
+
49, 48, nil, nil, nil, 48, 48, nil, nil, 48,
|
283
|
+
296, 296, nil, nil, 48, 48, 177, 177, 48, nil,
|
284
|
+
177, 48, 177, nil, nil, nil, nil, 49, nil, 48,
|
285
|
+
nil, 49, 49, nil, nil, 49, nil, nil, 177, nil,
|
286
|
+
49, 51, 51, 296, 49, 51, nil, 296, 296, 177,
|
287
|
+
nil, 296, nil, 177, 177, 49, 296, 177, nil, nil,
|
288
|
+
296, nil, 177, 177, nil, nil, 177, 295, 295, 177,
|
289
|
+
nil, 296, nil, nil, 51, nil, nil, 177, 51, 51,
|
290
|
+
nil, nil, 51, nil, nil, nil, nil, 51, 231, 231,
|
291
|
+
nil, 51, 231, nil, 231, nil, nil, nil, nil, nil,
|
292
|
+
295, nil, 51, nil, 295, 295, 233, 233, 295, nil,
|
293
|
+
233, nil, 233, 295, nil, nil, nil, 295, nil, nil,
|
294
|
+
nil, 231, nil, nil, nil, 231, 231, nil, 295, 231,
|
295
|
+
nil, 170, 170, nil, 231, nil, nil, nil, 231, 233,
|
296
|
+
nil, nil, nil, 233, 233, nil, nil, 233, nil, 231,
|
297
|
+
nil, nil, 233, nil, 170, nil, 233, 288, 288, nil,
|
298
|
+
nil, 288, nil, 288, 170, nil, nil, 233, 170, 170,
|
299
|
+
nil, nil, 170, nil, nil, nil, 170, 170, 182, 182,
|
300
|
+
nil, 170, 182, nil, 182, nil, nil, nil, nil, nil,
|
301
|
+
288, nil, 170, nil, 288, 288, nil, nil, 288, nil,
|
302
|
+
182, nil, nil, 288, 70, 70, nil, 288, nil, nil,
|
303
|
+
nil, 182, nil, nil, nil, 182, 182, nil, 288, 182,
|
304
|
+
nil, nil, nil, nil, 182, 182, nil, 70, 182, 71,
|
305
|
+
71, 182, nil, 71, nil, 71, nil, 70, nil, 182,
|
306
|
+
nil, 70, 70, nil, nil, 70, nil, nil, nil, 70,
|
307
|
+
70, 71, nil, nil, 70, 180, 180, nil, nil, 180,
|
308
|
+
nil, 180, 71, nil, nil, 70, 71, 71, nil, nil,
|
309
|
+
71, nil, nil, nil, nil, 71, 71, 180, nil, 71,
|
310
|
+
112, 112, 71, nil, 112, nil, 112, nil, 180, nil,
|
311
|
+
71, nil, 180, 180, 167, 167, 180, nil, nil, nil,
|
312
|
+
167, 180, 180, nil, nil, 180, nil, nil, 180, nil,
|
313
|
+
nil, nil, nil, 112, nil, nil, 180, 112, 112, 78,
|
314
|
+
78, 112, nil, 78, nil, 78, 112, 167, nil, nil,
|
315
|
+
112, 167, 167, nil, nil, 167, nil, nil, 240, 240,
|
316
|
+
167, 112, nil, nil, 167, nil, nil, nil, nil, nil,
|
317
|
+
nil, nil, 78, nil, nil, 167, 78, 78, nil, nil,
|
318
|
+
78, 240, nil, 255, 255, 78, nil, nil, nil, 78,
|
319
|
+
nil, 240, nil, nil, nil, 240, 240, nil, nil, 240,
|
320
|
+
78, 100, 100, 240, 240, 100, 100, 100, 240, nil,
|
321
|
+
nil, nil, nil, nil, nil, nil, 255, nil, nil, 240,
|
322
|
+
255, 255, 260, 260, 255, nil, 260, nil, 260, 255,
|
323
|
+
nil, nil, nil, 255, 100, nil, nil, nil, 100, 100,
|
324
|
+
nil, nil, 100, nil, 255, nil, nil, 100, 181, 181,
|
325
|
+
nil, 100, 181, nil, 181, 260, nil, nil, nil, 260,
|
326
|
+
260, nil, 100, 260, nil, nil, nil, nil, 260, nil,
|
327
|
+
181, nil, 260, nil, 90, 90, nil, nil, 90, nil,
|
328
|
+
90, 181, nil, 260, nil, 181, 181, nil, nil, 181,
|
329
|
+
nil, nil, nil, nil, 181, 181, 90, nil, 181, 161,
|
330
|
+
161, 181, nil, 161, nil, 161, nil, 90, nil, 181,
|
331
|
+
nil, 90, 90, 166, 166, 90, nil, nil, nil, nil,
|
332
|
+
90, 90, nil, nil, 90, nil, nil, 90, nil, nil,
|
333
|
+
nil, nil, 161, nil, nil, 90, 161, 161, nil, nil,
|
334
|
+
161, nil, nil, nil, nil, 161, 166, nil, nil, 161,
|
335
|
+
166, 166, nil, nil, 166, nil, nil, nil, 166, 166,
|
336
|
+
161, 95, 95, 166, nil, 95, nil, 95, 277, 277,
|
337
|
+
277, 277, 277, 277, 166, 277, 277, nil, 269, 269,
|
338
|
+
269, 269, 277, 95, nil, 269, 269, 178, 178, nil,
|
339
|
+
nil, 178, 269, 178, 95, nil, nil, nil, 95, 95,
|
340
|
+
nil, nil, 95, nil, nil, nil, nil, 95, 95, 178,
|
341
|
+
nil, 95, nil, nil, 95, nil, nil, 99, 99, nil,
|
342
|
+
178, 99, 95, 99, 178, 178, nil, nil, 178, nil,
|
343
|
+
nil, nil, nil, 178, 178, nil, nil, 178, nil, 99,
|
344
|
+
178, nil, nil, 242, 242, nil, nil, 242, 178, 242,
|
345
|
+
99, nil, nil, nil, 99, 99, nil, nil, 99, nil,
|
346
|
+
nil, nil, nil, 99, 99, 242, nil, 99, nil, nil,
|
347
|
+
99, nil, nil, nil, nil, nil, 242, nil, 99, nil,
|
348
|
+
242, 242, 91, nil, 242, nil, nil, nil, nil, 242,
|
349
|
+
242, 91, 91, 242, nil, nil, 242, nil, nil, nil,
|
350
|
+
91, 91, 91, 91, 242, nil, 129, 129, nil, nil,
|
351
|
+
nil, nil, nil, nil, nil, 129, 129, 129, 129, nil,
|
352
|
+
nil, nil, nil, nil, 91, 91, nil, nil, 91, 91,
|
353
|
+
91, 91, 91, 91, nil, 91, 91, nil, nil, 129,
|
354
|
+
129, nil, 91, 129, 129, 129, 129, 129, 129, nil,
|
355
|
+
129, 129, 190, 190, nil, nil, nil, 129, nil, nil,
|
356
|
+
190, 190, 190, 190, 190, nil, nil, 271, 271, nil,
|
357
|
+
nil, nil, nil, nil, nil, nil, 271, 271, 271, 271,
|
358
|
+
nil, nil, nil, nil, nil, 190, 190, nil, nil, 190,
|
359
|
+
190, 190, 190, 190, 190, nil, 190, 190, nil, nil,
|
360
|
+
nil, 271, nil, 190, 271, 271, 271, 271, 271, 271,
|
361
|
+
nil, 271, 271, 131, 131, nil, nil, nil, 271, nil,
|
362
|
+
nil, nil, 131, 131, 131, 131, nil, nil, 132, 132,
|
363
|
+
nil, nil, nil, nil, nil, nil, nil, 132, 132, 132,
|
364
|
+
132, nil, nil, nil, nil, nil, 131, 131, nil, nil,
|
365
|
+
131, 131, 131, 131, 131, 131, nil, 131, 131, nil,
|
366
|
+
nil, 132, 132, nil, 131, 132, 132, 132, 132, 132,
|
367
|
+
132, nil, 132, 132, 275, 275, nil, nil, nil, 132,
|
368
|
+
nil, nil, nil, 275, 275, 275, 275, nil, nil, 279,
|
369
|
+
276, 279, 279, nil, 279, 279, nil, 279, 276, 279,
|
370
|
+
nil, 279, nil, 279, nil, nil, 279, 279, nil, 270,
|
371
|
+
nil, 275, 275, 275, 275, 275, 275, 270, 275, 275,
|
372
|
+
nil, nil, nil, nil, 272, 275, 276, 276, 276, 276,
|
373
|
+
276, 276, 272, 276, 276, nil, nil, nil, nil, nil,
|
374
|
+
276, nil, nil, nil, nil, 270, 270, 270, 270, 270,
|
375
|
+
270, nil, 270, 270, 188, nil, nil, nil, nil, 270,
|
376
|
+
272, 272, 272, 272, 272, 272, nil, 272, 272, nil,
|
377
|
+
nil, nil, nil, 363, 272, 188, nil, 188, 188, nil,
|
378
|
+
188, 188, nil, 188, nil, 188, nil, 188, nil, 188,
|
379
|
+
nil, nil, 188, 188, 363, 312, 363, 363, nil, 363,
|
380
|
+
363, nil, 363, nil, 363, nil, 363, nil, 363, nil,
|
381
|
+
nil, 363, 363, nil, 376, nil, 312, nil, 312, 312,
|
382
|
+
nil, 312, 312, nil, 312, nil, 312, nil, 312, nil,
|
383
|
+
312, nil, nil, 312, 312, 376, 217, 376, 376, nil,
|
384
|
+
376, 376, nil, 376, nil, 376, nil, 376, nil, 376,
|
385
|
+
nil, nil, 376, 376, nil, 373, nil, 217, nil, 217,
|
386
|
+
217, nil, 217, 217, nil, 217, nil, 217, nil, 217,
|
387
|
+
nil, 217, nil, nil, 217, 217, 373, 238, 373, 373,
|
388
|
+
nil, 373, 373, nil, 373, nil, 373, nil, 373, nil,
|
389
|
+
373, nil, nil, 373, 373, nil, nil, nil, 238, nil,
|
390
|
+
238, 238, nil, 238, 238, nil, 238, nil, 238, nil,
|
391
|
+
238, nil, 238, nil, nil, 238, 238, 20, nil, 20,
|
392
|
+
20, nil, 20, 20, nil, 20, nil, 20, nil, 20,
|
393
|
+
nil, 20, nil, nil, 20, 20, 0, nil, 0, 0,
|
394
|
+
nil, 0, 0, nil, 0, nil, 0, nil, 0, nil,
|
395
|
+
0, nil, nil, 0, 0, 268, 268, 268, 268, 268,
|
396
|
+
268, nil, 268, 268, nil, nil, nil, nil, nil, 268 ]
|
419
397
|
|
420
398
|
racc_action_pointer = [
|
421
|
-
|
422
|
-
nil,
|
423
|
-
nil, nil,
|
424
|
-
|
425
|
-
nil, nil,
|
426
|
-
|
427
|
-
nil, nil,
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
nil, nil,
|
437
|
-
|
438
|
-
nil,
|
439
|
-
|
440
|
-
nil, nil,
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
nil,
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
nil, nil,
|
456
|
-
|
457
|
-
nil, nil, nil,
|
458
|
-
|
459
|
-
nil,
|
399
|
+
1726, 123, 450, 384, 418, 461, 341, nil, 251, nil,
|
400
|
+
nil, -20, 446, 434, nil, nil, nil, 433, 0, nil,
|
401
|
+
1707, nil, nil, 301, nil, nil, 326, 11, nil, 374,
|
402
|
+
nil, 306, 7, 320, nil, nil, nil, 403, nil, nil,
|
403
|
+
nil, nil, 295, nil, nil, 520, 170, 576, 606, 632,
|
404
|
+
400, 679, 378, 416, nil, nil, -6, nil, nil, nil,
|
405
|
+
nil, nil, nil, nil, 389, 388, 396, nil, nil, 393,
|
406
|
+
842, 867, nil, nil, 388, 376, nil, 363, 957, nil,
|
407
|
+
362, 2, 340, 356, nil, 336, nil, 334, nil, 323,
|
408
|
+
1092, 1294, nil, nil, 322, 1179, 333, nil, nil, 1235,
|
409
|
+
1019, 314, 299, 1, nil, 298, 296, 288, 278, nil,
|
410
|
+
286, 76, 918, 242, 176, 256, 238, nil, nil, 228,
|
411
|
+
nil, 185, 133, nil, nil, nil, nil, 97, nil, 1309,
|
412
|
+
nil, 1416, 1431, 90, 46, nil, -8, nil, 423, nil,
|
413
|
+
285, 310, 381, 409, 91, nil, 422, 433, nil, nil,
|
414
|
+
nil, nil, nil, nil, 19, 477, nil, 5, 19, 484,
|
415
|
+
nil, 1117, nil, 95, -4, nil, 1131, 932, nil, 305,
|
416
|
+
769, nil, 550, 494, 438, 199, 180, 654, 1205, 464,
|
417
|
+
893, 1066, 816, 411, 275, 132, 84, 368, 1565, 36,
|
418
|
+
1355, nil, 187, nil, 259, nil, nil, 151, nil, nil,
|
419
|
+
27, 333, nil, 69, nil, nil, 80, nil, nil, nil,
|
420
|
+
nil, 340, 61, 66, -17, 250, 99, 1647, 131, 133,
|
421
|
+
135, 119, nil, nil, 169, 248, nil, 204, 352, 204,
|
422
|
+
239, 726, 216, 744, 230, 267, nil, nil, 1688, 280,
|
423
|
+
976, nil, 1261, nil, nil, nil, nil, nil, nil, nil,
|
424
|
+
295, nil, nil, 284, nil, 1001, nil, nil, nil, nil,
|
425
|
+
1040, nil, 100, 165, 81, 163, nil, 218, 1721, 1144,
|
426
|
+
1511, 1370, 1526, 96, nil, 1477, 1492, 1134, nil, 1479,
|
427
|
+
381, 145, 135, nil, 389, nil, 9, nil, 795, 398,
|
428
|
+
nil, 70, nil, nil, 45, 705, 648, nil, 412, nil,
|
429
|
+
26, nil, 125, nil, nil, 419, nil, 417, 395, nil,
|
430
|
+
150, nil, 1606, nil, nil, nil, nil, nil, nil, nil,
|
431
|
+
nil, 424, nil, nil, nil, 430, nil, nil, nil, nil,
|
432
|
+
257, nil, 25, nil, nil, 206, 206, nil, 447, nil,
|
433
|
+
nil, nil, nil, 450, nil, nil, nil, 438, 440, nil,
|
434
|
+
441, 445, 448, nil, nil, nil, nil, 126, 467, nil,
|
435
|
+
nil, nil, nil, 1584, nil, nil, nil, nil, 470, 78,
|
436
|
+
482, nil, nil, 1666, nil, nil, 1625, nil, nil, nil,
|
437
|
+
486, nil, 489, nil, nil, nil ]
|
460
438
|
|
461
439
|
racc_action_default = [
|
462
|
-
-
|
463
|
-
|
464
|
-
-14, -2, -
|
465
|
-
|
466
|
-
-
|
467
|
-
|
468
|
-
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
-
|
473
|
-
|
474
|
-
|
475
|
-
-
|
476
|
-
-
|
477
|
-
-91, -
|
478
|
-
-
|
479
|
-
|
480
|
-
-
|
481
|
-
-
|
482
|
-
|
483
|
-
|
484
|
-
-
|
485
|
-
-
|
486
|
-
|
487
|
-
-
|
488
|
-
|
489
|
-
-
|
490
|
-
-
|
491
|
-
|
492
|
-
-
|
493
|
-
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
-
|
498
|
-
-
|
499
|
-
-
|
500
|
-
-
|
440
|
+
-198, -235, -51, -19, -8, -235, -235, -9, -235, -10,
|
441
|
+
-189, -190, -235, -23, -11, -187, -12, -235, -235, -13,
|
442
|
+
-1, -14, -2, -188, -15, -3, -235, -235, -16, -235,
|
443
|
+
-17, -6, -235, -235, -18, -7, -190, -198, -188, -52,
|
444
|
+
-27, -28, -235, -25, -26, -235, -235, -235, -235, -235,
|
445
|
+
-198, -86, -93, -235, -197, -195, -198, -191, -193, -194,
|
446
|
+
-223, -196, -4, -42, -233, -43, -215, -176, -118, -44,
|
447
|
+
-235, -235, -45, -34, -75, -32, -33, -235, -235, -123,
|
448
|
+
-37, -74, -38, -235, -73, -39, -173, -40, -175, -41,
|
449
|
+
-235, -235, -126, -108, -104, -235, -112, -133, -113, -235,
|
450
|
+
-235, -105, -109, -235, -111, -106, -115, -107, -114, -110,
|
451
|
+
-54, -198, -235, -86, -198, -235, -180, -177, -178, -235,
|
452
|
+
-50, -235, -199, -200, -24, -21, -23, -188, -22, -84,
|
453
|
+
-20, -83, -85, -235, -198, -79, -76, -87, -82, -75,
|
454
|
+
-71, -77, -221, -80, -74, -69, -78, -235, -172, -171,
|
455
|
+
-81, -91, -92, -94, -235, -221, 386, -235, -235, -235,
|
456
|
+
-209, -235, -31, -235, -235, -119, -235, -235, -96, -235,
|
457
|
+
-235, -143, -235, -235, -235, -235, -235, -235, -235, -235,
|
458
|
+
-235, -235, -235, -235, -235, -235, -235, -235, -235, -235,
|
459
|
+
-235, -150, -235, -218, -235, -231, -227, -235, -230, -226,
|
460
|
+
-93, -235, -215, -198, -58, -60, -235, -67, -57, -74,
|
461
|
+
-66, -235, -221, -235, -235, -235, -235, -235, -208, -206,
|
462
|
+
-235, -235, -203, -232, -235, -235, -211, -235, -72, -222,
|
463
|
+
-235, -235, -86, -235, -222, -235, -192, -210, -235, -235,
|
464
|
+
-235, -29, -235, -121, -120, -36, -35, -174, -169, -167,
|
465
|
+
-235, -170, -161, -74, -168, -235, -162, -219, -220, -124,
|
466
|
+
-235, -117, -235, -138, -140, -139, -134, -141, -145, -142,
|
467
|
+
-147, -152, -149, -146, -135, -151, -148, -144, -136, -5,
|
468
|
+
-235, -129, -137, -153, -220, -216, -235, -224, -235, -221,
|
469
|
+
-55, -235, -63, -62, -235, -235, -235, -125, -235, -56,
|
470
|
+
-235, -155, -235, -159, -179, -235, -182, -235, -235, -201,
|
471
|
+
-235, -202, -235, -213, -214, -212, -46, -70, -88, -47,
|
472
|
+
-89, -221, -90, -95, -49, -235, -186, -234, -30, -122,
|
473
|
+
-235, -164, -221, -97, -116, -129, -235, -128, -235, -217,
|
474
|
+
-228, -225, -229, -235, -59, -61, -102, -98, -99, -64,
|
475
|
+
-103, -100, -101, -65, -48, -156, -154, -235, -235, -181,
|
476
|
+
-207, -205, -204, -235, -184, -68, -185, -166, -220, -235,
|
477
|
+
-235, -127, -130, -235, -53, -160, -235, -183, -165, -163,
|
478
|
+
-235, -132, -235, -158, -131, -157 ]
|
501
479
|
|
502
480
|
racc_goto_table = [
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
481
|
+
27, 13, 20, 222, 89, 92, 115, 37, 62, 5,
|
482
|
+
65, 196, 256, 145, 230, 150, 118, 50, 155, 301,
|
483
|
+
27, 13, 246, 75, 73, 57, 133, 235, 201, 5,
|
484
|
+
250, 214, 149, 119, 337, 165, 121, 344, 136, 69,
|
485
|
+
169, 120, 27, 126, 142, 22, 27, 126, 300, 134,
|
486
|
+
128, 89, 63, 151, 128, 168, 125, 65, 280, 124,
|
487
|
+
130, 42, 192, 124, 46, 349, 353, 138, 244, 87,
|
488
|
+
163, 73, 252, 369, 211, 332, 323, 168, 303, 116,
|
489
|
+
135, 140, 123, 224, 298, 56, 69, 305, 371, 168,
|
490
|
+
195, 159, 227, 237, 220, 123, 246, 148, 221, 63,
|
491
|
+
331, 160, 110, 315, 355, 194, 212, 17, 325, nil,
|
492
|
+
nil, 86, nil, nil, nil, nil, 87, nil, 250, nil,
|
493
|
+
294, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
494
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 239, 86,
|
495
|
+
nil, nil, nil, nil, nil, nil, nil, 89, 149, nil,
|
496
|
+
nil, 89, 266, 65, 248, nil, nil, 65, 86, nil,
|
497
|
+
nil, 343, nil, 303, 236, nil, 289, 245, nil, nil,
|
498
|
+
262, 73, nil, nil, nil, 82, 247, nil, nil, 226,
|
499
|
+
nil, nil, 69, nil, nil, nil, 69, nil, 27, 13,
|
500
|
+
317, 362, 150, 365, 340, 63, 149, 5, nil, 63,
|
501
|
+
304, 151, 248, 143, 370, 85, 329, nil, 320, 149,
|
502
|
+
322, nil, 87, 148, 378, 136, 87, 27, 13, nil,
|
503
|
+
375, 89, 82, nil, 247, 321, 5, 65, nil, 54,
|
504
|
+
318, 313, 250, 146, nil, 151, 149, 333, 27, 13,
|
505
|
+
nil, 245, 248, 380, 138, nil, 382, 5, nil, nil,
|
506
|
+
nil, nil, 85, nil, 86, 86, 69, 135, 86, nil,
|
507
|
+
nil, 148, nil, 210, 247, 342, 210, 62, nil, 63,
|
508
|
+
80, nil, nil, 195, 148, nil, 149, 149, nil, 27,
|
509
|
+
13, 149, 347, 347, 360, 361, 87, 248, 5, nil,
|
510
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 141, nil,
|
511
|
+
nil, 148, nil, 86, 247, 247, nil, 367, nil, 247,
|
512
|
+
nil, nil, 27, 13, 363, 372, 86, 80, 82, 251,
|
513
|
+
nil, 5, 82, nil, 346, 346, nil, nil, 86, nil,
|
514
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 149, nil,
|
515
|
+
nil, 352, 352, 86, 248, nil, 148, nil, 85, 254,
|
516
|
+
149, 62, 85, nil, nil, 210, 248, nil, 207, nil,
|
517
|
+
nil, 207, nil, 27, 13, nil, 247, 251, 54, 54,
|
518
|
+
nil, nil, 5, 27, 13, nil, 27, 13, 247, nil,
|
519
|
+
143, nil, 5, 86, 86, 5, nil, nil, 86, nil,
|
520
|
+
nil, nil, 82, nil, 274, nil, nil, 254, 278, nil,
|
521
|
+
nil, nil, nil, 148, nil, nil, nil, 251, nil, nil,
|
522
|
+
146, nil, nil, 80, 249, 148, nil, 80, nil, nil,
|
523
|
+
nil, nil, 85, nil, nil, nil, nil, nil, nil, 129,
|
524
|
+
nil, 131, 132, nil, nil, nil, nil, 254, nil, nil,
|
525
|
+
nil, nil, nil, 210, nil, 86, nil, 350, 350, nil,
|
526
|
+
207, nil, 251, nil, nil, 164, nil, 86, nil, nil,
|
527
|
+
nil, nil, 249, nil, nil, nil, nil, nil, nil, nil,
|
528
|
+
nil, nil, nil, nil, 171, 141, nil, 351, 351, 190,
|
529
|
+
nil, nil, 254, 191, nil, nil, nil, 80, nil, nil,
|
513
530
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
514
|
-
nil, nil,
|
515
|
-
22, 126, 302, 260, nil, nil, nil, nil, nil, nil,
|
531
|
+
nil, nil, 249, nil, nil, nil, nil, nil, nil, 251,
|
516
532
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
517
|
-
|
518
|
-
nil, nil, nil, nil,
|
519
|
-
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
nil, 316, 295, 147, 133, 313, nil, nil, 362, nil,
|
524
|
-
149, nil, 22, 9, 135, nil, 146, 22, 9, nil,
|
525
|
-
142, nil, nil, 328, 328, 296, 2, 146, 261, nil,
|
526
|
-
304, 2, nil, 68, nil, nil, 370, 22, 9, nil,
|
527
|
-
321, nil, nil, 70, nil, 87, 146, 146, nil, 262,
|
528
|
-
324, 2, nil, nil, nil, 259, 91, 190, 261, 261,
|
529
|
-
nil, 81, nil, nil, nil, nil, nil, nil, nil, nil,
|
530
|
-
nil, nil, 146, 88, 88, nil, 88, nil, 262, nil,
|
531
|
-
nil, nil, nil, 61, 261, nil, nil, 138, 84, nil,
|
532
|
-
nil, 61, nil, nil, nil, nil, 22, 9, nil, nil,
|
533
|
-
166, 146, nil, 166, 22, 9, 88, nil, nil, nil,
|
534
|
-
2, 61, 81, 261, 140, nil, nil, 88, 2, nil,
|
535
|
-
22, 9, nil, nil, 22, 9, nil, 167, nil, 372,
|
536
|
-
167, nil, nil, 363, 2, 262, 88, 88, 2, 84,
|
537
|
-
nil, 90, nil, nil, nil, nil, 88, nil, 262, nil,
|
538
|
-
61, nil, 87, 267, nil, 87, nil, nil, 146, nil,
|
539
|
-
nil, nil, 88, 22, 9, nil, 61, 145, 61, nil,
|
540
|
-
261, 146, nil, 22, 9, 22, 9, 2, 114, 22,
|
541
|
-
9, 22, 9, 261, 93, 267, 379, 2, 381, 2,
|
542
|
-
nil, 88, 90, 2, nil, 2, 142, 132, nil, nil,
|
543
|
-
nil, 166, nil, nil, nil, nil, nil, nil, nil, nil,
|
544
|
-
148, nil, 170, nil, nil, 332, 332, nil, nil, 81,
|
545
|
-
263, nil, 81, nil, nil, 87, nil, nil, 167, nil,
|
546
|
-
nil, 170, nil, nil, nil, 93, nil, nil, nil, nil,
|
547
|
-
nil, 267, nil, nil, nil, nil, 84, 265, 88, 84,
|
548
|
-
nil, 170, 263, nil, nil, nil, nil, nil, nil, nil,
|
549
|
-
nil, 88, nil, 138, nil, nil, nil, nil, nil, nil,
|
550
|
-
267, nil, nil, nil, nil, nil, nil, 166, 124, 265,
|
551
|
-
nil, nil, 329, 329, nil, 130, 131, nil, nil, nil,
|
552
|
-
140, nil, 81, nil, nil, nil, nil, nil, nil, 90,
|
553
|
-
145, nil, 90, nil, 167, nil, nil, nil, 263, 331,
|
554
|
-
331, nil, nil, nil, 180, nil, nil, nil, nil, 84,
|
555
|
-
nil, nil, nil, nil, nil, 253, nil, 267, nil, nil,
|
556
|
-
nil, nil, 145, 185, nil, 265, 186, 263, nil, 187,
|
557
|
-
267, nil, 93, 145, nil, 93, nil, nil, 283, nil,
|
533
|
+
nil, 251, nil, nil, nil, nil, nil, nil, nil, nil,
|
534
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 207, 254,
|
535
|
+
nil, nil, 348, 348, nil, nil, nil, 249, nil, nil,
|
536
|
+
nil, 254, nil, nil, nil, nil, 263, 264, 265, nil,
|
537
|
+
267, 268, 269, 270, 271, 272, 273, nil, 275, 276,
|
538
|
+
277, nil, nil, 282, nil, nil, nil, nil, nil, nil,
|
558
539
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
559
|
-
nil, nil, 333, 333, 265, nil, nil, nil, nil, nil,
|
560
|
-
nil, nil, 90, nil, nil, nil, nil, 315, nil, 317,
|
561
|
-
nil, nil, nil, nil, nil, nil, 148, nil, 145, nil,
|
562
|
-
nil, nil, nil, nil, 263, nil, nil, 336, nil, nil,
|
563
|
-
nil, nil, nil, nil, nil, 334, 334, 263, nil, nil,
|
564
|
-
nil, nil, nil, nil, nil, 93, nil, 145, nil, nil,
|
565
|
-
nil, 265, nil, nil, nil, nil, 347, nil, nil, nil,
|
566
|
-
nil, nil, nil, nil, 265, 280, 281, 282, nil, 284,
|
567
|
-
285, 286, 287, 288, 289, 290, nil, 292, 293, 294,
|
568
|
-
nil, nil, 298, nil, nil, 359, nil, 360, nil, nil,
|
569
540
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
570
|
-
nil, nil, nil, nil,
|
571
|
-
nil, nil, nil, nil, nil, nil,
|
572
|
-
nil,
|
541
|
+
nil, nil, nil, nil, 249, nil, nil, nil, nil, nil,
|
542
|
+
nil, nil, nil, nil, nil, nil, 249, nil, nil, nil,
|
543
|
+
nil, nil, nil, nil, nil, nil, 164 ]
|
573
544
|
|
574
545
|
racc_goto_check = [
|
575
|
-
|
576
|
-
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
546
|
+
38, 22, 2, 83, 29, 63, 55, 33, 4, 53,
|
547
|
+
31, 86, 71, 48, 37, 51, 73, 33, 39, 67,
|
548
|
+
38, 22, 24, 23, 22, 79, 55, 37, 42, 53,
|
549
|
+
69, 42, 29, 38, 64, 61, 75, 43, 31, 32,
|
550
|
+
58, 6, 38, 22, 36, 3, 38, 22, 66, 75,
|
551
|
+
6, 29, 30, 54, 6, 55, 20, 31, 5, 8,
|
552
|
+
20, 21, 58, 8, 21, 47, 47, 32, 62, 28,
|
553
|
+
23, 22, 70, 59, 58, 72, 57, 55, 69, 74,
|
554
|
+
30, 34, 3, 76, 37, 77, 32, 5, 64, 55,
|
555
|
+
31, 78, 35, 80, 81, 3, 24, 28, 82, 30,
|
556
|
+
71, 3, 41, 84, 67, 85, 36, 1, 5, nil,
|
557
|
+
nil, 50, nil, nil, nil, nil, 28, nil, 69, nil,
|
558
|
+
42, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
559
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 55, 50,
|
560
|
+
nil, nil, nil, nil, nil, nil, nil, 29, 29, nil,
|
561
|
+
nil, 29, 55, 31, 31, nil, nil, 31, 50, nil,
|
562
|
+
nil, 37, nil, 69, 79, nil, 39, 22, nil, nil,
|
563
|
+
23, 22, nil, nil, nil, 26, 53, nil, nil, 3,
|
564
|
+
nil, nil, 32, nil, nil, nil, 32, nil, 38, 22,
|
565
|
+
48, 83, 51, 37, 86, 30, 29, 53, nil, 30,
|
566
|
+
73, 54, 31, 26, 37, 27, 61, nil, 55, 29,
|
567
|
+
55, nil, 28, 28, 71, 31, 28, 38, 22, nil,
|
568
|
+
69, 29, 26, nil, 53, 36, 53, 31, nil, 65,
|
569
|
+
54, 33, 69, 27, nil, 54, 29, 55, 38, 22,
|
570
|
+
nil, 22, 31, 5, 32, nil, 5, 53, nil, nil,
|
571
|
+
nil, nil, 27, nil, 50, 50, 32, 30, 50, nil,
|
572
|
+
nil, 28, nil, 26, 53, 55, 26, 4, nil, 30,
|
573
|
+
25, nil, nil, 31, 28, nil, 29, 29, nil, 38,
|
574
|
+
22, 29, 31, 31, 55, 55, 28, 31, 53, nil,
|
575
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 25, nil,
|
576
|
+
nil, 28, nil, 50, 53, 53, nil, 55, nil, 53,
|
577
|
+
nil, nil, 38, 22, 2, 63, 50, 25, 26, 26,
|
578
|
+
nil, 53, 26, nil, 30, 30, nil, nil, 50, nil,
|
579
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 29, nil,
|
580
|
+
nil, 28, 28, 50, 31, nil, 28, nil, 27, 27,
|
581
|
+
29, 4, 27, nil, nil, 26, 31, nil, 25, nil,
|
582
|
+
nil, 25, nil, 38, 22, nil, 53, 26, 65, 65,
|
583
|
+
nil, nil, 53, 38, 22, nil, 38, 22, 53, nil,
|
584
|
+
26, nil, 53, 50, 50, 53, nil, nil, 50, nil,
|
585
|
+
nil, nil, 26, nil, 65, nil, nil, 27, 65, nil,
|
586
|
+
nil, nil, nil, 28, nil, nil, nil, 26, nil, nil,
|
587
|
+
27, nil, nil, 25, 25, 28, nil, 25, nil, nil,
|
588
|
+
nil, nil, 27, nil, nil, nil, nil, nil, nil, 52,
|
589
|
+
nil, 52, 52, nil, nil, nil, nil, 27, nil, nil,
|
590
|
+
nil, nil, nil, 26, nil, 50, nil, 26, 26, nil,
|
591
|
+
25, nil, 26, nil, nil, 52, nil, 50, nil, nil,
|
592
|
+
nil, nil, 25, nil, nil, nil, nil, nil, nil, nil,
|
593
|
+
nil, nil, nil, nil, 52, 25, nil, 27, 27, 52,
|
594
|
+
nil, nil, 27, 52, nil, nil, nil, 25, nil, nil,
|
585
595
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
586
|
-
nil, nil,
|
587
|
-
37, 21, 68, 23, nil, nil, nil, nil, nil, nil,
|
596
|
+
nil, nil, 25, nil, nil, nil, nil, nil, nil, 26,
|
588
597
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
589
|
-
|
590
|
-
nil, nil, nil, nil,
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
nil, 35, 64, 50, 30, 53, nil, nil, 36, nil,
|
596
|
-
53, nil, 37, 21, 31, nil, 28, 37, 21, nil,
|
597
|
-
26, nil, nil, 30, 30, 2, 52, 28, 52, nil,
|
598
|
-
2, 52, nil, 30, nil, nil, 36, 37, 21, nil,
|
599
|
-
32, nil, nil, 31, nil, 26, 28, 28, nil, 30,
|
600
|
-
2, 52, nil, nil, nil, 21, 28, 30, 52, 52,
|
601
|
-
nil, 24, nil, nil, nil, nil, nil, nil, nil, nil,
|
602
|
-
nil, nil, 28, 49, 49, nil, 49, nil, 30, nil,
|
603
|
-
nil, nil, nil, 4, 52, nil, nil, 24, 25, nil,
|
604
|
-
nil, 4, nil, nil, nil, nil, 37, 21, nil, nil,
|
605
|
-
24, 28, nil, 24, 37, 21, 49, nil, nil, nil,
|
606
|
-
52, 4, 24, 52, 25, nil, nil, 49, 52, nil,
|
607
|
-
37, 21, nil, nil, 37, 21, nil, 25, nil, 62,
|
608
|
-
25, nil, nil, 2, 52, 30, 49, 49, 52, 25,
|
609
|
-
nil, 27, nil, nil, nil, nil, 49, nil, 30, nil,
|
610
|
-
4, nil, 26, 26, nil, 26, nil, nil, 28, nil,
|
611
|
-
nil, nil, 49, 37, 21, nil, 4, 27, 4, nil,
|
612
|
-
52, 28, nil, 37, 21, 37, 21, 52, 54, 37,
|
613
|
-
21, 37, 21, 52, 29, 26, 2, 52, 2, 52,
|
614
|
-
nil, 49, 27, 52, nil, 52, 26, 54, nil, nil,
|
615
|
-
nil, 24, nil, nil, nil, nil, nil, nil, nil, nil,
|
616
|
-
29, nil, 54, nil, nil, 26, 26, nil, nil, 24,
|
617
|
-
24, nil, 24, nil, nil, 26, nil, nil, 25, nil,
|
618
|
-
nil, 54, nil, nil, nil, 29, nil, nil, nil, nil,
|
619
|
-
nil, 26, nil, nil, nil, nil, 25, 25, 49, 25,
|
620
|
-
nil, 54, 24, nil, nil, nil, nil, nil, nil, nil,
|
621
|
-
nil, 49, nil, 24, nil, nil, nil, nil, nil, nil,
|
622
|
-
26, nil, nil, nil, nil, nil, nil, 24, 51, 25,
|
623
|
-
nil, nil, 24, 24, nil, 51, 51, nil, nil, nil,
|
624
|
-
25, nil, 24, nil, nil, nil, nil, nil, nil, 27,
|
625
|
-
27, nil, 27, nil, 25, nil, nil, nil, 24, 25,
|
626
|
-
25, nil, nil, nil, 51, nil, nil, nil, nil, 25,
|
627
|
-
nil, nil, nil, nil, nil, 54, nil, 26, nil, nil,
|
628
|
-
nil, nil, 27, 51, nil, 25, 51, 24, nil, 51,
|
629
|
-
26, nil, 29, 27, nil, 29, nil, nil, 54, nil,
|
598
|
+
nil, 26, nil, nil, nil, nil, nil, nil, nil, nil,
|
599
|
+
nil, nil, nil, nil, nil, nil, nil, nil, 25, 27,
|
600
|
+
nil, nil, 25, 25, nil, nil, nil, 25, nil, nil,
|
601
|
+
nil, 27, nil, nil, nil, nil, 52, 52, 52, nil,
|
602
|
+
52, 52, 52, 52, 52, 52, 52, nil, 52, 52,
|
603
|
+
52, nil, nil, 52, nil, nil, nil, nil, nil, nil,
|
630
604
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
631
|
-
nil, nil, 27, 27, 25, nil, nil, nil, nil, nil,
|
632
|
-
nil, nil, 27, nil, nil, nil, nil, 54, nil, 54,
|
633
|
-
nil, nil, nil, nil, nil, nil, 29, nil, 27, nil,
|
634
|
-
nil, nil, nil, nil, 24, nil, nil, 54, nil, nil,
|
635
|
-
nil, nil, nil, nil, nil, 29, 29, 24, nil, nil,
|
636
|
-
nil, nil, nil, nil, nil, 29, nil, 27, nil, nil,
|
637
|
-
nil, 25, nil, nil, nil, nil, 54, nil, nil, nil,
|
638
|
-
nil, nil, nil, nil, 25, 51, 51, 51, nil, 51,
|
639
|
-
51, 51, 51, 51, 51, 51, nil, 51, 51, 51,
|
640
|
-
nil, nil, 51, nil, nil, 54, nil, 54, nil, nil,
|
641
605
|
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
642
|
-
nil, nil, nil, nil,
|
643
|
-
nil, nil, nil, nil, nil, nil, nil,
|
644
|
-
nil,
|
606
|
+
nil, nil, nil, nil, 25, nil, nil, nil, nil, nil,
|
607
|
+
nil, nil, nil, nil, nil, nil, 25, nil, nil, nil,
|
608
|
+
nil, nil, nil, nil, nil, nil, 52 ]
|
645
609
|
|
646
610
|
racc_goto_pointer = [
|
647
|
-
nil,
|
648
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
-
|
653
|
-
-
|
654
|
-
-
|
655
|
-
-
|
611
|
+
nil, 107, 2, 45, -12, -130, 8, nil, 17, nil,
|
612
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
613
|
+
14, 58, 1, 0, -144, 247, 152, 182, 46, -19,
|
614
|
+
29, -13, 16, 6, 30, -48, -7, -128, 0, -34,
|
615
|
+
nil, 75, -83, -254, nil, nil, nil, -230, -38, nil,
|
616
|
+
88, -36, 384, 9, 1, -23, nil, -158, -38, -259,
|
617
|
+
nil, -36, -96, -21, -247, 211, -167, -196, nil, -137,
|
618
|
+
-95, -155, -180, -16, 47, -1, -51, 67, 35, 7,
|
619
|
+
-65, -28, -24, -119, -122, 2, -92, nil ]
|
656
620
|
|
657
621
|
racc_goto_default = [
|
658
|
-
nil, nil,
|
659
|
-
|
660
|
-
nil,
|
661
|
-
|
662
|
-
nil, nil,
|
663
|
-
|
664
|
-
nil, nil, nil, nil,
|
665
|
-
nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
666
|
-
nil, nil, nil, nil, nil, nil,
|
622
|
+
nil, nil, 279, 208, 25, nil, 31, 35, 4, 7,
|
623
|
+
9, 14, 16, 19, 21, 24, 28, 30, 34, 3,
|
624
|
+
6, nil, 98, nil, 76, 101, 102, 105, 107, 108,
|
625
|
+
93, 94, 96, 12, nil, nil, nil, nil, 83, nil,
|
626
|
+
33, nil, nil, 204, 291, 205, 206, nil, nil, 147,
|
627
|
+
106, 109, 91, 64, 137, 97, 152, 153, nil, 260,
|
628
|
+
104, nil, nil, nil, nil, 67, nil, nil, 302, 77,
|
629
|
+
nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
|
630
|
+
58, nil, nil, nil, nil, nil, nil, 197 ]
|
667
631
|
|
668
632
|
racc_reduce_table = [
|
669
633
|
0, 0, :racc_error,
|
670
|
-
1, 70, :_reduce_1,
|
671
634
|
1, 70, :_reduce_none,
|
672
|
-
1,
|
635
|
+
1, 70, :_reduce_none,
|
636
|
+
1, 71, :_reduce_3,
|
673
637
|
2, 71, :_reduce_4,
|
638
|
+
1, 74, :_reduce_5,
|
674
639
|
1, 73, :_reduce_none,
|
675
640
|
1, 73, :_reduce_none,
|
676
641
|
1, 73, :_reduce_none,
|
@@ -685,225 +650,225 @@ racc_reduce_table = [
|
|
685
650
|
1, 73, :_reduce_none,
|
686
651
|
1, 73, :_reduce_none,
|
687
652
|
1, 73, :_reduce_none,
|
688
|
-
3,
|
689
|
-
3,
|
690
|
-
1, 88, :_reduce_none,
|
691
|
-
1, 88, :_reduce_none,
|
692
|
-
1, 88, :_reduce_none,
|
653
|
+
3, 88, :_reduce_20,
|
654
|
+
3, 88, :_reduce_21,
|
693
655
|
1, 89, :_reduce_none,
|
694
656
|
1, 89, :_reduce_none,
|
695
657
|
1, 89, :_reduce_none,
|
696
|
-
1,
|
697
|
-
|
698
|
-
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
1, 92, :
|
706
|
-
|
707
|
-
|
708
|
-
1,
|
709
|
-
1,
|
710
|
-
1,
|
711
|
-
1,
|
712
|
-
1,
|
713
|
-
1,
|
714
|
-
|
715
|
-
|
716
|
-
|
717
|
-
5,
|
718
|
-
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
3, 110, :
|
658
|
+
1, 90, :_reduce_none,
|
659
|
+
1, 90, :_reduce_none,
|
660
|
+
1, 90, :_reduce_none,
|
661
|
+
1, 90, :_reduce_none,
|
662
|
+
4, 82, :_reduce_29,
|
663
|
+
5, 82, :_reduce_30,
|
664
|
+
3, 82, :_reduce_31,
|
665
|
+
2, 82, :_reduce_32,
|
666
|
+
1, 92, :_reduce_33,
|
667
|
+
1, 92, :_reduce_34,
|
668
|
+
3, 92, :_reduce_35,
|
669
|
+
3, 92, :_reduce_36,
|
670
|
+
1, 93, :_reduce_none,
|
671
|
+
1, 93, :_reduce_none,
|
672
|
+
1, 93, :_reduce_none,
|
673
|
+
1, 93, :_reduce_none,
|
674
|
+
1, 93, :_reduce_none,
|
675
|
+
1, 93, :_reduce_none,
|
676
|
+
1, 93, :_reduce_none,
|
677
|
+
1, 93, :_reduce_none,
|
678
|
+
1, 93, :_reduce_45,
|
679
|
+
5, 75, :_reduce_46,
|
680
|
+
5, 75, :_reduce_47,
|
681
|
+
5, 75, :_reduce_48,
|
682
|
+
5, 86, :_reduce_49,
|
683
|
+
2, 76, :_reduce_50,
|
684
|
+
1, 109, :_reduce_51,
|
685
|
+
2, 109, :_reduce_52,
|
686
|
+
6, 77, :_reduce_53,
|
687
|
+
2, 77, :_reduce_54,
|
688
|
+
3, 110, :_reduce_55,
|
689
|
+
3, 110, :_reduce_56,
|
728
690
|
1, 111, :_reduce_none,
|
729
|
-
|
730
|
-
|
731
|
-
1, 112, :
|
732
|
-
3,
|
733
|
-
|
734
|
-
1,
|
735
|
-
|
736
|
-
|
737
|
-
1, 102, :_reduce_none,
|
738
|
-
3, 102, :_reduce_69,
|
739
|
-
0, 103, :_reduce_none,
|
740
|
-
1, 103, :_reduce_none,
|
741
|
-
1, 118, :_reduce_72,
|
742
|
-
1, 93, :_reduce_73,
|
743
|
-
1, 95, :_reduce_74,
|
744
|
-
1, 117, :_reduce_none,
|
745
|
-
1, 117, :_reduce_none,
|
746
|
-
1, 117, :_reduce_none,
|
747
|
-
1, 117, :_reduce_none,
|
748
|
-
1, 117, :_reduce_none,
|
749
|
-
1, 117, :_reduce_none,
|
750
|
-
1, 117, :_reduce_none,
|
751
|
-
3, 77, :_reduce_82,
|
752
|
-
3, 77, :_reduce_83,
|
753
|
-
3, 86, :_reduce_84,
|
754
|
-
0, 104, :_reduce_85,
|
755
|
-
1, 104, :_reduce_86,
|
756
|
-
3, 104, :_reduce_87,
|
757
|
-
3, 122, :_reduce_88,
|
758
|
-
3, 124, :_reduce_89,
|
759
|
-
1, 125, :_reduce_none,
|
760
|
-
1, 125, :_reduce_none,
|
761
|
-
0, 107, :_reduce_92,
|
762
|
-
1, 107, :_reduce_93,
|
763
|
-
3, 107, :_reduce_94,
|
764
|
-
1, 126, :_reduce_none,
|
765
|
-
3, 126, :_reduce_96,
|
766
|
-
1, 115, :_reduce_none,
|
767
|
-
1, 115, :_reduce_none,
|
768
|
-
1, 115, :_reduce_none,
|
769
|
-
1, 115, :_reduce_none,
|
691
|
+
1, 111, :_reduce_none,
|
692
|
+
3, 111, :_reduce_59,
|
693
|
+
1, 112, :_reduce_none,
|
694
|
+
3, 112, :_reduce_61,
|
695
|
+
1, 113, :_reduce_62,
|
696
|
+
1, 113, :_reduce_63,
|
697
|
+
3, 114, :_reduce_64,
|
698
|
+
3, 114, :_reduce_65,
|
770
699
|
1, 115, :_reduce_none,
|
771
700
|
1, 115, :_reduce_none,
|
772
|
-
|
773
|
-
1,
|
774
|
-
|
775
|
-
|
776
|
-
1,
|
777
|
-
1,
|
778
|
-
1,
|
779
|
-
1,
|
780
|
-
1,
|
781
|
-
1,
|
782
|
-
1,
|
783
|
-
1,
|
784
|
-
|
785
|
-
|
786
|
-
1,
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
1,
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
0,
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
3,
|
822
|
-
|
823
|
-
|
824
|
-
2,
|
825
|
-
|
826
|
-
|
827
|
-
1,
|
828
|
-
|
829
|
-
|
701
|
+
4, 117, :_reduce_68,
|
702
|
+
1, 103, :_reduce_69,
|
703
|
+
3, 103, :_reduce_70,
|
704
|
+
0, 104, :_reduce_none,
|
705
|
+
1, 104, :_reduce_none,
|
706
|
+
1, 119, :_reduce_73,
|
707
|
+
1, 94, :_reduce_74,
|
708
|
+
1, 96, :_reduce_75,
|
709
|
+
1, 118, :_reduce_none,
|
710
|
+
1, 118, :_reduce_none,
|
711
|
+
1, 118, :_reduce_none,
|
712
|
+
1, 118, :_reduce_none,
|
713
|
+
1, 118, :_reduce_none,
|
714
|
+
1, 118, :_reduce_none,
|
715
|
+
1, 118, :_reduce_none,
|
716
|
+
3, 78, :_reduce_83,
|
717
|
+
3, 78, :_reduce_84,
|
718
|
+
3, 87, :_reduce_85,
|
719
|
+
0, 105, :_reduce_86,
|
720
|
+
1, 105, :_reduce_87,
|
721
|
+
3, 105, :_reduce_88,
|
722
|
+
3, 123, :_reduce_89,
|
723
|
+
3, 125, :_reduce_90,
|
724
|
+
1, 126, :_reduce_none,
|
725
|
+
1, 126, :_reduce_none,
|
726
|
+
0, 108, :_reduce_93,
|
727
|
+
1, 108, :_reduce_94,
|
728
|
+
3, 108, :_reduce_95,
|
729
|
+
1, 127, :_reduce_96,
|
730
|
+
3, 127, :_reduce_97,
|
731
|
+
1, 116, :_reduce_none,
|
732
|
+
1, 116, :_reduce_none,
|
733
|
+
1, 116, :_reduce_none,
|
734
|
+
1, 116, :_reduce_none,
|
735
|
+
1, 116, :_reduce_none,
|
736
|
+
1, 116, :_reduce_none,
|
737
|
+
1, 124, :_reduce_none,
|
738
|
+
1, 124, :_reduce_none,
|
739
|
+
1, 124, :_reduce_none,
|
740
|
+
1, 124, :_reduce_none,
|
741
|
+
1, 124, :_reduce_none,
|
742
|
+
1, 124, :_reduce_none,
|
743
|
+
1, 124, :_reduce_none,
|
744
|
+
1, 124, :_reduce_none,
|
745
|
+
1, 124, :_reduce_none,
|
746
|
+
1, 124, :_reduce_none,
|
747
|
+
1, 124, :_reduce_none,
|
748
|
+
1, 124, :_reduce_none,
|
749
|
+
4, 98, :_reduce_116,
|
750
|
+
3, 98, :_reduce_117,
|
751
|
+
1, 100, :_reduce_118,
|
752
|
+
2, 100, :_reduce_119,
|
753
|
+
2, 130, :_reduce_120,
|
754
|
+
1, 131, :_reduce_121,
|
755
|
+
2, 131, :_reduce_122,
|
756
|
+
1, 97, :_reduce_123,
|
757
|
+
4, 91, :_reduce_124,
|
758
|
+
4, 91, :_reduce_125,
|
759
|
+
2, 80, :_reduce_126,
|
760
|
+
5, 132, :_reduce_127,
|
761
|
+
4, 132, :_reduce_128,
|
762
|
+
0, 133, :_reduce_none,
|
763
|
+
2, 133, :_reduce_130,
|
764
|
+
4, 133, :_reduce_131,
|
765
|
+
3, 133, :_reduce_132,
|
766
|
+
1, 121, :_reduce_none,
|
767
|
+
3, 121, :_reduce_134,
|
768
|
+
3, 121, :_reduce_135,
|
769
|
+
3, 121, :_reduce_136,
|
770
|
+
3, 121, :_reduce_137,
|
771
|
+
3, 121, :_reduce_138,
|
772
|
+
3, 121, :_reduce_139,
|
773
|
+
3, 121, :_reduce_140,
|
774
|
+
3, 121, :_reduce_141,
|
775
|
+
3, 121, :_reduce_142,
|
776
|
+
2, 121, :_reduce_143,
|
777
|
+
3, 121, :_reduce_144,
|
778
|
+
3, 121, :_reduce_145,
|
779
|
+
3, 121, :_reduce_146,
|
780
|
+
3, 121, :_reduce_147,
|
781
|
+
3, 121, :_reduce_148,
|
782
|
+
3, 121, :_reduce_149,
|
783
|
+
2, 121, :_reduce_150,
|
784
|
+
3, 121, :_reduce_151,
|
785
|
+
3, 121, :_reduce_152,
|
786
|
+
3, 121, :_reduce_153,
|
787
|
+
5, 79, :_reduce_154,
|
788
|
+
1, 135, :_reduce_155,
|
789
|
+
2, 135, :_reduce_156,
|
790
|
+
5, 136, :_reduce_157,
|
791
|
+
4, 136, :_reduce_158,
|
792
|
+
1, 137, :_reduce_159,
|
793
|
+
3, 137, :_reduce_160,
|
794
|
+
3, 99, :_reduce_161,
|
795
|
+
1, 139, :_reduce_none,
|
796
|
+
4, 139, :_reduce_163,
|
797
|
+
1, 141, :_reduce_none,
|
798
|
+
3, 141, :_reduce_165,
|
799
|
+
3, 140, :_reduce_166,
|
830
800
|
1, 138, :_reduce_none,
|
831
|
-
|
832
|
-
1,
|
833
|
-
|
834
|
-
|
835
|
-
1,
|
836
|
-
1,
|
837
|
-
1,
|
838
|
-
1,
|
839
|
-
1,
|
840
|
-
1,
|
841
|
-
1,
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
847
|
-
3, 142, :_reduce_178,
|
848
|
-
2, 80, :_reduce_179,
|
849
|
-
6, 82, :_reduce_180,
|
850
|
-
5, 82, :_reduce_181,
|
851
|
-
7, 83, :_reduce_182,
|
852
|
-
6, 83, :_reduce_183,
|
801
|
+
1, 138, :_reduce_none,
|
802
|
+
1, 138, :_reduce_none,
|
803
|
+
1, 138, :_reduce_none,
|
804
|
+
1, 138, :_reduce_none,
|
805
|
+
1, 138, :_reduce_none,
|
806
|
+
1, 138, :_reduce_none,
|
807
|
+
1, 138, :_reduce_none,
|
808
|
+
1, 138, :_reduce_175,
|
809
|
+
1, 138, :_reduce_none,
|
810
|
+
1, 142, :_reduce_177,
|
811
|
+
1, 143, :_reduce_none,
|
812
|
+
3, 143, :_reduce_179,
|
813
|
+
2, 81, :_reduce_180,
|
814
|
+
6, 83, :_reduce_181,
|
815
|
+
5, 83, :_reduce_182,
|
816
|
+
7, 84, :_reduce_183,
|
853
817
|
6, 84, :_reduce_184,
|
854
|
-
|
855
|
-
|
856
|
-
1,
|
857
|
-
1,
|
858
|
-
1,
|
859
|
-
1,
|
860
|
-
|
861
|
-
|
818
|
+
6, 85, :_reduce_185,
|
819
|
+
5, 85, :_reduce_186,
|
820
|
+
1, 107, :_reduce_187,
|
821
|
+
1, 102, :_reduce_188,
|
822
|
+
1, 102, :_reduce_189,
|
823
|
+
1, 102, :_reduce_190,
|
824
|
+
1, 146, :_reduce_191,
|
825
|
+
3, 146, :_reduce_192,
|
862
826
|
1, 148, :_reduce_193,
|
863
|
-
1,
|
864
|
-
1,
|
865
|
-
1,
|
866
|
-
|
867
|
-
0,
|
868
|
-
|
869
|
-
3, 143, :_reduce_200,
|
870
|
-
3, 143, :_reduce_201,
|
871
|
-
1, 150, :_reduce_none,
|
872
|
-
3, 150, :_reduce_203,
|
873
|
-
3, 151, :_reduce_204,
|
874
|
-
1, 151, :_reduce_205,
|
875
|
-
3, 151, :_reduce_206,
|
876
|
-
1, 151, :_reduce_207,
|
877
|
-
1, 146, :_reduce_none,
|
878
|
-
2, 146, :_reduce_209,
|
827
|
+
1, 149, :_reduce_194,
|
828
|
+
1, 149, :_reduce_195,
|
829
|
+
1, 149, :_reduce_196,
|
830
|
+
1, 149, :_reduce_none,
|
831
|
+
0, 72, :_reduce_198,
|
832
|
+
0, 150, :_reduce_199,
|
879
833
|
1, 144, :_reduce_none,
|
880
|
-
|
881
|
-
|
882
|
-
1,
|
883
|
-
|
884
|
-
3,
|
885
|
-
|
886
|
-
|
887
|
-
1,
|
888
|
-
1,
|
889
|
-
|
890
|
-
1,
|
891
|
-
|
892
|
-
3, 128, :_reduce_223,
|
893
|
-
4, 128, :_reduce_224,
|
894
|
-
2, 128, :_reduce_225,
|
834
|
+
3, 144, :_reduce_201,
|
835
|
+
3, 144, :_reduce_202,
|
836
|
+
1, 151, :_reduce_none,
|
837
|
+
3, 151, :_reduce_204,
|
838
|
+
3, 152, :_reduce_205,
|
839
|
+
1, 152, :_reduce_206,
|
840
|
+
3, 152, :_reduce_207,
|
841
|
+
1, 152, :_reduce_208,
|
842
|
+
1, 147, :_reduce_none,
|
843
|
+
2, 147, :_reduce_210,
|
844
|
+
1, 145, :_reduce_none,
|
845
|
+
2, 145, :_reduce_212,
|
895
846
|
1, 153, :_reduce_none,
|
896
|
-
|
847
|
+
1, 153, :_reduce_none,
|
848
|
+
1, 95, :_reduce_215,
|
849
|
+
3, 120, :_reduce_216,
|
850
|
+
4, 120, :_reduce_217,
|
851
|
+
2, 120, :_reduce_218,
|
852
|
+
1, 128, :_reduce_none,
|
853
|
+
1, 128, :_reduce_none,
|
854
|
+
0, 106, :_reduce_none,
|
855
|
+
1, 106, :_reduce_222,
|
856
|
+
1, 134, :_reduce_223,
|
857
|
+
3, 129, :_reduce_224,
|
858
|
+
4, 129, :_reduce_225,
|
859
|
+
2, 129, :_reduce_226,
|
860
|
+
1, 154, :_reduce_none,
|
897
861
|
3, 154, :_reduce_228,
|
898
|
-
|
899
|
-
1,
|
900
|
-
|
901
|
-
|
902
|
-
|
862
|
+
3, 155, :_reduce_229,
|
863
|
+
1, 156, :_reduce_230,
|
864
|
+
1, 156, :_reduce_231,
|
865
|
+
4, 122, :_reduce_232,
|
866
|
+
1, 101, :_reduce_none,
|
867
|
+
4, 101, :_reduce_234 ]
|
903
868
|
|
904
|
-
racc_reduce_n =
|
869
|
+
racc_reduce_n = 235
|
905
870
|
|
906
|
-
racc_shift_n =
|
871
|
+
racc_shift_n = 386
|
907
872
|
|
908
873
|
racc_token_table = {
|
909
874
|
false => 0,
|
@@ -1068,9 +1033,10 @@ Racc_token_to_s_table = [
|
|
1068
1033
|
"IN",
|
1069
1034
|
"$start",
|
1070
1035
|
"program",
|
1071
|
-
"
|
1036
|
+
"statements_and_declarations",
|
1072
1037
|
"nil",
|
1073
|
-
"
|
1038
|
+
"statement_or_declaration",
|
1039
|
+
"statements",
|
1074
1040
|
"resource",
|
1075
1041
|
"virtualresource",
|
1076
1042
|
"collection",
|
@@ -1160,51 +1126,43 @@ Racc_debug_parser = false
|
|
1160
1126
|
|
1161
1127
|
# reduce 0 omitted
|
1162
1128
|
|
1163
|
-
|
1164
|
-
def _reduce_1(val, _values, result)
|
1165
|
-
if val[0]
|
1166
|
-
# Make sure we always return an array.
|
1167
|
-
if val[0].is_a?(AST::ASTArray)
|
1168
|
-
if val[0].children.empty?
|
1169
|
-
result = nil
|
1170
|
-
else
|
1171
|
-
result = val[0]
|
1172
|
-
end
|
1173
|
-
else
|
1174
|
-
result = aryfy(val[0])
|
1175
|
-
end
|
1176
|
-
else
|
1177
|
-
result = nil
|
1178
|
-
end
|
1129
|
+
# reduce 1 omitted
|
1179
1130
|
|
1131
|
+
# reduce 2 omitted
|
1132
|
+
|
1133
|
+
module_eval(<<'.,.,', 'grammar.ra', 34)
|
1134
|
+
def _reduce_3(val, _values, result)
|
1135
|
+
result = ast AST::ASTArray, :children => (val[0] ? [val[0]] : [])
|
1136
|
+
|
1180
1137
|
result
|
1181
1138
|
end
|
1182
1139
|
.,.,
|
1183
1140
|
|
1184
|
-
|
1185
|
-
|
1186
|
-
# reduce 3 omitted
|
1187
|
-
|
1188
|
-
module_eval(<<'.,.,', 'grammar.ra', 50)
|
1141
|
+
module_eval(<<'.,.,', 'grammar.ra', 37)
|
1189
1142
|
def _reduce_4(val, _values, result)
|
1190
|
-
if val[
|
1191
|
-
if val[0].instance_of?(AST::ASTArray)
|
1143
|
+
if val[1]
|
1192
1144
|
val[0].push(val[1])
|
1193
|
-
result = val[0]
|
1194
|
-
else
|
1195
|
-
result = ast AST::ASTArray, :children => [val[0],val[1]]
|
1196
1145
|
end
|
1197
|
-
|
1198
|
-
|
1199
|
-
|
1146
|
+
result = val[0]
|
1147
|
+
|
1148
|
+
result
|
1149
|
+
end
|
1150
|
+
.,.,
|
1151
|
+
|
1152
|
+
module_eval(<<'.,.,', 'grammar.ra', 46)
|
1153
|
+
def _reduce_5(val, _values, result)
|
1154
|
+
val[0].each do |stmt|
|
1155
|
+
if stmt.is_a?(AST::TopLevelConstruct)
|
1156
|
+
error "Classes, definitions, and nodes may only appear at toplevel or inside other classes", \
|
1157
|
+
:line => stmt.context[:line], :file => stmt.context[:file]
|
1158
|
+
end
|
1200
1159
|
end
|
1160
|
+
result = val[0]
|
1201
1161
|
|
1202
1162
|
result
|
1203
1163
|
end
|
1204
1164
|
.,.,
|
1205
1165
|
|
1206
|
-
# reduce 5 omitted
|
1207
|
-
|
1208
1166
|
# reduce 6 omitted
|
1209
1167
|
|
1210
1168
|
# reduce 7 omitted
|
@@ -1231,24 +1189,24 @@ module_eval(<<'.,.,', 'grammar.ra', 50)
|
|
1231
1189
|
|
1232
1190
|
# reduce 18 omitted
|
1233
1191
|
|
1234
|
-
|
1235
|
-
|
1192
|
+
# reduce 19 omitted
|
1193
|
+
|
1194
|
+
module_eval(<<'.,.,', 'grammar.ra', 72)
|
1195
|
+
def _reduce_20(val, _values, result)
|
1236
1196
|
result = AST::Relationship.new(val[0], val[2], val[1][:value], ast_context)
|
1237
1197
|
|
1238
1198
|
result
|
1239
1199
|
end
|
1240
1200
|
.,.,
|
1241
1201
|
|
1242
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1243
|
-
def
|
1202
|
+
module_eval(<<'.,.,', 'grammar.ra', 75)
|
1203
|
+
def _reduce_21(val, _values, result)
|
1244
1204
|
result = AST::Relationship.new(val[0], val[2], val[1][:value], ast_context)
|
1245
1205
|
|
1246
1206
|
result
|
1247
1207
|
end
|
1248
1208
|
.,.,
|
1249
1209
|
|
1250
|
-
# reduce 21 omitted
|
1251
|
-
|
1252
1210
|
# reduce 22 omitted
|
1253
1211
|
|
1254
1212
|
# reduce 23 omitted
|
@@ -1261,34 +1219,34 @@ module_eval(<<'.,.,', 'grammar.ra', 83)
|
|
1261
1219
|
|
1262
1220
|
# reduce 27 omitted
|
1263
1221
|
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1222
|
+
# reduce 28 omitted
|
1223
|
+
|
1224
|
+
module_eval(<<'.,.,', 'grammar.ra', 83)
|
1225
|
+
def _reduce_29(val, _values, result)
|
1226
|
+
result = ast AST::Function,
|
1268
1227
|
:name => val[0][:value],
|
1269
1228
|
:line => val[0][:line],
|
1270
|
-
:arguments =>
|
1229
|
+
:arguments => val[2],
|
1271
1230
|
:ftype => :statement
|
1272
1231
|
|
1273
1232
|
result
|
1274
1233
|
end
|
1275
1234
|
.,.,
|
1276
1235
|
|
1277
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1278
|
-
def
|
1279
|
-
|
1280
|
-
result = ast AST::Function,
|
1236
|
+
module_eval(<<'.,.,', 'grammar.ra', 90)
|
1237
|
+
def _reduce_30(val, _values, result)
|
1238
|
+
result = ast AST::Function,
|
1281
1239
|
:name => val[0][:value],
|
1282
1240
|
:line => val[0][:line],
|
1283
|
-
:arguments =>
|
1241
|
+
:arguments => val[2],
|
1284
1242
|
:ftype => :statement
|
1285
1243
|
|
1286
1244
|
result
|
1287
1245
|
end
|
1288
1246
|
.,.,
|
1289
1247
|
|
1290
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1291
|
-
def
|
1248
|
+
module_eval(<<'.,.,', 'grammar.ra', 96)
|
1249
|
+
def _reduce_31(val, _values, result)
|
1292
1250
|
result = ast AST::Function,
|
1293
1251
|
:name => val[0][:value],
|
1294
1252
|
:line => val[0][:line],
|
@@ -1299,49 +1257,50 @@ module_eval(<<'.,.,', 'grammar.ra', 106)
|
|
1299
1257
|
end
|
1300
1258
|
.,.,
|
1301
1259
|
|
1302
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1303
|
-
def
|
1304
|
-
|
1305
|
-
result = ast AST::Function,
|
1260
|
+
module_eval(<<'.,.,', 'grammar.ra', 103)
|
1261
|
+
def _reduce_32(val, _values, result)
|
1262
|
+
result = ast AST::Function,
|
1306
1263
|
:name => val[0][:value],
|
1307
1264
|
:line => val[0][:line],
|
1308
|
-
:arguments =>
|
1265
|
+
:arguments => val[1],
|
1309
1266
|
:ftype => :statement
|
1310
1267
|
|
1311
1268
|
result
|
1312
1269
|
end
|
1313
1270
|
.,.,
|
1314
1271
|
|
1315
|
-
|
1316
|
-
|
1317
|
-
|
1272
|
+
module_eval(<<'.,.,', 'grammar.ra', 110)
|
1273
|
+
def _reduce_33(val, _values, result)
|
1274
|
+
result = aryfy(val[0])
|
1275
|
+
result
|
1276
|
+
end
|
1277
|
+
.,.,
|
1318
1278
|
|
1319
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1279
|
+
module_eval(<<'.,.,', 'grammar.ra', 111)
|
1320
1280
|
def _reduce_34(val, _values, result)
|
1321
|
-
|
1322
|
-
result.line = @lexer.line
|
1323
|
-
result.file = @lexer.file
|
1324
|
-
|
1281
|
+
result = aryfy(val[0])
|
1325
1282
|
result
|
1326
1283
|
end
|
1327
1284
|
.,.,
|
1328
1285
|
|
1329
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1286
|
+
module_eval(<<'.,.,', 'grammar.ra', 113)
|
1330
1287
|
def _reduce_35(val, _values, result)
|
1331
|
-
|
1332
|
-
|
1333
|
-
end
|
1288
|
+
val[0].push(val[2])
|
1289
|
+
result = val[0]
|
1334
1290
|
|
1335
|
-
|
1291
|
+
result
|
1292
|
+
end
|
1293
|
+
.,.,
|
1336
1294
|
|
1337
|
-
|
1295
|
+
module_eval(<<'.,.,', 'grammar.ra', 117)
|
1296
|
+
def _reduce_36(val, _values, result)
|
1297
|
+
val[0].push(val[2])
|
1298
|
+
result = val[0]
|
1338
1299
|
|
1339
1300
|
result
|
1340
1301
|
end
|
1341
1302
|
.,.,
|
1342
1303
|
|
1343
|
-
# reduce 36 omitted
|
1344
|
-
|
1345
1304
|
# reduce 37 omitted
|
1346
1305
|
|
1347
1306
|
# reduce 38 omitted
|
@@ -1356,41 +1315,27 @@ module_eval(<<'.,.,', 'grammar.ra', 129)
|
|
1356
1315
|
|
1357
1316
|
# reduce 43 omitted
|
1358
1317
|
|
1359
|
-
|
1360
|
-
|
1318
|
+
# reduce 44 omitted
|
1319
|
+
|
1320
|
+
module_eval(<<'.,.,', 'grammar.ra', 132)
|
1321
|
+
def _reduce_45(val, _values, result)
|
1361
1322
|
result = ast AST::Name, :value => val[0][:value]
|
1362
1323
|
|
1363
1324
|
result
|
1364
1325
|
end
|
1365
1326
|
.,.,
|
1366
1327
|
|
1367
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1368
|
-
def
|
1328
|
+
module_eval(<<'.,.,', 'grammar.ra', 136)
|
1329
|
+
def _reduce_46(val, _values, result)
|
1369
1330
|
@lexer.commentpop
|
1370
|
-
|
1371
|
-
array = [array] if array.instance_of?(AST::ResourceInstance)
|
1372
|
-
result = ast AST::ASTArray
|
1373
|
-
|
1374
|
-
# this iterates across each specified resourceinstance
|
1375
|
-
array.each { |instance|
|
1376
|
-
raise Puppet::Dev, "Got something that isn't an instance" unless instance.instance_of?(AST::ResourceInstance)
|
1377
|
-
# now, i need to somehow differentiate between those things with
|
1378
|
-
# arrays in their names, and normal things
|
1379
|
-
|
1380
|
-
result.push ast(
|
1381
|
-
AST::Resource,
|
1382
|
-
:type => val[0],
|
1383
|
-
:title => instance[0],
|
1384
|
-
|
1385
|
-
:parameters => instance[1])
|
1386
|
-
}
|
1331
|
+
result = ast(AST::Resource, :type => val[0], :instances => val[2])
|
1387
1332
|
|
1388
1333
|
result
|
1389
1334
|
end
|
1390
1335
|
.,.,
|
1391
1336
|
|
1392
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1393
|
-
def
|
1337
|
+
module_eval(<<'.,.,', 'grammar.ra', 139)
|
1338
|
+
def _reduce_47(val, _values, result)
|
1394
1339
|
# This is a deprecated syntax.
|
1395
1340
|
error "All resource specifications require names"
|
1396
1341
|
|
@@ -1398,8 +1343,8 @@ module_eval(<<'.,.,', 'grammar.ra', 172)
|
|
1398
1343
|
end
|
1399
1344
|
.,.,
|
1400
1345
|
|
1401
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1402
|
-
def
|
1346
|
+
module_eval(<<'.,.,', 'grammar.ra', 142)
|
1347
|
+
def _reduce_48(val, _values, result)
|
1403
1348
|
# a defaults setting for a type
|
1404
1349
|
@lexer.commentpop
|
1405
1350
|
result = ast(AST::ResourceDefaults, :type => val[0], :parameters => val[2])
|
@@ -1408,8 +1353,8 @@ module_eval(<<'.,.,', 'grammar.ra', 175)
|
|
1408
1353
|
end
|
1409
1354
|
.,.,
|
1410
1355
|
|
1411
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1412
|
-
def
|
1356
|
+
module_eval(<<'.,.,', 'grammar.ra', 149)
|
1357
|
+
def _reduce_49(val, _values, result)
|
1413
1358
|
@lexer.commentpop
|
1414
1359
|
result = ast AST::ResourceOverride, :object => val[0], :parameters => val[2]
|
1415
1360
|
|
@@ -1417,11 +1362,11 @@ module_eval(<<'.,.,', 'grammar.ra', 182)
|
|
1417
1362
|
end
|
1418
1363
|
.,.,
|
1419
1364
|
|
1420
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1421
|
-
def
|
1365
|
+
module_eval(<<'.,.,', 'grammar.ra', 156)
|
1366
|
+
def _reduce_50(val, _values, result)
|
1422
1367
|
type = val[0]
|
1423
1368
|
|
1424
|
-
if (type == :exported and ! Puppet[:storeconfigs])
|
1369
|
+
if (type == :exported and ! Puppet[:storeconfigs])
|
1425
1370
|
Puppet.warning addcontext("You cannot collect without storeconfigs being set")
|
1426
1371
|
end
|
1427
1372
|
|
@@ -1429,14 +1374,8 @@ module_eval(<<'.,.,', 'grammar.ra', 189)
|
|
1429
1374
|
|
1430
1375
|
method = type.to_s + "="
|
1431
1376
|
|
1432
|
-
# Just mark our
|
1433
|
-
|
1434
|
-
val[1].each do |obj|
|
1435
|
-
obj.send(method, true)
|
1436
|
-
end
|
1437
|
-
else
|
1438
|
-
val[1].send(method, true)
|
1439
|
-
end
|
1377
|
+
# Just mark our resource as exported and pass it through.
|
1378
|
+
val[1].send(method, true)
|
1440
1379
|
|
1441
1380
|
result = val[1]
|
1442
1381
|
|
@@ -1444,22 +1383,22 @@ module_eval(<<'.,.,', 'grammar.ra', 189)
|
|
1444
1383
|
end
|
1445
1384
|
.,.,
|
1446
1385
|
|
1447
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1448
|
-
def
|
1386
|
+
module_eval(<<'.,.,', 'grammar.ra', 172)
|
1387
|
+
def _reduce_51(val, _values, result)
|
1449
1388
|
result = :virtual
|
1450
1389
|
result
|
1451
1390
|
end
|
1452
1391
|
.,.,
|
1453
1392
|
|
1454
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1455
|
-
def
|
1393
|
+
module_eval(<<'.,.,', 'grammar.ra', 173)
|
1394
|
+
def _reduce_52(val, _values, result)
|
1456
1395
|
result = :exported
|
1457
1396
|
result
|
1458
1397
|
end
|
1459
1398
|
.,.,
|
1460
1399
|
|
1461
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1462
|
-
def
|
1400
|
+
module_eval(<<'.,.,', 'grammar.ra', 178)
|
1401
|
+
def _reduce_53(val, _values, result)
|
1463
1402
|
@lexer.commentpop
|
1464
1403
|
Puppet.warning addcontext("Collection names must now be capitalized") if val[0] =~ /^[a-z]/
|
1465
1404
|
type = val[0].downcase
|
@@ -1472,7 +1411,7 @@ module_eval(<<'.,.,', 'grammar.ra', 217)
|
|
1472
1411
|
else
|
1473
1412
|
args[:form] = val[1]
|
1474
1413
|
end
|
1475
|
-
if args[:form] == :exported and ! Puppet[:storeconfigs]
|
1414
|
+
if args[:form] == :exported and ! Puppet[:storeconfigs]
|
1476
1415
|
Puppet.warning addcontext("You cannot collect exported resources without storeconfigs being set; the collection will be ignored")
|
1477
1416
|
end
|
1478
1417
|
args[:override] = val[3]
|
@@ -1482,8 +1421,8 @@ module_eval(<<'.,.,', 'grammar.ra', 217)
|
|
1482
1421
|
end
|
1483
1422
|
.,.,
|
1484
1423
|
|
1485
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1486
|
-
def
|
1424
|
+
module_eval(<<'.,.,', 'grammar.ra', 197)
|
1425
|
+
def _reduce_54(val, _values, result)
|
1487
1426
|
if val[0] =~ /^[a-z]/
|
1488
1427
|
Puppet.warning addcontext("Collection names must now be capitalized")
|
1489
1428
|
end
|
@@ -1497,7 +1436,7 @@ module_eval(<<'.,.,', 'grammar.ra', 236)
|
|
1497
1436
|
else
|
1498
1437
|
args[:form] = val[1]
|
1499
1438
|
end
|
1500
|
-
if args[:form] == :exported and ! Puppet[:storeconfigs]
|
1439
|
+
if args[:form] == :exported and ! Puppet[:storeconfigs]
|
1501
1440
|
Puppet.warning addcontext("You cannot collect exported resources without storeconfigs being set; the collection will be ignored")
|
1502
1441
|
end
|
1503
1442
|
result = ast AST::Collection, args
|
@@ -1506,8 +1445,8 @@ module_eval(<<'.,.,', 'grammar.ra', 236)
|
|
1506
1445
|
end
|
1507
1446
|
.,.,
|
1508
1447
|
|
1509
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1510
|
-
def
|
1448
|
+
module_eval(<<'.,.,', 'grammar.ra', 218)
|
1449
|
+
def _reduce_55(val, _values, result)
|
1511
1450
|
if val[1]
|
1512
1451
|
result = val[1]
|
1513
1452
|
result.form = :virtual
|
@@ -1519,8 +1458,8 @@ module_eval(<<'.,.,', 'grammar.ra', 257)
|
|
1519
1458
|
end
|
1520
1459
|
.,.,
|
1521
1460
|
|
1522
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1523
|
-
def
|
1461
|
+
module_eval(<<'.,.,', 'grammar.ra', 226)
|
1462
|
+
def _reduce_56(val, _values, result)
|
1524
1463
|
if val[1]
|
1525
1464
|
result = val[1]
|
1526
1465
|
result.form = :exported
|
@@ -1532,22 +1471,22 @@ module_eval(<<'.,.,', 'grammar.ra', 265)
|
|
1532
1471
|
end
|
1533
1472
|
.,.,
|
1534
1473
|
|
1535
|
-
# reduce 56 omitted
|
1536
|
-
|
1537
1474
|
# reduce 57 omitted
|
1538
1475
|
|
1539
|
-
|
1540
|
-
|
1476
|
+
# reduce 58 omitted
|
1477
|
+
|
1478
|
+
module_eval(<<'.,.,', 'grammar.ra', 239)
|
1479
|
+
def _reduce_59(val, _values, result)
|
1541
1480
|
result = ast AST::CollExpr, :test1 => val[0], :oper => val[1], :test2 => val[2]
|
1542
1481
|
|
1543
1482
|
result
|
1544
1483
|
end
|
1545
1484
|
.,.,
|
1546
1485
|
|
1547
|
-
# reduce
|
1486
|
+
# reduce 60 omitted
|
1548
1487
|
|
1549
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1550
|
-
def
|
1488
|
+
module_eval(<<'.,.,', 'grammar.ra', 244)
|
1489
|
+
def _reduce_61(val, _values, result)
|
1551
1490
|
result = val[1]
|
1552
1491
|
result.parens = true
|
1553
1492
|
|
@@ -1555,22 +1494,22 @@ module_eval(<<'.,.,', 'grammar.ra', 283)
|
|
1555
1494
|
end
|
1556
1495
|
.,.,
|
1557
1496
|
|
1558
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1559
|
-
def
|
1497
|
+
module_eval(<<'.,.,', 'grammar.ra', 248)
|
1498
|
+
def _reduce_62(val, _values, result)
|
1560
1499
|
result=val[0][:value]
|
1561
1500
|
result
|
1562
1501
|
end
|
1563
1502
|
.,.,
|
1564
1503
|
|
1565
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1566
|
-
def
|
1504
|
+
module_eval(<<'.,.,', 'grammar.ra', 249)
|
1505
|
+
def _reduce_63(val, _values, result)
|
1567
1506
|
result=val[0][:value]
|
1568
1507
|
result
|
1569
1508
|
end
|
1570
1509
|
.,.,
|
1571
1510
|
|
1572
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1573
|
-
def
|
1511
|
+
module_eval(<<'.,.,', 'grammar.ra', 252)
|
1512
|
+
def _reduce_64(val, _values, result)
|
1574
1513
|
result = ast AST::CollExpr, :test1 => val[0], :oper => val[1][:value], :test2 => val[2]
|
1575
1514
|
#result = ast AST::CollExpr
|
1576
1515
|
#result.push *val
|
@@ -1579,8 +1518,8 @@ module_eval(<<'.,.,', 'grammar.ra', 291)
|
|
1579
1518
|
end
|
1580
1519
|
.,.,
|
1581
1520
|
|
1582
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1583
|
-
def
|
1521
|
+
module_eval(<<'.,.,', 'grammar.ra', 257)
|
1522
|
+
def _reduce_65(val, _values, result)
|
1584
1523
|
result = ast AST::CollExpr, :test1 => val[0], :oper => val[1][:value], :test2 => val[2]
|
1585
1524
|
#result = ast AST::CollExpr
|
1586
1525
|
#result.push *val
|
@@ -1589,63 +1528,62 @@ module_eval(<<'.,.,', 'grammar.ra', 296)
|
|
1589
1528
|
end
|
1590
1529
|
.,.,
|
1591
1530
|
|
1592
|
-
# reduce 65 omitted
|
1593
|
-
|
1594
1531
|
# reduce 66 omitted
|
1595
1532
|
|
1596
|
-
|
1597
|
-
|
1598
|
-
|
1533
|
+
# reduce 67 omitted
|
1534
|
+
|
1535
|
+
module_eval(<<'.,.,', 'grammar.ra', 266)
|
1536
|
+
def _reduce_68(val, _values, result)
|
1537
|
+
result = ast AST::ResourceInstance, :title => val[0], :parameters => val[2]
|
1599
1538
|
|
1600
1539
|
result
|
1601
1540
|
end
|
1602
1541
|
.,.,
|
1603
1542
|
|
1604
|
-
|
1605
|
-
|
1606
|
-
module_eval(<<'.,.,', 'grammar.ra', 310)
|
1543
|
+
module_eval(<<'.,.,', 'grammar.ra', 269)
|
1607
1544
|
def _reduce_69(val, _values, result)
|
1608
|
-
|
1609
|
-
result
|
1610
|
-
else
|
1611
|
-
val[0].push val[2]
|
1612
|
-
result = val[0]
|
1545
|
+
result = aryfy(val[0])
|
1546
|
+
result
|
1613
1547
|
end
|
1548
|
+
.,.,
|
1549
|
+
|
1550
|
+
module_eval(<<'.,.,', 'grammar.ra', 271)
|
1551
|
+
def _reduce_70(val, _values, result)
|
1552
|
+
val[0].push val[2]
|
1553
|
+
result = val[0]
|
1614
1554
|
|
1615
1555
|
result
|
1616
1556
|
end
|
1617
1557
|
.,.,
|
1618
1558
|
|
1619
|
-
# reduce 70 omitted
|
1620
|
-
|
1621
1559
|
# reduce 71 omitted
|
1622
1560
|
|
1623
|
-
|
1624
|
-
|
1561
|
+
# reduce 72 omitted
|
1562
|
+
|
1563
|
+
module_eval(<<'.,.,', 'grammar.ra', 279)
|
1564
|
+
def _reduce_73(val, _values, result)
|
1625
1565
|
result = ast AST::Undef, :value => :undef
|
1626
1566
|
|
1627
1567
|
result
|
1628
1568
|
end
|
1629
1569
|
.,.,
|
1630
1570
|
|
1631
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1632
|
-
def
|
1571
|
+
module_eval(<<'.,.,', 'grammar.ra', 283)
|
1572
|
+
def _reduce_74(val, _values, result)
|
1633
1573
|
result = ast AST::Name, :value => val[0][:value], :line => val[0][:line]
|
1634
1574
|
|
1635
1575
|
result
|
1636
1576
|
end
|
1637
1577
|
.,.,
|
1638
1578
|
|
1639
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1640
|
-
def
|
1579
|
+
module_eval(<<'.,.,', 'grammar.ra', 287)
|
1580
|
+
def _reduce_75(val, _values, result)
|
1641
1581
|
result = ast AST::Type, :value => val[0][:value], :line => val[0][:line]
|
1642
1582
|
|
1643
1583
|
result
|
1644
1584
|
end
|
1645
1585
|
.,.,
|
1646
1586
|
|
1647
|
-
# reduce 75 omitted
|
1648
|
-
|
1649
1587
|
# reduce 76 omitted
|
1650
1588
|
|
1651
1589
|
# reduce 77 omitted
|
@@ -1658,8 +1596,10 @@ module_eval(<<'.,.,', 'grammar.ra', 330)
|
|
1658
1596
|
|
1659
1597
|
# reduce 81 omitted
|
1660
1598
|
|
1661
|
-
|
1662
|
-
|
1599
|
+
# reduce 82 omitted
|
1600
|
+
|
1601
|
+
module_eval(<<'.,.,', 'grammar.ra', 299)
|
1602
|
+
def _reduce_83(val, _values, result)
|
1663
1603
|
raise Puppet::ParseError, "Cannot assign to variables in other namespaces" if val[0][:value] =~ /::/
|
1664
1604
|
# this is distinct from referencing a variable
|
1665
1605
|
variable = ast AST::Name, :value => val[0][:value], :line => val[0][:line]
|
@@ -1669,16 +1609,16 @@ module_eval(<<'.,.,', 'grammar.ra', 342)
|
|
1669
1609
|
end
|
1670
1610
|
.,.,
|
1671
1611
|
|
1672
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1673
|
-
def
|
1612
|
+
module_eval(<<'.,.,', 'grammar.ra', 305)
|
1613
|
+
def _reduce_84(val, _values, result)
|
1674
1614
|
result = ast AST::VarDef, :name => val[0], :value => val[2]
|
1675
1615
|
|
1676
1616
|
result
|
1677
1617
|
end
|
1678
1618
|
.,.,
|
1679
1619
|
|
1680
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1681
|
-
def
|
1620
|
+
module_eval(<<'.,.,', 'grammar.ra', 309)
|
1621
|
+
def _reduce_85(val, _values, result)
|
1682
1622
|
variable = ast AST::Name, :value => val[0][:value], :line => val[0][:line]
|
1683
1623
|
result = ast AST::VarDef, :name => variable, :value => val[2], :append => true, :line => val[0][:line]
|
1684
1624
|
|
@@ -1686,44 +1626,40 @@ module_eval(<<'.,.,', 'grammar.ra', 352)
|
|
1686
1626
|
end
|
1687
1627
|
.,.,
|
1688
1628
|
|
1689
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1690
|
-
def
|
1629
|
+
module_eval(<<'.,.,', 'grammar.ra', 315)
|
1630
|
+
def _reduce_86(val, _values, result)
|
1691
1631
|
result = ast AST::ASTArray
|
1692
1632
|
|
1693
1633
|
result
|
1694
1634
|
end
|
1695
1635
|
.,.,
|
1696
1636
|
|
1697
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1698
|
-
def
|
1699
|
-
result = val[0]
|
1637
|
+
module_eval(<<'.,.,', 'grammar.ra', 317)
|
1638
|
+
def _reduce_87(val, _values, result)
|
1639
|
+
result = aryfy(val[0])
|
1700
1640
|
result
|
1701
1641
|
end
|
1702
1642
|
.,.,
|
1703
1643
|
|
1704
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1705
|
-
def
|
1706
|
-
|
1707
|
-
val[0].push(val[2])
|
1644
|
+
module_eval(<<'.,.,', 'grammar.ra', 319)
|
1645
|
+
def _reduce_88(val, _values, result)
|
1646
|
+
val[0].push(val[2])
|
1708
1647
|
result = val[0]
|
1709
|
-
else
|
1710
|
-
result = ast AST::ASTArray, :children => [val[0],val[2]]
|
1711
|
-
end
|
1712
1648
|
|
1713
1649
|
result
|
1714
1650
|
end
|
1715
1651
|
.,.,
|
1716
1652
|
|
1717
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1718
|
-
def
|
1653
|
+
module_eval(<<'.,.,', 'grammar.ra', 324)
|
1654
|
+
def _reduce_89(val, _values, result)
|
1719
1655
|
result = ast AST::ResourceParam, :param => val[0][:value], :line => val[0][:line], :value => val[2]
|
1720
1656
|
|
1721
1657
|
result
|
1722
1658
|
end
|
1723
1659
|
.,.,
|
1724
1660
|
|
1725
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1726
|
-
def
|
1661
|
+
module_eval(<<'.,.,', 'grammar.ra', 328)
|
1662
|
+
def _reduce_90(val, _values, result)
|
1727
1663
|
result = ast AST::ResourceParam, :param => val[0][:value], :line => val[0][:line], :value => val[2],
|
1728
1664
|
:add => true
|
1729
1665
|
|
@@ -1731,54 +1667,48 @@ module_eval(<<'.,.,', 'grammar.ra', 375)
|
|
1731
1667
|
end
|
1732
1668
|
.,.,
|
1733
1669
|
|
1734
|
-
# reduce 90 omitted
|
1735
|
-
|
1736
1670
|
# reduce 91 omitted
|
1737
1671
|
|
1738
|
-
|
1739
|
-
|
1672
|
+
# reduce 92 omitted
|
1673
|
+
|
1674
|
+
module_eval(<<'.,.,', 'grammar.ra', 337)
|
1675
|
+
def _reduce_93(val, _values, result)
|
1740
1676
|
result = ast AST::ASTArray
|
1741
1677
|
|
1742
1678
|
result
|
1743
1679
|
end
|
1744
1680
|
.,.,
|
1745
1681
|
|
1746
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1747
|
-
def
|
1748
|
-
result = val[0]
|
1682
|
+
module_eval(<<'.,.,', 'grammar.ra', 339)
|
1683
|
+
def _reduce_94(val, _values, result)
|
1684
|
+
result = aryfy(val[0])
|
1749
1685
|
result
|
1750
1686
|
end
|
1751
1687
|
.,.,
|
1752
1688
|
|
1753
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1754
|
-
def
|
1755
|
-
|
1756
|
-
val[0].push(val[2])
|
1689
|
+
module_eval(<<'.,.,', 'grammar.ra', 341)
|
1690
|
+
def _reduce_95(val, _values, result)
|
1691
|
+
val[0].push(val[2])
|
1757
1692
|
result = val[0]
|
1758
|
-
else
|
1759
|
-
result = ast AST::ASTArray, :children => [val[0],val[2]]
|
1760
|
-
end
|
1761
1693
|
|
1762
1694
|
result
|
1763
1695
|
end
|
1764
1696
|
.,.,
|
1765
1697
|
|
1766
|
-
|
1767
|
-
|
1768
|
-
module_eval(<<'.,.,', 'grammar.ra', 398)
|
1698
|
+
module_eval(<<'.,.,', 'grammar.ra', 345)
|
1769
1699
|
def _reduce_96(val, _values, result)
|
1770
|
-
|
1771
|
-
result
|
1772
|
-
else
|
1773
|
-
result = ast AST::ASTArray, :children => [val[0],val[2]]
|
1700
|
+
result = aryfy(val[0])
|
1701
|
+
result
|
1774
1702
|
end
|
1703
|
+
.,.,
|
1775
1704
|
|
1705
|
+
module_eval(<<'.,.,', 'grammar.ra', 346)
|
1706
|
+
def _reduce_97(val, _values, result)
|
1707
|
+
result = val[0].push(val[2])
|
1776
1708
|
result
|
1777
1709
|
end
|
1778
1710
|
.,.,
|
1779
1711
|
|
1780
|
-
# reduce 97 omitted
|
1781
|
-
|
1782
1712
|
# reduce 98 omitted
|
1783
1713
|
|
1784
1714
|
# reduce 99 omitted
|
@@ -1813,20 +1743,21 @@ module_eval(<<'.,.,', 'grammar.ra', 398)
|
|
1813
1743
|
|
1814
1744
|
# reduce 114 omitted
|
1815
1745
|
|
1816
|
-
|
1817
|
-
|
1818
|
-
|
1819
|
-
|
1746
|
+
# reduce 115 omitted
|
1747
|
+
|
1748
|
+
module_eval(<<'.,.,', 'grammar.ra', 370)
|
1749
|
+
def _reduce_116(val, _values, result)
|
1750
|
+
result = ast AST::Function,
|
1820
1751
|
:name => val[0][:value], :line => val[0][:line],
|
1821
|
-
:arguments =>
|
1752
|
+
:arguments => val[2],
|
1822
1753
|
:ftype => :rvalue
|
1823
1754
|
|
1824
1755
|
result
|
1825
1756
|
end
|
1826
1757
|
.,.,
|
1827
1758
|
|
1828
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1829
|
-
def
|
1759
|
+
module_eval(<<'.,.,', 'grammar.ra', 375)
|
1760
|
+
def _reduce_117(val, _values, result)
|
1830
1761
|
result = ast AST::Function,
|
1831
1762
|
:name => val[0][:value], :line => val[0][:line],
|
1832
1763
|
:arguments => AST::ASTArray.new({}),
|
@@ -1836,51 +1767,51 @@ module_eval(<<'.,.,', 'grammar.ra', 433)
|
|
1836
1767
|
end
|
1837
1768
|
.,.,
|
1838
1769
|
|
1839
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1840
|
-
def
|
1770
|
+
module_eval(<<'.,.,', 'grammar.ra', 381)
|
1771
|
+
def _reduce_118(val, _values, result)
|
1841
1772
|
result = ast AST::String, :value => val[0][:value], :line => val[0][:line]
|
1842
1773
|
result
|
1843
1774
|
end
|
1844
1775
|
.,.,
|
1845
1776
|
|
1846
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1847
|
-
def
|
1777
|
+
module_eval(<<'.,.,', 'grammar.ra', 382)
|
1778
|
+
def _reduce_119(val, _values, result)
|
1848
1779
|
result = ast AST::Concat, :value => [ast(AST::String,val[0])]+val[1], :line => val[0][:line]
|
1849
1780
|
result
|
1850
1781
|
end
|
1851
1782
|
.,.,
|
1852
1783
|
|
1853
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1854
|
-
def
|
1784
|
+
module_eval(<<'.,.,', 'grammar.ra', 384)
|
1785
|
+
def _reduce_120(val, _values, result)
|
1855
1786
|
result = [val[0]] + val[1]
|
1856
1787
|
result
|
1857
1788
|
end
|
1858
1789
|
.,.,
|
1859
1790
|
|
1860
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1861
|
-
def
|
1791
|
+
module_eval(<<'.,.,', 'grammar.ra', 386)
|
1792
|
+
def _reduce_121(val, _values, result)
|
1862
1793
|
result = [ast(AST::String,val[0])]
|
1863
1794
|
result
|
1864
1795
|
end
|
1865
1796
|
.,.,
|
1866
1797
|
|
1867
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1868
|
-
def
|
1798
|
+
module_eval(<<'.,.,', 'grammar.ra', 387)
|
1799
|
+
def _reduce_122(val, _values, result)
|
1869
1800
|
result = [ast(AST::String,val[0])] + val[1]
|
1870
1801
|
result
|
1871
1802
|
end
|
1872
1803
|
.,.,
|
1873
1804
|
|
1874
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1875
|
-
def
|
1805
|
+
module_eval(<<'.,.,', 'grammar.ra', 390)
|
1806
|
+
def _reduce_123(val, _values, result)
|
1876
1807
|
result = ast AST::Boolean, :value => val[0][:value], :line => val[0][:line]
|
1877
1808
|
|
1878
1809
|
result
|
1879
1810
|
end
|
1880
1811
|
.,.,
|
1881
1812
|
|
1882
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1883
|
-
def
|
1813
|
+
module_eval(<<'.,.,', 'grammar.ra', 394)
|
1814
|
+
def _reduce_124(val, _values, result)
|
1884
1815
|
Puppet.warning addcontext("Deprecation notice: Resource references should now be capitalized")
|
1885
1816
|
result = ast AST::ResourceReference, :type => val[0][:value], :line => val[0][:line], :title => val[2]
|
1886
1817
|
|
@@ -1888,24 +1819,24 @@ module_eval(<<'.,.,', 'grammar.ra', 452)
|
|
1888
1819
|
end
|
1889
1820
|
.,.,
|
1890
1821
|
|
1891
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1892
|
-
def
|
1822
|
+
module_eval(<<'.,.,', 'grammar.ra', 397)
|
1823
|
+
def _reduce_125(val, _values, result)
|
1893
1824
|
result = ast AST::ResourceReference, :type => val[0], :title => val[2]
|
1894
1825
|
|
1895
1826
|
result
|
1896
1827
|
end
|
1897
1828
|
.,.,
|
1898
1829
|
|
1899
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1900
|
-
def
|
1830
|
+
module_eval(<<'.,.,', 'grammar.ra', 401)
|
1831
|
+
def _reduce_126(val, _values, result)
|
1901
1832
|
result = val[1]
|
1902
1833
|
|
1903
1834
|
result
|
1904
1835
|
end
|
1905
1836
|
.,.,
|
1906
1837
|
|
1907
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1908
|
-
def
|
1838
|
+
module_eval(<<'.,.,', 'grammar.ra', 405)
|
1839
|
+
def _reduce_127(val, _values, result)
|
1909
1840
|
@lexer.commentpop
|
1910
1841
|
args = {
|
1911
1842
|
:test => val[0],
|
@@ -1920,8 +1851,8 @@ module_eval(<<'.,.,', 'grammar.ra', 463)
|
|
1920
1851
|
end
|
1921
1852
|
.,.,
|
1922
1853
|
|
1923
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1924
|
-
def
|
1854
|
+
module_eval(<<'.,.,', 'grammar.ra', 416)
|
1855
|
+
def _reduce_128(val, _values, result)
|
1925
1856
|
@lexer.commentpop
|
1926
1857
|
args = {
|
1927
1858
|
:test => val[0],
|
@@ -1936,18 +1867,18 @@ module_eval(<<'.,.,', 'grammar.ra', 474)
|
|
1936
1867
|
end
|
1937
1868
|
.,.,
|
1938
1869
|
|
1939
|
-
# reduce
|
1870
|
+
# reduce 129 omitted
|
1940
1871
|
|
1941
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1942
|
-
def
|
1872
|
+
module_eval(<<'.,.,', 'grammar.ra', 429)
|
1873
|
+
def _reduce_130(val, _values, result)
|
1943
1874
|
result = ast AST::Else, :statements => val[1]
|
1944
1875
|
|
1945
1876
|
result
|
1946
1877
|
end
|
1947
1878
|
.,.,
|
1948
1879
|
|
1949
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1950
|
-
def
|
1880
|
+
module_eval(<<'.,.,', 'grammar.ra', 432)
|
1881
|
+
def _reduce_131(val, _values, result)
|
1951
1882
|
@lexer.commentpop
|
1952
1883
|
result = ast AST::Else, :statements => val[2]
|
1953
1884
|
|
@@ -1955,8 +1886,8 @@ module_eval(<<'.,.,', 'grammar.ra', 490)
|
|
1955
1886
|
end
|
1956
1887
|
.,.,
|
1957
1888
|
|
1958
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1959
|
-
def
|
1889
|
+
module_eval(<<'.,.,', 'grammar.ra', 436)
|
1890
|
+
def _reduce_132(val, _values, result)
|
1960
1891
|
@lexer.commentpop
|
1961
1892
|
result = ast AST::Else, :statements => ast(AST::Nop)
|
1962
1893
|
|
@@ -1964,25 +1895,17 @@ module_eval(<<'.,.,', 'grammar.ra', 494)
|
|
1964
1895
|
end
|
1965
1896
|
.,.,
|
1966
1897
|
|
1967
|
-
# reduce
|
1898
|
+
# reduce 133 omitted
|
1968
1899
|
|
1969
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1970
|
-
def _reduce_133(val, _values, result)
|
1971
|
-
result = ast AST::InOperator, :lval => val[0], :rval => val[2]
|
1972
|
-
|
1973
|
-
result
|
1974
|
-
end
|
1975
|
-
.,.,
|
1976
|
-
|
1977
|
-
module_eval(<<'.,.,', 'grammar.ra', 515)
|
1900
|
+
module_eval(<<'.,.,', 'grammar.ra', 454)
|
1978
1901
|
def _reduce_134(val, _values, result)
|
1979
|
-
result = ast AST::
|
1902
|
+
result = ast AST::InOperator, :lval => val[0], :rval => val[2]
|
1980
1903
|
|
1981
1904
|
result
|
1982
1905
|
end
|
1983
1906
|
.,.,
|
1984
1907
|
|
1985
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1908
|
+
module_eval(<<'.,.,', 'grammar.ra', 457)
|
1986
1909
|
def _reduce_135(val, _values, result)
|
1987
1910
|
result = ast AST::MatchOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
1988
1911
|
|
@@ -1990,15 +1913,15 @@ module_eval(<<'.,.,', 'grammar.ra', 518)
|
|
1990
1913
|
end
|
1991
1914
|
.,.,
|
1992
1915
|
|
1993
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1916
|
+
module_eval(<<'.,.,', 'grammar.ra', 460)
|
1994
1917
|
def _reduce_136(val, _values, result)
|
1995
|
-
result = ast AST::
|
1918
|
+
result = ast AST::MatchOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
1996
1919
|
|
1997
1920
|
result
|
1998
1921
|
end
|
1999
1922
|
.,.,
|
2000
1923
|
|
2001
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1924
|
+
module_eval(<<'.,.,', 'grammar.ra', 463)
|
2002
1925
|
def _reduce_137(val, _values, result)
|
2003
1926
|
result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2004
1927
|
|
@@ -2006,7 +1929,7 @@ module_eval(<<'.,.,', 'grammar.ra', 524)
|
|
2006
1929
|
end
|
2007
1930
|
.,.,
|
2008
1931
|
|
2009
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1932
|
+
module_eval(<<'.,.,', 'grammar.ra', 466)
|
2010
1933
|
def _reduce_138(val, _values, result)
|
2011
1934
|
result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2012
1935
|
|
@@ -2014,7 +1937,7 @@ module_eval(<<'.,.,', 'grammar.ra', 527)
|
|
2014
1937
|
end
|
2015
1938
|
.,.,
|
2016
1939
|
|
2017
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1940
|
+
module_eval(<<'.,.,', 'grammar.ra', 469)
|
2018
1941
|
def _reduce_139(val, _values, result)
|
2019
1942
|
result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2020
1943
|
|
@@ -2022,7 +1945,7 @@ module_eval(<<'.,.,', 'grammar.ra', 530)
|
|
2022
1945
|
end
|
2023
1946
|
.,.,
|
2024
1947
|
|
2025
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1948
|
+
module_eval(<<'.,.,', 'grammar.ra', 472)
|
2026
1949
|
def _reduce_140(val, _values, result)
|
2027
1950
|
result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2028
1951
|
|
@@ -2030,7 +1953,7 @@ module_eval(<<'.,.,', 'grammar.ra', 533)
|
|
2030
1953
|
end
|
2031
1954
|
.,.,
|
2032
1955
|
|
2033
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1956
|
+
module_eval(<<'.,.,', 'grammar.ra', 475)
|
2034
1957
|
def _reduce_141(val, _values, result)
|
2035
1958
|
result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2036
1959
|
|
@@ -2038,23 +1961,23 @@ module_eval(<<'.,.,', 'grammar.ra', 536)
|
|
2038
1961
|
end
|
2039
1962
|
.,.,
|
2040
1963
|
|
2041
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1964
|
+
module_eval(<<'.,.,', 'grammar.ra', 478)
|
2042
1965
|
def _reduce_142(val, _values, result)
|
2043
|
-
result = ast AST::
|
1966
|
+
result = ast AST::ArithmeticOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2044
1967
|
|
2045
1968
|
result
|
2046
1969
|
end
|
2047
1970
|
.,.,
|
2048
1971
|
|
2049
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1972
|
+
module_eval(<<'.,.,', 'grammar.ra', 481)
|
2050
1973
|
def _reduce_143(val, _values, result)
|
2051
|
-
result = ast AST::
|
1974
|
+
result = ast AST::Minus, :value => val[1]
|
2052
1975
|
|
2053
1976
|
result
|
2054
1977
|
end
|
2055
1978
|
.,.,
|
2056
1979
|
|
2057
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1980
|
+
module_eval(<<'.,.,', 'grammar.ra', 484)
|
2058
1981
|
def _reduce_144(val, _values, result)
|
2059
1982
|
result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2060
1983
|
|
@@ -2062,7 +1985,7 @@ module_eval(<<'.,.,', 'grammar.ra', 545)
|
|
2062
1985
|
end
|
2063
1986
|
.,.,
|
2064
1987
|
|
2065
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1988
|
+
module_eval(<<'.,.,', 'grammar.ra', 487)
|
2066
1989
|
def _reduce_145(val, _values, result)
|
2067
1990
|
result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2068
1991
|
|
@@ -2070,7 +1993,7 @@ module_eval(<<'.,.,', 'grammar.ra', 548)
|
|
2070
1993
|
end
|
2071
1994
|
.,.,
|
2072
1995
|
|
2073
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
1996
|
+
module_eval(<<'.,.,', 'grammar.ra', 490)
|
2074
1997
|
def _reduce_146(val, _values, result)
|
2075
1998
|
result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2076
1999
|
|
@@ -2078,7 +2001,7 @@ module_eval(<<'.,.,', 'grammar.ra', 551)
|
|
2078
2001
|
end
|
2079
2002
|
.,.,
|
2080
2003
|
|
2081
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2004
|
+
module_eval(<<'.,.,', 'grammar.ra', 493)
|
2082
2005
|
def _reduce_147(val, _values, result)
|
2083
2006
|
result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2084
2007
|
|
@@ -2086,7 +2009,7 @@ module_eval(<<'.,.,', 'grammar.ra', 554)
|
|
2086
2009
|
end
|
2087
2010
|
.,.,
|
2088
2011
|
|
2089
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2012
|
+
module_eval(<<'.,.,', 'grammar.ra', 496)
|
2090
2013
|
def _reduce_148(val, _values, result)
|
2091
2014
|
result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2092
2015
|
|
@@ -2094,23 +2017,23 @@ module_eval(<<'.,.,', 'grammar.ra', 557)
|
|
2094
2017
|
end
|
2095
2018
|
.,.,
|
2096
2019
|
|
2097
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2020
|
+
module_eval(<<'.,.,', 'grammar.ra', 499)
|
2098
2021
|
def _reduce_149(val, _values, result)
|
2099
|
-
result = ast AST::
|
2022
|
+
result = ast AST::ComparisonOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2100
2023
|
|
2101
2024
|
result
|
2102
2025
|
end
|
2103
2026
|
.,.,
|
2104
2027
|
|
2105
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2028
|
+
module_eval(<<'.,.,', 'grammar.ra', 502)
|
2106
2029
|
def _reduce_150(val, _values, result)
|
2107
|
-
result = ast AST::
|
2030
|
+
result = ast AST::Not, :value => val[1]
|
2108
2031
|
|
2109
2032
|
result
|
2110
2033
|
end
|
2111
2034
|
.,.,
|
2112
2035
|
|
2113
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2036
|
+
module_eval(<<'.,.,', 'grammar.ra', 505)
|
2114
2037
|
def _reduce_151(val, _values, result)
|
2115
2038
|
result = ast AST::BooleanOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2116
2039
|
|
@@ -2118,42 +2041,49 @@ module_eval(<<'.,.,', 'grammar.ra', 566)
|
|
2118
2041
|
end
|
2119
2042
|
.,.,
|
2120
2043
|
|
2121
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2044
|
+
module_eval(<<'.,.,', 'grammar.ra', 508)
|
2122
2045
|
def _reduce_152(val, _values, result)
|
2123
|
-
result = val[1]
|
2046
|
+
result = ast AST::BooleanOperator, :operator => val[1][:value], :lval => val[0], :rval => val[2]
|
2124
2047
|
|
2125
2048
|
result
|
2126
2049
|
end
|
2127
2050
|
.,.,
|
2128
2051
|
|
2129
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2052
|
+
module_eval(<<'.,.,', 'grammar.ra', 511)
|
2130
2053
|
def _reduce_153(val, _values, result)
|
2131
|
-
|
2132
|
-
options = val[3]
|
2133
|
-
options = ast AST::ASTArray, :children => [val[3]] unless options.instance_of?(AST::ASTArray)
|
2134
|
-
result = ast AST::CaseStatement, :test => val[1], :options => options
|
2054
|
+
result = val[1]
|
2135
2055
|
|
2136
2056
|
result
|
2137
2057
|
end
|
2138
2058
|
.,.,
|
2139
2059
|
|
2140
|
-
|
2060
|
+
module_eval(<<'.,.,', 'grammar.ra', 515)
|
2061
|
+
def _reduce_154(val, _values, result)
|
2062
|
+
@lexer.commentpop
|
2063
|
+
result = ast AST::CaseStatement, :test => val[1], :options => val[3]
|
2141
2064
|
|
2142
|
-
|
2143
|
-
def _reduce_155(val, _values, result)
|
2144
|
-
if val[0].instance_of?(AST::ASTArray)
|
2145
|
-
val[0].push val[1]
|
2146
|
-
result = val[0]
|
2147
|
-
else
|
2148
|
-
result = ast AST::ASTArray, :children => [val[0], val[1]]
|
2065
|
+
result
|
2149
2066
|
end
|
2067
|
+
.,.,
|
2150
2068
|
|
2069
|
+
module_eval(<<'.,.,', 'grammar.ra', 519)
|
2070
|
+
def _reduce_155(val, _values, result)
|
2071
|
+
result = aryfy(val[0])
|
2151
2072
|
result
|
2152
2073
|
end
|
2153
2074
|
.,.,
|
2154
2075
|
|
2155
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2076
|
+
module_eval(<<'.,.,', 'grammar.ra', 521)
|
2156
2077
|
def _reduce_156(val, _values, result)
|
2078
|
+
val[0].push val[1]
|
2079
|
+
result = val[0]
|
2080
|
+
|
2081
|
+
result
|
2082
|
+
end
|
2083
|
+
.,.,
|
2084
|
+
|
2085
|
+
module_eval(<<'.,.,', 'grammar.ra', 526)
|
2086
|
+
def _reduce_157(val, _values, result)
|
2157
2087
|
@lexer.commentpop
|
2158
2088
|
result = ast AST::CaseOpt, :value => val[0], :statements => val[3]
|
2159
2089
|
|
@@ -2161,8 +2091,8 @@ module_eval(<<'.,.,', 'grammar.ra', 590)
|
|
2161
2091
|
end
|
2162
2092
|
.,.,
|
2163
2093
|
|
2164
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2165
|
-
def
|
2094
|
+
module_eval(<<'.,.,', 'grammar.ra', 529)
|
2095
|
+
def _reduce_158(val, _values, result)
|
2166
2096
|
@lexer.commentpop
|
2167
2097
|
|
2168
2098
|
result = ast(
|
@@ -2176,33 +2106,34 @@ module_eval(<<'.,.,', 'grammar.ra', 593)
|
|
2176
2106
|
end
|
2177
2107
|
.,.,
|
2178
2108
|
|
2179
|
-
|
2180
|
-
|
2181
|
-
module_eval(<<'.,.,', 'grammar.ra', 605)
|
2109
|
+
module_eval(<<'.,.,', 'grammar.ra', 539)
|
2182
2110
|
def _reduce_159(val, _values, result)
|
2183
|
-
|
2184
|
-
|
2185
|
-
result = val[0]
|
2186
|
-
else
|
2187
|
-
result = ast AST::ASTArray, :children => [val[0],val[2]]
|
2111
|
+
result = aryfy(val[0])
|
2112
|
+
result
|
2188
2113
|
end
|
2114
|
+
.,.,
|
2115
|
+
|
2116
|
+
module_eval(<<'.,.,', 'grammar.ra', 541)
|
2117
|
+
def _reduce_160(val, _values, result)
|
2118
|
+
val[0].push(val[2])
|
2119
|
+
result = val[0]
|
2189
2120
|
|
2190
2121
|
result
|
2191
2122
|
end
|
2192
2123
|
.,.,
|
2193
2124
|
|
2194
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2195
|
-
def
|
2125
|
+
module_eval(<<'.,.,', 'grammar.ra', 546)
|
2126
|
+
def _reduce_161(val, _values, result)
|
2196
2127
|
result = ast AST::Selector, :param => val[0], :values => val[2]
|
2197
2128
|
|
2198
2129
|
result
|
2199
2130
|
end
|
2200
2131
|
.,.,
|
2201
2132
|
|
2202
|
-
# reduce
|
2133
|
+
# reduce 162 omitted
|
2203
2134
|
|
2204
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2205
|
-
def
|
2135
|
+
module_eval(<<'.,.,', 'grammar.ra', 551)
|
2136
|
+
def _reduce_163(val, _values, result)
|
2206
2137
|
@lexer.commentpop
|
2207
2138
|
result = val[1]
|
2208
2139
|
|
@@ -2210,10 +2141,10 @@ module_eval(<<'.,.,', 'grammar.ra', 619)
|
|
2210
2141
|
end
|
2211
2142
|
.,.,
|
2212
2143
|
|
2213
|
-
# reduce
|
2144
|
+
# reduce 164 omitted
|
2214
2145
|
|
2215
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2216
|
-
def
|
2146
|
+
module_eval(<<'.,.,', 'grammar.ra', 557)
|
2147
|
+
def _reduce_165(val, _values, result)
|
2217
2148
|
if val[0].instance_of?(AST::ASTArray)
|
2218
2149
|
val[0].push(val[2])
|
2219
2150
|
result = val[0]
|
@@ -2225,16 +2156,14 @@ module_eval(<<'.,.,', 'grammar.ra', 625)
|
|
2225
2156
|
end
|
2226
2157
|
.,.,
|
2227
2158
|
|
2228
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2229
|
-
def
|
2159
|
+
module_eval(<<'.,.,', 'grammar.ra', 566)
|
2160
|
+
def _reduce_166(val, _values, result)
|
2230
2161
|
result = ast AST::ResourceParam, :param => val[0], :value => val[2]
|
2231
2162
|
|
2232
2163
|
result
|
2233
2164
|
end
|
2234
2165
|
.,.,
|
2235
2166
|
|
2236
|
-
# reduce 166 omitted
|
2237
|
-
|
2238
2167
|
# reduce 167 omitted
|
2239
2168
|
|
2240
2169
|
# reduce 168 omitted
|
@@ -2249,50 +2178,53 @@ module_eval(<<'.,.,', 'grammar.ra', 634)
|
|
2249
2178
|
|
2250
2179
|
# reduce 173 omitted
|
2251
2180
|
|
2252
|
-
|
2253
|
-
|
2181
|
+
# reduce 174 omitted
|
2182
|
+
|
2183
|
+
module_eval(<<'.,.,', 'grammar.ra', 578)
|
2184
|
+
def _reduce_175(val, _values, result)
|
2254
2185
|
result = ast AST::Default, :value => val[0][:value], :line => val[0][:line]
|
2255
2186
|
|
2256
2187
|
result
|
2257
2188
|
end
|
2258
2189
|
.,.,
|
2259
2190
|
|
2260
|
-
# reduce
|
2191
|
+
# reduce 176 omitted
|
2261
2192
|
|
2262
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2263
|
-
def
|
2193
|
+
module_eval(<<'.,.,', 'grammar.ra', 583)
|
2194
|
+
def _reduce_177(val, _values, result)
|
2264
2195
|
result = [val[0][:value]]
|
2265
2196
|
result
|
2266
2197
|
end
|
2267
2198
|
.,.,
|
2268
2199
|
|
2269
|
-
# reduce
|
2200
|
+
# reduce 178 omitted
|
2270
2201
|
|
2271
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2272
|
-
def
|
2202
|
+
module_eval(<<'.,.,', 'grammar.ra', 585)
|
2203
|
+
def _reduce_179(val, _values, result)
|
2273
2204
|
result = val[0] += val[2]
|
2274
2205
|
result
|
2275
2206
|
end
|
2276
2207
|
.,.,
|
2277
2208
|
|
2278
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2279
|
-
def
|
2209
|
+
module_eval(<<'.,.,', 'grammar.ra', 588)
|
2210
|
+
def _reduce_180(val, _values, result)
|
2280
2211
|
val[1].each do |file|
|
2281
2212
|
import(file)
|
2282
2213
|
end
|
2283
2214
|
|
2284
|
-
result =
|
2215
|
+
result = nil
|
2285
2216
|
|
2286
2217
|
result
|
2287
2218
|
end
|
2288
2219
|
.,.,
|
2289
2220
|
|
2290
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2291
|
-
def
|
2221
|
+
module_eval(<<'.,.,', 'grammar.ra', 598)
|
2222
|
+
def _reduce_181(val, _values, result)
|
2292
2223
|
@lexer.commentpop
|
2293
|
-
|
2224
|
+
result = Puppet::Parser::AST::Definition.new(classname(val[1]),
|
2225
|
+
ast_context(true).merge(:arguments => val[2], :code => val[4],
|
2226
|
+
:line => val[0][:line]))
|
2294
2227
|
@lexer.indefine = false
|
2295
|
-
result = nil
|
2296
2228
|
|
2297
2229
|
#} | DEFINE NAME argumentlist parent LBRACE RBRACE {
|
2298
2230
|
|
@@ -2300,160 +2232,167 @@ module_eval(<<'.,.,', 'grammar.ra', 666)
|
|
2300
2232
|
end
|
2301
2233
|
.,.,
|
2302
2234
|
|
2303
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2304
|
-
def
|
2235
|
+
module_eval(<<'.,.,', 'grammar.ra', 606)
|
2236
|
+
def _reduce_182(val, _values, result)
|
2305
2237
|
@lexer.commentpop
|
2306
|
-
|
2238
|
+
result = Puppet::Parser::AST::Definition.new(classname(val[1]),
|
2239
|
+
ast_context(true).merge(:arguments => val[2], :line => val[0][:line]))
|
2307
2240
|
@lexer.indefine = false
|
2308
|
-
result = nil
|
2309
2241
|
|
2310
2242
|
result
|
2311
2243
|
end
|
2312
2244
|
.,.,
|
2313
2245
|
|
2314
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2315
|
-
def
|
2246
|
+
module_eval(<<'.,.,', 'grammar.ra', 614)
|
2247
|
+
def _reduce_183(val, _values, result)
|
2316
2248
|
@lexer.commentpop
|
2317
2249
|
# Our class gets defined in the parent namespace, not our own.
|
2318
2250
|
@lexer.namepop
|
2319
|
-
|
2320
|
-
|
2251
|
+
result = Puppet::Parser::AST::Hostclass.new(classname(val[1]),
|
2252
|
+
ast_context(true).merge(:arguments => val[2], :parent => val[3],
|
2253
|
+
:code => val[5], :line => val[0][:line]))
|
2321
2254
|
|
2322
2255
|
result
|
2323
2256
|
end
|
2324
2257
|
.,.,
|
2325
2258
|
|
2326
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2327
|
-
def
|
2259
|
+
module_eval(<<'.,.,', 'grammar.ra', 621)
|
2260
|
+
def _reduce_184(val, _values, result)
|
2328
2261
|
@lexer.commentpop
|
2329
2262
|
# Our class gets defined in the parent namespace, not our own.
|
2330
2263
|
@lexer.namepop
|
2331
|
-
|
2332
|
-
|
2264
|
+
result = Puppet::Parser::AST::Hostclass.new(classname(val[1]),
|
2265
|
+
ast_context(true).merge(:arguments => val[2], :parent => val[3],
|
2266
|
+
:line => val[0][:line]))
|
2333
2267
|
|
2334
2268
|
result
|
2335
2269
|
end
|
2336
2270
|
.,.,
|
2337
2271
|
|
2338
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2339
|
-
def
|
2272
|
+
module_eval(<<'.,.,', 'grammar.ra', 630)
|
2273
|
+
def _reduce_185(val, _values, result)
|
2340
2274
|
@lexer.commentpop
|
2341
|
-
|
2342
|
-
|
2275
|
+
result = Puppet::Parser::AST::Node.new(val[1],
|
2276
|
+
ast_context(true).merge(:parent => val[2], :code => val[4],
|
2277
|
+
:line => val[0][:line]))
|
2343
2278
|
|
2344
2279
|
result
|
2345
2280
|
end
|
2346
2281
|
.,.,
|
2347
2282
|
|
2348
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2349
|
-
def
|
2283
|
+
module_eval(<<'.,.,', 'grammar.ra', 635)
|
2284
|
+
def _reduce_186(val, _values, result)
|
2350
2285
|
@lexer.commentpop
|
2351
|
-
|
2352
|
-
result = nil
|
2286
|
+
result = Puppet::Parser::AST::Node.new(val[1], ast_context(true).merge(:parent => val[2], :line => val[0][:line]))
|
2353
2287
|
|
2354
2288
|
result
|
2355
2289
|
end
|
2356
2290
|
.,.,
|
2357
2291
|
|
2358
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2359
|
-
def
|
2292
|
+
module_eval(<<'.,.,', 'grammar.ra', 639)
|
2293
|
+
def _reduce_187(val, _values, result)
|
2360
2294
|
result = val[0][:value]
|
2361
2295
|
result
|
2362
2296
|
end
|
2363
2297
|
.,.,
|
2364
2298
|
|
2365
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2366
|
-
def
|
2299
|
+
module_eval(<<'.,.,', 'grammar.ra', 641)
|
2300
|
+
def _reduce_188(val, _values, result)
|
2367
2301
|
result = val[0][:value]
|
2368
2302
|
result
|
2369
2303
|
end
|
2370
2304
|
.,.,
|
2371
2305
|
|
2372
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2373
|
-
def
|
2306
|
+
module_eval(<<'.,.,', 'grammar.ra', 642)
|
2307
|
+
def _reduce_189(val, _values, result)
|
2374
2308
|
result = val[0][:value]
|
2375
2309
|
result
|
2376
2310
|
end
|
2377
2311
|
.,.,
|
2378
2312
|
|
2379
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2380
|
-
def
|
2313
|
+
module_eval(<<'.,.,', 'grammar.ra', 643)
|
2314
|
+
def _reduce_190(val, _values, result)
|
2381
2315
|
result = "class"
|
2382
2316
|
result
|
2383
2317
|
end
|
2384
2318
|
.,.,
|
2385
2319
|
|
2386
|
-
|
2387
|
-
|
2388
|
-
module_eval(<<'.,.,', 'grammar.ra', 714)
|
2320
|
+
module_eval(<<'.,.,', 'grammar.ra', 648)
|
2389
2321
|
def _reduce_191(val, _values, result)
|
2390
|
-
result =
|
2391
|
-
result = [result] unless result.is_a?(Array)
|
2392
|
-
result << val[2]
|
2322
|
+
result = [result]
|
2393
2323
|
|
2394
2324
|
result
|
2395
2325
|
end
|
2396
2326
|
.,.,
|
2397
2327
|
|
2398
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2328
|
+
module_eval(<<'.,.,', 'grammar.ra', 651)
|
2399
2329
|
def _reduce_192(val, _values, result)
|
2400
|
-
|
2330
|
+
result = val[0]
|
2331
|
+
result << val[2]
|
2401
2332
|
|
2402
2333
|
result
|
2403
2334
|
end
|
2404
2335
|
.,.,
|
2405
2336
|
|
2406
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2337
|
+
module_eval(<<'.,.,', 'grammar.ra', 656)
|
2407
2338
|
def _reduce_193(val, _values, result)
|
2408
|
-
|
2339
|
+
result = ast AST::HostName, :value => val[0]
|
2340
|
+
|
2409
2341
|
result
|
2410
2342
|
end
|
2411
2343
|
.,.,
|
2412
2344
|
|
2413
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2345
|
+
module_eval(<<'.,.,', 'grammar.ra', 659)
|
2414
2346
|
def _reduce_194(val, _values, result)
|
2415
2347
|
result = val[0][:value]
|
2416
2348
|
result
|
2417
2349
|
end
|
2418
2350
|
.,.,
|
2419
2351
|
|
2420
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2352
|
+
module_eval(<<'.,.,', 'grammar.ra', 660)
|
2421
2353
|
def _reduce_195(val, _values, result)
|
2422
2354
|
result = val[0][:value]
|
2423
2355
|
result
|
2424
2356
|
end
|
2425
2357
|
.,.,
|
2426
2358
|
|
2427
|
-
|
2359
|
+
module_eval(<<'.,.,', 'grammar.ra', 661)
|
2360
|
+
def _reduce_196(val, _values, result)
|
2361
|
+
result = val[0][:value]
|
2362
|
+
result
|
2363
|
+
end
|
2364
|
+
.,.,
|
2365
|
+
|
2366
|
+
# reduce 197 omitted
|
2428
2367
|
|
2429
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2430
|
-
def
|
2368
|
+
module_eval(<<'.,.,', 'grammar.ra', 665)
|
2369
|
+
def _reduce_198(val, _values, result)
|
2431
2370
|
result = nil
|
2432
2371
|
|
2433
2372
|
result
|
2434
2373
|
end
|
2435
2374
|
.,.,
|
2436
2375
|
|
2437
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2438
|
-
def
|
2376
|
+
module_eval(<<'.,.,', 'grammar.ra', 669)
|
2377
|
+
def _reduce_199(val, _values, result)
|
2439
2378
|
result = ast AST::ASTArray, :children => []
|
2440
2379
|
|
2441
2380
|
result
|
2442
2381
|
end
|
2443
2382
|
.,.,
|
2444
2383
|
|
2445
|
-
# reduce
|
2384
|
+
# reduce 200 omitted
|
2446
2385
|
|
2447
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2448
|
-
def
|
2386
|
+
module_eval(<<'.,.,', 'grammar.ra', 674)
|
2387
|
+
def _reduce_201(val, _values, result)
|
2449
2388
|
result = nil
|
2450
2389
|
|
2451
2390
|
result
|
2452
2391
|
end
|
2453
2392
|
.,.,
|
2454
2393
|
|
2455
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2456
|
-
def
|
2394
|
+
module_eval(<<'.,.,', 'grammar.ra', 677)
|
2395
|
+
def _reduce_202(val, _values, result)
|
2457
2396
|
result = val[1]
|
2458
2397
|
result = [result] unless result[0].is_a?(Array)
|
2459
2398
|
|
@@ -2461,10 +2400,10 @@ module_eval(<<'.,.,', 'grammar.ra', 741)
|
|
2461
2400
|
end
|
2462
2401
|
.,.,
|
2463
2402
|
|
2464
|
-
# reduce
|
2403
|
+
# reduce 203 omitted
|
2465
2404
|
|
2466
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2467
|
-
def
|
2405
|
+
module_eval(<<'.,.,', 'grammar.ra', 683)
|
2406
|
+
def _reduce_204(val, _values, result)
|
2468
2407
|
result = val[0]
|
2469
2408
|
result = [result] unless result[0].is_a?(Array)
|
2470
2409
|
result << val[2]
|
@@ -2473,8 +2412,8 @@ module_eval(<<'.,.,', 'grammar.ra', 747)
|
|
2473
2412
|
end
|
2474
2413
|
.,.,
|
2475
2414
|
|
2476
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2477
|
-
def
|
2415
|
+
module_eval(<<'.,.,', 'grammar.ra', 689)
|
2416
|
+
def _reduce_205(val, _values, result)
|
2478
2417
|
Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
|
2479
2418
|
result = [val[0][:value], val[2]]
|
2480
2419
|
|
@@ -2482,8 +2421,8 @@ module_eval(<<'.,.,', 'grammar.ra', 753)
|
|
2482
2421
|
end
|
2483
2422
|
.,.,
|
2484
2423
|
|
2485
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2486
|
-
def
|
2424
|
+
module_eval(<<'.,.,', 'grammar.ra', 693)
|
2425
|
+
def _reduce_206(val, _values, result)
|
2487
2426
|
Puppet.warning addcontext("Deprecation notice: must now include '$' in prototype")
|
2488
2427
|
result = [val[0][:value]]
|
2489
2428
|
|
@@ -2491,109 +2430,98 @@ module_eval(<<'.,.,', 'grammar.ra', 757)
|
|
2491
2430
|
end
|
2492
2431
|
.,.,
|
2493
2432
|
|
2494
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2495
|
-
def
|
2433
|
+
module_eval(<<'.,.,', 'grammar.ra', 696)
|
2434
|
+
def _reduce_207(val, _values, result)
|
2496
2435
|
result = [val[0][:value], val[2]]
|
2497
2436
|
|
2498
2437
|
result
|
2499
2438
|
end
|
2500
2439
|
.,.,
|
2501
2440
|
|
2502
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2503
|
-
def
|
2441
|
+
module_eval(<<'.,.,', 'grammar.ra', 698)
|
2442
|
+
def _reduce_208(val, _values, result)
|
2504
2443
|
result = [val[0][:value]]
|
2505
2444
|
|
2506
2445
|
result
|
2507
2446
|
end
|
2508
2447
|
.,.,
|
2509
2448
|
|
2510
|
-
# reduce
|
2449
|
+
# reduce 209 omitted
|
2511
2450
|
|
2512
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2513
|
-
def
|
2451
|
+
module_eval(<<'.,.,', 'grammar.ra', 703)
|
2452
|
+
def _reduce_210(val, _values, result)
|
2514
2453
|
result = val[1]
|
2515
2454
|
|
2516
2455
|
result
|
2517
2456
|
end
|
2518
2457
|
.,.,
|
2519
2458
|
|
2520
|
-
# reduce
|
2459
|
+
# reduce 211 omitted
|
2521
2460
|
|
2522
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2523
|
-
def
|
2461
|
+
module_eval(<<'.,.,', 'grammar.ra', 708)
|
2462
|
+
def _reduce_212(val, _values, result)
|
2524
2463
|
result = val[1]
|
2525
2464
|
|
2526
2465
|
result
|
2527
2466
|
end
|
2528
2467
|
.,.,
|
2529
2468
|
|
2530
|
-
# reduce 212 omitted
|
2531
|
-
|
2532
2469
|
# reduce 213 omitted
|
2533
2470
|
|
2534
|
-
|
2535
|
-
def _reduce_214(val, _values, result)
|
2536
|
-
result = ast AST::Variable, :value => val[0][:value], :line => val[0][:line]
|
2471
|
+
# reduce 214 omitted
|
2537
2472
|
|
2538
|
-
|
2539
|
-
end
|
2540
|
-
.,.,
|
2541
|
-
|
2542
|
-
module_eval(<<'.,.,', 'grammar.ra', 782)
|
2473
|
+
module_eval(<<'.,.,', 'grammar.ra', 714)
|
2543
2474
|
def _reduce_215(val, _values, result)
|
2544
|
-
|
2545
|
-
result = val[1]
|
2546
|
-
else
|
2547
|
-
result = ast AST::ASTArray, :children => [val[1]]
|
2548
|
-
end
|
2475
|
+
result = ast AST::Variable, :value => val[0][:value], :line => val[0][:line]
|
2549
2476
|
|
2550
2477
|
result
|
2551
2478
|
end
|
2552
2479
|
.,.,
|
2553
2480
|
|
2554
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2481
|
+
module_eval(<<'.,.,', 'grammar.ra', 717)
|
2555
2482
|
def _reduce_216(val, _values, result)
|
2556
|
-
|
2557
|
-
result = val[1]
|
2558
|
-
else
|
2559
|
-
result = ast AST::ASTArray, :children => [val[1]]
|
2560
|
-
end
|
2561
|
-
|
2483
|
+
result = val[1]
|
2562
2484
|
result
|
2563
2485
|
end
|
2564
2486
|
.,.,
|
2565
2487
|
|
2566
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2488
|
+
module_eval(<<'.,.,', 'grammar.ra', 718)
|
2567
2489
|
def _reduce_217(val, _values, result)
|
2568
|
-
|
2569
|
-
|
2490
|
+
result = val[1]
|
2570
2491
|
result
|
2571
2492
|
end
|
2572
2493
|
.,.,
|
2573
2494
|
|
2574
|
-
|
2495
|
+
module_eval(<<'.,.,', 'grammar.ra', 719)
|
2496
|
+
def _reduce_218(val, _values, result)
|
2497
|
+
result = ast AST::ASTArray
|
2498
|
+
result
|
2499
|
+
end
|
2500
|
+
.,.,
|
2575
2501
|
|
2576
2502
|
# reduce 219 omitted
|
2577
2503
|
|
2578
2504
|
# reduce 220 omitted
|
2579
2505
|
|
2580
|
-
|
2581
|
-
|
2506
|
+
# reduce 221 omitted
|
2507
|
+
|
2508
|
+
module_eval(<<'.,.,', 'grammar.ra', 725)
|
2509
|
+
def _reduce_222(val, _values, result)
|
2582
2510
|
result = nil
|
2583
2511
|
result
|
2584
2512
|
end
|
2585
2513
|
.,.,
|
2586
2514
|
|
2587
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2588
|
-
def
|
2515
|
+
module_eval(<<'.,.,', 'grammar.ra', 728)
|
2516
|
+
def _reduce_223(val, _values, result)
|
2589
2517
|
result = ast AST::Regex, :value => val[0][:value]
|
2590
2518
|
|
2591
2519
|
result
|
2592
2520
|
end
|
2593
2521
|
.,.,
|
2594
2522
|
|
2595
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2596
|
-
def
|
2523
|
+
module_eval(<<'.,.,', 'grammar.ra', 732)
|
2524
|
+
def _reduce_224(val, _values, result)
|
2597
2525
|
if val[1].instance_of?(AST::ASTHash)
|
2598
2526
|
result = val[1]
|
2599
2527
|
else
|
@@ -2604,8 +2532,8 @@ module_eval(<<'.,.,', 'grammar.ra', 809)
|
|
2604
2532
|
end
|
2605
2533
|
.,.,
|
2606
2534
|
|
2607
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2608
|
-
def
|
2535
|
+
module_eval(<<'.,.,', 'grammar.ra', 739)
|
2536
|
+
def _reduce_225(val, _values, result)
|
2609
2537
|
if val[1].instance_of?(AST::ASTHash)
|
2610
2538
|
result = val[1]
|
2611
2539
|
else
|
@@ -2616,18 +2544,18 @@ module_eval(<<'.,.,', 'grammar.ra', 816)
|
|
2616
2544
|
end
|
2617
2545
|
.,.,
|
2618
2546
|
|
2619
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2620
|
-
def
|
2547
|
+
module_eval(<<'.,.,', 'grammar.ra', 745)
|
2548
|
+
def _reduce_226(val, _values, result)
|
2621
2549
|
result = ast AST::ASTHash
|
2622
2550
|
|
2623
2551
|
result
|
2624
2552
|
end
|
2625
2553
|
.,.,
|
2626
2554
|
|
2627
|
-
# reduce
|
2555
|
+
# reduce 227 omitted
|
2628
2556
|
|
2629
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2630
|
-
def
|
2557
|
+
module_eval(<<'.,.,', 'grammar.ra', 750)
|
2558
|
+
def _reduce_228(val, _values, result)
|
2631
2559
|
if val[0].instance_of?(AST::ASTHash)
|
2632
2560
|
result = val[0].merge(val[2])
|
2633
2561
|
else
|
@@ -2639,40 +2567,40 @@ module_eval(<<'.,.,', 'grammar.ra', 827)
|
|
2639
2567
|
end
|
2640
2568
|
.,.,
|
2641
2569
|
|
2642
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2643
|
-
def
|
2570
|
+
module_eval(<<'.,.,', 'grammar.ra', 759)
|
2571
|
+
def _reduce_229(val, _values, result)
|
2644
2572
|
result = ast AST::ASTHash, { :value => { val[0] => val[2] } }
|
2645
2573
|
|
2646
2574
|
result
|
2647
2575
|
end
|
2648
2576
|
.,.,
|
2649
2577
|
|
2650
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2651
|
-
def
|
2578
|
+
module_eval(<<'.,.,', 'grammar.ra', 762)
|
2579
|
+
def _reduce_230(val, _values, result)
|
2652
2580
|
result = val[0][:value]
|
2653
2581
|
result
|
2654
2582
|
end
|
2655
2583
|
.,.,
|
2656
2584
|
|
2657
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2658
|
-
def
|
2585
|
+
module_eval(<<'.,.,', 'grammar.ra', 763)
|
2586
|
+
def _reduce_231(val, _values, result)
|
2659
2587
|
result = val[0]
|
2660
2588
|
result
|
2661
2589
|
end
|
2662
2590
|
.,.,
|
2663
2591
|
|
2664
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2665
|
-
def
|
2592
|
+
module_eval(<<'.,.,', 'grammar.ra', 766)
|
2593
|
+
def _reduce_232(val, _values, result)
|
2666
2594
|
result = ast AST::HashOrArrayAccess, :variable => val[0][:value], :key => val[2]
|
2667
2595
|
|
2668
2596
|
result
|
2669
2597
|
end
|
2670
2598
|
.,.,
|
2671
2599
|
|
2672
|
-
# reduce
|
2600
|
+
# reduce 233 omitted
|
2673
2601
|
|
2674
|
-
module_eval(<<'.,.,', 'grammar.ra',
|
2675
|
-
def
|
2602
|
+
module_eval(<<'.,.,', 'grammar.ra', 771)
|
2603
|
+
def _reduce_234(val, _values, result)
|
2676
2604
|
result = ast AST::HashOrArrayAccess, :variable => val[0], :key => val[2]
|
2677
2605
|
|
2678
2606
|
result
|