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 (parent:
7055370
)
JSDOC/ScopeParser.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 08:16:33 +0000
(16:16 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 15 Jul 2010 08:16:33 +0000
(16:16 +0800)
JSDOC/ScopeParser.js
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.js
b/JSDOC/ScopeParser.js
index
8054fb8
..
955e7ed
100644
(file)
--- a/
JSDOC/ScopeParser.js
+++ b/
JSDOC/ScopeParser.js
@@
-616,19
+616,19
@@
ScopeParser.prototype = {
*/
//this.dumpToken(token, this.scopes, this.braceNesting );
*/
//this.dumpToken(token, this.scopes, this.braceNesting );
- print('EXP' + token.toString());
+
//
print('EXP' + token.toString());
//println("<i>"+token.data+"</i>");
//this.log("EXP:" + token.data);
switch (token.type) {
case 'PUNC':
//println("<i>"+token.data+"</i>");
//this.log("EXP:" + token.data);
switch (token.type) {
case 'PUNC':
- print("EXPR-PUNC:" + token.toString());
+
//
print("EXPR-PUNC:" + token.toString());
switch(token.data) {
case ';':
switch(token.data) {
case ';':
- print("<< EXIT EXPRESSION");
+
//
print("<< EXIT EXPRESSION");
break;
case ',':
break;
case ',':
@@
-639,7
+639,7
@@
ScopeParser.prototype = {
case '(': //Token.LP:
case '{': //Token.LC:
case '[': //Token.LB:
case '(': //Token.LP:
case '{': //Token.LC:
case '[': //Token.LB:
- print('SCOPE-CURLY/PAREN/BRACE:' + token.toString());
+
//
print('SCOPE-CURLY/PAREN/BRACE:' + token.toString());
//println("<i>"+token.data+"</i>");
var curTS = this.ts;
if (token.props) {
//println("<i>"+token.data+"</i>");
var curTS = this.ts;
if (token.props) {
@@
-683,7
+683,7
@@
ScopeParser.prototype = {
case ')': //Token.RP:
case ']': //Token.RB:
case '}': //Token.RB:
case ')': //Token.RP:
case ']': //Token.RB:
case '}': //Token.RB:
- print("<< EXIT EXPRESSION");
+
//
print("<< EXIT EXPRESSION");
return;
return;
@@
-697,8
+697,8
@@
ScopeParser.prototype = {
break;
case 'STRN': // used for object lit detection..
break;
case 'STRN': // used for object lit detection..
- if (this.mode == 'BUILDING_SYMBOL_TREE')
- print("EXPR-STR:" + JSON.stringify(token, null, 4));
+
//
if (this.mode == 'BUILDING_SYMBOL_TREE')
+
//
print("EXPR-STR:" + JSON.stringify(token, null, 4));
break;
break;
@@
-708,9
+708,9
@@
ScopeParser.prototype = {
case 'NAME':
if (this.mode == 'BUILDING_SYMBOL_TREE') {
case 'NAME':
if (this.mode == 'BUILDING_SYMBOL_TREE') {
- print("EXPR-NAME:" + JSON.stringify(token, null, 4));
+
//
print("EXPR-NAME:" + JSON.stringify(token, null, 4));
} else {
} else {
- print("EXPR-NAME:" + token.toString());
+
//
print("EXPR-NAME:" + token.toString());
}
symbol = token.data;
//print("in NAME = " + token.toString());
}
symbol = token.data;
//print("in NAME = " + token.toString());