From 15d8f50209e07792458b915a0ef44673b687930e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 11 Jan 2016 17:00:12 +0800 Subject: [PATCH] JSDOC/Scope.js --- JSDOC/Scope.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 + ' '); -- 2.39.2