bobe 0.0.54 → 0.0.56
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.
- package/dist/bobe.cjs.js +3 -0
- package/dist/bobe.cjs.js.map +1 -1
- package/dist/bobe.compiler.cjs.js +3 -0
- package/dist/bobe.compiler.cjs.js.map +1 -1
- package/dist/bobe.compiler.esm.js +4 -2
- package/dist/bobe.compiler.esm.js.map +1 -1
- package/dist/bobe.esm.js +4 -2
- package/dist/bobe.esm.js.map +1 -1
- package/dist/index.d.ts +5 -15
- package/dist/index.umd.js +3 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -3
|
@@ -252,6 +252,7 @@ class Tokenizer {
|
|
|
252
252
|
}
|
|
253
253
|
isEof() {
|
|
254
254
|
if (!this.token) return false;
|
|
255
|
+
if (this.i >= this.code.length && !this.waitingTokens.len) return true;
|
|
255
256
|
return this.token.type & TokenType.Identifier && this.token.value === Tokenizer.EofId;
|
|
256
257
|
}
|
|
257
258
|
setToken(type, value, dt = 1) {
|
|
@@ -2451,6 +2452,7 @@ function customRender(option) {
|
|
|
2451
2452
|
tokenizer
|
|
2452
2453
|
};
|
|
2453
2454
|
terp.program(root, componentNode);
|
|
2455
|
+
aoye.flushMicroEffectManual();
|
|
2454
2456
|
return [componentNode, store];
|
|
2455
2457
|
};
|
|
2456
2458
|
}
|
|
@@ -2499,6 +2501,7 @@ Object.defineProperty(exports, "Store", {
|
|
|
2499
2501
|
get: function () { return aoye.Store; }
|
|
2500
2502
|
});
|
|
2501
2503
|
exports.Compiler = Compiler;
|
|
2504
|
+
exports.FakeType = FakeType;
|
|
2502
2505
|
exports.NodeType = NodeType;
|
|
2503
2506
|
exports.ParseSyntaxError = ParseSyntaxError;
|
|
2504
2507
|
exports.Tokenizer = Tokenizer;
|