@speclynx/apidom-parser-adapter-openapi-yaml-3-1 2.0.1 → 2.1.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.
@@ -269,7 +269,7 @@ __webpack_require__.r(__webpack_exports__);
269
269
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
270
270
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
271
271
  /* harmony export */ });
272
- /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12008);
272
+ /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
273
273
 
274
274
  class JSONPointerEvaluateError extends _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
275
275
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerEvaluateError);
@@ -359,6 +359,94 @@ function _objectIs(a, b) {
359
359
 
360
360
  /***/ }),
361
361
 
362
+ /***/ 1257:
363
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
364
+
365
+ __webpack_require__.r(__webpack_exports__);
366
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
367
+ /* harmony export */ decodeDoubleQuotedString: () => (/* binding */ decodeDoubleQuotedString),
368
+ /* harmony export */ decodeInteger: () => (/* binding */ decodeInteger),
369
+ /* harmony export */ decodeJSONValue: () => (/* binding */ decodeJSONValue),
370
+ /* harmony export */ decodeSingleQuotedString: () => (/* binding */ decodeSingleQuotedString)
371
+ /* harmony export */ });
372
+ const decodeDoubleQuotedString = str => {
373
+ return decodeJSONValue(`"${str}"`);
374
+ };
375
+ const decodeSingleQuotedString = str => {
376
+ // Decode single-quoted string escape sequences into raw text, then let JSON.stringify
377
+ // produce a correctly escaped double-quoted JSON string.
378
+ let decoded = '';
379
+ for (let i = 0; i < str.length; i++) {
380
+ const ch = str[i];
381
+ if (ch === '\\') {
382
+ i++;
383
+ if (i >= str.length) {
384
+ // Trailing backslash, treat it as a literal backslash
385
+ decoded += '\\';
386
+ break;
387
+ }
388
+ const esc = str[i];
389
+ switch (esc) {
390
+ case 'n':
391
+ decoded += '\n';
392
+ break;
393
+ case 'r':
394
+ decoded += '\r';
395
+ break;
396
+ case 't':
397
+ decoded += '\t';
398
+ break;
399
+ case 'b':
400
+ decoded += '\b';
401
+ break;
402
+ case 'f':
403
+ decoded += '\f';
404
+ break;
405
+ case '/':
406
+ decoded += '/';
407
+ break;
408
+ case '\\':
409
+ decoded += '\\';
410
+ break;
411
+ case "'":
412
+ decoded += "'";
413
+ break;
414
+ case '"':
415
+ decoded += '"';
416
+ break;
417
+ case 'u':
418
+ {
419
+ // Unicode escape \uXXXX - grammar guarantees exactly 4 hex digits
420
+ const hex = str.slice(i + 1, i + 5);
421
+ decoded += String.fromCharCode(parseInt(hex, 16));
422
+ i += 4;
423
+ break;
424
+ }
425
+ default:
426
+ // Unrecognized escape, keep the escaped character literally
427
+ decoded += esc;
428
+ break;
429
+ }
430
+ } else {
431
+ decoded += ch;
432
+ }
433
+ }
434
+ // Use JSON.stringify to produce a valid JSON string literal
435
+ return decodeJSONValue(JSON.stringify(decoded));
436
+ };
437
+ const decodeInteger = str => {
438
+ const value = parseInt(str, 10);
439
+ if (!Number.isSafeInteger(value)) {
440
+ throw new RangeError(`Integer value out of safe range [-(2^53)+1, (2^53)-1], got: ${str}`);
441
+ }
442
+ return value;
443
+ };
444
+ const decodeJSONValue = str => {
445
+ return JSON.parse(str);
446
+ };
447
+
448
+ /***/ }),
449
+
362
450
  /***/ 1448:
363
451
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
364
452
 
@@ -1382,6 +1470,63 @@ class ParentSchemaAwareVisitor {
1382
1470
 
1383
1471
  /***/ }),
1384
1472
 
1473
+ /***/ 4766:
1474
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1475
+
1476
+ __webpack_require__.r(__webpack_exports__);
1477
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1478
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1479
+ /* harmony export */ });
1480
+ /* harmony import */ var _escape_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26938);
1481
+ /* harmony import */ var _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62977);
1482
+
1483
+
1484
+ /**
1485
+ * Compiles an array of selectors into a normalized JSONPath.
1486
+ * Follows RFC 9535 Section 2.7 normalized path format.
1487
+ *
1488
+ * @param {Array<string|number>} selectors - Array of name selectors (strings) or index selectors (numbers)
1489
+ * @returns {string} A normalized JSONPath string
1490
+ * @throws {JSONPathCompileError} If selectors is not an array or contains invalid selector types
1491
+ *
1492
+ * @example
1493
+ * compile(['a', 'b', 1]) // returns "$['a']['b'][1]"
1494
+ * compile([]) // returns "$"
1495
+ * compile(['foo', 0, 'bar']) // returns "$['foo'][0]['bar']"
1496
+ */
1497
+ const compile = selectors => {
1498
+ if (!Array.isArray(selectors)) {
1499
+ throw new _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_1__["default"](`Selectors must be an array, got: ${typeof selectors}`, {
1500
+ selectors
1501
+ });
1502
+ }
1503
+ try {
1504
+ const segments = selectors.map(selector => {
1505
+ if (typeof selector === 'string') {
1506
+ // Name selector: escape and wrap in single quotes
1507
+ return `['${(0,_escape_mjs__WEBPACK_IMPORTED_MODULE_0__["default"])(selector)}']`;
1508
+ }
1509
+ if (typeof selector === 'number') {
1510
+ // Index selector: must be a non-negative safe integer (RFC 9535 Section 2.1)
1511
+ if (!Number.isSafeInteger(selector) || selector < 0) {
1512
+ throw new TypeError(`Index selector must be a non-negative safe integer, got: ${selector}`);
1513
+ }
1514
+ return `[${selector}]`;
1515
+ }
1516
+ throw new TypeError(`Selector must be a string or non-negative integer, got: ${typeof selector}`);
1517
+ });
1518
+ return `$${segments.join('')}`;
1519
+ } catch (error) {
1520
+ throw new _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]('Failed to compile normalized JSONPath', {
1521
+ cause: error,
1522
+ selectors
1523
+ });
1524
+ }
1525
+ };
1526
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compile);
1527
+
1528
+ /***/ }),
1529
+
1385
1530
  /***/ 4793:
1386
1531
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1387
1532
 
@@ -2466,6 +2611,57 @@ const parse = (jsonPointer, {
2466
2611
 
2467
2612
  /***/ }),
2468
2613
 
2614
+ /***/ 8789:
2615
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
2616
+
2617
+ __webpack_require__.r(__webpack_exports__);
2618
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2619
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2620
+ /* harmony export */ });
2621
+ /* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
2622
+ /* harmony import */ var _trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67724);
2623
+ /* harmony import */ var _grammar_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28186);
2624
+ /* harmony import */ var _translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96998);
2625
+ /* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(92639);
2626
+
2627
+
2628
+
2629
+
2630
+
2631
+ const grammar = new _grammar_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]();
2632
+ const parse = (jsonPath, {
2633
+ normalized = false,
2634
+ stats = false,
2635
+ trace = false,
2636
+ translator = new _translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]()
2637
+ } = {}) => {
2638
+ if (typeof jsonPath !== 'string') {
2639
+ throw new TypeError('JSONPath must be a string');
2640
+ }
2641
+ try {
2642
+ const parser = new apg_lite__WEBPACK_IMPORTED_MODULE_0__.Parser();
2643
+ if (translator) parser.ast = translator;
2644
+ if (stats) parser.stats = new apg_lite__WEBPACK_IMPORTED_MODULE_0__.Stats();
2645
+ if (trace) parser.trace = new _trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]();
2646
+ const startRule = normalized ? 'normalized-path' : 'jsonpath-query';
2647
+ const result = parser.parse(grammar, startRule, jsonPath);
2648
+ return {
2649
+ result,
2650
+ tree: result.success && translator ? parser.ast.getTree() : undefined,
2651
+ stats: parser.stats,
2652
+ trace: parser.trace
2653
+ };
2654
+ } catch (error) {
2655
+ throw new _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]('Unexpected error during JSONPath parsing', {
2656
+ cause: error,
2657
+ jsonPath
2658
+ });
2659
+ }
2660
+ };
2661
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (parse);
2662
+
2663
+ /***/ }),
2664
+
2469
2665
  /***/ 8867:
2470
2666
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
2471
2667
 
@@ -3521,46 +3717,20 @@ __webpack_require__.r(__webpack_exports__);
3521
3717
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3522
3718
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3523
3719
  /* harmony export */ });
3524
- class JSONPointerError extends Error {
3525
- constructor(message, options = undefined) {
3526
- super(message, options);
3527
- this.name = this.constructor.name;
3528
- if (typeof message === 'string') {
3529
- this.message = message;
3530
- }
3531
- if (typeof Error.captureStackTrace === 'function') {
3532
- Error.captureStackTrace(this, this.constructor);
3533
- } else {
3534
- this.stack = new Error(message).stack;
3535
- }
3720
+ /* harmony import */ var _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36882);
3721
+ /* harmony import */ var _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61965);
3536
3722
 
3537
- /**
3538
- * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
3539
- * Node.js is >= 16.9.0 supports error causes natively.
3540
- */
3541
- if (options != null && typeof options === 'object' && Object.prototype.hasOwnProperty.call(options, 'cause') && !('cause' in this)) {
3542
- const {
3543
- cause
3544
- } = options;
3545
- this.cause = cause;
3546
- if (cause instanceof Error && 'stack' in cause) {
3547
- this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
3548
- }
3549
- }
3550
3723
 
3551
- /**
3552
- * Allows to assign arbitrary properties to the error object.
3553
- */
3554
- if (options != null && typeof options === 'object') {
3555
- const {
3556
- cause,
3557
- ...causelessOptions
3558
- } = options;
3559
- Object.assign(this, causelessOptions);
3560
- }
3724
+ /**
3725
+ * @public
3726
+ */
3727
+ class ServersVisitor extends _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"] {
3728
+ constructor(options) {
3729
+ super(options);
3730
+ this.element = new _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__["default"]();
3561
3731
  }
3562
3732
  }
3563
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerError);
3733
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ServersVisitor);
3564
3734
 
3565
3735
  /***/ }),
3566
3736
 
@@ -4083,6 +4253,62 @@ class ParametersVisitor extends _bases_mjs__WEBPACK_IMPORTED_MODULE_1__.BaseSpec
4083
4253
 
4084
4254
  /***/ }),
4085
4255
 
4256
+ /***/ 13222:
4257
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
4258
+
4259
+ __webpack_require__.r(__webpack_exports__);
4260
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
4261
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
4262
+ /* harmony export */ });
4263
+ /* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
4264
+ /* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92639);
4265
+
4266
+
4267
+ const cst = nodeType => {
4268
+ return (state, chars, phraseIndex, phraseLength, data) => {
4269
+ var _data$options, _data$options2;
4270
+ if (!(typeof data === 'object' && data !== null && !Array.isArray(data))) {
4271
+ throw new _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]("parser's user data must be an object");
4272
+ }
4273
+
4274
+ // drop the empty nodes
4275
+ if ((_data$options = data.options) !== null && _data$options !== void 0 && _data$options.optimize && phraseLength === 0 && (_data$options2 = data.options) !== null && _data$options2 !== void 0 && (_data$options2 = _data$options2.droppableTypes) !== null && _data$options2 !== void 0 && _data$options2.includes(nodeType)) {
4276
+ return;
4277
+ }
4278
+ if (state === apg_lite__WEBPACK_IMPORTED_MODULE_0__.identifiers.SEM_PRE) {
4279
+ const node = {
4280
+ type: nodeType,
4281
+ text: apg_lite__WEBPACK_IMPORTED_MODULE_0__.utilities.charsToString(chars, phraseIndex, phraseLength),
4282
+ start: phraseIndex,
4283
+ length: phraseLength,
4284
+ children: []
4285
+ };
4286
+ if (data.stack.length > 0) {
4287
+ var _data$options3, _data$options4;
4288
+ const parent = data.stack[data.stack.length - 1];
4289
+ const prevSibling = parent.children[parent.children.length - 1];
4290
+ const isTextNodeWithinTextNode = parent.type === 'text' && node.type === 'text';
4291
+ const shouldCollapse = ((_data$options3 = data.options) === null || _data$options3 === void 0 ? void 0 : _data$options3.optimize) && ((_data$options4 = data.options) === null || _data$options4 === void 0 || (_data$options4 = _data$options4.collapsibleTypes) === null || _data$options4 === void 0 ? void 0 : _data$options4.includes(node.type)) && (prevSibling === null || prevSibling === void 0 ? void 0 : prevSibling.type) === node.type;
4292
+ if (shouldCollapse) {
4293
+ prevSibling.text += node.text;
4294
+ prevSibling.length += node.length;
4295
+ } else if (!isTextNodeWithinTextNode) {
4296
+ parent.children.push(node);
4297
+ }
4298
+ } else {
4299
+ data.root = node;
4300
+ }
4301
+ data.stack.push(node);
4302
+ }
4303
+ if (state === apg_lite__WEBPACK_IMPORTED_MODULE_0__.identifiers.SEM_POST) {
4304
+ data.stack.pop();
4305
+ }
4306
+ };
4307
+ };
4308
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cst);
4309
+
4310
+ /***/ }),
4311
+
4086
4312
  /***/ 13456:
4087
4313
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
4088
4314
 
@@ -8150,6 +8376,131 @@ var stubUndefined = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(void 0);
8150
8376
 
8151
8377
  /***/ }),
8152
8378
 
8379
+ /***/ 23449:
8380
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
8381
+
8382
+ __webpack_require__.r(__webpack_exports__);
8383
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8384
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
8385
+ /* harmony export */ });
8386
+ /* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
8387
+ /* harmony import */ var _callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13222);
8388
+
8389
+
8390
+ class CSTTranslator extends apg_lite__WEBPACK_IMPORTED_MODULE_0__.Ast {
8391
+ constructor() {
8392
+ super();
8393
+
8394
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1
8395
+ this.callbacks['jsonpath-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('jsonpath-query');
8396
+ this.callbacks['segments'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('segments');
8397
+ this.callbacks['B'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8398
+ this.callbacks['S'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8399
+
8400
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1
8401
+ this.callbacks['root-identifier'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('root-identifier');
8402
+
8403
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3
8404
+ this.callbacks['selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('selector');
8405
+
8406
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1
8407
+ this.callbacks['name-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('name-selector');
8408
+ this.callbacks['string-literal'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('string-literal');
8409
+ this.callbacks['double-quoted'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('double-quoted');
8410
+ this.callbacks['single-quoted'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('single-quoted');
8411
+
8412
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1
8413
+ this.callbacks['wildcard-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('wildcard-selector');
8414
+
8415
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1
8416
+ this.callbacks['index-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('index-selector');
8417
+
8418
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1
8419
+ this.callbacks['slice-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('slice-selector');
8420
+ this.callbacks['start'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('start');
8421
+ this.callbacks['end'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('end');
8422
+ this.callbacks['step'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('step');
8423
+
8424
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1
8425
+ this.callbacks['filter-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('filter-selector');
8426
+ this.callbacks['logical-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-expr');
8427
+ this.callbacks['logical-or-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-or-expr');
8428
+ this.callbacks['logical-and-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-and-expr');
8429
+ this.callbacks['basic-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('basic-expr');
8430
+ this.callbacks['paren-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('paren-expr');
8431
+ this.callbacks['logical-not-op'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-not-op');
8432
+ this.callbacks['test-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('test-expr');
8433
+ this.callbacks['filter-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('filter-query');
8434
+ this.callbacks['rel-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('rel-query');
8435
+ this.callbacks['current-node-identifier'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('current-node-identifier');
8436
+ this.callbacks['comparison-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('comparison-expr');
8437
+ this.callbacks['literal'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('literal');
8438
+ this.callbacks['comparable'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('comparable');
8439
+ this.callbacks['comparison-op'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('comparison-op');
8440
+ this.callbacks['singular-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('singular-query');
8441
+ this.callbacks['rel-singular-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('rel-singular-query');
8442
+ this.callbacks['abs-singular-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('abs-singular-query');
8443
+ this.callbacks['singular-query-segments'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('singular-query-segments');
8444
+ this.callbacks['name-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('name-segment');
8445
+ this.callbacks['index-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('index-segment');
8446
+ this.callbacks['number'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('number');
8447
+ this.callbacks['true'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('true');
8448
+ this.callbacks['false'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('false');
8449
+ this.callbacks['null'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('null');
8450
+
8451
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.4
8452
+ this.callbacks['function-name'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('function-name');
8453
+ this.callbacks['function-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('function-expr');
8454
+ this.callbacks['function-argument'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('function-argument');
8455
+
8456
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.5
8457
+ this.callbacks['segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('segment');
8458
+
8459
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1
8460
+ this.callbacks['child-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('child-segment');
8461
+ this.callbacks['bracketed-selection'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('bracketed-selection');
8462
+ this.callbacks['member-name-shorthand'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('member-name-shorthand');
8463
+
8464
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1
8465
+ this.callbacks['descendant-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('descendant-segment');
8466
+
8467
+ // https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths
8468
+ this.callbacks['normalized-path'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normalized-path');
8469
+ this.callbacks['normal-index-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-index-segment');
8470
+ this.callbacks['normal-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-selector');
8471
+ this.callbacks['normal-name-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-name-selector');
8472
+ this.callbacks['normal-index-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-index-selector');
8473
+ this.callbacks['normal-single-quoted'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-single-quoted');
8474
+
8475
+ // Surrogate named rules
8476
+ this.callbacks['dot-prefix'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8477
+ this.callbacks['double-dot-prefix'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8478
+ this.callbacks['left-bracket'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8479
+ this.callbacks['right-bracket'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8480
+ this.callbacks['comma'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8481
+ this.callbacks['colon'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8482
+ this.callbacks['dquote'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8483
+ this.callbacks['squote'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8484
+ this.callbacks['questionmark'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8485
+ this.callbacks['disjunction'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8486
+ this.callbacks['conjunction'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8487
+ this.callbacks['left-paren'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8488
+ this.callbacks['right-paren'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
8489
+ }
8490
+ getTree() {
8491
+ const data = {
8492
+ stack: [],
8493
+ root: null
8494
+ };
8495
+ this.translate(data);
8496
+ delete data.stack;
8497
+ return data;
8498
+ }
8499
+ }
8500
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CSTTranslator);
8501
+
8502
+ /***/ }),
8503
+
8153
8504
  /***/ 23694:
8154
8505
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
8155
8506
 
@@ -9876,7 +10227,7 @@ __webpack_require__.r(__webpack_exports__);
9876
10227
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
9877
10228
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
9878
10229
  /* harmony export */ });
9879
- /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12008);
10230
+ /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
9880
10231
 
9881
10232
  class JSONPointerParseError extends _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
9882
10233
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerParseError);
@@ -9972,6 +10323,71 @@ var _isArguments = /*#__PURE__*/function () {
9972
10323
 
9973
10324
  /***/ }),
9974
10325
 
10326
+ /***/ 26938:
10327
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10328
+
10329
+ __webpack_require__.r(__webpack_exports__);
10330
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10331
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10332
+ /* harmony export */ });
10333
+ /**
10334
+ * Escapes a string for use in a normalized JSONPath name selector.
10335
+ * Follows RFC 9535 Section 2.7 escaping rules for single-quoted strings.
10336
+ *
10337
+ * @param {string} selector - The string to escape
10338
+ * @returns {string} The escaped string (without surrounding quotes)
10339
+ */
10340
+ const escape = selector => {
10341
+ if (typeof selector !== 'string') {
10342
+ throw new TypeError('Selector must be a string');
10343
+ }
10344
+ let escaped = '';
10345
+ for (const char of selector) {
10346
+ const codePoint = char.codePointAt(0);
10347
+ switch (codePoint) {
10348
+ case 0x08:
10349
+ // backspace
10350
+ escaped += '\\b';
10351
+ break;
10352
+ case 0x09:
10353
+ // horizontal tab
10354
+ escaped += '\\t';
10355
+ break;
10356
+ case 0x0a:
10357
+ // line feed
10358
+ escaped += '\\n';
10359
+ break;
10360
+ case 0x0c:
10361
+ // form feed
10362
+ escaped += '\\f';
10363
+ break;
10364
+ case 0x0d:
10365
+ // carriage return
10366
+ escaped += '\\r';
10367
+ break;
10368
+ case 0x27:
10369
+ // apostrophe '
10370
+ escaped += "\\'";
10371
+ break;
10372
+ case 0x5c:
10373
+ // backslash \
10374
+ escaped += '\\\\';
10375
+ break;
10376
+ default:
10377
+ // Other control characters (U+0000-U+001F except those handled above)
10378
+ if (codePoint <= 0x1f) {
10379
+ escaped += `\\u${codePoint.toString(16).padStart(4, '0')}`;
10380
+ } else {
10381
+ escaped += char;
10382
+ }
10383
+ }
10384
+ }
10385
+ return escaped;
10386
+ };
10387
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (escape);
10388
+
10389
+ /***/ }),
10390
+
9975
10391
  /***/ 27123:
9976
10392
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
9977
10393
 
@@ -10281,217 +10697,3062 @@ __webpack_require__.r(__webpack_exports__);
10281
10697
 
10282
10698
 
10283
10699
 
10284
- /**
10285
- * Checks if input value is an empty `Array`.
10286
- *
10287
- * @func isEmptyArray
10288
- * @memberOf RA
10289
- * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}
10290
- * @category Type
10291
- * @sig * -> Boolean
10292
- * @param {*} val The value to test
10293
- * @return {boolean}
10294
- * @see {@link RA.isNotEmptyArray|isNotEmptyArray}
10295
- * @example
10296
- *
10297
- * RA.isEmptyArray([]); // => true
10298
- * RA.isEmptyArray([42]); // => false
10299
- * RA.isEmptyArray({}); // => false
10300
- * RA.isEmptyArray(null); // => false
10301
- * RA.isEmptyArray(undefined); // => false
10302
- * RA.isEmptyArray(42); // => false
10303
- * RA.isEmptyArray('42'); // => false
10304
- */
10305
- var isEmptyArray = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(_isArray_js__WEBPACK_IMPORTED_MODULE_2__["default"], ramda__WEBPACK_IMPORTED_MODULE_1__["default"]);
10306
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isEmptyArray);
10700
+ /**
10701
+ * Checks if input value is an empty `Array`.
10702
+ *
10703
+ * @func isEmptyArray
10704
+ * @memberOf RA
10705
+ * @since {@link https://char0n.github.io/ramda-adjunct/2.4.0|v2.4.0}
10706
+ * @category Type
10707
+ * @sig * -> Boolean
10708
+ * @param {*} val The value to test
10709
+ * @return {boolean}
10710
+ * @see {@link RA.isNotEmptyArray|isNotEmptyArray}
10711
+ * @example
10712
+ *
10713
+ * RA.isEmptyArray([]); // => true
10714
+ * RA.isEmptyArray([42]); // => false
10715
+ * RA.isEmptyArray({}); // => false
10716
+ * RA.isEmptyArray(null); // => false
10717
+ * RA.isEmptyArray(undefined); // => false
10718
+ * RA.isEmptyArray(42); // => false
10719
+ * RA.isEmptyArray('42'); // => false
10720
+ */
10721
+ var isEmptyArray = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(_isArray_js__WEBPACK_IMPORTED_MODULE_2__["default"], ramda__WEBPACK_IMPORTED_MODULE_1__["default"]);
10722
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isEmptyArray);
10723
+
10724
+ /***/ }),
10725
+
10726
+ /***/ 27694:
10727
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10728
+
10729
+ __webpack_require__.r(__webpack_exports__);
10730
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10731
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10732
+ /* harmony export */ });
10733
+ /* harmony import */ var _internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18938);
10734
+ /* harmony import */ var _empty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(95734);
10735
+ /* harmony import */ var _equals_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53654);
10736
+
10737
+
10738
+
10739
+
10740
+ /**
10741
+ * Returns `true` if the given value is its type's empty value; `false`
10742
+ * otherwise.
10743
+ *
10744
+ * @func
10745
+ * @memberOf R
10746
+ * @since v0.1.0
10747
+ * @category Logic
10748
+ * @sig a -> Boolean
10749
+ * @param {*} x
10750
+ * @return {Boolean}
10751
+ * @see R.empty, R.isNotEmpty
10752
+ * @example
10753
+ *
10754
+ * R.isEmpty([1, 2, 3]); //=> false
10755
+ * R.isEmpty([]); //=> true
10756
+ * R.isEmpty(''); //=> true
10757
+ * R.isEmpty(null); //=> false
10758
+ * R.isEmpty({}); //=> true
10759
+ * R.isEmpty({length: 0}); //=> false
10760
+ * R.isEmpty(Uint8Array.from('')); //=> true
10761
+ * R.isEmpty(new Set()) //=> true
10762
+ * R.isEmpty(new Map()) //=> true
10763
+ */
10764
+ var isEmpty = /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function isEmpty(x) {
10765
+ return x != null && (0,_equals_js__WEBPACK_IMPORTED_MODULE_2__["default"])(x, (0,_empty_js__WEBPACK_IMPORTED_MODULE_1__["default"])(x));
10766
+ });
10767
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isEmpty);
10768
+
10769
+ /***/ }),
10770
+
10771
+ /***/ 27827:
10772
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10773
+
10774
+ __webpack_require__.r(__webpack_exports__);
10775
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10776
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10777
+ /* harmony export */ });
10778
+ /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29498);
10779
+ /* harmony import */ var _elements_Operation_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51112);
10780
+ /* harmony import */ var _bases_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(74367);
10781
+
10782
+
10783
+
10784
+ /**
10785
+ * @public
10786
+ */
10787
+ /**
10788
+ * @public
10789
+ */
10790
+ class OperationVisitor extends _bases_mjs__WEBPACK_IMPORTED_MODULE_2__.BaseFixedFieldsVisitor {
10791
+ constructor(options) {
10792
+ super(options);
10793
+ this.element = new _elements_Operation_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]();
10794
+ this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(['document', 'objects', 'Operation']);
10795
+ }
10796
+ }
10797
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationVisitor);
10798
+
10799
+ /***/ }),
10800
+
10801
+ /***/ 28052:
10802
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10803
+
10804
+ __webpack_require__.r(__webpack_exports__);
10805
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10806
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10807
+ /* harmony export */ });
10808
+ /* harmony import */ var _internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39088);
10809
+ /* harmony import */ var _internal_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65722);
10810
+
10811
+
10812
+
10813
+ /**
10814
+ * Creates a new object with the own properties of the two provided objects. If
10815
+ * a key exists in both objects, the provided function is applied to the key
10816
+ * and the values associated with the key in each object, with the result being
10817
+ * used as the value associated with the key in the returned object.
10818
+ *
10819
+ * @func
10820
+ * @memberOf R
10821
+ * @since v0.19.0
10822
+ * @category Object
10823
+ * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}
10824
+ * @param {Function} fn
10825
+ * @param {Object} l
10826
+ * @param {Object} r
10827
+ * @return {Object}
10828
+ * @see R.mergeDeepWithKey, R.mergeWith
10829
+ * @example
10830
+ *
10831
+ * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r
10832
+ * R.mergeWithKey(concatValues,
10833
+ * { a: true, thing: 'foo', values: [10, 20] },
10834
+ * { b: true, thing: 'bar', values: [15, 35] });
10835
+ * //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }
10836
+ * @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }
10837
+ */
10838
+ var mergeWithKey = /*#__PURE__*/(0,_internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function mergeWithKey(fn, l, r) {
10839
+ var result = {};
10840
+ var k;
10841
+ l = l || {};
10842
+ r = r || {};
10843
+ for (k in l) {
10844
+ if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, l)) {
10845
+ result[k] = (0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) ? fn(k, l[k], r[k]) : l[k];
10846
+ }
10847
+ }
10848
+ for (k in r) {
10849
+ if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) && !(0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, result)) {
10850
+ result[k] = r[k];
10851
+ }
10852
+ }
10853
+ return result;
10854
+ });
10855
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mergeWithKey);
10856
+
10857
+ /***/ }),
10858
+
10859
+ /***/ 28121:
10860
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10861
+
10862
+ __webpack_require__.r(__webpack_exports__);
10863
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10864
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10865
+ /* harmony export */ });
10866
+ /* harmony import */ var _Element_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(60728);
10867
+
10868
+ /**
10869
+ * StringElement represents a string value in ApiDOM.
10870
+ * @public
10871
+ */
10872
+ class StringElement extends _Element_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
10873
+ constructor(content, meta, attributes) {
10874
+ super(content, meta, attributes);
10875
+ this.element = 'string';
10876
+ }
10877
+ primitive() {
10878
+ return 'string';
10879
+ }
10880
+
10881
+ /**
10882
+ * The length of the string.
10883
+ */
10884
+ get length() {
10885
+ return this.content?.length ?? 0;
10886
+ }
10887
+ }
10888
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StringElement);
10889
+
10890
+ /***/ }),
10891
+
10892
+ /***/ 28152:
10893
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10894
+
10895
+ __webpack_require__.r(__webpack_exports__);
10896
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10897
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10898
+ /* harmony export */ });
10899
+ /* harmony import */ var _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3664);
10900
+
10901
+ /**
10902
+ * @public
10903
+ */
10904
+ class $RefVisitor extends _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
10905
+ StringElement(path) {
10906
+ super.enter(path);
10907
+ this.element.classes.push('reference-value');
10908
+ }
10909
+ }
10910
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ($RefVisitor);
10911
+
10912
+ /***/ }),
10913
+
10914
+ /***/ 28186:
10915
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10916
+
10917
+ __webpack_require__.r(__webpack_exports__);
10918
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10919
+ /* harmony export */ "default": () => (/* binding */ grammar)
10920
+ /* harmony export */ });
10921
+ // copyright: Copyright (c) 2024 Lowell D. Thomas, all rights reserved<br>
10922
+ // license: BSD-2-Clause (https://opensource.org/licenses/BSD-2-Clause)<br>
10923
+ //
10924
+ // Generated by apg-js, Version 4.4.0 [apg-js](https://github.com/ldthomas/apg-js)
10925
+ function grammar() {
10926
+ // ```
10927
+ // SUMMARY
10928
+ // rules = 91
10929
+ // udts = 0
10930
+ // opcodes = 423
10931
+ // --- ABNF original opcodes
10932
+ // ALT = 41
10933
+ // CAT = 60
10934
+ // REP = 32
10935
+ // RNM = 178
10936
+ // TLS = 64
10937
+ // TBS = 28
10938
+ // TRG = 20
10939
+ // --- SABNF superset opcodes
10940
+ // UDT = 0
10941
+ // AND = 0
10942
+ // NOT = 0
10943
+ // characters = [9 - 1114111]
10944
+ // ```
10945
+ /* OBJECT IDENTIFIER (for internal parser use) */
10946
+ this.grammarObject = 'grammarObject';
10947
+
10948
+ /* RULES */
10949
+ this.rules = [];
10950
+ this.rules[0] = {
10951
+ name: 'jsonpath-query',
10952
+ lower: 'jsonpath-query',
10953
+ index: 0,
10954
+ isBkr: false
10955
+ };
10956
+ this.rules[1] = {
10957
+ name: 'segments',
10958
+ lower: 'segments',
10959
+ index: 1,
10960
+ isBkr: false
10961
+ };
10962
+ this.rules[2] = {
10963
+ name: 'B',
10964
+ lower: 'b',
10965
+ index: 2,
10966
+ isBkr: false
10967
+ };
10968
+ this.rules[3] = {
10969
+ name: 'S',
10970
+ lower: 's',
10971
+ index: 3,
10972
+ isBkr: false
10973
+ };
10974
+ this.rules[4] = {
10975
+ name: 'root-identifier',
10976
+ lower: 'root-identifier',
10977
+ index: 4,
10978
+ isBkr: false
10979
+ };
10980
+ this.rules[5] = {
10981
+ name: 'selector',
10982
+ lower: 'selector',
10983
+ index: 5,
10984
+ isBkr: false
10985
+ };
10986
+ this.rules[6] = {
10987
+ name: 'name-selector',
10988
+ lower: 'name-selector',
10989
+ index: 6,
10990
+ isBkr: false
10991
+ };
10992
+ this.rules[7] = {
10993
+ name: 'string-literal',
10994
+ lower: 'string-literal',
10995
+ index: 7,
10996
+ isBkr: false
10997
+ };
10998
+ this.rules[8] = {
10999
+ name: 'double-quoted',
11000
+ lower: 'double-quoted',
11001
+ index: 8,
11002
+ isBkr: false
11003
+ };
11004
+ this.rules[9] = {
11005
+ name: 'single-quoted',
11006
+ lower: 'single-quoted',
11007
+ index: 9,
11008
+ isBkr: false
11009
+ };
11010
+ this.rules[10] = {
11011
+ name: 'ESC',
11012
+ lower: 'esc',
11013
+ index: 10,
11014
+ isBkr: false
11015
+ };
11016
+ this.rules[11] = {
11017
+ name: 'unescaped',
11018
+ lower: 'unescaped',
11019
+ index: 11,
11020
+ isBkr: false
11021
+ };
11022
+ this.rules[12] = {
11023
+ name: 'escapable',
11024
+ lower: 'escapable',
11025
+ index: 12,
11026
+ isBkr: false
11027
+ };
11028
+ this.rules[13] = {
11029
+ name: 'hexchar',
11030
+ lower: 'hexchar',
11031
+ index: 13,
11032
+ isBkr: false
11033
+ };
11034
+ this.rules[14] = {
11035
+ name: 'non-surrogate',
11036
+ lower: 'non-surrogate',
11037
+ index: 14,
11038
+ isBkr: false
11039
+ };
11040
+ this.rules[15] = {
11041
+ name: 'high-surrogate',
11042
+ lower: 'high-surrogate',
11043
+ index: 15,
11044
+ isBkr: false
11045
+ };
11046
+ this.rules[16] = {
11047
+ name: 'low-surrogate',
11048
+ lower: 'low-surrogate',
11049
+ index: 16,
11050
+ isBkr: false
11051
+ };
11052
+ this.rules[17] = {
11053
+ name: 'HEXDIG',
11054
+ lower: 'hexdig',
11055
+ index: 17,
11056
+ isBkr: false
11057
+ };
11058
+ this.rules[18] = {
11059
+ name: 'wildcard-selector',
11060
+ lower: 'wildcard-selector',
11061
+ index: 18,
11062
+ isBkr: false
11063
+ };
11064
+ this.rules[19] = {
11065
+ name: 'index-selector',
11066
+ lower: 'index-selector',
11067
+ index: 19,
11068
+ isBkr: false
11069
+ };
11070
+ this.rules[20] = {
11071
+ name: 'int',
11072
+ lower: 'int',
11073
+ index: 20,
11074
+ isBkr: false
11075
+ };
11076
+ this.rules[21] = {
11077
+ name: 'DIGIT1',
11078
+ lower: 'digit1',
11079
+ index: 21,
11080
+ isBkr: false
11081
+ };
11082
+ this.rules[22] = {
11083
+ name: 'slice-selector',
11084
+ lower: 'slice-selector',
11085
+ index: 22,
11086
+ isBkr: false
11087
+ };
11088
+ this.rules[23] = {
11089
+ name: 'start',
11090
+ lower: 'start',
11091
+ index: 23,
11092
+ isBkr: false
11093
+ };
11094
+ this.rules[24] = {
11095
+ name: 'end',
11096
+ lower: 'end',
11097
+ index: 24,
11098
+ isBkr: false
11099
+ };
11100
+ this.rules[25] = {
11101
+ name: 'step',
11102
+ lower: 'step',
11103
+ index: 25,
11104
+ isBkr: false
11105
+ };
11106
+ this.rules[26] = {
11107
+ name: 'filter-selector',
11108
+ lower: 'filter-selector',
11109
+ index: 26,
11110
+ isBkr: false
11111
+ };
11112
+ this.rules[27] = {
11113
+ name: 'logical-expr',
11114
+ lower: 'logical-expr',
11115
+ index: 27,
11116
+ isBkr: false
11117
+ };
11118
+ this.rules[28] = {
11119
+ name: 'logical-or-expr',
11120
+ lower: 'logical-or-expr',
11121
+ index: 28,
11122
+ isBkr: false
11123
+ };
11124
+ this.rules[29] = {
11125
+ name: 'logical-and-expr',
11126
+ lower: 'logical-and-expr',
11127
+ index: 29,
11128
+ isBkr: false
11129
+ };
11130
+ this.rules[30] = {
11131
+ name: 'basic-expr',
11132
+ lower: 'basic-expr',
11133
+ index: 30,
11134
+ isBkr: false
11135
+ };
11136
+ this.rules[31] = {
11137
+ name: 'paren-expr',
11138
+ lower: 'paren-expr',
11139
+ index: 31,
11140
+ isBkr: false
11141
+ };
11142
+ this.rules[32] = {
11143
+ name: 'logical-not-op',
11144
+ lower: 'logical-not-op',
11145
+ index: 32,
11146
+ isBkr: false
11147
+ };
11148
+ this.rules[33] = {
11149
+ name: 'test-expr',
11150
+ lower: 'test-expr',
11151
+ index: 33,
11152
+ isBkr: false
11153
+ };
11154
+ this.rules[34] = {
11155
+ name: 'filter-query',
11156
+ lower: 'filter-query',
11157
+ index: 34,
11158
+ isBkr: false
11159
+ };
11160
+ this.rules[35] = {
11161
+ name: 'rel-query',
11162
+ lower: 'rel-query',
11163
+ index: 35,
11164
+ isBkr: false
11165
+ };
11166
+ this.rules[36] = {
11167
+ name: 'current-node-identifier',
11168
+ lower: 'current-node-identifier',
11169
+ index: 36,
11170
+ isBkr: false
11171
+ };
11172
+ this.rules[37] = {
11173
+ name: 'comparison-expr',
11174
+ lower: 'comparison-expr',
11175
+ index: 37,
11176
+ isBkr: false
11177
+ };
11178
+ this.rules[38] = {
11179
+ name: 'literal',
11180
+ lower: 'literal',
11181
+ index: 38,
11182
+ isBkr: false
11183
+ };
11184
+ this.rules[39] = {
11185
+ name: 'comparable',
11186
+ lower: 'comparable',
11187
+ index: 39,
11188
+ isBkr: false
11189
+ };
11190
+ this.rules[40] = {
11191
+ name: 'comparison-op',
11192
+ lower: 'comparison-op',
11193
+ index: 40,
11194
+ isBkr: false
11195
+ };
11196
+ this.rules[41] = {
11197
+ name: 'singular-query',
11198
+ lower: 'singular-query',
11199
+ index: 41,
11200
+ isBkr: false
11201
+ };
11202
+ this.rules[42] = {
11203
+ name: 'rel-singular-query',
11204
+ lower: 'rel-singular-query',
11205
+ index: 42,
11206
+ isBkr: false
11207
+ };
11208
+ this.rules[43] = {
11209
+ name: 'abs-singular-query',
11210
+ lower: 'abs-singular-query',
11211
+ index: 43,
11212
+ isBkr: false
11213
+ };
11214
+ this.rules[44] = {
11215
+ name: 'singular-query-segments',
11216
+ lower: 'singular-query-segments',
11217
+ index: 44,
11218
+ isBkr: false
11219
+ };
11220
+ this.rules[45] = {
11221
+ name: 'name-segment',
11222
+ lower: 'name-segment',
11223
+ index: 45,
11224
+ isBkr: false
11225
+ };
11226
+ this.rules[46] = {
11227
+ name: 'index-segment',
11228
+ lower: 'index-segment',
11229
+ index: 46,
11230
+ isBkr: false
11231
+ };
11232
+ this.rules[47] = {
11233
+ name: 'number',
11234
+ lower: 'number',
11235
+ index: 47,
11236
+ isBkr: false
11237
+ };
11238
+ this.rules[48] = {
11239
+ name: 'frac',
11240
+ lower: 'frac',
11241
+ index: 48,
11242
+ isBkr: false
11243
+ };
11244
+ this.rules[49] = {
11245
+ name: 'exp',
11246
+ lower: 'exp',
11247
+ index: 49,
11248
+ isBkr: false
11249
+ };
11250
+ this.rules[50] = {
11251
+ name: 'true',
11252
+ lower: 'true',
11253
+ index: 50,
11254
+ isBkr: false
11255
+ };
11256
+ this.rules[51] = {
11257
+ name: 'false',
11258
+ lower: 'false',
11259
+ index: 51,
11260
+ isBkr: false
11261
+ };
11262
+ this.rules[52] = {
11263
+ name: 'null',
11264
+ lower: 'null',
11265
+ index: 52,
11266
+ isBkr: false
11267
+ };
11268
+ this.rules[53] = {
11269
+ name: 'function-name',
11270
+ lower: 'function-name',
11271
+ index: 53,
11272
+ isBkr: false
11273
+ };
11274
+ this.rules[54] = {
11275
+ name: 'function-name-first',
11276
+ lower: 'function-name-first',
11277
+ index: 54,
11278
+ isBkr: false
11279
+ };
11280
+ this.rules[55] = {
11281
+ name: 'function-name-char',
11282
+ lower: 'function-name-char',
11283
+ index: 55,
11284
+ isBkr: false
11285
+ };
11286
+ this.rules[56] = {
11287
+ name: 'LCALPHA',
11288
+ lower: 'lcalpha',
11289
+ index: 56,
11290
+ isBkr: false
11291
+ };
11292
+ this.rules[57] = {
11293
+ name: 'function-expr',
11294
+ lower: 'function-expr',
11295
+ index: 57,
11296
+ isBkr: false
11297
+ };
11298
+ this.rules[58] = {
11299
+ name: 'function-argument',
11300
+ lower: 'function-argument',
11301
+ index: 58,
11302
+ isBkr: false
11303
+ };
11304
+ this.rules[59] = {
11305
+ name: 'segment',
11306
+ lower: 'segment',
11307
+ index: 59,
11308
+ isBkr: false
11309
+ };
11310
+ this.rules[60] = {
11311
+ name: 'child-segment',
11312
+ lower: 'child-segment',
11313
+ index: 60,
11314
+ isBkr: false
11315
+ };
11316
+ this.rules[61] = {
11317
+ name: 'bracketed-selection',
11318
+ lower: 'bracketed-selection',
11319
+ index: 61,
11320
+ isBkr: false
11321
+ };
11322
+ this.rules[62] = {
11323
+ name: 'member-name-shorthand',
11324
+ lower: 'member-name-shorthand',
11325
+ index: 62,
11326
+ isBkr: false
11327
+ };
11328
+ this.rules[63] = {
11329
+ name: 'name-first',
11330
+ lower: 'name-first',
11331
+ index: 63,
11332
+ isBkr: false
11333
+ };
11334
+ this.rules[64] = {
11335
+ name: 'name-char',
11336
+ lower: 'name-char',
11337
+ index: 64,
11338
+ isBkr: false
11339
+ };
11340
+ this.rules[65] = {
11341
+ name: 'DIGIT',
11342
+ lower: 'digit',
11343
+ index: 65,
11344
+ isBkr: false
11345
+ };
11346
+ this.rules[66] = {
11347
+ name: 'ALPHA',
11348
+ lower: 'alpha',
11349
+ index: 66,
11350
+ isBkr: false
11351
+ };
11352
+ this.rules[67] = {
11353
+ name: 'descendant-segment',
11354
+ lower: 'descendant-segment',
11355
+ index: 67,
11356
+ isBkr: false
11357
+ };
11358
+ this.rules[68] = {
11359
+ name: 'normalized-path',
11360
+ lower: 'normalized-path',
11361
+ index: 68,
11362
+ isBkr: false
11363
+ };
11364
+ this.rules[69] = {
11365
+ name: 'normal-index-segment',
11366
+ lower: 'normal-index-segment',
11367
+ index: 69,
11368
+ isBkr: false
11369
+ };
11370
+ this.rules[70] = {
11371
+ name: 'normal-selector',
11372
+ lower: 'normal-selector',
11373
+ index: 70,
11374
+ isBkr: false
11375
+ };
11376
+ this.rules[71] = {
11377
+ name: 'normal-name-selector',
11378
+ lower: 'normal-name-selector',
11379
+ index: 71,
11380
+ isBkr: false
11381
+ };
11382
+ this.rules[72] = {
11383
+ name: 'normal-single-quoted',
11384
+ lower: 'normal-single-quoted',
11385
+ index: 72,
11386
+ isBkr: false
11387
+ };
11388
+ this.rules[73] = {
11389
+ name: 'normal-unescaped',
11390
+ lower: 'normal-unescaped',
11391
+ index: 73,
11392
+ isBkr: false
11393
+ };
11394
+ this.rules[74] = {
11395
+ name: 'normal-escapable',
11396
+ lower: 'normal-escapable',
11397
+ index: 74,
11398
+ isBkr: false
11399
+ };
11400
+ this.rules[75] = {
11401
+ name: 'normal-hexchar',
11402
+ lower: 'normal-hexchar',
11403
+ index: 75,
11404
+ isBkr: false
11405
+ };
11406
+ this.rules[76] = {
11407
+ name: 'normal-HEXDIG',
11408
+ lower: 'normal-hexdig',
11409
+ index: 76,
11410
+ isBkr: false
11411
+ };
11412
+ this.rules[77] = {
11413
+ name: 'normal-index-selector',
11414
+ lower: 'normal-index-selector',
11415
+ index: 77,
11416
+ isBkr: false
11417
+ };
11418
+ this.rules[78] = {
11419
+ name: 'dot-prefix',
11420
+ lower: 'dot-prefix',
11421
+ index: 78,
11422
+ isBkr: false
11423
+ };
11424
+ this.rules[79] = {
11425
+ name: 'double-dot-prefix',
11426
+ lower: 'double-dot-prefix',
11427
+ index: 79,
11428
+ isBkr: false
11429
+ };
11430
+ this.rules[80] = {
11431
+ name: 'left-bracket',
11432
+ lower: 'left-bracket',
11433
+ index: 80,
11434
+ isBkr: false
11435
+ };
11436
+ this.rules[81] = {
11437
+ name: 'right-bracket',
11438
+ lower: 'right-bracket',
11439
+ index: 81,
11440
+ isBkr: false
11441
+ };
11442
+ this.rules[82] = {
11443
+ name: 'left-paren',
11444
+ lower: 'left-paren',
11445
+ index: 82,
11446
+ isBkr: false
11447
+ };
11448
+ this.rules[83] = {
11449
+ name: 'right-paren',
11450
+ lower: 'right-paren',
11451
+ index: 83,
11452
+ isBkr: false
11453
+ };
11454
+ this.rules[84] = {
11455
+ name: 'comma',
11456
+ lower: 'comma',
11457
+ index: 84,
11458
+ isBkr: false
11459
+ };
11460
+ this.rules[85] = {
11461
+ name: 'colon',
11462
+ lower: 'colon',
11463
+ index: 85,
11464
+ isBkr: false
11465
+ };
11466
+ this.rules[86] = {
11467
+ name: 'dquote',
11468
+ lower: 'dquote',
11469
+ index: 86,
11470
+ isBkr: false
11471
+ };
11472
+ this.rules[87] = {
11473
+ name: 'squote',
11474
+ lower: 'squote',
11475
+ index: 87,
11476
+ isBkr: false
11477
+ };
11478
+ this.rules[88] = {
11479
+ name: 'questionmark',
11480
+ lower: 'questionmark',
11481
+ index: 88,
11482
+ isBkr: false
11483
+ };
11484
+ this.rules[89] = {
11485
+ name: 'disjunction',
11486
+ lower: 'disjunction',
11487
+ index: 89,
11488
+ isBkr: false
11489
+ };
11490
+ this.rules[90] = {
11491
+ name: 'conjunction',
11492
+ lower: 'conjunction',
11493
+ index: 90,
11494
+ isBkr: false
11495
+ };
11496
+
11497
+ /* UDTS */
11498
+ this.udts = [];
11499
+
11500
+ /* OPCODES */
11501
+ /* jsonpath-query */
11502
+ this.rules[0].opcodes = [];
11503
+ this.rules[0].opcodes[0] = {
11504
+ type: 2,
11505
+ children: [1, 2]
11506
+ }; // CAT
11507
+ this.rules[0].opcodes[1] = {
11508
+ type: 4,
11509
+ index: 4
11510
+ }; // RNM(root-identifier)
11511
+ this.rules[0].opcodes[2] = {
11512
+ type: 4,
11513
+ index: 1
11514
+ }; // RNM(segments)
11515
+
11516
+ /* segments */
11517
+ this.rules[1].opcodes = [];
11518
+ this.rules[1].opcodes[0] = {
11519
+ type: 3,
11520
+ min: 0,
11521
+ max: Infinity
11522
+ }; // REP
11523
+ this.rules[1].opcodes[1] = {
11524
+ type: 2,
11525
+ children: [2, 3]
11526
+ }; // CAT
11527
+ this.rules[1].opcodes[2] = {
11528
+ type: 4,
11529
+ index: 3
11530
+ }; // RNM(S)
11531
+ this.rules[1].opcodes[3] = {
11532
+ type: 4,
11533
+ index: 59
11534
+ }; // RNM(segment)
11535
+
11536
+ /* B */
11537
+ this.rules[2].opcodes = [];
11538
+ this.rules[2].opcodes[0] = {
11539
+ type: 1,
11540
+ children: [1, 2, 3, 4]
11541
+ }; // ALT
11542
+ this.rules[2].opcodes[1] = {
11543
+ type: 6,
11544
+ string: [32]
11545
+ }; // TBS
11546
+ this.rules[2].opcodes[2] = {
11547
+ type: 6,
11548
+ string: [9]
11549
+ }; // TBS
11550
+ this.rules[2].opcodes[3] = {
11551
+ type: 6,
11552
+ string: [10]
11553
+ }; // TBS
11554
+ this.rules[2].opcodes[4] = {
11555
+ type: 6,
11556
+ string: [13]
11557
+ }; // TBS
11558
+
11559
+ /* S */
11560
+ this.rules[3].opcodes = [];
11561
+ this.rules[3].opcodes[0] = {
11562
+ type: 3,
11563
+ min: 0,
11564
+ max: Infinity
11565
+ }; // REP
11566
+ this.rules[3].opcodes[1] = {
11567
+ type: 4,
11568
+ index: 2
11569
+ }; // RNM(B)
11570
+
11571
+ /* root-identifier */
11572
+ this.rules[4].opcodes = [];
11573
+ this.rules[4].opcodes[0] = {
11574
+ type: 7,
11575
+ string: [36]
11576
+ }; // TLS
11577
+
11578
+ /* selector */
11579
+ this.rules[5].opcodes = [];
11580
+ this.rules[5].opcodes[0] = {
11581
+ type: 1,
11582
+ children: [1, 2, 3, 4, 5]
11583
+ }; // ALT
11584
+ this.rules[5].opcodes[1] = {
11585
+ type: 4,
11586
+ index: 6
11587
+ }; // RNM(name-selector)
11588
+ this.rules[5].opcodes[2] = {
11589
+ type: 4,
11590
+ index: 18
11591
+ }; // RNM(wildcard-selector)
11592
+ this.rules[5].opcodes[3] = {
11593
+ type: 4,
11594
+ index: 22
11595
+ }; // RNM(slice-selector)
11596
+ this.rules[5].opcodes[4] = {
11597
+ type: 4,
11598
+ index: 19
11599
+ }; // RNM(index-selector)
11600
+ this.rules[5].opcodes[5] = {
11601
+ type: 4,
11602
+ index: 26
11603
+ }; // RNM(filter-selector)
11604
+
11605
+ /* name-selector */
11606
+ this.rules[6].opcodes = [];
11607
+ this.rules[6].opcodes[0] = {
11608
+ type: 4,
11609
+ index: 7
11610
+ }; // RNM(string-literal)
11611
+
11612
+ /* string-literal */
11613
+ this.rules[7].opcodes = [];
11614
+ this.rules[7].opcodes[0] = {
11615
+ type: 1,
11616
+ children: [1, 6]
11617
+ }; // ALT
11618
+ this.rules[7].opcodes[1] = {
11619
+ type: 2,
11620
+ children: [2, 3, 5]
11621
+ }; // CAT
11622
+ this.rules[7].opcodes[2] = {
11623
+ type: 4,
11624
+ index: 86
11625
+ }; // RNM(dquote)
11626
+ this.rules[7].opcodes[3] = {
11627
+ type: 3,
11628
+ min: 0,
11629
+ max: Infinity
11630
+ }; // REP
11631
+ this.rules[7].opcodes[4] = {
11632
+ type: 4,
11633
+ index: 8
11634
+ }; // RNM(double-quoted)
11635
+ this.rules[7].opcodes[5] = {
11636
+ type: 4,
11637
+ index: 86
11638
+ }; // RNM(dquote)
11639
+ this.rules[7].opcodes[6] = {
11640
+ type: 2,
11641
+ children: [7, 8, 10]
11642
+ }; // CAT
11643
+ this.rules[7].opcodes[7] = {
11644
+ type: 4,
11645
+ index: 87
11646
+ }; // RNM(squote)
11647
+ this.rules[7].opcodes[8] = {
11648
+ type: 3,
11649
+ min: 0,
11650
+ max: Infinity
11651
+ }; // REP
11652
+ this.rules[7].opcodes[9] = {
11653
+ type: 4,
11654
+ index: 9
11655
+ }; // RNM(single-quoted)
11656
+ this.rules[7].opcodes[10] = {
11657
+ type: 4,
11658
+ index: 87
11659
+ }; // RNM(squote)
11660
+
11661
+ /* double-quoted */
11662
+ this.rules[8].opcodes = [];
11663
+ this.rules[8].opcodes[0] = {
11664
+ type: 1,
11665
+ children: [1, 2, 3, 6]
11666
+ }; // ALT
11667
+ this.rules[8].opcodes[1] = {
11668
+ type: 4,
11669
+ index: 11
11670
+ }; // RNM(unescaped)
11671
+ this.rules[8].opcodes[2] = {
11672
+ type: 6,
11673
+ string: [39]
11674
+ }; // TBS
11675
+ this.rules[8].opcodes[3] = {
11676
+ type: 2,
11677
+ children: [4, 5]
11678
+ }; // CAT
11679
+ this.rules[8].opcodes[4] = {
11680
+ type: 4,
11681
+ index: 10
11682
+ }; // RNM(ESC)
11683
+ this.rules[8].opcodes[5] = {
11684
+ type: 6,
11685
+ string: [34]
11686
+ }; // TBS
11687
+ this.rules[8].opcodes[6] = {
11688
+ type: 2,
11689
+ children: [7, 8]
11690
+ }; // CAT
11691
+ this.rules[8].opcodes[7] = {
11692
+ type: 4,
11693
+ index: 10
11694
+ }; // RNM(ESC)
11695
+ this.rules[8].opcodes[8] = {
11696
+ type: 4,
11697
+ index: 12
11698
+ }; // RNM(escapable)
11699
+
11700
+ /* single-quoted */
11701
+ this.rules[9].opcodes = [];
11702
+ this.rules[9].opcodes[0] = {
11703
+ type: 1,
11704
+ children: [1, 2, 3, 6]
11705
+ }; // ALT
11706
+ this.rules[9].opcodes[1] = {
11707
+ type: 4,
11708
+ index: 11
11709
+ }; // RNM(unescaped)
11710
+ this.rules[9].opcodes[2] = {
11711
+ type: 6,
11712
+ string: [34]
11713
+ }; // TBS
11714
+ this.rules[9].opcodes[3] = {
11715
+ type: 2,
11716
+ children: [4, 5]
11717
+ }; // CAT
11718
+ this.rules[9].opcodes[4] = {
11719
+ type: 4,
11720
+ index: 10
11721
+ }; // RNM(ESC)
11722
+ this.rules[9].opcodes[5] = {
11723
+ type: 6,
11724
+ string: [39]
11725
+ }; // TBS
11726
+ this.rules[9].opcodes[6] = {
11727
+ type: 2,
11728
+ children: [7, 8]
11729
+ }; // CAT
11730
+ this.rules[9].opcodes[7] = {
11731
+ type: 4,
11732
+ index: 10
11733
+ }; // RNM(ESC)
11734
+ this.rules[9].opcodes[8] = {
11735
+ type: 4,
11736
+ index: 12
11737
+ }; // RNM(escapable)
11738
+
11739
+ /* ESC */
11740
+ this.rules[10].opcodes = [];
11741
+ this.rules[10].opcodes[0] = {
11742
+ type: 6,
11743
+ string: [92]
11744
+ }; // TBS
11745
+
11746
+ /* unescaped */
11747
+ this.rules[11].opcodes = [];
11748
+ this.rules[11].opcodes[0] = {
11749
+ type: 1,
11750
+ children: [1, 2, 3, 4, 5]
11751
+ }; // ALT
11752
+ this.rules[11].opcodes[1] = {
11753
+ type: 5,
11754
+ min: 32,
11755
+ max: 33
11756
+ }; // TRG
11757
+ this.rules[11].opcodes[2] = {
11758
+ type: 5,
11759
+ min: 35,
11760
+ max: 38
11761
+ }; // TRG
11762
+ this.rules[11].opcodes[3] = {
11763
+ type: 5,
11764
+ min: 40,
11765
+ max: 91
11766
+ }; // TRG
11767
+ this.rules[11].opcodes[4] = {
11768
+ type: 5,
11769
+ min: 93,
11770
+ max: 55295
11771
+ }; // TRG
11772
+ this.rules[11].opcodes[5] = {
11773
+ type: 5,
11774
+ min: 57344,
11775
+ max: 1114111
11776
+ }; // TRG
11777
+
11778
+ /* escapable */
11779
+ this.rules[12].opcodes = [];
11780
+ this.rules[12].opcodes[0] = {
11781
+ type: 1,
11782
+ children: [1, 2, 3, 4, 5, 6, 7, 8]
11783
+ }; // ALT
11784
+ this.rules[12].opcodes[1] = {
11785
+ type: 6,
11786
+ string: [98]
11787
+ }; // TBS
11788
+ this.rules[12].opcodes[2] = {
11789
+ type: 6,
11790
+ string: [102]
11791
+ }; // TBS
11792
+ this.rules[12].opcodes[3] = {
11793
+ type: 6,
11794
+ string: [110]
11795
+ }; // TBS
11796
+ this.rules[12].opcodes[4] = {
11797
+ type: 6,
11798
+ string: [114]
11799
+ }; // TBS
11800
+ this.rules[12].opcodes[5] = {
11801
+ type: 6,
11802
+ string: [116]
11803
+ }; // TBS
11804
+ this.rules[12].opcodes[6] = {
11805
+ type: 7,
11806
+ string: [47]
11807
+ }; // TLS
11808
+ this.rules[12].opcodes[7] = {
11809
+ type: 7,
11810
+ string: [92]
11811
+ }; // TLS
11812
+ this.rules[12].opcodes[8] = {
11813
+ type: 2,
11814
+ children: [9, 10]
11815
+ }; // CAT
11816
+ this.rules[12].opcodes[9] = {
11817
+ type: 6,
11818
+ string: [117]
11819
+ }; // TBS
11820
+ this.rules[12].opcodes[10] = {
11821
+ type: 4,
11822
+ index: 13
11823
+ }; // RNM(hexchar)
11824
+
11825
+ /* hexchar */
11826
+ this.rules[13].opcodes = [];
11827
+ this.rules[13].opcodes[0] = {
11828
+ type: 1,
11829
+ children: [1, 2]
11830
+ }; // ALT
11831
+ this.rules[13].opcodes[1] = {
11832
+ type: 4,
11833
+ index: 14
11834
+ }; // RNM(non-surrogate)
11835
+ this.rules[13].opcodes[2] = {
11836
+ type: 2,
11837
+ children: [3, 4, 5, 6]
11838
+ }; // CAT
11839
+ this.rules[13].opcodes[3] = {
11840
+ type: 4,
11841
+ index: 15
11842
+ }; // RNM(high-surrogate)
11843
+ this.rules[13].opcodes[4] = {
11844
+ type: 7,
11845
+ string: [92]
11846
+ }; // TLS
11847
+ this.rules[13].opcodes[5] = {
11848
+ type: 6,
11849
+ string: [117]
11850
+ }; // TBS
11851
+ this.rules[13].opcodes[6] = {
11852
+ type: 4,
11853
+ index: 16
11854
+ }; // RNM(low-surrogate)
11855
+
11856
+ /* non-surrogate */
11857
+ this.rules[14].opcodes = [];
11858
+ this.rules[14].opcodes[0] = {
11859
+ type: 1,
11860
+ children: [1, 11]
11861
+ }; // ALT
11862
+ this.rules[14].opcodes[1] = {
11863
+ type: 2,
11864
+ children: [2, 9]
11865
+ }; // CAT
11866
+ this.rules[14].opcodes[2] = {
11867
+ type: 1,
11868
+ children: [3, 4, 5, 6, 7, 8]
11869
+ }; // ALT
11870
+ this.rules[14].opcodes[3] = {
11871
+ type: 4,
11872
+ index: 65
11873
+ }; // RNM(DIGIT)
11874
+ this.rules[14].opcodes[4] = {
11875
+ type: 7,
11876
+ string: [97]
11877
+ }; // TLS
11878
+ this.rules[14].opcodes[5] = {
11879
+ type: 7,
11880
+ string: [98]
11881
+ }; // TLS
11882
+ this.rules[14].opcodes[6] = {
11883
+ type: 7,
11884
+ string: [99]
11885
+ }; // TLS
11886
+ this.rules[14].opcodes[7] = {
11887
+ type: 7,
11888
+ string: [101]
11889
+ }; // TLS
11890
+ this.rules[14].opcodes[8] = {
11891
+ type: 7,
11892
+ string: [102]
11893
+ }; // TLS
11894
+ this.rules[14].opcodes[9] = {
11895
+ type: 3,
11896
+ min: 3,
11897
+ max: 3
11898
+ }; // REP
11899
+ this.rules[14].opcodes[10] = {
11900
+ type: 4,
11901
+ index: 17
11902
+ }; // RNM(HEXDIG)
11903
+ this.rules[14].opcodes[11] = {
11904
+ type: 2,
11905
+ children: [12, 13, 14]
11906
+ }; // CAT
11907
+ this.rules[14].opcodes[12] = {
11908
+ type: 7,
11909
+ string: [100]
11910
+ }; // TLS
11911
+ this.rules[14].opcodes[13] = {
11912
+ type: 5,
11913
+ min: 48,
11914
+ max: 55
11915
+ }; // TRG
11916
+ this.rules[14].opcodes[14] = {
11917
+ type: 3,
11918
+ min: 2,
11919
+ max: 2
11920
+ }; // REP
11921
+ this.rules[14].opcodes[15] = {
11922
+ type: 4,
11923
+ index: 17
11924
+ }; // RNM(HEXDIG)
11925
+
11926
+ /* high-surrogate */
11927
+ this.rules[15].opcodes = [];
11928
+ this.rules[15].opcodes[0] = {
11929
+ type: 2,
11930
+ children: [1, 2, 7]
11931
+ }; // CAT
11932
+ this.rules[15].opcodes[1] = {
11933
+ type: 7,
11934
+ string: [100]
11935
+ }; // TLS
11936
+ this.rules[15].opcodes[2] = {
11937
+ type: 1,
11938
+ children: [3, 4, 5, 6]
11939
+ }; // ALT
11940
+ this.rules[15].opcodes[3] = {
11941
+ type: 7,
11942
+ string: [56]
11943
+ }; // TLS
11944
+ this.rules[15].opcodes[4] = {
11945
+ type: 7,
11946
+ string: [57]
11947
+ }; // TLS
11948
+ this.rules[15].opcodes[5] = {
11949
+ type: 7,
11950
+ string: [97]
11951
+ }; // TLS
11952
+ this.rules[15].opcodes[6] = {
11953
+ type: 7,
11954
+ string: [98]
11955
+ }; // TLS
11956
+ this.rules[15].opcodes[7] = {
11957
+ type: 3,
11958
+ min: 2,
11959
+ max: 2
11960
+ }; // REP
11961
+ this.rules[15].opcodes[8] = {
11962
+ type: 4,
11963
+ index: 17
11964
+ }; // RNM(HEXDIG)
11965
+
11966
+ /* low-surrogate */
11967
+ this.rules[16].opcodes = [];
11968
+ this.rules[16].opcodes[0] = {
11969
+ type: 2,
11970
+ children: [1, 2, 7]
11971
+ }; // CAT
11972
+ this.rules[16].opcodes[1] = {
11973
+ type: 7,
11974
+ string: [100]
11975
+ }; // TLS
11976
+ this.rules[16].opcodes[2] = {
11977
+ type: 1,
11978
+ children: [3, 4, 5, 6]
11979
+ }; // ALT
11980
+ this.rules[16].opcodes[3] = {
11981
+ type: 7,
11982
+ string: [99]
11983
+ }; // TLS
11984
+ this.rules[16].opcodes[4] = {
11985
+ type: 7,
11986
+ string: [100]
11987
+ }; // TLS
11988
+ this.rules[16].opcodes[5] = {
11989
+ type: 7,
11990
+ string: [101]
11991
+ }; // TLS
11992
+ this.rules[16].opcodes[6] = {
11993
+ type: 7,
11994
+ string: [102]
11995
+ }; // TLS
11996
+ this.rules[16].opcodes[7] = {
11997
+ type: 3,
11998
+ min: 2,
11999
+ max: 2
12000
+ }; // REP
12001
+ this.rules[16].opcodes[8] = {
12002
+ type: 4,
12003
+ index: 17
12004
+ }; // RNM(HEXDIG)
12005
+
12006
+ /* HEXDIG */
12007
+ this.rules[17].opcodes = [];
12008
+ this.rules[17].opcodes[0] = {
12009
+ type: 1,
12010
+ children: [1, 2, 3, 4, 5, 6, 7]
12011
+ }; // ALT
12012
+ this.rules[17].opcodes[1] = {
12013
+ type: 4,
12014
+ index: 65
12015
+ }; // RNM(DIGIT)
12016
+ this.rules[17].opcodes[2] = {
12017
+ type: 7,
12018
+ string: [97]
12019
+ }; // TLS
12020
+ this.rules[17].opcodes[3] = {
12021
+ type: 7,
12022
+ string: [98]
12023
+ }; // TLS
12024
+ this.rules[17].opcodes[4] = {
12025
+ type: 7,
12026
+ string: [99]
12027
+ }; // TLS
12028
+ this.rules[17].opcodes[5] = {
12029
+ type: 7,
12030
+ string: [100]
12031
+ }; // TLS
12032
+ this.rules[17].opcodes[6] = {
12033
+ type: 7,
12034
+ string: [101]
12035
+ }; // TLS
12036
+ this.rules[17].opcodes[7] = {
12037
+ type: 7,
12038
+ string: [102]
12039
+ }; // TLS
12040
+
12041
+ /* wildcard-selector */
12042
+ this.rules[18].opcodes = [];
12043
+ this.rules[18].opcodes[0] = {
12044
+ type: 7,
12045
+ string: [42]
12046
+ }; // TLS
12047
+
12048
+ /* index-selector */
12049
+ this.rules[19].opcodes = [];
12050
+ this.rules[19].opcodes[0] = {
12051
+ type: 4,
12052
+ index: 20
12053
+ }; // RNM(int)
12054
+
12055
+ /* int */
12056
+ this.rules[20].opcodes = [];
12057
+ this.rules[20].opcodes[0] = {
12058
+ type: 1,
12059
+ children: [1, 2]
12060
+ }; // ALT
12061
+ this.rules[20].opcodes[1] = {
12062
+ type: 7,
12063
+ string: [48]
12064
+ }; // TLS
12065
+ this.rules[20].opcodes[2] = {
12066
+ type: 2,
12067
+ children: [3, 5, 6]
12068
+ }; // CAT
12069
+ this.rules[20].opcodes[3] = {
12070
+ type: 3,
12071
+ min: 0,
12072
+ max: 1
12073
+ }; // REP
12074
+ this.rules[20].opcodes[4] = {
12075
+ type: 7,
12076
+ string: [45]
12077
+ }; // TLS
12078
+ this.rules[20].opcodes[5] = {
12079
+ type: 4,
12080
+ index: 21
12081
+ }; // RNM(DIGIT1)
12082
+ this.rules[20].opcodes[6] = {
12083
+ type: 3,
12084
+ min: 0,
12085
+ max: Infinity
12086
+ }; // REP
12087
+ this.rules[20].opcodes[7] = {
12088
+ type: 4,
12089
+ index: 65
12090
+ }; // RNM(DIGIT)
12091
+
12092
+ /* DIGIT1 */
12093
+ this.rules[21].opcodes = [];
12094
+ this.rules[21].opcodes[0] = {
12095
+ type: 5,
12096
+ min: 49,
12097
+ max: 57
12098
+ }; // TRG
12099
+
12100
+ /* slice-selector */
12101
+ this.rules[22].opcodes = [];
12102
+ this.rules[22].opcodes[0] = {
12103
+ type: 2,
12104
+ children: [1, 5, 6, 7, 11]
12105
+ }; // CAT
12106
+ this.rules[22].opcodes[1] = {
12107
+ type: 3,
12108
+ min: 0,
12109
+ max: 1
12110
+ }; // REP
12111
+ this.rules[22].opcodes[2] = {
12112
+ type: 2,
12113
+ children: [3, 4]
12114
+ }; // CAT
12115
+ this.rules[22].opcodes[3] = {
12116
+ type: 4,
12117
+ index: 23
12118
+ }; // RNM(start)
12119
+ this.rules[22].opcodes[4] = {
12120
+ type: 4,
12121
+ index: 3
12122
+ }; // RNM(S)
12123
+ this.rules[22].opcodes[5] = {
12124
+ type: 4,
12125
+ index: 85
12126
+ }; // RNM(colon)
12127
+ this.rules[22].opcodes[6] = {
12128
+ type: 4,
12129
+ index: 3
12130
+ }; // RNM(S)
12131
+ this.rules[22].opcodes[7] = {
12132
+ type: 3,
12133
+ min: 0,
12134
+ max: 1
12135
+ }; // REP
12136
+ this.rules[22].opcodes[8] = {
12137
+ type: 2,
12138
+ children: [9, 10]
12139
+ }; // CAT
12140
+ this.rules[22].opcodes[9] = {
12141
+ type: 4,
12142
+ index: 24
12143
+ }; // RNM(end)
12144
+ this.rules[22].opcodes[10] = {
12145
+ type: 4,
12146
+ index: 3
12147
+ }; // RNM(S)
12148
+ this.rules[22].opcodes[11] = {
12149
+ type: 3,
12150
+ min: 0,
12151
+ max: 1
12152
+ }; // REP
12153
+ this.rules[22].opcodes[12] = {
12154
+ type: 2,
12155
+ children: [13, 14]
12156
+ }; // CAT
12157
+ this.rules[22].opcodes[13] = {
12158
+ type: 4,
12159
+ index: 85
12160
+ }; // RNM(colon)
12161
+ this.rules[22].opcodes[14] = {
12162
+ type: 3,
12163
+ min: 0,
12164
+ max: 1
12165
+ }; // REP
12166
+ this.rules[22].opcodes[15] = {
12167
+ type: 2,
12168
+ children: [16, 17]
12169
+ }; // CAT
12170
+ this.rules[22].opcodes[16] = {
12171
+ type: 4,
12172
+ index: 3
12173
+ }; // RNM(S)
12174
+ this.rules[22].opcodes[17] = {
12175
+ type: 4,
12176
+ index: 25
12177
+ }; // RNM(step)
12178
+
12179
+ /* start */
12180
+ this.rules[23].opcodes = [];
12181
+ this.rules[23].opcodes[0] = {
12182
+ type: 4,
12183
+ index: 20
12184
+ }; // RNM(int)
12185
+
12186
+ /* end */
12187
+ this.rules[24].opcodes = [];
12188
+ this.rules[24].opcodes[0] = {
12189
+ type: 4,
12190
+ index: 20
12191
+ }; // RNM(int)
12192
+
12193
+ /* step */
12194
+ this.rules[25].opcodes = [];
12195
+ this.rules[25].opcodes[0] = {
12196
+ type: 4,
12197
+ index: 20
12198
+ }; // RNM(int)
12199
+
12200
+ /* filter-selector */
12201
+ this.rules[26].opcodes = [];
12202
+ this.rules[26].opcodes[0] = {
12203
+ type: 2,
12204
+ children: [1, 2, 3]
12205
+ }; // CAT
12206
+ this.rules[26].opcodes[1] = {
12207
+ type: 4,
12208
+ index: 88
12209
+ }; // RNM(questionmark)
12210
+ this.rules[26].opcodes[2] = {
12211
+ type: 4,
12212
+ index: 3
12213
+ }; // RNM(S)
12214
+ this.rules[26].opcodes[3] = {
12215
+ type: 4,
12216
+ index: 27
12217
+ }; // RNM(logical-expr)
12218
+
12219
+ /* logical-expr */
12220
+ this.rules[27].opcodes = [];
12221
+ this.rules[27].opcodes[0] = {
12222
+ type: 4,
12223
+ index: 28
12224
+ }; // RNM(logical-or-expr)
12225
+
12226
+ /* logical-or-expr */
12227
+ this.rules[28].opcodes = [];
12228
+ this.rules[28].opcodes[0] = {
12229
+ type: 2,
12230
+ children: [1, 2]
12231
+ }; // CAT
12232
+ this.rules[28].opcodes[1] = {
12233
+ type: 4,
12234
+ index: 29
12235
+ }; // RNM(logical-and-expr)
12236
+ this.rules[28].opcodes[2] = {
12237
+ type: 3,
12238
+ min: 0,
12239
+ max: Infinity
12240
+ }; // REP
12241
+ this.rules[28].opcodes[3] = {
12242
+ type: 2,
12243
+ children: [4, 5, 6, 7]
12244
+ }; // CAT
12245
+ this.rules[28].opcodes[4] = {
12246
+ type: 4,
12247
+ index: 3
12248
+ }; // RNM(S)
12249
+ this.rules[28].opcodes[5] = {
12250
+ type: 4,
12251
+ index: 89
12252
+ }; // RNM(disjunction)
12253
+ this.rules[28].opcodes[6] = {
12254
+ type: 4,
12255
+ index: 3
12256
+ }; // RNM(S)
12257
+ this.rules[28].opcodes[7] = {
12258
+ type: 4,
12259
+ index: 29
12260
+ }; // RNM(logical-and-expr)
12261
+
12262
+ /* logical-and-expr */
12263
+ this.rules[29].opcodes = [];
12264
+ this.rules[29].opcodes[0] = {
12265
+ type: 2,
12266
+ children: [1, 2]
12267
+ }; // CAT
12268
+ this.rules[29].opcodes[1] = {
12269
+ type: 4,
12270
+ index: 30
12271
+ }; // RNM(basic-expr)
12272
+ this.rules[29].opcodes[2] = {
12273
+ type: 3,
12274
+ min: 0,
12275
+ max: Infinity
12276
+ }; // REP
12277
+ this.rules[29].opcodes[3] = {
12278
+ type: 2,
12279
+ children: [4, 5, 6, 7]
12280
+ }; // CAT
12281
+ this.rules[29].opcodes[4] = {
12282
+ type: 4,
12283
+ index: 3
12284
+ }; // RNM(S)
12285
+ this.rules[29].opcodes[5] = {
12286
+ type: 4,
12287
+ index: 90
12288
+ }; // RNM(conjunction)
12289
+ this.rules[29].opcodes[6] = {
12290
+ type: 4,
12291
+ index: 3
12292
+ }; // RNM(S)
12293
+ this.rules[29].opcodes[7] = {
12294
+ type: 4,
12295
+ index: 30
12296
+ }; // RNM(basic-expr)
12297
+
12298
+ /* basic-expr */
12299
+ this.rules[30].opcodes = [];
12300
+ this.rules[30].opcodes[0] = {
12301
+ type: 1,
12302
+ children: [1, 2, 3]
12303
+ }; // ALT
12304
+ this.rules[30].opcodes[1] = {
12305
+ type: 4,
12306
+ index: 31
12307
+ }; // RNM(paren-expr)
12308
+ this.rules[30].opcodes[2] = {
12309
+ type: 4,
12310
+ index: 37
12311
+ }; // RNM(comparison-expr)
12312
+ this.rules[30].opcodes[3] = {
12313
+ type: 4,
12314
+ index: 33
12315
+ }; // RNM(test-expr)
12316
+
12317
+ /* paren-expr */
12318
+ this.rules[31].opcodes = [];
12319
+ this.rules[31].opcodes[0] = {
12320
+ type: 2,
12321
+ children: [1, 5, 6, 7, 8, 9]
12322
+ }; // CAT
12323
+ this.rules[31].opcodes[1] = {
12324
+ type: 3,
12325
+ min: 0,
12326
+ max: 1
12327
+ }; // REP
12328
+ this.rules[31].opcodes[2] = {
12329
+ type: 2,
12330
+ children: [3, 4]
12331
+ }; // CAT
12332
+ this.rules[31].opcodes[3] = {
12333
+ type: 4,
12334
+ index: 32
12335
+ }; // RNM(logical-not-op)
12336
+ this.rules[31].opcodes[4] = {
12337
+ type: 4,
12338
+ index: 3
12339
+ }; // RNM(S)
12340
+ this.rules[31].opcodes[5] = {
12341
+ type: 4,
12342
+ index: 82
12343
+ }; // RNM(left-paren)
12344
+ this.rules[31].opcodes[6] = {
12345
+ type: 4,
12346
+ index: 3
12347
+ }; // RNM(S)
12348
+ this.rules[31].opcodes[7] = {
12349
+ type: 4,
12350
+ index: 27
12351
+ }; // RNM(logical-expr)
12352
+ this.rules[31].opcodes[8] = {
12353
+ type: 4,
12354
+ index: 3
12355
+ }; // RNM(S)
12356
+ this.rules[31].opcodes[9] = {
12357
+ type: 4,
12358
+ index: 83
12359
+ }; // RNM(right-paren)
12360
+
12361
+ /* logical-not-op */
12362
+ this.rules[32].opcodes = [];
12363
+ this.rules[32].opcodes[0] = {
12364
+ type: 7,
12365
+ string: [33]
12366
+ }; // TLS
12367
+
12368
+ /* test-expr */
12369
+ this.rules[33].opcodes = [];
12370
+ this.rules[33].opcodes[0] = {
12371
+ type: 2,
12372
+ children: [1, 5]
12373
+ }; // CAT
12374
+ this.rules[33].opcodes[1] = {
12375
+ type: 3,
12376
+ min: 0,
12377
+ max: 1
12378
+ }; // REP
12379
+ this.rules[33].opcodes[2] = {
12380
+ type: 2,
12381
+ children: [3, 4]
12382
+ }; // CAT
12383
+ this.rules[33].opcodes[3] = {
12384
+ type: 4,
12385
+ index: 32
12386
+ }; // RNM(logical-not-op)
12387
+ this.rules[33].opcodes[4] = {
12388
+ type: 4,
12389
+ index: 3
12390
+ }; // RNM(S)
12391
+ this.rules[33].opcodes[5] = {
12392
+ type: 1,
12393
+ children: [6, 7]
12394
+ }; // ALT
12395
+ this.rules[33].opcodes[6] = {
12396
+ type: 4,
12397
+ index: 34
12398
+ }; // RNM(filter-query)
12399
+ this.rules[33].opcodes[7] = {
12400
+ type: 4,
12401
+ index: 57
12402
+ }; // RNM(function-expr)
12403
+
12404
+ /* filter-query */
12405
+ this.rules[34].opcodes = [];
12406
+ this.rules[34].opcodes[0] = {
12407
+ type: 1,
12408
+ children: [1, 2]
12409
+ }; // ALT
12410
+ this.rules[34].opcodes[1] = {
12411
+ type: 4,
12412
+ index: 35
12413
+ }; // RNM(rel-query)
12414
+ this.rules[34].opcodes[2] = {
12415
+ type: 4,
12416
+ index: 0
12417
+ }; // RNM(jsonpath-query)
12418
+
12419
+ /* rel-query */
12420
+ this.rules[35].opcodes = [];
12421
+ this.rules[35].opcodes[0] = {
12422
+ type: 2,
12423
+ children: [1, 2]
12424
+ }; // CAT
12425
+ this.rules[35].opcodes[1] = {
12426
+ type: 4,
12427
+ index: 36
12428
+ }; // RNM(current-node-identifier)
12429
+ this.rules[35].opcodes[2] = {
12430
+ type: 4,
12431
+ index: 1
12432
+ }; // RNM(segments)
12433
+
12434
+ /* current-node-identifier */
12435
+ this.rules[36].opcodes = [];
12436
+ this.rules[36].opcodes[0] = {
12437
+ type: 7,
12438
+ string: [64]
12439
+ }; // TLS
12440
+
12441
+ /* comparison-expr */
12442
+ this.rules[37].opcodes = [];
12443
+ this.rules[37].opcodes[0] = {
12444
+ type: 2,
12445
+ children: [1, 2, 3, 4, 5]
12446
+ }; // CAT
12447
+ this.rules[37].opcodes[1] = {
12448
+ type: 4,
12449
+ index: 39
12450
+ }; // RNM(comparable)
12451
+ this.rules[37].opcodes[2] = {
12452
+ type: 4,
12453
+ index: 3
12454
+ }; // RNM(S)
12455
+ this.rules[37].opcodes[3] = {
12456
+ type: 4,
12457
+ index: 40
12458
+ }; // RNM(comparison-op)
12459
+ this.rules[37].opcodes[4] = {
12460
+ type: 4,
12461
+ index: 3
12462
+ }; // RNM(S)
12463
+ this.rules[37].opcodes[5] = {
12464
+ type: 4,
12465
+ index: 39
12466
+ }; // RNM(comparable)
12467
+
12468
+ /* literal */
12469
+ this.rules[38].opcodes = [];
12470
+ this.rules[38].opcodes[0] = {
12471
+ type: 1,
12472
+ children: [1, 2, 3, 4, 5]
12473
+ }; // ALT
12474
+ this.rules[38].opcodes[1] = {
12475
+ type: 4,
12476
+ index: 47
12477
+ }; // RNM(number)
12478
+ this.rules[38].opcodes[2] = {
12479
+ type: 4,
12480
+ index: 7
12481
+ }; // RNM(string-literal)
12482
+ this.rules[38].opcodes[3] = {
12483
+ type: 4,
12484
+ index: 50
12485
+ }; // RNM(true)
12486
+ this.rules[38].opcodes[4] = {
12487
+ type: 4,
12488
+ index: 51
12489
+ }; // RNM(false)
12490
+ this.rules[38].opcodes[5] = {
12491
+ type: 4,
12492
+ index: 52
12493
+ }; // RNM(null)
12494
+
12495
+ /* comparable */
12496
+ this.rules[39].opcodes = [];
12497
+ this.rules[39].opcodes[0] = {
12498
+ type: 1,
12499
+ children: [1, 2, 3]
12500
+ }; // ALT
12501
+ this.rules[39].opcodes[1] = {
12502
+ type: 4,
12503
+ index: 41
12504
+ }; // RNM(singular-query)
12505
+ this.rules[39].opcodes[2] = {
12506
+ type: 4,
12507
+ index: 57
12508
+ }; // RNM(function-expr)
12509
+ this.rules[39].opcodes[3] = {
12510
+ type: 4,
12511
+ index: 38
12512
+ }; // RNM(literal)
12513
+
12514
+ /* comparison-op */
12515
+ this.rules[40].opcodes = [];
12516
+ this.rules[40].opcodes[0] = {
12517
+ type: 1,
12518
+ children: [1, 2, 3, 4, 5, 6]
12519
+ }; // ALT
12520
+ this.rules[40].opcodes[1] = {
12521
+ type: 7,
12522
+ string: [61, 61]
12523
+ }; // TLS
12524
+ this.rules[40].opcodes[2] = {
12525
+ type: 7,
12526
+ string: [33, 61]
12527
+ }; // TLS
12528
+ this.rules[40].opcodes[3] = {
12529
+ type: 7,
12530
+ string: [60, 61]
12531
+ }; // TLS
12532
+ this.rules[40].opcodes[4] = {
12533
+ type: 7,
12534
+ string: [62, 61]
12535
+ }; // TLS
12536
+ this.rules[40].opcodes[5] = {
12537
+ type: 7,
12538
+ string: [60]
12539
+ }; // TLS
12540
+ this.rules[40].opcodes[6] = {
12541
+ type: 7,
12542
+ string: [62]
12543
+ }; // TLS
12544
+
12545
+ /* singular-query */
12546
+ this.rules[41].opcodes = [];
12547
+ this.rules[41].opcodes[0] = {
12548
+ type: 1,
12549
+ children: [1, 2]
12550
+ }; // ALT
12551
+ this.rules[41].opcodes[1] = {
12552
+ type: 4,
12553
+ index: 42
12554
+ }; // RNM(rel-singular-query)
12555
+ this.rules[41].opcodes[2] = {
12556
+ type: 4,
12557
+ index: 43
12558
+ }; // RNM(abs-singular-query)
12559
+
12560
+ /* rel-singular-query */
12561
+ this.rules[42].opcodes = [];
12562
+ this.rules[42].opcodes[0] = {
12563
+ type: 2,
12564
+ children: [1, 2]
12565
+ }; // CAT
12566
+ this.rules[42].opcodes[1] = {
12567
+ type: 4,
12568
+ index: 36
12569
+ }; // RNM(current-node-identifier)
12570
+ this.rules[42].opcodes[2] = {
12571
+ type: 4,
12572
+ index: 44
12573
+ }; // RNM(singular-query-segments)
12574
+
12575
+ /* abs-singular-query */
12576
+ this.rules[43].opcodes = [];
12577
+ this.rules[43].opcodes[0] = {
12578
+ type: 2,
12579
+ children: [1, 2]
12580
+ }; // CAT
12581
+ this.rules[43].opcodes[1] = {
12582
+ type: 4,
12583
+ index: 4
12584
+ }; // RNM(root-identifier)
12585
+ this.rules[43].opcodes[2] = {
12586
+ type: 4,
12587
+ index: 44
12588
+ }; // RNM(singular-query-segments)
12589
+
12590
+ /* singular-query-segments */
12591
+ this.rules[44].opcodes = [];
12592
+ this.rules[44].opcodes[0] = {
12593
+ type: 3,
12594
+ min: 0,
12595
+ max: Infinity
12596
+ }; // REP
12597
+ this.rules[44].opcodes[1] = {
12598
+ type: 2,
12599
+ children: [2, 3]
12600
+ }; // CAT
12601
+ this.rules[44].opcodes[2] = {
12602
+ type: 4,
12603
+ index: 3
12604
+ }; // RNM(S)
12605
+ this.rules[44].opcodes[3] = {
12606
+ type: 1,
12607
+ children: [4, 5]
12608
+ }; // ALT
12609
+ this.rules[44].opcodes[4] = {
12610
+ type: 4,
12611
+ index: 45
12612
+ }; // RNM(name-segment)
12613
+ this.rules[44].opcodes[5] = {
12614
+ type: 4,
12615
+ index: 46
12616
+ }; // RNM(index-segment)
12617
+
12618
+ /* name-segment */
12619
+ this.rules[45].opcodes = [];
12620
+ this.rules[45].opcodes[0] = {
12621
+ type: 1,
12622
+ children: [1, 5]
12623
+ }; // ALT
12624
+ this.rules[45].opcodes[1] = {
12625
+ type: 2,
12626
+ children: [2, 3, 4]
12627
+ }; // CAT
12628
+ this.rules[45].opcodes[2] = {
12629
+ type: 4,
12630
+ index: 80
12631
+ }; // RNM(left-bracket)
12632
+ this.rules[45].opcodes[3] = {
12633
+ type: 4,
12634
+ index: 6
12635
+ }; // RNM(name-selector)
12636
+ this.rules[45].opcodes[4] = {
12637
+ type: 4,
12638
+ index: 81
12639
+ }; // RNM(right-bracket)
12640
+ this.rules[45].opcodes[5] = {
12641
+ type: 2,
12642
+ children: [6, 7]
12643
+ }; // CAT
12644
+ this.rules[45].opcodes[6] = {
12645
+ type: 4,
12646
+ index: 78
12647
+ }; // RNM(dot-prefix)
12648
+ this.rules[45].opcodes[7] = {
12649
+ type: 4,
12650
+ index: 62
12651
+ }; // RNM(member-name-shorthand)
12652
+
12653
+ /* index-segment */
12654
+ this.rules[46].opcodes = [];
12655
+ this.rules[46].opcodes[0] = {
12656
+ type: 2,
12657
+ children: [1, 2, 3]
12658
+ }; // CAT
12659
+ this.rules[46].opcodes[1] = {
12660
+ type: 4,
12661
+ index: 80
12662
+ }; // RNM(left-bracket)
12663
+ this.rules[46].opcodes[2] = {
12664
+ type: 4,
12665
+ index: 19
12666
+ }; // RNM(index-selector)
12667
+ this.rules[46].opcodes[3] = {
12668
+ type: 4,
12669
+ index: 81
12670
+ }; // RNM(right-bracket)
12671
+
12672
+ /* number */
12673
+ this.rules[47].opcodes = [];
12674
+ this.rules[47].opcodes[0] = {
12675
+ type: 2,
12676
+ children: [1, 4, 6]
12677
+ }; // CAT
12678
+ this.rules[47].opcodes[1] = {
12679
+ type: 1,
12680
+ children: [2, 3]
12681
+ }; // ALT
12682
+ this.rules[47].opcodes[2] = {
12683
+ type: 4,
12684
+ index: 20
12685
+ }; // RNM(int)
12686
+ this.rules[47].opcodes[3] = {
12687
+ type: 7,
12688
+ string: [45, 48]
12689
+ }; // TLS
12690
+ this.rules[47].opcodes[4] = {
12691
+ type: 3,
12692
+ min: 0,
12693
+ max: 1
12694
+ }; // REP
12695
+ this.rules[47].opcodes[5] = {
12696
+ type: 4,
12697
+ index: 48
12698
+ }; // RNM(frac)
12699
+ this.rules[47].opcodes[6] = {
12700
+ type: 3,
12701
+ min: 0,
12702
+ max: 1
12703
+ }; // REP
12704
+ this.rules[47].opcodes[7] = {
12705
+ type: 4,
12706
+ index: 49
12707
+ }; // RNM(exp)
12708
+
12709
+ /* frac */
12710
+ this.rules[48].opcodes = [];
12711
+ this.rules[48].opcodes[0] = {
12712
+ type: 2,
12713
+ children: [1, 2]
12714
+ }; // CAT
12715
+ this.rules[48].opcodes[1] = {
12716
+ type: 7,
12717
+ string: [46]
12718
+ }; // TLS
12719
+ this.rules[48].opcodes[2] = {
12720
+ type: 3,
12721
+ min: 1,
12722
+ max: Infinity
12723
+ }; // REP
12724
+ this.rules[48].opcodes[3] = {
12725
+ type: 4,
12726
+ index: 65
12727
+ }; // RNM(DIGIT)
12728
+
12729
+ /* exp */
12730
+ this.rules[49].opcodes = [];
12731
+ this.rules[49].opcodes[0] = {
12732
+ type: 2,
12733
+ children: [1, 2, 6]
12734
+ }; // CAT
12735
+ this.rules[49].opcodes[1] = {
12736
+ type: 7,
12737
+ string: [101]
12738
+ }; // TLS
12739
+ this.rules[49].opcodes[2] = {
12740
+ type: 3,
12741
+ min: 0,
12742
+ max: 1
12743
+ }; // REP
12744
+ this.rules[49].opcodes[3] = {
12745
+ type: 1,
12746
+ children: [4, 5]
12747
+ }; // ALT
12748
+ this.rules[49].opcodes[4] = {
12749
+ type: 7,
12750
+ string: [45]
12751
+ }; // TLS
12752
+ this.rules[49].opcodes[5] = {
12753
+ type: 7,
12754
+ string: [43]
12755
+ }; // TLS
12756
+ this.rules[49].opcodes[6] = {
12757
+ type: 3,
12758
+ min: 1,
12759
+ max: Infinity
12760
+ }; // REP
12761
+ this.rules[49].opcodes[7] = {
12762
+ type: 4,
12763
+ index: 65
12764
+ }; // RNM(DIGIT)
12765
+
12766
+ /* true */
12767
+ this.rules[50].opcodes = [];
12768
+ this.rules[50].opcodes[0] = {
12769
+ type: 6,
12770
+ string: [116, 114, 117, 101]
12771
+ }; // TBS
12772
+
12773
+ /* false */
12774
+ this.rules[51].opcodes = [];
12775
+ this.rules[51].opcodes[0] = {
12776
+ type: 6,
12777
+ string: [102, 97, 108, 115, 101]
12778
+ }; // TBS
12779
+
12780
+ /* null */
12781
+ this.rules[52].opcodes = [];
12782
+ this.rules[52].opcodes[0] = {
12783
+ type: 6,
12784
+ string: [110, 117, 108, 108]
12785
+ }; // TBS
12786
+
12787
+ /* function-name */
12788
+ this.rules[53].opcodes = [];
12789
+ this.rules[53].opcodes[0] = {
12790
+ type: 2,
12791
+ children: [1, 2]
12792
+ }; // CAT
12793
+ this.rules[53].opcodes[1] = {
12794
+ type: 4,
12795
+ index: 54
12796
+ }; // RNM(function-name-first)
12797
+ this.rules[53].opcodes[2] = {
12798
+ type: 3,
12799
+ min: 0,
12800
+ max: Infinity
12801
+ }; // REP
12802
+ this.rules[53].opcodes[3] = {
12803
+ type: 4,
12804
+ index: 55
12805
+ }; // RNM(function-name-char)
12806
+
12807
+ /* function-name-first */
12808
+ this.rules[54].opcodes = [];
12809
+ this.rules[54].opcodes[0] = {
12810
+ type: 4,
12811
+ index: 56
12812
+ }; // RNM(LCALPHA)
12813
+
12814
+ /* function-name-char */
12815
+ this.rules[55].opcodes = [];
12816
+ this.rules[55].opcodes[0] = {
12817
+ type: 1,
12818
+ children: [1, 2, 3]
12819
+ }; // ALT
12820
+ this.rules[55].opcodes[1] = {
12821
+ type: 4,
12822
+ index: 54
12823
+ }; // RNM(function-name-first)
12824
+ this.rules[55].opcodes[2] = {
12825
+ type: 7,
12826
+ string: [95]
12827
+ }; // TLS
12828
+ this.rules[55].opcodes[3] = {
12829
+ type: 4,
12830
+ index: 65
12831
+ }; // RNM(DIGIT)
12832
+
12833
+ /* LCALPHA */
12834
+ this.rules[56].opcodes = [];
12835
+ this.rules[56].opcodes[0] = {
12836
+ type: 5,
12837
+ min: 97,
12838
+ max: 122
12839
+ }; // TRG
12840
+
12841
+ /* function-expr */
12842
+ this.rules[57].opcodes = [];
12843
+ this.rules[57].opcodes[0] = {
12844
+ type: 2,
12845
+ children: [1, 2, 3, 4, 13, 14]
12846
+ }; // CAT
12847
+ this.rules[57].opcodes[1] = {
12848
+ type: 4,
12849
+ index: 53
12850
+ }; // RNM(function-name)
12851
+ this.rules[57].opcodes[2] = {
12852
+ type: 4,
12853
+ index: 82
12854
+ }; // RNM(left-paren)
12855
+ this.rules[57].opcodes[3] = {
12856
+ type: 4,
12857
+ index: 3
12858
+ }; // RNM(S)
12859
+ this.rules[57].opcodes[4] = {
12860
+ type: 3,
12861
+ min: 0,
12862
+ max: 1
12863
+ }; // REP
12864
+ this.rules[57].opcodes[5] = {
12865
+ type: 2,
12866
+ children: [6, 7]
12867
+ }; // CAT
12868
+ this.rules[57].opcodes[6] = {
12869
+ type: 4,
12870
+ index: 58
12871
+ }; // RNM(function-argument)
12872
+ this.rules[57].opcodes[7] = {
12873
+ type: 3,
12874
+ min: 0,
12875
+ max: Infinity
12876
+ }; // REP
12877
+ this.rules[57].opcodes[8] = {
12878
+ type: 2,
12879
+ children: [9, 10, 11, 12]
12880
+ }; // CAT
12881
+ this.rules[57].opcodes[9] = {
12882
+ type: 4,
12883
+ index: 3
12884
+ }; // RNM(S)
12885
+ this.rules[57].opcodes[10] = {
12886
+ type: 4,
12887
+ index: 84
12888
+ }; // RNM(comma)
12889
+ this.rules[57].opcodes[11] = {
12890
+ type: 4,
12891
+ index: 3
12892
+ }; // RNM(S)
12893
+ this.rules[57].opcodes[12] = {
12894
+ type: 4,
12895
+ index: 58
12896
+ }; // RNM(function-argument)
12897
+ this.rules[57].opcodes[13] = {
12898
+ type: 4,
12899
+ index: 3
12900
+ }; // RNM(S)
12901
+ this.rules[57].opcodes[14] = {
12902
+ type: 4,
12903
+ index: 83
12904
+ }; // RNM(right-paren)
12905
+
12906
+ /* function-argument */
12907
+ this.rules[58].opcodes = [];
12908
+ this.rules[58].opcodes[0] = {
12909
+ type: 1,
12910
+ children: [1, 2, 3, 4]
12911
+ }; // ALT
12912
+ this.rules[58].opcodes[1] = {
12913
+ type: 4,
12914
+ index: 27
12915
+ }; // RNM(logical-expr)
12916
+ this.rules[58].opcodes[2] = {
12917
+ type: 4,
12918
+ index: 34
12919
+ }; // RNM(filter-query)
12920
+ this.rules[58].opcodes[3] = {
12921
+ type: 4,
12922
+ index: 57
12923
+ }; // RNM(function-expr)
12924
+ this.rules[58].opcodes[4] = {
12925
+ type: 4,
12926
+ index: 38
12927
+ }; // RNM(literal)
12928
+
12929
+ /* segment */
12930
+ this.rules[59].opcodes = [];
12931
+ this.rules[59].opcodes[0] = {
12932
+ type: 1,
12933
+ children: [1, 2]
12934
+ }; // ALT
12935
+ this.rules[59].opcodes[1] = {
12936
+ type: 4,
12937
+ index: 60
12938
+ }; // RNM(child-segment)
12939
+ this.rules[59].opcodes[2] = {
12940
+ type: 4,
12941
+ index: 67
12942
+ }; // RNM(descendant-segment)
12943
+
12944
+ /* child-segment */
12945
+ this.rules[60].opcodes = [];
12946
+ this.rules[60].opcodes[0] = {
12947
+ type: 1,
12948
+ children: [1, 2]
12949
+ }; // ALT
12950
+ this.rules[60].opcodes[1] = {
12951
+ type: 4,
12952
+ index: 61
12953
+ }; // RNM(bracketed-selection)
12954
+ this.rules[60].opcodes[2] = {
12955
+ type: 2,
12956
+ children: [3, 4]
12957
+ }; // CAT
12958
+ this.rules[60].opcodes[3] = {
12959
+ type: 4,
12960
+ index: 78
12961
+ }; // RNM(dot-prefix)
12962
+ this.rules[60].opcodes[4] = {
12963
+ type: 1,
12964
+ children: [5, 6]
12965
+ }; // ALT
12966
+ this.rules[60].opcodes[5] = {
12967
+ type: 4,
12968
+ index: 18
12969
+ }; // RNM(wildcard-selector)
12970
+ this.rules[60].opcodes[6] = {
12971
+ type: 4,
12972
+ index: 62
12973
+ }; // RNM(member-name-shorthand)
12974
+
12975
+ /* bracketed-selection */
12976
+ this.rules[61].opcodes = [];
12977
+ this.rules[61].opcodes[0] = {
12978
+ type: 2,
12979
+ children: [1, 2, 3, 4, 10, 11]
12980
+ }; // CAT
12981
+ this.rules[61].opcodes[1] = {
12982
+ type: 4,
12983
+ index: 80
12984
+ }; // RNM(left-bracket)
12985
+ this.rules[61].opcodes[2] = {
12986
+ type: 4,
12987
+ index: 3
12988
+ }; // RNM(S)
12989
+ this.rules[61].opcodes[3] = {
12990
+ type: 4,
12991
+ index: 5
12992
+ }; // RNM(selector)
12993
+ this.rules[61].opcodes[4] = {
12994
+ type: 3,
12995
+ min: 0,
12996
+ max: Infinity
12997
+ }; // REP
12998
+ this.rules[61].opcodes[5] = {
12999
+ type: 2,
13000
+ children: [6, 7, 8, 9]
13001
+ }; // CAT
13002
+ this.rules[61].opcodes[6] = {
13003
+ type: 4,
13004
+ index: 3
13005
+ }; // RNM(S)
13006
+ this.rules[61].opcodes[7] = {
13007
+ type: 4,
13008
+ index: 84
13009
+ }; // RNM(comma)
13010
+ this.rules[61].opcodes[8] = {
13011
+ type: 4,
13012
+ index: 3
13013
+ }; // RNM(S)
13014
+ this.rules[61].opcodes[9] = {
13015
+ type: 4,
13016
+ index: 5
13017
+ }; // RNM(selector)
13018
+ this.rules[61].opcodes[10] = {
13019
+ type: 4,
13020
+ index: 3
13021
+ }; // RNM(S)
13022
+ this.rules[61].opcodes[11] = {
13023
+ type: 4,
13024
+ index: 81
13025
+ }; // RNM(right-bracket)
13026
+
13027
+ /* member-name-shorthand */
13028
+ this.rules[62].opcodes = [];
13029
+ this.rules[62].opcodes[0] = {
13030
+ type: 2,
13031
+ children: [1, 2]
13032
+ }; // CAT
13033
+ this.rules[62].opcodes[1] = {
13034
+ type: 4,
13035
+ index: 63
13036
+ }; // RNM(name-first)
13037
+ this.rules[62].opcodes[2] = {
13038
+ type: 3,
13039
+ min: 0,
13040
+ max: Infinity
13041
+ }; // REP
13042
+ this.rules[62].opcodes[3] = {
13043
+ type: 4,
13044
+ index: 64
13045
+ }; // RNM(name-char)
13046
+
13047
+ /* name-first */
13048
+ this.rules[63].opcodes = [];
13049
+ this.rules[63].opcodes[0] = {
13050
+ type: 1,
13051
+ children: [1, 2, 3, 4]
13052
+ }; // ALT
13053
+ this.rules[63].opcodes[1] = {
13054
+ type: 4,
13055
+ index: 66
13056
+ }; // RNM(ALPHA)
13057
+ this.rules[63].opcodes[2] = {
13058
+ type: 7,
13059
+ string: [95]
13060
+ }; // TLS
13061
+ this.rules[63].opcodes[3] = {
13062
+ type: 5,
13063
+ min: 128,
13064
+ max: 55295
13065
+ }; // TRG
13066
+ this.rules[63].opcodes[4] = {
13067
+ type: 5,
13068
+ min: 57344,
13069
+ max: 1114111
13070
+ }; // TRG
10307
13071
 
10308
- /***/ }),
13072
+ /* name-char */
13073
+ this.rules[64].opcodes = [];
13074
+ this.rules[64].opcodes[0] = {
13075
+ type: 1,
13076
+ children: [1, 2]
13077
+ }; // ALT
13078
+ this.rules[64].opcodes[1] = {
13079
+ type: 4,
13080
+ index: 63
13081
+ }; // RNM(name-first)
13082
+ this.rules[64].opcodes[2] = {
13083
+ type: 4,
13084
+ index: 65
13085
+ }; // RNM(DIGIT)
10309
13086
 
10310
- /***/ 27694:
10311
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
13087
+ /* DIGIT */
13088
+ this.rules[65].opcodes = [];
13089
+ this.rules[65].opcodes[0] = {
13090
+ type: 5,
13091
+ min: 48,
13092
+ max: 57
13093
+ }; // TRG
10312
13094
 
10313
- __webpack_require__.r(__webpack_exports__);
10314
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10315
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10316
- /* harmony export */ });
10317
- /* harmony import */ var _internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(18938);
10318
- /* harmony import */ var _empty_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(95734);
10319
- /* harmony import */ var _equals_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(53654);
13095
+ /* ALPHA */
13096
+ this.rules[66].opcodes = [];
13097
+ this.rules[66].opcodes[0] = {
13098
+ type: 1,
13099
+ children: [1, 2]
13100
+ }; // ALT
13101
+ this.rules[66].opcodes[1] = {
13102
+ type: 5,
13103
+ min: 65,
13104
+ max: 90
13105
+ }; // TRG
13106
+ this.rules[66].opcodes[2] = {
13107
+ type: 5,
13108
+ min: 97,
13109
+ max: 122
13110
+ }; // TRG
10320
13111
 
13112
+ /* descendant-segment */
13113
+ this.rules[67].opcodes = [];
13114
+ this.rules[67].opcodes[0] = {
13115
+ type: 2,
13116
+ children: [1, 2]
13117
+ }; // CAT
13118
+ this.rules[67].opcodes[1] = {
13119
+ type: 4,
13120
+ index: 79
13121
+ }; // RNM(double-dot-prefix)
13122
+ this.rules[67].opcodes[2] = {
13123
+ type: 1,
13124
+ children: [3, 4, 5]
13125
+ }; // ALT
13126
+ this.rules[67].opcodes[3] = {
13127
+ type: 4,
13128
+ index: 61
13129
+ }; // RNM(bracketed-selection)
13130
+ this.rules[67].opcodes[4] = {
13131
+ type: 4,
13132
+ index: 18
13133
+ }; // RNM(wildcard-selector)
13134
+ this.rules[67].opcodes[5] = {
13135
+ type: 4,
13136
+ index: 62
13137
+ }; // RNM(member-name-shorthand)
10321
13138
 
13139
+ /* normalized-path */
13140
+ this.rules[68].opcodes = [];
13141
+ this.rules[68].opcodes[0] = {
13142
+ type: 2,
13143
+ children: [1, 2]
13144
+ }; // CAT
13145
+ this.rules[68].opcodes[1] = {
13146
+ type: 4,
13147
+ index: 4
13148
+ }; // RNM(root-identifier)
13149
+ this.rules[68].opcodes[2] = {
13150
+ type: 3,
13151
+ min: 0,
13152
+ max: Infinity
13153
+ }; // REP
13154
+ this.rules[68].opcodes[3] = {
13155
+ type: 4,
13156
+ index: 69
13157
+ }; // RNM(normal-index-segment)
10322
13158
 
13159
+ /* normal-index-segment */
13160
+ this.rules[69].opcodes = [];
13161
+ this.rules[69].opcodes[0] = {
13162
+ type: 2,
13163
+ children: [1, 2, 3]
13164
+ }; // CAT
13165
+ this.rules[69].opcodes[1] = {
13166
+ type: 4,
13167
+ index: 80
13168
+ }; // RNM(left-bracket)
13169
+ this.rules[69].opcodes[2] = {
13170
+ type: 4,
13171
+ index: 70
13172
+ }; // RNM(normal-selector)
13173
+ this.rules[69].opcodes[3] = {
13174
+ type: 4,
13175
+ index: 81
13176
+ }; // RNM(right-bracket)
10323
13177
 
10324
- /**
10325
- * Returns `true` if the given value is its type's empty value; `false`
10326
- * otherwise.
10327
- *
10328
- * @func
10329
- * @memberOf R
10330
- * @since v0.1.0
10331
- * @category Logic
10332
- * @sig a -> Boolean
10333
- * @param {*} x
10334
- * @return {Boolean}
10335
- * @see R.empty, R.isNotEmpty
10336
- * @example
10337
- *
10338
- * R.isEmpty([1, 2, 3]); //=> false
10339
- * R.isEmpty([]); //=> true
10340
- * R.isEmpty(''); //=> true
10341
- * R.isEmpty(null); //=> false
10342
- * R.isEmpty({}); //=> true
10343
- * R.isEmpty({length: 0}); //=> false
10344
- * R.isEmpty(Uint8Array.from('')); //=> true
10345
- * R.isEmpty(new Set()) //=> true
10346
- * R.isEmpty(new Map()) //=> true
10347
- */
10348
- var isEmpty = /*#__PURE__*/(0,_internal_curry1_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function isEmpty(x) {
10349
- return x != null && (0,_equals_js__WEBPACK_IMPORTED_MODULE_2__["default"])(x, (0,_empty_js__WEBPACK_IMPORTED_MODULE_1__["default"])(x));
10350
- });
10351
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (isEmpty);
13178
+ /* normal-selector */
13179
+ this.rules[70].opcodes = [];
13180
+ this.rules[70].opcodes[0] = {
13181
+ type: 1,
13182
+ children: [1, 2]
13183
+ }; // ALT
13184
+ this.rules[70].opcodes[1] = {
13185
+ type: 4,
13186
+ index: 71
13187
+ }; // RNM(normal-name-selector)
13188
+ this.rules[70].opcodes[2] = {
13189
+ type: 4,
13190
+ index: 77
13191
+ }; // RNM(normal-index-selector)
10352
13192
 
10353
- /***/ }),
13193
+ /* normal-name-selector */
13194
+ this.rules[71].opcodes = [];
13195
+ this.rules[71].opcodes[0] = {
13196
+ type: 2,
13197
+ children: [1, 2, 4]
13198
+ }; // CAT
13199
+ this.rules[71].opcodes[1] = {
13200
+ type: 4,
13201
+ index: 87
13202
+ }; // RNM(squote)
13203
+ this.rules[71].opcodes[2] = {
13204
+ type: 3,
13205
+ min: 0,
13206
+ max: Infinity
13207
+ }; // REP
13208
+ this.rules[71].opcodes[3] = {
13209
+ type: 4,
13210
+ index: 72
13211
+ }; // RNM(normal-single-quoted)
13212
+ this.rules[71].opcodes[4] = {
13213
+ type: 4,
13214
+ index: 87
13215
+ }; // RNM(squote)
10354
13216
 
