parseman 0.55.3 → 0.55.4
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/analysis/diagnostics.js +7 -3
- package/dist/analysis/diagnostics.js.map +1 -1
- package/dist/cli/index.js +7 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +8 -4
- package/dist/index.js.map +1 -1
- package/dist/plugin/index.js +8 -4
- package/dist/plugin/index.js.map +1 -1
- package/dist/table/exec.d.ts.map +1 -1
- package/dist/table/index.js +7 -3
- package/dist/table/index.js.map +1 -1
- package/dist/types.d.ts +5 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/table/assemble.ts +4 -1
- package/src/table/compile.ts +5 -2
- package/src/table/exec.ts +4 -1
- package/src/types.ts +5 -1
- package/src/version.ts +1 -1
package/dist/plugin/index.js
CHANGED
|
@@ -14986,7 +14986,8 @@ function tableRules(source, metadataOrEntry = {}) {
|
|
|
14986
14986
|
scanSkipFor: (ri, ctx) => {
|
|
14987
14987
|
const a = cache.forCtx(ctx);
|
|
14988
14988
|
selected = a;
|
|
14989
|
-
|
|
14989
|
+
const slot = skipOf?.[ri];
|
|
14990
|
+
return slot === void 0 || slot < 0 ? void 0 : a.scanSkip[slot];
|
|
14990
14991
|
}
|
|
14991
14992
|
}, artifactMetadata, resolved);
|
|
14992
14993
|
if (entry === void 0) return map;
|
|
@@ -16895,8 +16896,11 @@ function compileImpl(combinator, mapFnSources, opts = {}) {
|
|
|
16895
16896
|
// falls back to regex-scanning generated hooks; a table has no hooks to scan,
|
|
16896
16897
|
// so this is the channel.
|
|
16897
16898
|
...plan === void 0 ? {} : { coverageDefinitions: plan.definitions },
|
|
16898
|
-
parse
|
|
16899
|
-
|
|
16899
|
+
// The same three arguments as a combinator's own `parse`, so a compiled
|
|
16900
|
+
// parser runs where a combinator does. A caller probing many positions
|
|
16901
|
+
// passes one context and pays for none per call.
|
|
16902
|
+
parse(input, pos = 0, ctx) {
|
|
16903
|
+
return runOnce(input, pos, ctx ?? createParseContext());
|
|
16900
16904
|
},
|
|
16901
16905
|
parseWithContext(input, parseCtx, pos = 0) {
|
|
16902
16906
|
return runOnce(input, pos, parseCtx);
|
|
@@ -17351,7 +17355,7 @@ function fieldOptionsSrc(def) {
|
|
|
17351
17355
|
}
|
|
17352
17356
|
|
|
17353
17357
|
// src/version.ts
|
|
17354
|
-
var PARSEMAN_VERSION = "0.55.
|
|
17358
|
+
var PARSEMAN_VERSION = "0.55.4";
|
|
17355
17359
|
|
|
17356
17360
|
// src/compiler/compile-linkable-table.ts
|
|
17357
17361
|
function isLocal(rule) {
|