Feature Requests: Browse | Submit New | Admin

[#22135] Rewrite RDoc code representation (code_objects.rb)

Date:
2008-09-23 17:28
Priority:
3
Submitted By:
Designing Patterns (designingpatts)
Assigned To:
Eric Hodel (drbrain)
Category:
RDoc parser
State:
Closed
Summary:
Rewrite RDoc code representation (code_objects.rb)

Detailed description
RDoc has a number of subtle bugs relating to the order in which it processes files.  The biggest reason for this is
that class/module structures are duplicated under each top level in which they are encountered.  A better system would
have one class structure that is referenced from each top level.

For example, if RDoc sees:

def Foo.bar
end

in one file and

class Foo
end

in another, the first file will have a Foo module and the second will have a Foo class.  This does get exposed by the
standard library, because classes often are defined across several C files.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2009-02-25 00:34
Sender: Eric Hodel

This doesn't need a rewrite.  I've fixed some bugs with class/module
promotion.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2009-02-25 00:34drbrain
assigned_tonone2009-02-25 00:34drbrain
close_date2009-02-25 00:342009-02-25 00:34drbrain