10355
- /***/ 27827:
10356
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
13217
+ /* normal-single-quoted */
13218
+ this.rules[72].opcodes = [];
13219
+ this.rules[72].opcodes[0] = {
13220
+ type: 1,
13221
+ children: [1, 2]
13222
+ }; // ALT
13223
+ this.rules[72].opcodes[1] = {
13224
+ type: 4,
13225
+ index: 73
13226
+ }; // RNM(normal-unescaped)
13227
+ this.rules[72].opcodes[2] = {
13228
+ type: 2,
13229
+ children: [3, 4]
13230
+ }; // CAT
13231
+ this.rules[72].opcodes[3] = {
13232
+ type: 4,
13233
+ index: 10
13234
+ }; // RNM(ESC)
13235
+ this.rules[72].opcodes[4] = {
13236
+ type: 4,
13237
+ index: 74
13238
+ }; // RNM(normal-escapable)
10357
13239
 
10358
- __webpack_require__.r(__webpack_exports__);
10359
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10360
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10361
- /* harmony export */ });
10362
- /* harmony import */ var ramda__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(29498);
10363
- /* harmony import */ var _elements_Operation_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(51112);
10364
- /* harmony import */ var _bases_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(74367);
13240
+ /* normal-unescaped */
13241
+ this.rules[73].opcodes = [];
13242
+ this.rules[73].opcodes[0] = {
13243
+ type: 1,
13244
+ children: [1, 2, 3, 4]
13245
+ }; // ALT
13246
+ this.rules[73].opcodes[1] = {
13247
+ type: 5,
13248
+ min: 32,
13249
+ max: 38
13250
+ }; // TRG
13251
+ this.rules[73].opcodes[2] = {
13252
+ type: 5,
13253
+ min: 40,
13254
+ max: 91
13255
+ }; // TRG
13256
+ this.rules[73].opcodes[3] = {
13257
+ type: 5,
13258
+ min: 93,
13259
+ max: 55295
13260
+ }; // TRG
13261
+ this.rules[73].opcodes[4] = {
13262
+ type: 5,
13263
+ min: 57344,
13264
+ max: 1114111
13265
+ }; // TRG
10365
13266
 
