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/index.js
CHANGED
|
@@ -15403,7 +15403,8 @@ function tableRules(source, metadataOrEntry = {}) {
|
|
|
15403
15403
|
scanSkipFor: (ri, ctx) => {
|
|
15404
15404
|
const a = cache.forCtx(ctx);
|
|
15405
15405
|
selected = a;
|
|
15406
|
-
|
|
15406
|
+
const slot = skipOf?.[ri];
|
|
15407
|
+
return slot === void 0 || slot < 0 ? void 0 : a.scanSkip[slot];
|
|
15407
15408
|
}
|
|
15408
15409
|
}, artifactMetadata, resolved);
|
|
15409
15410
|
if (entry === void 0) return map;
|
|
@@ -17312,8 +17313,11 @@ function compileImpl(combinator, mapFnSources, opts = {}) {
|
|
|
17312
17313
|
// falls back to regex-scanning generated hooks; a table has no hooks to scan,
|
|
17313
17314
|
// so this is the channel.
|
|
17314
17315
|
...plan === void 0 ? {} : { coverageDefinitions: plan.definitions },
|
|
17315
|
-
parse
|
|
17316
|
-
|
|
17316
|
+
// The same three arguments as a combinator's own `parse`, so a compiled
|
|
17317
|
+
// parser runs where a combinator does. A caller probing many positions
|
|
17318
|
+
// passes one context and pays for none per call.
|
|
17319
|
+
parse(input, pos = 0, ctx) {
|
|
17320
|
+
return runOnce2(input, pos, ctx ?? createParseContext());
|
|
17317
17321
|
},
|
|
17318
17322
|
parseWithContext(input, parseCtx, pos = 0) {
|
|
17319
17323
|
return runOnce2(input, pos, parseCtx);
|
|
@@ -17765,7 +17769,7 @@ function fieldOptionsSrc(def) {
|
|
|
17765
17769
|
}
|
|
17766
17770
|
|
|
17767
17771
|
// src/version.ts
|
|
17768
|
-
var PARSEMAN_VERSION = "0.55.
|
|
17772
|
+
var PARSEMAN_VERSION = "0.55.4";
|
|
17769
17773
|
|
|
17770
17774
|
// src/compiler/compile-linkable-table.ts
|
|
17771
17775
|
function isLocal(rule) {
|