projects
/
gnome.introspection-doc-generator
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JSDOC/Scope.js
[gnome.introspection-doc-generator]
/
JSDOC
/
Scope.js
diff --git
a/JSDOC/Scope.js
b/JSDOC/Scope.js
index
6d191bd
..
425a385
100644
(file)
--- a/
JSDOC/Scope.js
+++ b/
JSDOC/Scope.js
@@
-62,10
+62,17
@@
Scope.prototype = {
dump : function(indent)
{
indent = indent || '';
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" +
print(
indent + "Scope: " + this.id + "\n" +
- indent + "Started: " + ( this.token ? this.token.line : 'TOP' ) + "\n" +
- indent + "- " + XObject.keys(this.identifiers).join(", ") + "\n"
+
+ indent + "Started: " + ( this.token ? this.token.toString(): 'TOP' ) + "\n" +
+ indent + "- " + str + "\n"
);
this.subScopes.forEach(function(s) {
s.dump(indent + ' ');
);
this.subScopes.forEach(function(s) {
s.dump(indent + ' ');