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
package/dist/bobe.cjs.js
CHANGED
|
@@ -243,6 +243,7 @@ class Tokenizer {
|
|
|
243
243
|
}
|
|
244
244
|
isEof() {
|
|
245
245
|
if (!this.token) return false;
|
|
246
|
+
if (this.i >= this.code.length && !this.waitingTokens.len) return true;
|
|
246
247
|
return this.token.type & TokenType.Identifier && this.token.value === Tokenizer.EofId;
|
|
247
248
|
}
|
|
248
249
|
setToken(type, value, dt = 1) {
|
|
@@ -2424,6 +2425,7 @@ function customRender(option) {
|
|
|
2424
2425
|
tokenizer
|
|
2425
2426
|
};
|
|
2426
2427
|
terp.program(root, componentNode);
|
|
2428
|
+
aoye.flushMicroEffectManual();
|
|
2427
2429
|
return [componentNode, store];
|
|
2428
2430
|
};
|
|
2429
2431
|
}
|
|
@@ -2472,6 +2474,7 @@ Object.defineProperty(exports, "Store", {
|
|
|
2472
2474
|
get: function () { return aoye.Store; }
|
|
2473
2475
|
});
|
|
2474
2476
|
exports.Compiler = Compiler;
|
|
2477
|
+
exports.FakeType = FakeType;
|
|
2475
2478
|
exports.NodeType = NodeType;
|
|
2476
2479
|
exports.ParseSyntaxError = ParseSyntaxError;
|
|
2477
2480
|
exports.Tokenizer = Tokenizer;
|