You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected output? What do you see instead?
A tree of inheritance, between types; something like
AbstractButton
|
+--ImageButton
|
+--DockImageButton
with each entry being a link to the doc of that particular type.
Instead, there's nothing, so far.
What version of the product are you using? On what operating system?
1.3.0, on Linux
Please provide any additional information below.
Original issue reported on code.google.com by aun...@gmail.com on 6 Sep 2007 at 12:02
The text was updated successfully, but these errors were encountered:
There are some fundamental technical problems with this feature. Java enforces
the
rule that any subclass can only have a single superclass, but in JavaScript
there is
no such enforcement. In fact there is no such thing as a superclass at all,
because
inheritance is based prototypes. It is possible that a constructor's prototype
could
be a combination of several other objects. This would be documented like so:
/**
* @name Ant
* @extends Insect
* @extends Hexapod
* @extends Pest
*/
So to create a tree such as you are requesting I must devise a rule for how to
deal
with arbitrarily many superclasses. I don't see how that is possible.
Insect Hexapod Pest
| | |
| | +-+
| +---------+
+----------------+- Ant
Now consider if every one of those superclasses has many superclasses (and so
on).
The alternative is to invent an arbitrary rule that you can only ever have one
@extends tag, or that secondary @extends tags will be ignored, but that seems
worse
than having no tree diagram at all.
I'm willing to listen to suggested solutions, but until then I think this
feature is
more problematic than helpful.
Original issue reported on code.google.com by
aun...@gmail.com
on 6 Sep 2007 at 12:02The text was updated successfully, but these errors were encountered: