imports.JSDOC.Collapse.Collapse,
{
+ debugCall : function(str) {
+ print(str);
+ },
+
collapseTop : true,
buildSymbols : function()
}
//this.globalScope(this.statements);
- print("build Symbols");
+ this.debugCall("build Symbols");
//print (this.statements);
//print (JSON.stringify(this.statements, null,2));
return false;
}
- print("ADD:" + scope + ' => ' + r);
+ print("ADD:" + scope + ' => ' + r);
//print("CANON:" + r);
return r;
walkStatements: function(scope, statements)
{
- print("walkStatements :" + scope ) ;
+ this.debugCall("walkStatements :" + scope ) ;
var _this = this;
var res = false;
{
this.tokens = stmt;
this.rewind();
- print("walkStatement :" + scope + '@' + this.tokens[0].line );
+ this.debugCall("walkStatement :" + scope + '@' + this.tokens[0].line );
var name;
var sn;
walkFunctionDef : function (inscope, name, args, stmts, jsdocTok)
{
- print("wallkFuncDef: " + inscope + '@' + this.look(0).line );
+ this.debugCall("wallkFuncDef: " + inscope + '@' + this.look(0).line );
var scope = inscope + '.' + name;
walkCall : function (inscope, assign, callname, items, jsdocTok)
{
- print("wallkCall : " + inscope + '@' + this.look(0).line );
+ this.debugCall("wallkCall : " + inscope + '@' + this.look(0).line );
var scope = inscope + ( assign ? ('.' + assign) : '' );
scope = scope.replace(/\^$global\$\./, '');
}
- print("wallkObject : " + scope);
+ this.debugCall("wallkObject : " + scope);
for( var k in items) {
var key = items[k].key;
var val = items[k].val;