diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2011-01-03 16:32:58 -0800 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2011-01-03 16:32:58 -0800 |
commit | a6402781a1e0403a113b51e784d929c29f440db1 (patch) | |
tree | 3cfea8eafc3c82bc83df4dcc16bcf3982eba1d4f /lib/puppet/parser/ast.rb | |
parent | 68464b79070fdf28b623f1e11beb4908a7be81a7 (diff) | |
parent | 7661ba82a3c765d4bf8a400a3c770f351c541f96 (diff) | |
download | puppet-a6402781a1e0403a113b51e784d929c29f440db1.tar.gz puppet-a6402781a1e0403a113b51e784d929c29f440db1.tar.xz puppet-a6402781a1e0403a113b51e784d929c29f440db1.zip |
Merge branch 'maint/2.6.next/speed_up_slow_inspects' into 2.6.next
Diffstat (limited to 'lib/puppet/parser/ast.rb')
-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 54e034acb..a5aaeddc4 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 |