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:
f461618
)
JSDOC/ScopeParser.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:51:16 +0000
(16:51 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:51:16 +0000
(16:51 +0800)
JSDOC/ScopeParser.vala
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.vala
b/JSDOC/ScopeParser.vala
index
526ba43
..
b8bf9a7
100644
(file)
--- a/
JSDOC/ScopeParser.vala
+++ b/
JSDOC/ScopeParser.vala
@@
-692,7
+692,7
@@
namespace JSDOC {
}
break;
}
break;
- case
'STRN'
: // used for object lit detection..
+ 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));
@@
-701,8
+701,8
@@
namespace JSDOC {
- case
'NAME'
:
- if (this.mode ==
'BUILDING_SYMBOL_TREE'
) {
+ case
"NAME"
:
+ if (this.mode ==
ScopeParserMode.BUILDING_SYMBOL_TREE
) {
//print("EXPR-NAME:" + JSON.stringify(token, null, 4));
} else {
//print("EXPR-NAME:" + JSON.stringify(token, null, 4));
} else {
@@
-719,11
+719,11
@@
namespace JSDOC {
//skip '.'
break;
}
//skip '.'
break;
}
- if (symbol ==
'this'
) {
+ if (symbol ==
"this"
) {
break;
}
break;
}
- if (this.mode ==
'PASS2_SYMBOL_TREE'
) {
+ if (this.mode ==
ScopeParserMode.PASS2_SYMBOL_TREE
) {
identifier = this.getIdentifier(symbol, scope, token);
//println("<B>??</B>");
identifier = this.getIdentifier(symbol, scope, token);
//println("<B>??</B>");