X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=blobdiff_plain;f=JSDOC%2FScope.js;h=ed5202af818616e088e98ecf4da81b287ab29744;hp=6d191bdd3757b6d925818b494c880b99d9dc3b6b;hb=15d8f50209e07792458b915a0ef44673b687930e;hpb=1b1f1ee454912abe1e6716e22f8e1990694bee38 diff --git a/JSDOC/Scope.js b/JSDOC/Scope.js index 6d191bd..ed5202a 100644 --- a/JSDOC/Scope.js +++ b/JSDOC/Scope.js @@ -62,10 +62,16 @@ Scope.prototype = { dump : function(indent) { indent = indent || ''; + var str = ''; + for (var k in this.identifiers) { + str += str.length ? ", " : ""; + str += k + '=>' + this.identifiers[k].mungedValue; + } + print( indent + "Scope: " + this.id + "\n" + indent + "Started: " + ( this.token ? this.token.line : 'TOP' ) + "\n" + - indent + "- " + XObject.keys(this.identifiers).join(", ") + "\n" + indent + "- " + str + "\n" ); this.subScopes.forEach(function(s) { s.dump(indent + ' ');