Re: Inheriting Properties (or something similar) in IDLDOC [message #81378 is a reply to message #81263] |
Mon, 10 September 2012 02:14   |
tom.grydeland
Messages: 51 Registered: September 2012
|
Member |
|
|
On Monday, September 3, 2012 5:22:10 AM UTC+2, Mike Galloy wrote:
> I have fields and properties attached to classes so adding parent
> fields/properties is no problem. But I have to think about methods a bit
> more. It's just a bit more complicated because currently routines are
> attached to a File object, not directly to the Class object. What is
> displayed if there is only a single method in a file? What if there are
> multiple classes in a single file?
I think this points to a direction where the file is less important, and Classes and Routines matter more. (I suppose this echoes what Bogdanovist has said already).
You are already compiling the files and using introspection, right?
Can introspection tell you directly which methods belong to a class? If not, can you use the introspection equivalent of HELP, /ROUTINES to search for everything pertaining to a given CLASS (and its inheritance tree)? Can you use the equivalent of HELP, /SOURCE to list the file where a method is defined as part of the method description?
> Michael Galloy
--T (tom grydeland @ norut)
|
|
|