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/ScopeParser.js
[gnome.introspection-doc-generator]
/
JSDOC
/
ScopeParser.js
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
40dc9ec
..
7f38645
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-426,7
+426,7
@@
ScopeParser.prototype = {
break;
case "KEYW.CATCH":
break;
case "KEYW.CATCH":
- print('SCOPE-CATCH:' + token.toString());
+
//
print('SCOPE-CATCH:' + token.toString());
//println("<i>"+token.data+"</i>");
this.parseCatch();
break;
//println("<i>"+token.data+"</i>");
this.parseCatch();
break;
@@
-620,7
+620,7
@@
ScopeParser.prototype = {
*/
//this.dumpToken(token, this.scopes, this.braceNesting );
*/
//this.dumpToken(token, this.scopes, this.braceNesting );
- //print('EXP' + token.toString());
+ //print('EXP
R
' + token.toString());
//println("<i>"+token.data+"</i>");
//println("<i>"+token.data+"</i>");
@@
-780,8
+780,9
@@
ScopeParser.prototype = {
symbol = token.data;
if (this.mode == 'BUILDING_SYMBOL_TREE') {
symbol = token.data;
if (this.mode == 'BUILDING_SYMBOL_TREE') {
-
+
if (symbol == "eval") {
if (symbol == "eval") {
+ print(JSON.stringify(token,null,4));
if (token.prefix && token.prefix.match('/eval/')) {
// look for eval:var:noreplace\n
var _t = this;
if (token.prefix && token.prefix.match('/eval/')) {
// look for eval:var:noreplace\n
var _t = this;
@@
-876,9
+877,15
@@
ScopeParser.prototype = {
}
token = this.ts.nextTok();
}
}
token = this.ts.nextTok();
}
+
+
// return function() {....
while (token.data != "(") {
// return function() {....
while (token.data != "(") {
+ print(token.toString());
token = this.ts.nextTok();
token = this.ts.nextTok();
+
+
+
}
}