13267
+ /* normal-escapable */
13268
+ this.rules[74].opcodes = [];
13269
+ this.rules[74].opcodes[0] = {
13270
+ type: 1,
13271
+ children: [1, 2, 3, 4, 5, 6, 7, 8]
13272
+ }; // ALT
13273
+ this.rules[74].opcodes[1] = {
13274
+ type: 6,
13275
+ string: [98]
13276
+ }; // TBS
13277
+ this.rules[74].opcodes[2] = {
13278
+ type: 6,
13279
+ string: [102]
13280
+ }; // TBS
13281
+ this.rules[74].opcodes[3] = {
13282
+ type: 6,
13283
+ string: [110]
13284
+ }; // TBS
13285
+ this.rules[74].opcodes[4] = {
13286
+ type: 6,
13287
+ string: [114]
13288
+ }; // TBS
13289
+ this.rules[74].opcodes[5] = {
13290
+ type: 6,
13291
+ string: [116]
13292
+ }; // TBS
13293
+ this.rules[74].opcodes[6] = {
13294
+ type: 7,
13295
+ string: [39]
13296
+ }; // TLS
13297
+ this.rules[74].opcodes[7] = {
13298
+ type: 7,
13299
+ string: [92]
13300
+ }; // TLS
13301
+ this.rules[74].opcodes[8] = {
13302
+ type: 2,
13303
+ children: [9, 10]
13304
+ }; // CAT
13305
+ this.rules[74].opcodes[9] = {
13306
+ type: 6,
13307
+ string: [117]
13308
+ }; // TBS
13309
+ this.rules[74].opcodes[10] = {
13310
+ type: 4,
13311
+ index: 75
13312
+ }; // RNM(normal-hexchar)
10366
13313
 
