//println("<i>"+token.data+"</i>");
if (token.props) {
+ var curTS = this.ts;
for (var prop in token.props) {
if (token.props[prop].val.data == 'function') {
// parse a function..
continue;
}
// key value..
- var curTS = this.ts;
+
this.ts = new TokenStream(token.props[prop].val);
this.parseScope(scope);
- this.ts = curTS;
+
}
+ this.ts = curTS;
// it's an object literal..
// the values could be replaced..