addSymbol : function(symbol) {
//print("ADDING SYMBOL:"+symbol.alias.toString());
+
if (this.hasSymbol(symbol.alias)) {
imports.BuildDocs.Options.LOG.warn("Overwriting symbol documentation for: "+symbol.alias + ".");
}
*/
toJSON : function() {
return {
- _object : 'SymbolSet',
+ '*object' : 'SymbolSet',
_index : this._index
};
resolveBorrows : function() {
for (p in this._index) {
var symbol = this._index[p];
+
+ if (!symbol.is) {
+ continue;
+ print("PROBLEM : " + p);
+ print(JSON.stringify(symbol, null, 4));
+ }
+
if (symbol.is("FILE") || symbol.is("GLOBAL")) continue;
var borrows = symbol.inherits;
resolveMemberOf : function() {
for (var p in this._index) {
var symbol = this.getSymbol(p);
-
+ if (!symbol.is) {
+ continue;
+ print("PROBLEM : " + p);
+ print(JSON.stringify(symbol, null, 4));
+ }
if (symbol.is("FILE") || symbol.is("GLOBAL")) continue;
// the memberOf value was provided in the @memberOf tag