var scopeLen = this.scopes.length;
if (this.ts.cursor < 1) {
- this.ts.cursor--; // hopeflly this kludge will work
- }
-
+ this.ts.cursor--; // hopeflly this kludge will work
+ }
+ //print(JSON.stringify(this.ts, null, 4)); Seed.quit();
while (false != (token = this.ts.next())) {
- //print("TOK"+ token.toString());
+ print("TOK"+ token.toString());
// this.timerPrint("parseScope AFTER lookT: " + token.toString());
if (token.is('WHIT')) {
this.ts.lookT(4).type == 'NAME' &&
this.ts.lookT(5).data == ',' &&
this.ts.lookT(6).data == '{'
- }
+
) {
// ignore test for ( a and ,
this.ts.nextT(); /// (
this.ts.lookT(2).name == 'NEW' &&
this.ts.lookT(3).type == 'NAME' &&
this.ts.lookT(4).data == '(' &&
- this.ts.lookT(5)..data == '{'
+ this.ts.lookT(5).data == '{'
) {
scopeName = token.data;
if (this.currentDoc) {