Descent generated documentation

Daniel Keep daniel.keep.lists at gmail.com
Fri Jul 10 21:40:22 PDT 2009



torhu wrote:
> On 10.07.2009 14:41, Ary Borenszweig wrote:
>> You can select the maximum visibility: private, protected or public.
>>
>> (in the original UI in the plugin for Java there's also "package",
>> but... where does "package" fall? private<  package<  protected?
>> protected<  package<  public? I think neither, mmm...)
> 
> I'd say the first order is right.  package is 'private to the library',
> but protected is available in subclasses everywhere.

Actually, a better idea might be to insert Javascript to allow filtering
visibility.  Just calling a library?  Default to showing only public
members.  Want to subclass something?  Switch to show protected.  Doing
development on it?  Switch to show package/all.


More information about the Digitalmars-d-announce mailing list