Flowdock
method

scan

Importance_0
scan() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rdoc/parser/ruby.rb, line 2700
  def scan
    reset

    catch(:eof) do
      catch(:enddoc) do
        begin
          parse_toplevel_statements(@top_level)
        rescue Exception => e
          $stderr.puts RDoc failure in #{@file_name} at or around line #{@scanner.line_no} column#{@scanner.char_no}Before reporting this, could you check that the file you're documentingcompiles cleanly--RDoc is not a full Ruby parser, and gets confused easily iffed invalid programs.The internal error was:

          e.set_backtrace(e.backtrace[0,4])
          raise
        end
      end
    end

    @top_level
  end
Register or log in to add new notes.