parseman 0.51.0 → 0.51.1
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/index.js +7 -3
- package/dist/index.js.map +1 -1
- package/dist/plugin/index.js +7 -3
- package/dist/plugin/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/compiler/ir-serialize.ts +7 -3
- package/src/version.ts +1 -1
package/dist/plugin/index.js
CHANGED
|
@@ -16862,8 +16862,12 @@ ${outerDecls.map((d) => " " + d).join("\n")}
|
|
|
16862
16862
|
const kid = (x) => this.ref(x, frames);
|
|
16863
16863
|
const bal = balancedOf(c);
|
|
16864
16864
|
if (bal) {
|
|
16865
|
-
const
|
|
16866
|
-
|
|
16865
|
+
const options = [
|
|
16866
|
+
...bal.ownSkip.length === 0 ? [] : [`skip: [${bal.ownSkip.map(kid).join(", ")}]`],
|
|
16867
|
+
...bal.strict ? ["strict: true"] : []
|
|
16868
|
+
];
|
|
16869
|
+
const optionsArg = options.length === 0 ? "" : `, { ${options.join(", ")} }`;
|
|
16870
|
+
return `balanced(${JSON.stringify(bal.open)}, ${JSON.stringify(bal.close)}${optionsArg})`;
|
|
16867
16871
|
}
|
|
16868
16872
|
switch (def.tag) {
|
|
16869
16873
|
case "lazy": {
|
|
@@ -17125,7 +17129,7 @@ function compileRuleMap(ruleMap, opts = {}) {
|
|
|
17125
17129
|
}
|
|
17126
17130
|
|
|
17127
17131
|
// src/version.ts
|
|
17128
|
-
var PARSEMAN_VERSION = "0.51.
|
|
17132
|
+
var PARSEMAN_VERSION = "0.51.1";
|
|
17129
17133
|
|
|
17130
17134
|
// src/compiler/compile-linkable-table.ts
|
|
17131
17135
|
function isLocal(rule) {
|