diff options
| author | Nick Lewis <nick@puppetlabs.com> | 2011-01-06 15:56:31 -0800 |
|---|---|---|
| committer | Nick Lewis <nick@puppetlabs.com> | 2011-01-06 15:56:31 -0800 |
| commit | f663182c28c9d4533ad4c2f897e5fbbf78b16d8e (patch) | |
| tree | 28da3fd7c329de073e71b5b1ba1be01ec4e54b6f /lib/puppet/parser | |
| parent | c7764723578ae64240db7bd2a64f8e6e9fa708ab (diff) | |
| parent | b16e10dba6606b808ef195f4b57f2e8c66cf65ab (diff) | |
| download | puppet-f663182c28c9d4533ad4c2f897e5fbbf78b16d8e.tar.gz puppet-f663182c28c9d4533ad4c2f897e5fbbf78b16d8e.tar.xz puppet-f663182c28c9d4533ad4c2f897e5fbbf78b16d8e.zip | |
Merge branch 'intermediate_merge_branch' into 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 |