13314
+ /* normal-hexchar */
13315
+ this.rules[75].opcodes = [];
13316
+ this.rules[75].opcodes[0] = {
13317
+ type: 2,
13318
+ children: [1, 2, 3]
13319
+ }; // CAT
13320
+ this.rules[75].opcodes[1] = {
13321
+ type: 7,
13322
+ string: [48]
13323
+ }; // TLS
13324
+ this.rules[75].opcodes[2] = {
13325
+ type: 7,
13326
+ string: [48]
13327
+ }; // TLS
13328
+ this.rules[75].opcodes[3] = {
13329
+ type: 1,
13330
+ children: [4, 7, 10, 13]
13331
+ }; // ALT
13332
+ this.rules[75].opcodes[4] = {
13333
+ type: 2,
13334
+ children: [5, 6]
13335
+ }; // CAT
13336
+ this.rules[75].opcodes[5] = {
13337
+ type: 7,
13338
+ string: [48]
13339
+ }; // TLS
13340
+ this.rules[75].opcodes[6] = {
13341
+ type: 5,
13342
+ min: 48,
13343
+ max: 55
13344
+ }; // TRG
13345
+ this.rules[75].opcodes[7] = {
13346
+ type: 2,
13347
+ children: [8, 9]
13348
+ }; // CAT
13349
+ this.rules[75].opcodes[8] = {
13350
+ type: 7,
13351
+ string: [48]
13352
+ }; // TLS
13353
+ this.rules[75].opcodes[9] = {
13354
+ type: 6,
13355
+ string: [98]
13356
+ }; // TBS
13357
+ this.rules[75].opcodes[10] = {
13358
+ type: 2,
13359
+ children: [11, 12]
13360
+ }; // CAT
13361
+ this.rules[75].opcodes[11] = {
13362
+ type: 7,
13363
+ string: [48]
13364
+ }; // TLS
13365
+ this.rules[75].opcodes[12] = {
13366
+ type: 5,
13367
+ min: 101,
13368
+ max: 102
13369
+ }; // TRG
13370
+ this.rules[75].opcodes[13] = {
13371
+ type: 2,
13372
+ children: [14, 15]
13373
+ }; // CAT
13374
+ this.rules[75].opcodes[14] = {
13375
+ type: 7,
13376
+ string: [49]
13377
+ }; // TLS
13378
+ this.rules[75].opcodes[15] = {
13379
+ type: 4,
13380
+ index: 76
13381
+ }; // RNM(normal-HEXDIG)
10367
13382
 
