It would be nice to use the JSDoc examples for the examples project but they do not work with the current JSDoc Filter
example:
/** * Represents a book. * @constructor * @param {string} title - The title of the book. * @param {string} author - The author of the book. */ function Book(title, author) { }
From the JSDoc documentation, @constructor is the same as @class:
http://usejsdoc.org/tags-class.html
So we should be able to parse this as type "Book", it probably means parsing the name from the code AST that follows the comment block.
Last edit: Michael Gärtner 2015-03-17
I updated the JSDocFilter now it should work.
@jhammen Could you verify my changes.
will do!
looks great - I'm going to make a 0.9.1 release based on these fixes