method
new
v1_8_6_287 -
Show latest stable
- Class:
RDoc::RubyParser
new(top_level, file_name, content, options, stats)public
No documentation available.
# File lib/rdoc/parsers/parse_rb.rb, line 1387
def initialize(top_level, file_name, content, options, stats)
@options = options
@stats = stats
@size = 0
@token_listeners = nil
@input_file_name = file_name
@scanner = RubyLex.new(content)
@scanner.exception_on_syntax_error = false
@top_level = top_level
@progress = $stderr unless options.quiet
end