10368
- /**
10369
- * @public
10370
- */
10371
- /**
10372
- * @public
10373
- */
10374
- class OperationVisitor extends _bases_mjs__WEBPACK_IMPORTED_MODULE_2__.BaseFixedFieldsVisitor {
10375
- constructor(options) {
10376
- super(options);
10377
- this.element = new _elements_Operation_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]();
10378
- this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(['document', 'objects', 'Operation']);
10379
- }
10380
- }
10381
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationVisitor);
13383
+ /* normal-HEXDIG */
13384
+ this.rules[76].opcodes = [];
13385
+ this.rules[76].opcodes[0] = {
13386
+ type: 1,
13387
+ children: [1, 2]
13388
+ }; // ALT
13389
+ this.rules[76].opcodes[1] = {
13390
+ type: 4,
13391
+ index: 65
13392
+ }; // RNM(DIGIT)
13393
+ this.rules[76].opcodes[2] = {
13394
+ type: 5,
13395
+ min: 97,
13396
+ max: 102
13397
+ }; // TRG
10382
13398
 
10383
- /***/ }),
13399
+ /* normal-index-selector */
13400
+ this.rules[77].opcodes = [];
13401
+ this.rules[77].opcodes[0] = {
13402
+ type: 1,
13403
+ children: [1, 2]
13404
+ }; // ALT
13405
+ this.rules[77].opcodes[1] = {
13406
+ type: 7,
13407
+ string: [48]
13408
+ }; // TLS
13409
+ this.rules[77].opcodes[2] = {
13410
+ type: 2,
13411
+ children: [3, 4]
13412
+ }; // CAT
13413
+ this.rules[77].opcodes[3] = {
13414
+ type: 4,
13415
+ index: 21
13416
+ }; // RNM(DIGIT1)
13417
+ this.rules[77].opcodes[4] = {
13418
+ type: 3,
13419
+ min: 0,
13420
+ max: Infinity
13421
+ }; // REP
13422
+ this.rules[77].opcodes[5] = {
13423
+ type: 4,
13424
+ index: 65
13425
+ }; // RNM(DIGIT)
10384
13426
 
10385
- /***/ 28052:
10386
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
13427
+ /* dot-prefix */
13428
+ this.rules[78].opcodes = [];
13429
+ this.rules[78].opcodes[0] = {
13430
+ type: 7,
13431
+ string: [46]
13432
+ }; // TLS
10387
13433
 
10388
- __webpack_require__.r(__webpack_exports__);
10389
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10390
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10391
- /* harmony export */ });
10392
- /* harmony import */ var _internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39088);
10393
- /* harmony import */ var _internal_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65722);
13434
+ /* double-dot-prefix */
13435
+ this.rules[79].opcodes = [];
13436
+ this.rules[79].opcodes[0] = {
13437
+ type: 7,
13438
+ string: [46, 46]
13439
+ }; // TLS
10394
13440
 
13441
+ /* left-bracket */
13442
+ this.rules[80].opcodes = [];
13443
+ this.rules[80].opcodes[0] = {
13444
+ type: 7,
13445
+ string: [91]
13446
+ }; // TLS
10395
13447
 
13448
+ /* right-bracket */
13449
+ this.rules[81].opcodes = [];
13450
+ this.rules[81].opcodes[0] = {
13451
+ type: 7,
13452
+ string: [93]
13453
+ }; // TLS
10396
13454
 
10397
- /**
10398
- * Creates a new object with the own properties of the two provided objects. If
10399
- * a key exists in both objects, the provided function is applied to the key
10400
- * and the values associated with the key in each object, with the result being
10401
- * used as the value associated with the key in the returned object.
10402
- *
10403
- * @func
10404
- * @memberOf R
10405
- * @since v0.19.0
10406
- * @category Object
10407
- * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}
10408
- * @param {Function} fn
10409
- * @param {Object} l
10410
- * @param {Object} r
10411
- * @return {Object}
10412
- * @see R.mergeDeepWithKey, R.mergeWith
10413
- * @example
10414
- *
10415
- * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r
10416
- * R.mergeWithKey(concatValues,
10417
- * { a: true, thing: 'foo', values: [10, 20] },
10418
- * { b: true, thing: 'bar', values: [15, 35] });
10419
- * //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }
10420
- * @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }
10421
- */
10422
- var mergeWithKey = /*#__PURE__*/(0,_internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function mergeWithKey(fn, l, r) {
10423
- var result = {};
10424
- var k;
10425
- l = l || {};
10426
- r = r || {};
10427
- for (k in l) {
10428
- if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, l)) {
10429
- result[k] = (0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) ? fn(k, l[k], r[k]) : l[k];
10430
- }
10431
- }
10432
- for (k in r) {
10433
- if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) && !(0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, result)) {
10434
- result[k] = r[k];
10435
- }
10436
- }
10437
- return result;
10438
- });
10439
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mergeWithKey);
13455
+ /* left-paren */
13456
+ this.rules[82].opcodes = [];
13457
+ this.rules[82].opcodes[0] = {
13458
+ type: 7,
13459
+ string: [40]
13460
+ }; // TLS
10440
13461
 
10441
- /***/ }),
13462
+ /* right-paren */
13463
+ this.rules[83].opcodes = [];
13464
+ this.rules[83].opcodes[0] = {
13465
+ type: 7,
13466
+ string: [41]
13467
+ }; // TLS
10442
13468
 
10443
- /***/ 28121:
10444
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
13469
+ /* comma */
13470
+ this.rules[84].opcodes = [];
13471
+ this.rules[84].opcodes[0] = {
13472
+ type: 7,
13473
+ string: [44]
13474
+ }; // TLS
10445
13475
 
10446
- __webpack_require__.r(__webpack_exports__);
10447
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10448
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10449
- /* harmony export */ });
10450
- /* harmony import */ var _Element_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(60728);
13476
+ /* colon */
13477
+ this.rules[85].opcodes = [];
13478
+ this.rules[85].opcodes[0] = {
13479
+ type: 7,
13480
+ string: [58]
13481
+ }; // TLS
10451
13482
 
10452
- /**
10453
- * StringElement represents a string value in ApiDOM.
10454
- * @public
10455
- */
10456
- class StringElement extends _Element_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
10457
- constructor(content, meta, attributes) {
10458
- super(content, meta, attributes);
10459
- this.element = 'string';
10460
- }
10461
- primitive() {
10462
- return 'string';
10463
- }
13483
+ /* dquote */
13484
+ this.rules[86].opcodes = [];
13485
+ this.rules[86].opcodes[0] = {
13486
+ type: 6,
13487
+ string: [34]
13488
+ }; // TBS
10464
13489
 
10465
- /**
10466
- * The length of the string.
10467
- */
10468
- get length() {
10469
- return this.content?.length ?? 0;
10470
- }
10471
- }
10472
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StringElement);
13490
+ /* squote */
13491
+ this.rules[87].opcodes = [];
13492
+ this.rules[87].opcodes[0] = {
13493
+ type: 6,
13494
+ string: [39]
13495
+ }; // TBS
10473
13496
 
10474
- /***/ }),
13497
+ /* questionmark */
13498
+ this.rules[88].opcodes = [];
13499
+ this.rules[88].opcodes[0] = {
13500
+ type: 7,
13501
+ string: [63]
13502
+ }; // TLS
10475
13503
 
10476
- /***/ 28152:
10477
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
13504
+ /* disjunction */
13505
+ this.rules[89].opcodes = [];
13506
+ this.rules[89].opcodes[0] = {
13507
+ type: 7,
13508
+ string: [124, 124]
13509
+ }; // TLS
10478
13510
 
10479
- __webpack_require__.r(__webpack_exports__);
10480
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
10481
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
10482
- /* harmony export */ });
10483
- /* harmony import */ var _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3664);
13511
+ /* conjunction */
13512
+ this.rules[90].opcodes = [];
13513
+ this.rules[90].opcodes[0] = {
13514
+ type: 7,
13515
+ string: [38, 38]
13516
+ }; // TLS
10484
13517
 
