JSDOC/TokenReader.js
[gnome.introspection-doc-generator] / JSDOC / Parser.js
index 83c7f2c..e814263 100644 (file)
@@ -84,11 +84,12 @@ Parser = {
         for (p in this.symbols._index) {
             var symbol = this.symbols.getSymbol(p);
             
-            print(JSON.stringify(symbol, null,4));
+           // print(JSON.stringify(symbol, null,4));
             
             if (!symbol) continue;
             
             if (symbol.isPrivate) {
+                this.symbols.deleteSymbol(symbol.alias);
                 continue;
             }
             
@@ -192,9 +193,16 @@ Parser = {
                        }
                        print("-------------------\n");
                }
-       }
-    
-    
-    
+       },
+    /**
+     * return symbols so they can be serialized.
+     */
+    symbolsToObject : function(srcFile)
+    {
+        //this.filesSymbols[srcFile] is a symbolset..
+        return this.filesSymbols[srcFile];
+        
+            //    Parser.filesSymbols[srcFile]._index
+    }
 
 }
\ No newline at end of file