JSDOC/Symbol.js
[gnome.introspection-doc-generator] / JSDOC / Symbol.js
index c79bc76..286f175 100644 (file)
@@ -26,7 +26,7 @@ Symbol = XObject.define(
         $args : [], // original arguments used when constructing.
         addOn : "",
         alias : "",
-        augments : false, // Doctag
+        augments : [], // Doctag[]
         author : "",
         classDesc : "",
         comment : {},
@@ -34,9 +34,9 @@ Symbol = XObject.define(
         desc : "",
         //events : false,
         example : "",
-        exceptions : [],
-        inherits : [],
-        inheritsFrom : [],
+        exceptions : [],  // Doctag[]
+        inherits : [],  // Doctag[]
+        //inheritsFrom : [],
         isa : "OBJECT", // OBJECT//FUNCTION
         isEvent : false,
         isConstant : false,
@@ -46,13 +46,13 @@ Symbol = XObject.define(
         isPrivate : false,
         isStatic : false,
         memberOf : "",
-        methods : [],
+        methods : [], // Symbol[]
         _name : "",
-        _params : [],
-        properties : [],
-        requires : [],
-        returns : [],
-        see : [],
+        _params : [], //Doctag[]
+        properties : [], //Doctag[]
+        requires : [],  //Doctag[]
+        returns : [], //Doctag[]
+        see : [], //Doctag[]
         since : "",
         srcFile : {},
         type : "",
@@ -88,11 +88,20 @@ Symbol = XObject.define(
                         switch(i) {
                             //arrays..
                             case 'params' : 
+                            case 'augments' :                             
+                            case 'exceptions' :  
+                            case 'inherits' :
+                            case 'methods' :
+                            case '_params': 
+                            case 'properties': 
+                            case 'requires':
+                            case 'returns':
+                            case 'see':
                                 ret[i] = array2object(this[i],true); 
                                 continue;
                                 
                             //objects..
-                            case 'augments' : 
+                            
                             case 'comment' :
                                 print(JSON.stringify(this[i]));
                                 ret[i] = this[i].toObject();
@@ -125,7 +134,7 @@ Symbol = XObject.define(
             //this.events = [];
             this.exceptions = [];
             this.inherits = [];
-            this.inheritsFrom = [];
+            //this.inheritsFrom = [];
             this.isa = "OBJECT"; // OBJECT//FUNCTION
             this.methods = [];
             this._params = [];