JSDOC/Symbol.js
[gnome.introspection-doc-generator] / JSDOC / Symbol.js
index 08890d8..c3d5978 100644 (file)
@@ -48,11 +48,11 @@ Symbol = XObject.define(
         memberOf : "",
         methods : [], // Symbol[]
         _name : "",
-        _params : [],
-        properties : [],
-        requires : [],
-        returns : [],
-        see : [],
+        _params : [], //Doctag[]
+        properties : [], //Doctag[]
+        requires : [],  //Doctag[]
+        returns : [], //Doctag[]
+        see : [], //Doctag[]
         since : "",
         srcFile : {},
         type : "",
@@ -92,6 +92,11 @@ Symbol = XObject.define(
                             case 'exceptions' :  
                             case 'inherits' :
                             case 'methods' :
+                            case '_params': 
+                            case 'properties': 
+                            case 'requires':
+                            case 'returns':
+                            case 'see':
                                 ret[i] = array2object(this[i],true); 
                                 continue;
                                 
@@ -101,7 +106,10 @@ Symbol = XObject.define(
                                 print(JSON.stringify(this[i]));
                                 ret[i] = this[i].toObject();
                                 continue;
-                                
+                            case 'inheritsFrom':
+                            case 'childClasses':
+                                continue;
+            
                             default:
                                 print("object? :" + i);
                                 Seed.quit();
@@ -129,7 +137,7 @@ Symbol = XObject.define(
             //this.events = [];
             this.exceptions = [];
             this.inherits = [];
-            //this.inheritsFrom = [];
+            //
             this.isa = "OBJECT"; // OBJECT//FUNCTION
             this.methods = [];
             this._params = [];
@@ -138,8 +146,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;