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/spec/index.js
CHANGED
|
@@ -4950,7 +4950,7 @@ function evalRuleMapIR(ir) {
|
|
|
4950
4950
|
l._def.fnSrc = src;
|
|
4951
4951
|
return l;
|
|
4952
4952
|
};
|
|
4953
|
-
const _nd = (type, child, src, opts, staticError, sigSrc) => {
|
|
4953
|
+
const _nd = (type, child, src, opts, staticError, sigSrc, buildImports) => {
|
|
4954
4954
|
if (staticError !== void 0 && staticError.length > 0) {
|
|
4955
4955
|
throw new Error(`IR direct node builder for ${type} must be macro-static and self-contained; unsupported binding(s): ${staticError.join(", ")}`);
|
|
4956
4956
|
}
|
|
@@ -4960,6 +4960,7 @@ function evalRuleMapIR(ir) {
|
|
|
4960
4960
|
n._def.buildSrc = src;
|
|
4961
4961
|
if (staticError !== void 0) n._def.buildStaticError = staticError;
|
|
4962
4962
|
if (sigSrc !== void 0) n._def.buildSigSrc = sigSrc;
|
|
4963
|
+
if (buildImports !== void 0) n._def.buildImports = buildImports;
|
|
4963
4964
|
return n;
|
|
4964
4965
|
};
|
|
4965
4966
|
const _gch = (items) => {
|