Class | RDoc::SimpleParser |
In: |
parsers/parse_simple.rb
|
Parent: | Object |
See rdoc/parsers/parse_c.rb
prepare to parse a plain file
# File parsers/parse_simple.rb, line 15 15: def initialize(top_level, file_name, body, options, stats) 16: 17: preprocess = SM::PreProcess.new(file_name, options.rdoc_include) 18: 19: preprocess.handle(body) do |directive, param| 20: $stderr.puts "Unrecognized directive '#{directive}' in #{file_name}" 21: end 22: 23: @body = body 24: @options = options 25: @top_level = top_level 26: end