-//<script type="text/javascript">
+
+Gio = imports.gi.Gio;
+
+XObject = imports.XObject.XObject;
+File = imports.File.File;
+
+
+
+Template = imports.JsTemplate.Template.Template;
+Link = imports.JsTemplate.Link.Link; // ?? fixme!??
+
+
+
/**
- *
* This is the main container for the JSDOC application.
*
- *usage::
+ * <PRE>
+usage::
BuildDocs = imports.JSDOC.BuildDocs.BuildDocs
or command line:
new ArgsParser(argv, imports.BuildDocs.BuildDocs )
+ * </PRE>
+ *
*
+ * What it does..
+ * - tokenizes, collapse, then runs each file through ScopeNamer.
+ * - this is cached (so reparsing is not always needed)
+ * This in turn builds 'symbolSet' - which
+ * - after all symbols are read - symbolSet.relate(); is called.
+ *
+
+
+
* @scope JSDOC
- */
-
-
-Gio = imports.gi.Gio;
-
-XObject = imports.XObject.XObject;
-File = imports.File.File;
-
-
-
-Template = imports.JsTemplate.Template.Template;
-Link = imports.JsTemplate.Link.Link; // ?? fixme!??
-
-
-
-/**
- *
* @class BuildDocs
*
* Main class used to build documentation
});
*/
-
+ imports.ScopeNamer.ScopeNamer.builder = this;
this.build();
*/
ignoreNamespace : false,
-
-
-
-
+ /**
+ * @cfg {Boolean} treatUnderscoredAsPrivate automatically flag underscore prefixed properties as private.
+ */
+ treatUnderscoredAsPrivate : true,
+
/**
* Full list of source files.
* @private
imports.ScopeNamer.ScopeNamer.symbols.relate();
- //print(JSON.stringify(
- // XObject.keys(imports.ScopeNamer.ScopeNamer.symbols._index),
- //null, 4));
+ print(JSON.stringify(
+ XObject.keys(imports.ScopeNamer.ScopeNamer.symbols._index),
+ null, 4));
//print(JSON.stringify(imports.ScopeNamer.ScopeNamer.symbols._index, null,4));
//symbol.ignoreNamespace = this.ignoreNamespace;
-
- var ns = File.dirname(symbol.srcFile).replace(/\//g,'.');
- if (symbol.alias.substring(0, ns.length) == ns) {
- ns = '';
- }
- ns += ns.length ? '.' : '';
+ var ns = '';
+ //var ns = File.dirname(symbol.srcFile).replace(/\//g,'.');
+ //if (symbol.alias.substring(0, ns.length) == ns) {
+ // ns = '';
+ // }
+ //ns += ns.length ? '.' : '';
this.LOG.inform("classTemplate Process : " +