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:
15c5565
)
JSDOC/ScopeParser.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:36:40 +0000
(16:36 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 6 Nov 2015 08:36:40 +0000
(16:36 +0800)
JSDOC/ScopeParser.vala
patch
|
blob
|
history
diff --git
a/JSDOC/ScopeParser.vala
b/JSDOC/ScopeParser.vala
index
73ee2bf
..
8b81102
100644
(file)
--- a/
JSDOC/ScopeParser.vala
+++ b/
JSDOC/ScopeParser.vala
@@
-368,14
+368,14
@@
namespace JSDOC {
// ( ... ) or { .... } not object literals..
// ( ... ) or { .... } not object literals..
- var _this = this;
- for (var xx =0; xx < token.items.
length
; xx++) {
-
expr = token.items[xx]
;
+
+ for (var xx =0; xx < token.items.
size
; xx++) {
+
expr = token.items.get(xx)
;
//token.items.forEach(function(expr) {
//print(expr.toString());
//token.items.forEach(function(expr) {
//print(expr.toString());
-
_
this.ts = new TokenStream(expr);
+ this.ts = new TokenStream(expr);
//if (curTS.data == '(') {
//if (curTS.data == '(') {
-
_
this.parseScope(scope)
+ this.parseScope(scope)
//} else {
// _this.parseExpression(scope)
//}
//} else {
// _this.parseExpression(scope)
//}