bobe 0.0.75 → 0.0.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -359,9 +359,7 @@ class Tokenizer {
359
359
  return this.token;
360
360
  } catch (error) {
361
361
  throw error;
362
- } finally {
363
- this.handledTokens.push(this.token);
364
- }
362
+ } finally {}
365
363
  }
366
364
  locStart() {
367
365
  {
@@ -405,7 +403,6 @@ class Tokenizer {
405
403
  }
406
404
  const trimmed = value.replace(/\/\/[\s\S]+/, '').trim();
407
405
  this.setToken(TokenType.Identifier, trimmed ? trimmed : true, 0);
408
- this.handledTokens.push(this.token);
409
406
  this.locEnd();
410
407
  return this.token;
411
408
  }
@@ -426,7 +423,6 @@ class Tokenizer {
426
423
  char = this.code[this.i];
427
424
  }
428
425
  this.setToken(TokenType.Identifier, value, 0);
429
- this.handledTokens.push(this.token);
430
426
  this.locEnd();
431
427
  return this.token;
432
428
  }
@@ -2365,10 +2361,19 @@ class Interpreter {
2365
2361
  }
2366
2362
  removeForItem(children, i) {
2367
2363
  const child = children[i];
2364
+ const after = child.realAfter;
2368
2365
  this.removeLogicNode(child);
2369
2366
  this.remove(child.realBefore);
2370
2367
  this.remove(child.realAfter);
2371
2368
  child.effect.dispose();
2369
+ child.effect = undefined;
2370
+ child.data = undefined;
2371
+ child.context = undefined;
2372
+ after[FakeNode] = undefined;
2373
+ child.forNode = undefined;
2374
+ child.realParent = undefined;
2375
+ child.realAfter = undefined;
2376
+ child.realBefore = undefined;
2372
2377
  }
2373
2378
  reuseForItem(child, data, itemExp, i, indexName, indexValue) {
2374
2379
  if (typeof itemExp === 'string') {