wirwolf / jsdoc-toolkit

Automatically exported from code.google.com/p/jsdoc-toolkit
0 stars 0 forks source link

uninitialized field documnetation not shown in output #350

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
First, thanks for your efforts. Excellent package.

Here is my question. Is it normal behavior not to pick a field var that has not 
been assigned a value? (kept "undefined")

Here is my case:

function Graph()
{
        /**#@+ 
         * @description Property field - 
         */

        /** number of vertices */
    this.nv;
... <cut>

this.nv does not show in the field listing under the Graph class, unless I 
assign it a value. If I initialize it to something, say 0 (sensible in this 
case), it documented as expected. So there is a work-around, but is this by 
design?

Best regards

Original issue reported on code.google.com by cs212...@gmail.com on 5 Oct 2014 at 4:42