ibm-js / jsdoc-amddcl

An effort to create a JSDoc template that works well with AMD and C3MRO-based multiple class inheritance.
Other
3 stars 9 forks source link

Support for abstract classes #26

Closed AdrianVasiliu closed 10 years ago

AdrianVasiliu commented 10 years ago

We need a way to handle in the API doc "abstract classes" (as opposed to "concrete classes" and "mixins"). Currently, the IBM-JS JSDoc guidelines indicate to use @abstract on abstract classes, but currently the output of jsdoc-amddcl for

/**
 * A sample abstract class.
 * @class module:sampleframework/AbstractClass
 * @abstract
 */

is the following:

image

The troubles with this output:

image

Both issues hold for the amddcl template as well as for the default jsdoc3 template.

On the other side, http://usejsdoc.org/tags-abstract.html only implies the use of @abstract for class members, not for classes. So at the basis it seems jsdoc doesn't have anything matching our concept of "abstract class".

This raises the questions:

AdrianVasiliu commented 10 years ago

Great, thanks Akira!