parseman 0.48.1 → 0.49.0
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/cli/index.js +2 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/compiler/ir-serialize.d.ts.map +1 -1
- package/dist/compiler/linker.d.ts.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/language-service/index.js.map +1 -1
- package/dist/plugin/direct-builder-static.d.ts +20 -0
- package/dist/plugin/direct-builder-static.d.ts.map +1 -1
- package/dist/plugin/evaluator.d.ts +13 -0
- package/dist/plugin/evaluator.d.ts.map +1 -1
- package/dist/plugin/index.d.ts.map +1 -1
- package/dist/plugin/index.js +207 -20
- package/dist/plugin/index.js.map +2 -2
- package/dist/spec/index.js +2 -1
- package/dist/spec/index.js.map +1 -1
- package/dist/types.d.ts +6 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/compiler/ir-serialize.ts +15 -3
- package/src/compiler/linker.ts +14 -1
- package/src/plugin/direct-builder-static.ts +116 -12
- package/src/plugin/evaluator.ts +50 -2
- package/src/plugin/index.ts +140 -1
- package/src/types.ts +1 -1
- package/src/version.ts +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -5479,7 +5479,7 @@ function evalRuleMapIR(ir) {
|
|
|
5479
5479
|
l._def.fnSrc = src;
|
|
5480
5480
|
return l;
|
|
5481
5481
|
};
|
|
5482
|
-
const _nd = (type, child, src, opts, staticError, sigSrc) => {
|
|
5482
|
+
const _nd = (type, child, src, opts, staticError, sigSrc, buildImports) => {
|
|
5483
5483
|
if (staticError !== void 0 && staticError.length > 0) {
|
|
5484
5484
|
throw new Error(`IR direct node builder for ${type} must be macro-static and self-contained; unsupported binding(s): ${staticError.join(", ")}`);
|
|
5485
5485
|
}
|
|
@@ -5489,6 +5489,7 @@ function evalRuleMapIR(ir) {
|
|
|
5489
5489
|
n._def.buildSrc = src;
|
|
5490
5490
|
if (staticError !== void 0) n._def.buildStaticError = staticError;
|
|
5491
5491
|
if (sigSrc !== void 0) n._def.buildSigSrc = sigSrc;
|
|
5492
|
+
if (buildImports !== void 0) n._def.buildImports = buildImports;
|
|
5492
5493
|
return n;
|
|
5493
5494
|
};
|
|
5494
5495
|
const _gch = (items) => {
|