diff options
| author | Nick Lewis <nick@puppetlabs.com> | 2011-01-06 16:01:10 -0800 |
|---|---|---|
| committer | Nick Lewis <nick@puppetlabs.com> | 2011-01-06 16:01:10 -0800 |
| commit | 03cc835eb04a5f9e5c1c5bcf6b988378f4bdab69 (patch) | |
| tree | 28da3fd7c329de073e71b5b1ba1be01ec4e54b6f /lib/puppet/parser | |
| parent | 9b2b4aebed29f035415c1f7324943d3ba2993ea2 (diff) | |
| parent | f663182c28c9d4533ad4c2f897e5fbbf78b16d8e (diff) | |
| download | puppet-03cc835eb04a5f9e5c1c5bcf6b988378f4bdab69.tar.gz puppet-03cc835eb04a5f9e5c1c5bcf6b988378f4bdab69.tar.xz puppet-03cc835eb04a5f9e5c1c5bcf6b988378f4bdab69.zip | |
Merge branch 'next'
Diffstat (limited to 'lib/puppet/parser')
| -rw-r--r-- | lib/puppet/parser/ast.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/puppet/parser/ast.rb b/lib/puppet/parser/ast.rb index 03891160b..122b4dd7a 100644 --- a/lib/puppet/parser/ast.rb +++ b/lib/puppet/parser/ast.rb @@ -19,6 +19,10 @@ class Puppet::Parser::AST attr_accessor :parent, :scope + def inspect + "( #{self.class} #{self.to_s} #{@children.inspect} )" + end + # don't fetch lexer comment by default def use_docs self.class.use_docs |