10485
- /**
10486
- * @public
10487
- */
10488
- class $RefVisitor extends _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
10489
- StringElement(path) {
10490
- super.enter(path);
10491
- this.element.classes.push('reference-value');
10492
- }
13518
+ // The `toString()` function will display the original grammar file(s) that produced these opcodes.
13519
+ this.toString = function toString() {
13520
+ let str = "";
13521
+ str += "; JSONPath: Query Expressions for JSON\n";
13522
+ str += "; https://www.rfc-editor.org/rfc/rfc9535\n";
13523
+ str += "\n";
13524
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1\n";
13525
+ str += "jsonpath-query = root-identifier segments\n";
13526
+ str += "segments = *(S segment)\n";
13527
+ str += "\n";
13528
+ str += "B = %x20 / ; Space\n";
13529
+ str += " %x09 / ; Horizontal tab\n";
13530
+ str += " %x0A / ; Line feed or New line\n";
13531
+ str += " %x0D ; Carriage return\n";
13532
+ str += "S = *B ; optional blank space\n";
13533
+ str += "\n";
13534
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1\n";
13535
+ str += "root-identifier = \"$\"\n";
13536
+ str += "\n";
13537
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3\n";
13538
+ str += "selector = name-selector /\n";
13539
+ str += " wildcard-selector /\n";
13540
+ str += " slice-selector /\n";
13541
+ str += " index-selector /\n";
13542
+ str += " filter-selector\n";
13543
+ str += "\n";
13544
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1\n";
13545
+ str += "name-selector = string-literal\n";
13546
+ str += "\n";
13547
+ str += "string-literal = dquote *double-quoted dquote / ; \"string\", MODIFICATION: surrogate text rule used\n";
13548
+ str += " squote *single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n";
13549
+ str += "\n";
13550
+ str += "double-quoted = unescaped /\n";
13551
+ str += " %x27 / ; '\n";
13552
+ str += " ESC %x22 / ; \\\"\n";
13553
+ str += " ESC escapable\n";
13554
+ str += "\n";
13555
+ str += "single-quoted = unescaped /\n";
13556
+ str += " %x22 / ; \"\n";
13557
+ str += " ESC %x27 / ; \\'\n";
13558
+ str += " ESC escapable\n";
13559
+ str += "\n";
13560
+ str += "ESC = %x5C ; \\ backslash\n";
13561
+ str += "\n";
13562
+ str += "unescaped = %x20-21 / ; see RFC 8259\n";
13563
+ str += " ; omit 0x22 \"\n";
13564
+ str += " %x23-26 /\n";
13565
+ str += " ; omit 0x27 '\n";
13566
+ str += " %x28-5B /\n";
13567
+ str += " ; omit 0x5C \\\n";
13568
+ str += " %x5D-D7FF /\n";
13569
+ str += " ; skip surrogate code points\n";
13570
+ str += " %xE000-10FFFF\n";
13571
+ str += "\n";
13572
+ str += "escapable = %x62 / ; b BS backspace U+0008\n";
13573
+ str += " %x66 / ; f FF form feed U+000C\n";
13574
+ str += " %x6E / ; n LF line feed U+000A\n";
13575
+ str += " %x72 / ; r CR carriage return U+000D\n";
13576
+ str += " %x74 / ; t HT horizontal tab U+0009\n";
13577
+ str += " \"/\" / ; / slash (solidus) U+002F\n";
13578
+ str += " \"\\\" / ; \\ backslash (reverse solidus) U+005C\n";
13579
+ str += " (%x75 hexchar) ; uXXXX U+XXXX\n";
13580
+ str += "\n";
13581
+ str += "hexchar = non-surrogate /\n";
13582
+ str += " (high-surrogate \"\\\" %x75 low-surrogate)\n";
13583
+ str += "non-surrogate = ((DIGIT / \"A\"/\"B\"/\"C\" / \"E\"/\"F\") 3HEXDIG) /\n";
13584
+ str += " (\"D\" %x30-37 2HEXDIG )\n";
13585
+ str += "high-surrogate = \"D\" (\"8\"/\"9\"/\"A\"/\"B\") 2HEXDIG\n";
13586
+ str += "low-surrogate = \"D\" (\"C\"/\"D\"/\"E\"/\"F\") 2HEXDIG\n";
13587
+ str += "\n";
13588
+ str += "HEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\n";
13589
+ str += "\n";
13590
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1\n";
13591
+ str += "wildcard-selector = \"*\"\n";
13592
+ str += "\n";
13593
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1\n";
13594
+ str += "index-selector = int ; decimal integer\n";
13595
+ str += "\n";
13596
+ str += "int = \"0\" /\n";
13597
+ str += " ([\"-\"] DIGIT1 *DIGIT) ; - optional\n";
13598
+ str += "DIGIT1 = %x31-39 ; 1-9 non-zero digit\n";
13599
+ str += "\n";
13600
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1\n";
13601
+ str += "slice-selector = [start S] colon S [end S] [colon [S step ]] ; MODIFICATION: surrogate text rule used\n";
13602
+ str += "\n";
13603
+ str += "start = int ; included in selection\n";
13604
+ str += "end = int ; not included in selection\n";
13605
+ str += "step = int ; default: 1\n";
13606
+ str += "\n";
13607
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1\n";
13608
+ str += "filter-selector = questionmark S logical-expr ; MODIFICATION: surrogate text rule used\n";
13609
+ str += "\n";
13610
+ str += "logical-expr = logical-or-expr\n";
13611
+ str += "logical-or-expr = logical-and-expr *(S disjunction S logical-and-expr) ; MODIFICATION: surrogate text rule used\n";
13612
+ str += " ; disjunction\n";
13613
+ str += " ; binds less tightly than conjunction\n";
13614
+ str += "logical-and-expr = basic-expr *(S conjunction S basic-expr) ; MODIFICATION: surrogate text rule used\n";
13615
+ str += " ; conjunction\n";
13616
+ str += " ; binds more tightly than disjunction\n";
13617
+ str += "\n";
13618
+ str += "basic-expr = paren-expr /\n";
13619
+ str += " comparison-expr /\n";
13620
+ str += " test-expr\n";
13621
+ str += "\n";
13622
+ str += "paren-expr = [logical-not-op S] left-paren S logical-expr S right-paren ; MODIFICATION: surrogate text rule used\n";
13623
+ str += " ; parenthesized expression\n";
13624
+ str += "logical-not-op = \"!\" ; logical NOT operator\n";
13625
+ str += "\n";
13626
+ str += "test-expr = [logical-not-op S]\n";
13627
+ str += " (filter-query / ; existence/non-existence\n";
13628
+ str += " function-expr) ; LogicalType or NodesType\n";
13629
+ str += "filter-query = rel-query / jsonpath-query\n";
13630
+ str += "rel-query = current-node-identifier segments\n";
13631
+ str += "current-node-identifier = \"@\"\n";
13632
+ str += "\n";
13633
+ str += "comparison-expr = comparable S comparison-op S comparable\n";
13634
+ str += "literal = number / string-literal /\n";
13635
+ str += " true / false / null\n";
13636
+ str += "comparable = singular-query / ; singular query value\n";
13637
+ str += " function-expr / ; ValueType\n";
13638
+ str += " literal\n";
13639
+ str += " ; MODIFICATION: https://www.rfc-editor.org/errata/eid8352\n";
13640
+ str += "comparison-op = \"==\" / \"!=\" /\n";
13641
+ str += " \"<=\" / \">=\" /\n";
13642
+ str += " \"<\" / \">\"\n";
13643
+ str += "\n";
13644
+ str += "singular-query = rel-singular-query / abs-singular-query\n";
13645
+ str += "rel-singular-query = current-node-identifier singular-query-segments\n";
13646
+ str += "abs-singular-query = root-identifier singular-query-segments\n";
13647
+ str += "singular-query-segments = *(S (name-segment / index-segment))\n";
13648
+ str += "name-segment = (left-bracket name-selector right-bracket) / ; MODIFICATION: surrogate text rule used\n";
13649
+ str += " (dot-prefix member-name-shorthand) ; MODIFICATION: surrogate text rule used\n";
13650
+ str += "index-segment = left-bracket index-selector right-bracket ; MODIFICATION: surrogate text rule used\n";
13651
+ str += "\n";
13652
+ str += "number = (int / \"-0\") [ frac ] [ exp ] ; decimal number\n";
13653
+ str += "frac = \".\" 1*DIGIT ; decimal fraction\n";
13654
+ str += "exp = \"e\" [ \"-\" / \"+\" ] 1*DIGIT ; decimal exponent\n";
13655
+ str += "true = %x74.72.75.65 ; true\n";
13656
+ str += "false = %x66.61.6c.73.65 ; false\n";
13657
+ str += "null = %x6e.75.6c.6c ; null\n";
13658
+ str += "\n";
13659
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.4\n";
13660
+ str += "function-name = function-name-first *function-name-char\n";
13661
+ str += "function-name-first = LCALPHA\n";
13662
+ str += "function-name-char = function-name-first / \"_\" / DIGIT\n";
13663
+ str += "LCALPHA = %x61-7A ; \"a\"..\"z\"\n";
13664
+ str += "\n";
13665
+ str += "function-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used\n";
13666
+ str += " *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used\n";
13667
+ str += "function-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n";
13668
+ str += " filter-query / ; (includes singular-query)\n";
13669
+ str += " function-expr /\n";
13670
+ str += " literal\n";
13671
+ str += "\n";
13672
+ str += "\n";
13673
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.5\n";
13674
+ str += "segment = child-segment / descendant-segment\n";
13675
+ str += "\n";
13676
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1\n";
13677
+ str += "child-segment = bracketed-selection /\n";
13678
+ str += " (dot-prefix ; MODIFICATION: surrogate text rule used\n";
13679
+ str += " (wildcard-selector /\n";
13680
+ str += " member-name-shorthand))\n";
13681
+ str += "\n";
13682
+ str += "bracketed-selection = left-bracket S selector *(S comma S selector) S right-bracket\n";
13683
+ str += " ; MODIFICATION: surrogate text rule used\n";
13684
+ str += "\n";
13685
+ str += "member-name-shorthand = name-first *name-char\n";
13686
+ str += "name-first = ALPHA /\n";
13687
+ str += " \"_\" /\n";
13688
+ str += " %x80-D7FF /\n";
13689
+ str += " ; skip surrogate code points\n";
13690
+ str += " %xE000-10FFFF\n";
13691
+ str += "name-char = name-first / DIGIT\n";
13692
+ str += "\n";
13693
+ str += "DIGIT = %x30-39 ; 0-9\n";
13694
+ str += "ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n";
13695
+ str += "\n";
13696
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1\n";
13697
+ str += "descendant-segment = double-dot-prefix (bracketed-selection / ; MODIFICATION: surrogate text rule used\n";
13698
+ str += " wildcard-selector /\n";
13699
+ str += " member-name-shorthand)\n";
13700
+ str += "\n";
13701
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths\n";
13702
+ str += "normalized-path = root-identifier *(normal-index-segment)\n";
13703
+ str += "normal-index-segment = left-bracket normal-selector right-bracket ; MODIFICATION: surrogate text rule used\n";
13704
+ str += "normal-selector = normal-name-selector / normal-index-selector\n";
13705
+ str += "normal-name-selector = squote *normal-single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n";
13706
+ str += "normal-single-quoted = normal-unescaped /\n";
13707
+ str += " ESC normal-escapable\n";
13708
+ str += "normal-unescaped = ; omit %x0-1F control codes\n";
13709
+ str += " %x20-26 /\n";
13710
+ str += " ; omit 0x27 '\n";
13711
+ str += " %x28-5B /\n";
13712
+ str += " ; omit 0x5C \\\n";
13713
+ str += " %x5D-D7FF /\n";
13714
+ str += " ; skip surrogate code points\n";
13715
+ str += " %xE000-10FFFF\n";
13716
+ str += "\n";
13717
+ str += "normal-escapable = %x62 / ; b BS backspace U+0008\n";
13718
+ str += " %x66 / ; f FF form feed U+000C\n";
13719
+ str += " %x6E / ; n LF line feed U+000A\n";
13720
+ str += " %x72 / ; r CR carriage return U+000D\n";
13721
+ str += " %x74 / ; t HT horizontal tab U+0009\n";
13722
+ str += " \"'\" / ; ' apostrophe U+0027\n";
13723
+ str += " \"\\\" / ; \\ backslash (reverse solidus) U+005C\n";
13724
+ str += " (%x75 normal-hexchar)\n";
13725
+ str += " ; certain values u00xx U+00XX\n";
13726
+ str += "normal-hexchar = \"0\" \"0\"\n";
13727
+ str += " (\n";
13728
+ str += " (\"0\" %x30-37) / ; \"00\"-\"07\"\n";
13729
+ str += " ; omit U+0008-U+000A BS HT LF\n";
13730
+ str += " (\"0\" %x62) / ; \"0b\"\n";
13731
+ str += " ; omit U+000C-U+000D FF CR\n";
13732
+ str += " (\"0\" %x65-66) / ; \"0e\"-\"0f\"\n";
13733
+ str += " (\"1\" normal-HEXDIG)\n";
13734
+ str += " )\n";
13735
+ str += "normal-HEXDIG = DIGIT / %x61-66 ; \"0\"-\"9\", \"a\"-\"f\"\n";
13736
+ str += "normal-index-selector = \"0\" / (DIGIT1 *DIGIT)\n";
13737
+ str += " ; non-negative decimal integer\n";
13738
+ str += "\n";
13739
+ str += "; Surrogate named rules\n";
13740
+ str += "dot-prefix = \".\"\n";
13741
+ str += "double-dot-prefix = \"..\"\n";
13742
+ str += "left-bracket = \"[\"\n";
13743
+ str += "right-bracket = \"]\"\n";
13744
+ str += "left-paren = \"(\"\n";
13745
+ str += "right-paren = \")\"\n";
13746
+ str += "comma = \",\"\n";
13747
+ str += "colon = \":\"\n";
13748
+ str += "dquote = %x22 ; \"\n";
13749
+ str += "squote = %x27 ; '\n";
13750
+ str += "questionmark = \"?\"\n";
13751
+ str += "disjunction = \"||\"\n";
13752
+ str += "conjunction = \"&&\"\n";
13753
+ return str;
13754
+ };
10493
13755
  }
10494
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ($RefVisitor);
10495
13756
 
10496
13757
  /***/ }),
10497
13758
 
@@ -16191,6 +19452,22 @@ function resolveEnd(end, offset, reqSpace, onError) {
16191
19452
 
16192
19453
 
16193
19454
 
19455
+ /***/ }),
19456
+
19457
+ /***/ 41352:
19458
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
19459
+
19460
+ __webpack_require__.r(__webpack_exports__);
19461
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19462
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
19463
+ /* harmony export */ });
19464
+ class Expectations extends Array {
19465
+ toString() {
19466
+ return this.map(c => `"${String(c)}"`).join(', ');
19467
+ }
19468
+ }
19469
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Expectations);
19470
+
16194
19471
  /***/ }),
16195
19472
 
16196
19473
  /***/ 41407:
@@ -16525,7 +19802,7 @@ __webpack_require__.r(__webpack_exports__);
16525
19802
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
16526
19803
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
16527
19804
  /* harmony export */ });
16528
- /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12008);
19805
+ /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
16529
19806
 
16530
19807
  class JSONPointerCompileError extends _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
16531
19808
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerCompileError);
@@ -18697,6 +21974,11 @@ __webpack_require__.r(__webpack_exports__);
18697
21974
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18698
21975
  /* harmony export */ Path: () => (/* binding */ Path)
18699
21976
  /* harmony export */ });
21977
+ /* harmony import */ var _speclynx_apidom_json_pointer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(61198);
21978
+ /* harmony import */ var _swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84637);
21979
+
21980
+
21981
+
18700
21982
  /**
18701
21983
  * Possible return values from a visitor function.
18702
21984
  * @public
@@ -18848,6 +22130,43 @@ class Path {
18848
22130
  return keys;
18849
22131
  }
18850
22132
 
22133
+ /**
22134
+ * Format path as RFC 6901 JSON Pointer or RFC 9535 Normalized JSONPath.
22135
+ *
22136
+ * @param pathFormat - Output format: "jsonpointer" (default) or "jsonpath"
22137
+ * @returns JSONPointer string like "/paths/~1pets/get/responses/200"
22138
+ * or Normalized JSONPath like "$['paths']['/pets']['get']['responses']['200']"
22139
+ *
22140
+ * @example
22141
+ * // JSON Pointer examples:
22142
+ * path.formatPath(); // "" (root)
22143
+ * path.formatPath(); // "/info"
22144
+ * path.formatPath(); // "/paths/~1pets/get"
22145
+ * path.formatPath(); // "/paths/~1users~1{id}/parameters/0"
22146
+ *
22147
+ * @example
22148
+ * // JSONPath examples:
22149
+ * path.formatPath('jsonpath'); // "$" (root)
22150
+ * path.formatPath('jsonpath'); // "$['info']"
22151
+ * path.formatPath('jsonpath'); // "$['paths']['/pets']['get']"
22152
+ * path.formatPath('jsonpath'); // "$['paths']['/users/{id}']['parameters'][0]"
22153
+ */
22154
+ formatPath(pathFormat = 'jsonpointer') {
22155
+ const parts = this.getPathKeys();
22156
+
22157
+ // Root node
22158
+ if (parts.length === 0) {
22159
+ return pathFormat === 'jsonpath' ? '$' : '';
22160
+ }
22161
+ if (pathFormat === 'jsonpath') {
22162
+ // RFC 9535 Normalized JSONPath
22163
+ return (0,_swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_1__.compile)(parts);
22164
+ }
22165
+
22166
+ // RFC 6901 JSON Pointer
22167
+ return (0,_speclynx_apidom_json_pointer__WEBPACK_IMPORTED_MODULE_0__.compile)(parts);
22168
+ }
22169
+
18851
22170
  /**
18852
22171
  * Find the closest ancestor path that satisfies the predicate.
18853
22172
  */
@@ -21940,6 +25259,51 @@ var init = /*#__PURE__*/(0,_slice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0,
21940
25259
 
21941
25260
  /***/ }),
21942
25261
 
25262
+ /***/ 54848:
25263
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
25264
+
25265
+ __webpack_require__.r(__webpack_exports__);
25266
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25267
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
25268
+ /* harmony export */ });
25269
+ /* harmony import */ var _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23449);
25270
+
25271
+ class CSTOptimizedTranslator extends _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
25272
+ collapsibleTypes = ['single-quoted', 'double-quoted', 'normal-single-quoted'];
25273
+ droppableTypes = ['text', 'segments', 'singular-query-segments'];
25274
+ constructor({
25275
+ collapsibleTypes,
25276
+ droppableTypes
25277
+ } = {}) {
25278
+ super();
25279
+ if (Array.isArray(collapsibleTypes)) {
25280
+ this.collapsibleTypes = collapsibleTypes;
25281
+ }
25282
+ if (Array.isArray(droppableTypes)) {
25283
+ this.droppableTypes = droppableTypes;
25284
+ }
25285
+ }
25286
+ getTree() {
25287
+ const options = {
25288
+ optimize: true,
25289
+ collapsibleTypes: this.collapsibleTypes,
25290
+ droppableTypes: this.droppableTypes
25291
+ };
25292
+ const data = {
25293
+ stack: [],
25294
+ root: null,
25295
+ options
25296
+ };
25297
+ this.translate(data);
25298
+ delete data.stack;
25299
+ delete data.options;
25300
+ return data;
25301
+ }
25302
+ }
25303
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CSTOptimizedTranslator);
25304
+
25305
+ /***/ }),
25306
+
21943
25307
  /***/ 54929:
21944
25308
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
21945
25309
 
@@ -25078,7 +28442,7 @@ __webpack_require__.r(__webpack_exports__);
25078
28442
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
25079
28443
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
25080
28444
  /* harmony export */ });
25081
- /* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12008);
28445
+ /* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
25082
28446
 
25083
28447
  class EvaluationRealm {
25084
28448
  name = '';
@@ -26032,7 +29396,7 @@ __webpack_require__.r(__webpack_exports__);
26032
29396
  /* harmony import */ var _evaluate_index_mjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(89274);
26033
29397
  /* harmony import */ var _evaluate_realms_EvaluationRealm_mjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(59408);
26034
29398
  /* harmony import */ var _evaluate_realms_compose_mjs__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(99799);
26035
- /* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(12008);
29399
+ /* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(89627);
26036
29400
  /* harmony import */ var _errors_JSONPointerParseError_mjs__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(26490);
26037
29401
  /* harmony import */ var _errors_JSONPointerCompileError_mjs__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(42144);
26038
29402
  /* harmony import */ var _errors_JSONPointerEvaluateError_mjs__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(924);
@@ -26689,6 +30053,20 @@ class ParameterVisitor extends BaseParameterVisitor {
26689
30053
 
26690
30054
  /***/ }),
26691
30055
 
30056
+ /***/ 62977:
30057
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
30058
+
30059
+ __webpack_require__.r(__webpack_exports__);
30060
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
30061
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
30062
+ /* harmony export */ });
30063
+ /* harmony import */ var _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84816);
30064
+
30065
+ class JSONPathCompileError extends _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
30066
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPathCompileError);
30067
+
30068
+ /***/ }),
30069
+
26692
30070
  /***/ 63072:
26693
30071
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
26694
30072
 
@@ -28075,6 +31453,424 @@ class FailsafeSchema {
28075
31453
 
28076
31454
  /***/ }),
28077
31455
 
