From f8125fe9eeb0401eed90824cd40113554c1823a1 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 1 Dec 2010 16:58:08 +0800 Subject: [PATCH] tools/build_gtk_tree.js --- tools/build_gtk_tree.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/build_gtk_tree.js b/tools/build_gtk_tree.js index a2bc73cd3..56b469f91 100644 --- a/tools/build_gtk_tree.js +++ b/tools/build_gtk_tree.js @@ -37,6 +37,7 @@ ns_list.forEach(function(ns_name) { print("Looping throught namespaces"); var ns_idx = []; +var implementations = {}; ns_list.forEach(function(ns_name) { @@ -60,13 +61,15 @@ ns_list.forEach(function(ns_name) print('NameSpace.factory(Class,'+ns_name+'.'+n+')'); var odata = NameSpace.factory('Class', ns_name, n); - print(JSON.stringify(odata.childClasses,null,4)); + implementations[odata.alias] = odata.childClasses; + //print(JSON.stringify(odata.childClasses,null,4)); }); ns['interfaces'].forEach( function(n) { print('NameSpace.factory(Interface,'+ns_name+'.'+n+')'); var odata = NameSpace.factory('Interface', ns_name, n); - print(JSON.stringify(odata.implementedBy,null,4)); + implementations[odata.alias] = odata.implementedBy; + //print(JSON.stringify(odata.implementedBy,null,4)); }); // what we are interested in.. @@ -74,3 +77,4 @@ ns_list.forEach(function(ns_name) }); +print(JSON.stringify(implementations,null,4)); \ No newline at end of file -- 2.39.2