Extracting the AST resourcetype-like classes into a single ResourceType class.
lib/puppet/parser/ast.rb | 3 - lib/puppet/parser/ast/definition.rb | 207 ----------- lib/puppet/parser/ast/hostclass.rb | 95 ----- lib/puppet/parser/ast/leaf.rb | 24 +-- lib/puppet/parser/ast/node.rb | 42 --- lib/puppet/parser/ast/resource_reference.rb | 4 +- lib/puppet/parser/compiler.rb | 8 +- lib/puppet/parser/loaded_code.rb | 55 ++- lib/puppet/parser/parser_support.rb | 133 +------ lib/puppet/parser/resource_type.rb | 235 ++++++++++++ lib/puppet/util/errors.rb | 12 + lib/puppet/util/inline_docs.rb | 29 ++ lib/puppet/util/rdoc/parser.rb | 6 +- spec/integration/parser/parser.rb | 21 + spec/integration/util/rdoc/parser.rb | 4 +- spec/unit/parser/ast.rb | 6 +- spec/unit/parser/ast/definition.rb | 213 ----------- spec/unit/parser/ast/hostclass.rb | 148 -------- spec/unit/parser/ast/leaf.rb | 72 ---- spec/unit/parser/ast/node.rb | 145 -------- spec/unit/parser/ast/resource_reference.rb | 6 +- spec/unit/parser/compiler.rb | 32 +- spec/unit/parser/loaded_code.rb | 218 ++++++------ spec/unit/parser/parser.rb | 126 +++----- spec/unit/parser/resource/reference.rb | 4 +- spec/unit/parser/resource_type.rb | 522 +++++++++++++++++++++++++++ spec/unit/util/errors.rb | 38 ++ spec/unit/util/inline_docs.rb | 32 ++ spec/unit/util/rdoc/parser.rb | 23 +- 29 files changed, 1141 insertions(+), 1322 deletions(-) -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.
