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.
@@ -358,9 +358,7 @@ class Tokenizer {
358
358
  return this.token;
359
359
  } catch (error) {
360
360
  throw error;
361
- } finally {
362
- this.handledTokens.push(this.token);
363
- }
361
+ } finally {}
364
362
  }
365
363
  locStart() {
366
364
  {
@@ -404,7 +402,6 @@ class Tokenizer {
404
402
  }
405
403
  const trimmed = value.replace(/\/\/[\s\S]+/, '').trim();
406
404
  this.setToken(TokenType.Identifier, trimmed ? trimmed : true, 0);
407
- this.handledTokens.push(this.token);
408
405
  this.locEnd();
409
406
  return this.token;
410
407
  }
@@ -425,7 +422,6 @@ class Tokenizer {
425
422
  char = this.code[this.i];
426
423
  }
427
424
  this.setToken(TokenType.Identifier, value, 0);
428
- this.handledTokens.push(this.token);
429
425
  this.locEnd();
430
426
  return this.token;
431
427
  }
@@ -2364,10 +2360,19 @@ class Interpreter {
2364
2360
  }
2365
2361
  removeForItem(children, i) {
2366
2362
  const child = children[i];
2363
+ const after = child.realAfter;
2367
2364
  this.removeLogicNode(child);
2368
2365
  this.remove(child.realBefore);
2369
2366
  this.remove(child.realAfter);
2370
2367
  child.effect.dispose();
2368
+ child.effect = undefined;
2369
+ child.data = undefined;
2370
+ child.context = undefined;
2371
+ after[FakeNode] = undefined;
2372
+ child.forNode = undefined;
2373
+ child.realParent = undefined;
2374
+ child.realAfter = undefined;
2375
+ child.realBefore = undefined;
2371
2376
  }
2372
2377
  reuseForItem(child, data, itemExp, i, indexName, indexValue) {
2373
2378
  if (typeof itemExp === 'string') {