projects
/
gnome.introspection-doc-generator
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e0883c6
)
JSDOC/ScopeParser.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Jul 2010 05:10:44 +0000
(13:10 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 16 Jul 2010 05:10:44 +0000
(13:10 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
a39b6dc
..
163a60e
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-141,7
+141,7
@@
ScopeParser.prototype = {
this.braceNesting = 0;
this.scopes = [];
this.braceNesting = 0;
this.scopes = [];
- print(JSON.stringify(this.ts.tokens, null,4));
+
//
print(JSON.stringify(this.ts.tokens, null,4));
this.globalScope = new Scope(-1, false, -1, '');
this.globalScope = new Scope(-1, false, -1, '');
@@
-823,10
+823,11
@@
ScopeParser.prototype = {
var token;
var currentScope;
var identifier;
var token;
var currentScope;
var identifier;
-
+ print(token.toString());
//token = getToken(-1);
//assert token.getType() == Token.CATCH;
token = this.ts.nextTok();
//token = getToken(-1);
//assert token.getType() == Token.CATCH;
token = this.ts.nextTok();
+
//assert token.getType() == Token.LP; (
//token = this.ts.nextTok();
//assert token.getType() == Token.NAME;
//assert token.getType() == Token.LP; (
//token = this.ts.nextTok();
//assert token.getType() == Token.NAME;