/**
* @return {Token|null}
+ * next token (with white space)
*/
var depth = 0;
var got = [];
var started = false;
- Seed.print("START:" + start);
- Seed.print("STOP:" + stop);
+ //Seed.print("START:" + start);
+ //Seed.print("STOP:" + stop);
while ((token = this.look())) {
if (token.is(start)) {
- Seed.print("balance: START : " + depth + " " + token.data);
+ // Seed.print("balance: START : " + depth + " " + token.data);
depth++;
started = true;
}
if (token.is(stop)) {
depth--;
- Seed.print("balance: STOP: " + depth + " " + token.data);
+ // Seed.print("balance: STOP: " + depth + " " + token.data);
if (depth < 1) return got;
}
if (!this.next()) break;