# File lib/treetop/compiler/node_classes/declaration_sequence.rb, line 5 5: def compile(builder) 6: unless rules.empty? 7: builder.method_declaration("root") do 8: builder << "@root ||= :#{rules.first.name}" 9: end 10: builder.newline 11: end 12: 13: declarations.each do |declaration| 14: declaration.compile(builder) 15: builder.newline 16: end 17: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.