# File lib/puppet/util/rdoc.rb, line 50
50:     def output(file, ast)
51:         astobj = []
52:         ast.nodes.each do |name, k|
53:             astobj << k if k.file == file
54:         end
55: 
56:         ast.hostclasses.each do |name,k|
57:             astobj << k if k.file == file
58:         end
59: 
60:         ast.definitions.each do |name, k|
61:             astobj << k if k.file == file
62:         end
63:         astobj.sort! {|a,b| a.line <=> b.line }.each do |k|
64:             output_astnode_doc(k)
65:         end
66:     end