JSDOC/Symbol.js
[gnome.introspection-doc-generator] / JSDOC / Symbol.js
index d82d5cb..f40b6ce 100644 (file)
@@ -35,8 +35,8 @@ Symbol = XObject.define(
         //events : false,
         example : "",
         exceptions : [],  // Doctag[]
-        inherits : [],
-        inheritsFrom : [],
+        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 : "",
@@ -89,6 +89,14 @@ Symbol = XObject.define(
                             //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;
                                 
@@ -98,7 +106,11 @@ Symbol = XObject.define(
                                 print(JSON.stringify(this[i]));
                                 ret[i] = this[i].toObject();
                                 continue;
-                                
+                            //skip
+                            case 'inheritsFrom':
+                            case 'childClasses':
+                                continue;
+            
                             default:
                                 print("object? :" + i);
                                 Seed.quit();
@@ -126,7 +138,7 @@ Symbol = XObject.define(
             //this.events = [];
             this.exceptions = [];
             this.inherits = [];
-            this.inheritsFrom = [];
+            //
             this.isa = "OBJECT"; // OBJECT//FUNCTION
             this.methods = [];
             this._params = [];
@@ -135,8 +147,12 @@ Symbol = XObject.define(
             this.returns = [];
             this.see = [];
             this.srcFile = {};
-            this.childClasses = [];
+            
+            
             this.cfgs = {};
+            // derived later?
+            this.inheritsFrom = [];
+            this.childClasses = [];
             
             this.comment = new DocComment();
             this.comment.isUserComment =  false;