31456
+ /***/ 66090:
31457
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
31458
+
31459
+ __webpack_require__.r(__webpack_exports__);
31460
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
31461
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
31462
+ /* harmony export */ transformCSTtoAST: () => (/* binding */ transformCSTtoAST)
31463
+ /* harmony export */ });
31464
+ /* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92639);
31465
+ /* harmony import */ var _decoders_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1257);
31466
+
31467
+
31468
+ const transformCSTtoAST = (node, transformerMap, ctx = {
31469
+ parent: null,
31470
+ path: []
31471
+ }) => {
31472
+ const transformer = transformerMap[node.type];
31473
+ if (!transformer) {
31474
+ throw new _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](`No transformer for CST node type: ${node.type}`);
31475
+ }
31476
+ const nextCtx = {
31477
+ parent: node,
31478
+ path: [...ctx.path, node]
31479
+ };
31480
+ return transformer(node, nextCtx);
31481
+ };
31482
+ const transformers = {
31483
+ /**
31484
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1
31485
+ */
31486
+ ['jsonpath-query'](node, ctx) {
31487
+ const segments = node.children.find(c => c.type === 'segments');
31488
+ return {
31489
+ type: 'JsonPathQuery',
31490
+ segments: segments ? segments.children.filter(({
31491
+ type
31492
+ }) => type === 'segment').map(segNode => transformCSTtoAST(segNode, transformers, ctx)) : []
31493
+ };
31494
+ },
31495
+ /**
31496
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.5
31497
+ */
31498
+ segment(node, ctx) {
31499
+ const child = node.children.find(({
31500
+ type
31501
+ }) => ['child-segment', 'descendant-segment'].includes(type));
31502
+ return transformCSTtoAST(child, transformers, ctx);
31503
+ },
31504
+ /**
31505
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3
31506
+ */
31507
+ selector(node, ctx) {
31508
+ const child = node.children.find(({
31509
+ type
31510
+ }) => ['name-selector', 'wildcard-selector', 'slice-selector', 'index-selector', 'filter-selector'].includes(type));
31511
+ return transformCSTtoAST(child, transformers, ctx);
31512
+ },
31513
+ /**
31514
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1
31515
+ */
31516
+ ['name-selector'](node, ctx) {
31517
+ const stringLiteralCSTNode = node.children.find(({
31518
+ type
31519
+ }) => type === 'string-literal');
31520
+ const stringLiteralASTNode = transformCSTtoAST(stringLiteralCSTNode, transformers, ctx);
31521
+ return {
31522
+ type: 'NameSelector',
31523
+ value: stringLiteralASTNode.value,
31524
+ format: stringLiteralASTNode.format
31525
+ };
31526
+ },
31527
+ ['string-literal'](node) {
31528
+ const isSingleQuoted = node.children.find(({
31529
+ type,
31530
+ text
31531
+ }) => type === 'text' && text === "'");
31532
+ const quoted = node.children.find(({
31533
+ type
31534
+ }) => ['double-quoted', 'single-quoted'].includes(type));
31535
+ const decodeString = isSingleQuoted ? _decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeSingleQuotedString : _decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeDoubleQuotedString;
31536
+ return {
31537
+ type: 'StringLiteral',
31538
+ value: quoted ? decodeString(quoted.text) : '',
31539
+ format: isSingleQuoted ? 'single-quoted' : 'double-quoted'
31540
+ };
31541
+ },
31542
+ /**
31543
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1
31544
+ */
31545
+ ['wildcard-selector']() {
31546
+ return {
31547
+ type: 'WildcardSelector'
31548
+ };
31549
+ },
31550
+ /**
31551
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1
31552
+ */
31553
+ ['index-selector'](node) {
31554
+ return {
31555
+ type: 'IndexSelector',
31556
+ value: (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(node.text)
31557
+ };
31558
+ },
31559
+ /**
31560
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1
31561
+ */
31562
+ ['slice-selector'](node) {
31563
+ const start = node.children.find(({
31564
+ type
31565
+ }) => type === 'start');
31566
+ const end = node.children.find(({
31567
+ type
31568
+ }) => type === 'end');
31569
+ const step = node.children.find(({
31570
+ type
31571
+ }) => type === 'step');
31572
+ return {
31573
+ type: 'SliceSelector',
31574
+ start: start ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(start.text) : null,
31575
+ end: end ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(end.text) : null,
31576
+ step: step ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(step.text) : null
31577
+ };
31578
+ },
31579
+ /**
31580
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1
31581
+ */
31582
+ ['filter-selector'](node, ctx) {
31583
+ const child = node.children.find(({
31584
+ type
31585
+ }) => type === 'logical-expr');
31586
+ return {
31587
+ type: 'FilterSelector',
31588
+ expression: transformCSTtoAST(child, transformers, ctx)
31589
+ };
31590
+ },
31591
+ ['logical-expr'](node, ctx) {
31592
+ const child = node.children.find(({
31593
+ type
31594
+ }) => type === 'logical-or-expr');
31595
+ return transformCSTtoAST(child, transformers, ctx);
31596
+ },
31597
+ ['logical-or-expr'](node, ctx) {
31598
+ const logicalAndExprs = node.children.filter(({
31599
+ type
31600
+ }) => type === 'logical-and-expr');
31601
+ if (logicalAndExprs.length === 1) {
31602
+ return transformCSTtoAST(logicalAndExprs[0], transformers, ctx);
31603
+ }
31604
+
31605
+ // fold left for left-associativity
31606
+ let left = transformCSTtoAST(logicalAndExprs[0], transformers, ctx);
31607
+ for (let i = 1; i < logicalAndExprs.length; i += 1) {
31608
+ const right = transformCSTtoAST(logicalAndExprs[i], transformers, ctx);
31609
+ left = {
31610
+ type: 'LogicalOrExpr',
31611
+ left,
31612
+ right
31613
+ };
31614
+ }
31615
+ },
31616
+ ['logical-and-expr'](node, ctx) {
31617
+ const basicExprs = node.children.filter(({
31618
+ type
31619
+ }) => type === 'basic-expr');
31620
+ if (basicExprs.length === 1) {
31621
+ return transformCSTtoAST(basicExprs[0], transformers, ctx);
31622
+ }
31623
+ let left = transformCSTtoAST(basicExprs[0], transformers, ctx);
31624
+ for (let i = 1; i < basicExprs.length; i += 1) {
31625
+ const right = transformCSTtoAST(basicExprs[i], transformers, ctx);
31626
+ left = {
31627
+ type: 'LogicalAndExpr',
31628
+ left,
31629
+ right
31630
+ };
31631
+ }
31632
+ return left;
31633
+ },
31634
+ ['basic-expr'](node, ctx) {
31635
+ const child = node.children.find(({
31636
+ type
31637
+ }) => ['paren-expr', 'comparison-expr', 'test-expr'].includes(type));
31638
+ return transformCSTtoAST(child, transformers, ctx);
31639
+ },
31640
+ ['paren-expr'](node, ctx) {
31641
+ const isNegated = node.children.some(child => child.type === 'logical-not-op');
31642
+ const logicalExprCSTNode = node.children.find(child => child.type === 'logical-expr');
31643
+ const logicalExpressionASTNode = transformCSTtoAST(logicalExprCSTNode, transformers, ctx);
31644
+ if (isNegated) {
31645
+ return {
31646
+ type: 'LogicalNotExpr',
31647
+ expression: logicalExpressionASTNode
31648
+ };
31649
+ }
31650
+ return logicalExpressionASTNode;
31651
+ },
31652
+ ['test-expr'](node, ctx) {
31653
+ const isNegated = node.children.some(({
31654
+ type
31655
+ }) => type === 'logical-not-op');
31656
+ const expression = node.children.find(({
31657
+ type
31658
+ }) => ['filter-query', 'function-expr'].includes(type));
31659
+ const testExpr = {
31660
+ type: 'TestExpr',
31661
+ expression: transformCSTtoAST(expression, transformers, ctx)
31662
+ };
31663
+ return isNegated ? {
31664
+ type: 'LogicalNotExpr',
31665
+ expression: testExpr
31666
+ } : testExpr;
31667
+ },
31668
+ ['filter-query'](node, ctx) {
31669
+ const child = node.children.find(({
31670
+ type
31671
+ }) => ['rel-query', 'jsonpath-query'].includes(type));
31672
+ return {
31673
+ type: 'FilterQuery',
31674
+ query: transformCSTtoAST(child, transformers, ctx)
31675
+ };
31676
+ },
31677
+ ['rel-query'](node, ctx) {
31678
+ const segments = node.children.find(c => c.type === 'segments');
31679
+ return {
31680
+ type: 'RelQuery',
31681
+ segments: segments ? segments.children.filter(n => n.type === 'segment').map(segNode => transformCSTtoAST(segNode, transformers, ctx)) : []
31682
+ };
31683
+ },
31684
+ ['comparison-expr'](node, ctx) {
31685
+ const children = node.children.filter(({
31686
+ type
31687
+ }) => ['comparable', 'comparison-op'].includes(type));
31688
+ const [left, op, right] = children;
31689
+ return {
31690
+ type: 'ComparisonExpr',
31691
+ left: transformCSTtoAST(left, transformers, ctx),
31692
+ op: op.text,
31693
+ right: transformCSTtoAST(right, transformers, ctx)
31694
+ };
31695
+ },
31696
+ ['literal'](node, ctx) {
31697
+ const child = node.children.find(({
31698
+ type
31699
+ }) => ['number', 'string-literal', 'true', 'false', 'null'].includes(type));
31700
+ if (child.type === 'string-literal') {
31701
+ const stringLiteralASTNode = transformCSTtoAST(child, transformers, ctx);
31702
+ return {
31703
+ type: 'Literal',
31704
+ value: stringLiteralASTNode.value
31705
+ };
31706
+ }
31707
+ return {
31708
+ type: 'Literal',
31709
+ value: (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeJSONValue)(child.text)
31710
+ };
31711
+ },
31712
+ ['comparable'](node, ctx) {
31713
+ const child = node.children.find(({
31714
+ type
31715
+ }) => ['singular-query', 'function-expr', 'literal'].includes(type));
31716
+ return transformCSTtoAST(child, transformers, ctx);
31717
+ },
31718
+ ['singular-query'](node, ctx) {
31719
+ const child = node.children.find(({
31720
+ type
31721
+ }) => ['rel-singular-query', 'abs-singular-query'].includes(type));
31722
+ return transformCSTtoAST(child, transformers, ctx);
31723
+ },
31724
+ ['rel-singular-query'](node, ctx) {
31725
+ const segmentsNode = node.children.find(({
31726
+ type
31727
+ }) => type === 'singular-query-segments');
31728
+ const segments = segmentsNode ? segmentsNode.children.filter(({
31729
+ type
31730
+ }) => ['name-segment', 'index-segment'].includes(type)).map(segNode => ({
31731
+ type: 'SingularQuerySegment',
31732
+ selector: transformCSTtoAST(segNode, transformers, ctx)
31733
+ })) : [];
31734
+ return {
31735
+ type: 'RelSingularQuery',
31736
+ segments
31737
+ };
31738
+ },
31739
+ ['abs-singular-query'](node, ctx) {
31740
+ const segmentsNode = node.children.find(({
31741
+ type
31742
+ }) => type === 'singular-query-segments');
31743
+ const segments = segmentsNode ? segmentsNode.children.filter(({
31744
+ type
31745
+ }) => ['name-segment', 'index-segment'].includes(type)).map(segNode => ({
31746
+ type: 'SingularQuerySegment',
31747
+ selector: transformCSTtoAST(segNode, transformers, ctx)
31748
+ })) : [];
31749
+ return {
31750
+ type: 'AbsSingularQuery',
31751
+ segments
31752
+ };
31753
+ },
31754
+ ['name-segment'](node, ctx) {
31755
+ const child = node.children.find(({
31756
+ type
31757
+ }) => ['name-selector', 'member-name-shorthand'].includes(type));
31758
+ return transformCSTtoAST(child, transformers, ctx);
31759
+ },
31760
+ ['index-segment'](node, ctx) {
31761
+ const child = node.children.find(({
31762
+ type
31763
+ }) => type === 'index-selector');
31764
+ return transformCSTtoAST(child, transformers, ctx);
31765
+ },
31766
+ /**
31767
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.4
31768
+ */
31769
+ ['function-expr'](node, ctx) {
31770
+ const name = node.children.find(({
31771
+ type
31772
+ }) => type === 'function-name');
31773
+ const args = node.children.filter(({
31774
+ type
31775
+ }) => type === 'function-argument');
31776
+ return {
31777
+ type: 'FunctionExpr',
31778
+ name: name.text,
31779
+ arguments: args.map(arg => transformCSTtoAST(arg, transformers, ctx))
31780
+ };
31781
+ },
31782
+ ['function-argument'](node, ctx) {
31783
+ const child = node.children.find(({
31784
+ type
31785
+ }) => ['logical-expr', 'function-expr', 'filter-query', 'literal'].includes(type));
31786
+ return transformCSTtoAST(child, transformers, ctx);
31787
+ },
31788
+ /**
31789
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1
31790
+ */
31791
+ ['child-segment'](node, ctx) {
31792
+ const child = node.children.find(({
31793
+ type
31794
+ }) => ['bracketed-selection', 'wildcard-selector', 'member-name-shorthand'].includes(type));
31795
+ return {
31796
+ type: 'ChildSegment',
31797
+ selector: transformCSTtoAST(child, transformers, ctx)
31798
+ };
31799
+ },
31800
+ ['bracketed-selection'](node, ctx) {
31801
+ return {
31802
+ type: 'BracketedSelection',
31803
+ selectors: node.children.filter(({
31804
+ type
31805
+ }) => type === 'selector').map(selectorNode => transformCSTtoAST(selectorNode, transformers, ctx))
31806
+ };
31807
+ },
31808
+ ['member-name-shorthand'](node) {
31809
+ return {
31810
+ type: 'NameSelector',
31811
+ value: node.text,
31812
+ format: 'shorthand'
31813
+ };
31814
+ },
31815
+ /**
31816
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1
31817
+ */
31818
+ ['descendant-segment'](node, ctx) {
31819
+ const child = node.children.find(({
31820
+ type
31821
+ }) => ['bracketed-selection', 'wildcard-selector', 'member-name-shorthand'].includes(type));
31822
+ return {
31823
+ type: 'DescendantSegment',
31824
+ selector: transformCSTtoAST(child, transformers, ctx)
31825
+ };
31826
+ },
31827
+ /**
31828
+ * https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths
31829
+ */
31830
+ ['normalized-path'](node, ctx) {
31831
+ return {
31832
+ type: 'JsonPathQuery',
31833
+ segments: node.children.filter(({
31834
+ type
31835
+ }) => type === 'normal-index-segment').map(segNode => transformCSTtoAST(segNode, transformers, ctx))
31836
+ };
31837
+ },
31838
+ ['normal-index-segment'](node, ctx) {
31839
+ const child = node.children.find(({
31840
+ type
31841
+ }) => type === 'normal-selector');
31842
+ return {
31843
+ type: 'ChildSegment',
31844
+ selector: transformCSTtoAST(child, transformers, ctx)
31845
+ };
31846
+ },
31847
+ ['normal-selector'](node, ctx) {
31848
+ const child = node.children.find(({
31849
+ type
31850
+ }) => ['normal-name-selector', 'normal-index-selector'].includes(type));
31851
+ return transformCSTtoAST(child, transformers, ctx);
31852
+ },
31853
+ ['normal-name-selector'](node) {
31854
+ const child = node.children.find(({
31855
+ type
31856
+ }) => type === 'normal-single-quoted');
31857
+ return {
31858
+ type: 'NameSelector',
31859
+ value: child ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeSingleQuotedString)(child.text) : '',
31860
+ format: 'single-quoted'
31861
+ };
31862
+ },
31863
+ ['normal-index-selector'](node) {
31864
+ return {
31865
+ type: 'IndexSelector',
31866
+ value: (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(node.text)
31867
+ };
31868
+ }
31869
+ };
31870
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (transformers);
31871
+
31872
+ /***/ }),
31873
+
28078
31874
  /***/ 66115:
28079
31875
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
28080
31876
 
@@ -28571,6 +32367,66 @@ var split = /*#__PURE__*/(0,_invoker_js__WEBPACK_IMPORTED_MODULE_0__["default"])
28571
32367
 
28572
32368
  /***/ }),
28573
32369
 
32370
+ /***/ 67636:
32371
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
32372
+
32373
+ __webpack_require__.r(__webpack_exports__);
32374
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
32375
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
32376
+ /* harmony export */ });
32377
+ /* harmony import */ var _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23449);
32378
+
32379
+ class XMLTranslator extends _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
32380
+ getTree() {
32381
+ return this.toXml();
32382
+ }
32383
+ }
32384
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (XMLTranslator);
32385
+
32386
+ /***/ }),
32387
+
32388
+ /***/ 67724:
32389
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
32390
+
32391
+ __webpack_require__.r(__webpack_exports__);
32392
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
32393
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
32394
+ /* harmony export */ });
32395
+ /* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
32396
+ /* harmony import */ var _Expectations_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41352);
32397
+
32398
+
32399
+ class Trace extends apg_lite__WEBPACK_IMPORTED_MODULE_0__.Trace {
32400
+ inferExpectations() {
32401
+ const lines = this.displayTrace().split('\n');
32402
+ const expectations = new Set();
32403
+ let lastMatchedIndex = -1;
32404
+ for (let i = 0; i < lines.length; i++) {
32405
+ const line = lines[i];
32406
+
32407
+ // capture the max match line (first one that ends in a single character match)
32408
+ if (line.includes('M|')) {
32409
+ const textMatch = line.match(/]'(.*)'$/);
32410
+ if (textMatch && textMatch[1]) {
32411
+ lastMatchedIndex = i;
32412
+ }
32413
+ }
32414
+
32415
+ // collect terminal failures after the deepest successful match
32416
+ if (i > lastMatchedIndex) {
32417
+ const terminalFailMatch = line.match(/N\|\[TLS\(([^)]+)\)]/);
32418
+ if (terminalFailMatch) {
32419
+ expectations.add(terminalFailMatch[1]);
32420
+ }
32421
+ }
32422
+ }
32423
+ return new _Expectations_mjs__WEBPACK_IMPORTED_MODULE_1__["default"](...expectations);
32424
+ }
32425
+ }
32426
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Trace);
32427
+
32428
+ /***/ }),
32429
+
28574
32430
  /***/ 67919:
28575
32431
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
28576
32432
 
@@ -35179,6 +39035,37 @@ class $defsVisitor extends _speclynx_apidom_ns_json_schema_2020_12__WEBPACK_IMPO
35179
39035
 
35180
39036
  /***/ }),
35181
39037
 
39038
+ /***/ 74362:
39039
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
39040
+
39041
+ __webpack_require__.r(__webpack_exports__);
39042
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
39043
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
39044
+ /* harmony export */ });
39045
+ /* harmony import */ var _parse_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8789);
39046
+
39047
+ const test = (jsonPath, {
39048
+ normalized = false
39049
+ } = {}) => {
39050
+ if (typeof jsonPath !== 'string') return false;
39051
+ try {
39052
+ const {
39053
+ result
39054
+ } = (0,_parse_index_mjs__WEBPACK_IMPORTED_MODULE_0__["default"])(jsonPath, {
39055
+ normalized,
39056
+ stats: false,
39057
+ trace: false,
39058
+ translator: null
39059
+ });
39060
+ return result.success;
39061
+ } catch {
39062
+ return false;
39063
+ }
39064
+ };
39065
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (test);
39066
+
39067
+ /***/ }),
39068
+
35182
39069
  /***/ 74367:
35183
39070
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
35184
39071
 
@@ -38633,6 +42520,54 @@ class Tag extends _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__["defau
38633
42520
  }
38634
42521
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tag);
38635
42522
 
42523
+ /***/ }),
42524
+
42525
+ /***/ 84637:
42526
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
42527
+
42528
+ __webpack_require__.r(__webpack_exports__);
42529
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
42530
+ /* harmony export */ ASTTranslator: () => (/* reexport safe */ _parse_translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]),
42531
+ /* harmony export */ CSTOptimizedTranslator: () => (/* reexport safe */ _parse_translators_CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]),
42532
+ /* harmony export */ CSTTranslator: () => (/* reexport safe */ _parse_translators_CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]),
42533
+ /* harmony export */ Grammar: () => (/* reexport safe */ _grammar_mjs__WEBPACK_IMPORTED_MODULE_0__["default"]),
42534
+ /* harmony export */ JSONPathCompileError: () => (/* reexport safe */ _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_12__["default"]),
42535
+ /* harmony export */ JSONPathError: () => (/* reexport safe */ _errors_JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_10__["default"]),
42536
+ /* harmony export */ JSONPathParseError: () => (/* reexport safe */ _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_11__["default"]),
42537
+ /* harmony export */ Trace: () => (/* reexport safe */ _parse_trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_6__["default"]),
42538
+ /* harmony export */ XMLTranslator: () => (/* reexport safe */ _parse_translators_XMLTranslator_mjs__WEBPACK_IMPORTED_MODULE_5__["default"]),
42539
+ /* harmony export */ compile: () => (/* reexport safe */ _compile_mjs__WEBPACK_IMPORTED_MODULE_8__["default"]),
42540
+ /* harmony export */ escape: () => (/* reexport safe */ _escape_mjs__WEBPACK_IMPORTED_MODULE_9__["default"]),
42541
+ /* harmony export */ parse: () => (/* reexport safe */ _parse_index_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]),
42542
+ /* harmony export */ test: () => (/* reexport safe */ _test_index_mjs__WEBPACK_IMPORTED_MODULE_7__["default"])
42543
+ /* harmony export */ });
42544
+ /* harmony import */ var _grammar_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28186);
42545
+ /* harmony import */ var _parse_index_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8789);
42546
+ /* harmony import */ var _parse_translators_CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23449);
42547
+ /* harmony import */ var _parse_translators_CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54848);
42548
+ /* harmony import */ var _parse_translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(96998);
42549
+ /* harmony import */ var _parse_translators_XMLTranslator_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67636);
42550
+ /* harmony import */ var _parse_trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67724);
42551
+ /* harmony import */ var _test_index_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(74362);
42552
+ /* harmony import */ var _compile_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4766);
42553
+ /* harmony import */ var _escape_mjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(26938);
42554
+ /* harmony import */ var _errors_JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84816);
42555
+ /* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(92639);
42556
+ /* harmony import */ var _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62977);
42557
+
42558
+
42559
+
42560
+
42561
+
42562
+
42563
+
42564
+
42565
+
42566
+
42567
+
42568
+
42569
+
42570
+
38636
42571
  /***/ }),
38637
42572
 
38638
42573
  /***/ 84660:
@@ -38676,6 +42611,56 @@ class AnnotationElement extends _primitives_StringElement_mjs__WEBPACK_IMPORTED_
38676
42611
 
38677
42612
  /***/ }),
38678
42613
 
42614
+ /***/ 84816:
42615
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
42616
+
42617
+ __webpack_require__.r(__webpack_exports__);
42618
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
42619
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
42620
+ /* harmony export */ });
42621
+ class JSONPathError extends Error {
42622
+ constructor(message, options = undefined) {
42623
+ super(message, options);
42624
+ this.name = this.constructor.name;
42625
+ if (typeof message === 'string') {
42626
+ this.message = message;
42627
+ }
42628
+ if (typeof Error.captureStackTrace === 'function') {
42629
+ Error.captureStackTrace(this, this.constructor);
42630
+ } else {
42631
+ this.stack = new Error(message).stack;
42632
+ }
42633
+
42634
+ /**
42635
+ * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
42636
+ * Node.js is >= 16.9.0 supports error causes natively.
42637
+ */
42638
+ if (options != null && typeof options === 'object' && Object.prototype.hasOwnProperty.call(options, 'cause') && !('cause' in this)) {
42639
+ const {
42640
+ cause
42641
+ } = options;
42642
+ this.cause = cause;
42643
+ if (cause instanceof Error && 'stack' in cause) {
42644
+ this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
42645
+ }
42646
+ }
42647
+
42648
+ /**
42649
+ * Allows to assign arbitrary properties to the error object.
42650
+ */
42651
+ if (options != null && typeof options === 'object') {
42652
+ const {
42653
+ cause,
42654
+ ...causelessOptions
42655
+ } = options;
42656
+ Object.assign(this, causelessOptions);
42657
+ }
42658
+ }
42659
+ }
42660
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPathError);
42661
+
42662
+ /***/ }),
42663
+
38679
42664
  /***/ 85012:
38680
42665
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
38681
42666
 
@@ -40103,7 +44088,7 @@ __webpack_require__.r(__webpack_exports__);
40103
44088
  /* harmony import */ var _visitors_open_api_3_0_operation_RequestBodyVisitor_mjs__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(19990);
40104
44089
  /* harmony import */ var _visitors_open_api_3_0_operation_CallbacksVisitor_mjs__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(83479);
40105
44090
  /* harmony import */ var _visitors_open_api_3_0_operation_SecurityVisitor_mjs__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(32411);
40106
- /* harmony import */ var _visitors_open_api_3_0_operation_ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(89627);
44091
+ /* harmony import */ var _visitors_open_api_3_0_operation_ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(12008);
40107
44092
  /* harmony import */ var _visitors_open_api_3_0_path_item_index_mjs__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(23911);
40108
44093
  /* harmony import */ var _visitors_open_api_3_0_path_item_$RefVisitor_mjs__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(65460);
40109
44094
  /* harmony import */ var _visitors_open_api_3_0_path_item_ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(50575);
@@ -40876,20 +44861,46 @@ __webpack_require__.r(__webpack_exports__);
40876
44861
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
40877
44862
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
40878
44863
  /* harmony export */ });
40879
- /* harmony import */ var _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36882);
40880
- /* harmony import */ var _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61965);
44864
+ class JSONPointerError extends Error {
44865
+ constructor(message, options = undefined) {
44866
+ super(message, options);
44867
+ this.name = this.constructor.name;
44868
+ if (typeof message === 'string') {
44869
+ this.message = message;
44870
+ }
44871
+ if (typeof Error.captureStackTrace === 'function') {
44872
+ Error.captureStackTrace(this, this.constructor);
44873
+ } else {
44874
+ this.stack = new Error(message).stack;
44875
+ }
40881
44876
 
44877
+ /**
44878
+ * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
44879
+ * Node.js is >= 16.9.0 supports error causes natively.
44880
+ */
44881
+ if (options != null && typeof options === 'object' && Object.prototype.hasOwnProperty.call(options, 'cause') && !('cause' in this)) {
44882
+ const {
44883
+ cause
44884
+ } = options;
44885
+ this.cause = cause;
44886
+ if (cause instanceof Error && 'stack' in cause) {
44887
+ this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
44888
+ }
44889
+ }
40882
44890
 
40883
- /**
40884
- * @public
40885
- */
40886
- class ServersVisitor extends _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"] {
40887
- constructor(options) {
40888
- super(options);
40889
- this.element = new _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__["default"]();
44891
+ /**
44892
+ * Allows to assign arbitrary properties to the error object.
44893
+ */
44894
+ if (options != null && typeof options === 'object') {
44895
+ const {
44896
+ cause,
44897
+ ...causelessOptions
44898
+ } = options;
44899
+ Object.assign(this, causelessOptions);
44900
+ }
40890
44901
  }
40891
44902
  }
40892
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ServersVisitor);
44903
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerError);
40893
44904
 
40894
44905
  /***/ }),
40895
44906
 
@@ -41569,6 +45580,20 @@ function emptyScalarPosition(offset, before, pos) {
41569
45580
 
41570
45581
 
41571
45582
 
45583
+ /***/ }),
45584
+
45585
+ /***/ 92639:
45586
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
45587
+
45588
+ __webpack_require__.r(__webpack_exports__);
45589
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
45590
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
45591
+ /* harmony export */ });
45592
+ /* harmony import */ var _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84816);
45593
+
45594
+ class JSONPathParseError extends _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
45595
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPathParseError);
45596
+
41572
45597
  /***/ }),
41573
45598
 
41574
45599
  /***/ 92709:
@@ -43651,6 +47676,27 @@ const isSourceMapElement = element => element instanceof _elements_SourceMap_mjs
43651
47676
 
43652
47677
  /***/ }),
43653
47678
 
47679
+ /***/ 96998:
47680
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
47681
+
47682
+ __webpack_require__.r(__webpack_exports__);
47683
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
47684
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
47685
+ /* harmony export */ });
47686
+ /* harmony import */ var _CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54848);
47687
+ /* harmony import */ var _transformers_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66090);
47688
+
47689
+
47690
+ class ASTTranslator extends _CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
47691
+ getTree() {
47692
+ const cst = super.getTree();
47693
+ return (0,_transformers_mjs__WEBPACK_IMPORTED_MODULE_1__.transformCSTtoAST)(cst.root, _transformers_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]);
47694
+ }
47695
+ }
47696
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ASTTranslator);
47697
+
47698
+ /***/ }),
47699
+
43654
47700
  /***/ 97071:
43655
47701
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
43656
47702