@speclynx/apidom-parser-adapter-openapi-json-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
 
@@ -1148,6 +1236,63 @@ class ParentSchemaAwareVisitor {
1148
1236
 
1149
1237
  /***/ }),
1150
1238
 
1239
+ /***/ 4766:
1240
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1241
+
1242
+ __webpack_require__.r(__webpack_exports__);
1243
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1244
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1245
+ /* harmony export */ });
1246
+ /* harmony import */ var _escape_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26938);
1247
+ /* harmony import */ var _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62977);
1248
+
1249
+
1250
+ /**
1251
+ * Compiles an array of selectors into a normalized JSONPath.
1252
+ * Follows RFC 9535 Section 2.7 normalized path format.
1253
+ *
1254
+ * @param {Array<string|number>} selectors - Array of name selectors (strings) or index selectors (numbers)
1255
+ * @returns {string} A normalized JSONPath string
1256
+ * @throws {JSONPathCompileError} If selectors is not an array or contains invalid selector types
1257
+ *
1258
+ * @example
1259
+ * compile(['a', 'b', 1]) // returns "$['a']['b'][1]"
1260
+ * compile([]) // returns "$"
1261
+ * compile(['foo', 0, 'bar']) // returns "$['foo'][0]['bar']"
1262
+ */
1263
+ const compile = selectors => {
1264
+ if (!Array.isArray(selectors)) {
1265
+ throw new _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_1__["default"](`Selectors must be an array, got: ${typeof selectors}`, {
1266
+ selectors
1267
+ });
1268
+ }
1269
+ try {
1270
+ const segments = selectors.map(selector => {
1271
+ if (typeof selector === 'string') {
1272
+ // Name selector: escape and wrap in single quotes
1273
+ return `['${(0,_escape_mjs__WEBPACK_IMPORTED_MODULE_0__["default"])(selector)}']`;
1274
+ }
1275
+ if (typeof selector === 'number') {
1276
+ // Index selector: must be a non-negative safe integer (RFC 9535 Section 2.1)
1277
+ if (!Number.isSafeInteger(selector) || selector < 0) {
1278
+ throw new TypeError(`Index selector must be a non-negative safe integer, got: ${selector}`);
1279
+ }
1280
+ return `[${selector}]`;
1281
+ }
1282
+ throw new TypeError(`Selector must be a string or non-negative integer, got: ${typeof selector}`);
1283
+ });
1284
+ return `$${segments.join('')}`;
1285
+ } catch (error) {
1286
+ throw new _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]('Failed to compile normalized JSONPath', {
1287
+ cause: error,
1288
+ selectors
1289
+ });
1290
+ }
1291
+ };
1292
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compile);
1293
+
1294
+ /***/ }),
1295
+
1151
1296
  /***/ 4793:
1152
1297
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1153
1298
 
@@ -1835,6 +1980,57 @@ const parse = (jsonPointer, {
1835
1980
 
1836
1981
  /***/ }),
1837
1982
 
1983
+ /***/ 8789:
1984
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1985
+
1986
+ __webpack_require__.r(__webpack_exports__);
1987
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
1988
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
1989
+ /* harmony export */ });
1990
+ /* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
1991
+ /* harmony import */ var _trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67724);
1992
+ /* harmony import */ var _grammar_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28186);
1993
+ /* harmony import */ var _translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96998);
1994
+ /* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(92639);
1995
+
1996
+
1997
+
1998
+
1999
+
2000
+ const grammar = new _grammar_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]();
2001
+ const parse = (jsonPath, {
2002
+ normalized = false,
2003
+ stats = false,
2004
+ trace = false,
2005
+ translator = new _translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]()
2006
+ } = {}) => {
2007
+ if (typeof jsonPath !== 'string') {
2008
+ throw new TypeError('JSONPath must be a string');
2009
+ }
2010
+ try {
2011
+ const parser = new apg_lite__WEBPACK_IMPORTED_MODULE_0__.Parser();
2012
+ if (translator) parser.ast = translator;
2013
+ if (stats) parser.stats = new apg_lite__WEBPACK_IMPORTED_MODULE_0__.Stats();
2014
+ if (trace) parser.trace = new _trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]();
2015
+ const startRule = normalized ? 'normalized-path' : 'jsonpath-query';
2016
+ const result = parser.parse(grammar, startRule, jsonPath);
2017
+ return {
2018
+ result,
2019
+ tree: result.success && translator ? parser.ast.getTree() : undefined,
2020
+ stats: parser.stats,
2021
+ trace: parser.trace
2022
+ };
2023
+ } catch (error) {
2024
+ throw new _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]('Unexpected error during JSONPath parsing', {
2025
+ cause: error,
2026
+ jsonPath
2027
+ });
2028
+ }
2029
+ };
2030
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (parse);
2031
+
2032
+ /***/ }),
2033
+
1838
2034
  /***/ 8867:
1839
2035
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
1840
2036
 
@@ -2570,46 +2766,20 @@ __webpack_require__.r(__webpack_exports__);
2570
2766
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
2571
2767
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
2572
2768
  /* harmony export */ });
2573
- class JSONPointerError extends Error {
2574
- constructor(message, options = undefined) {
2575
- super(message, options);
2576
- this.name = this.constructor.name;
2577
- if (typeof message === 'string') {
2578
- this.message = message;
2579
- }
2580
- if (typeof Error.captureStackTrace === 'function') {
2581
- Error.captureStackTrace(this, this.constructor);
2582
- } else {
2583
- this.stack = new Error(message).stack;
2584
- }
2769
+ /* harmony import */ var _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36882);
2770
+ /* harmony import */ var _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61965);
2585
2771
 
2586
- /**
2587
- * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
2588
- * Node.js is >= 16.9.0 supports error causes natively.
2589
- */
2590
- if (options != null && typeof options === 'object' && Object.prototype.hasOwnProperty.call(options, 'cause') && !('cause' in this)) {
2591
- const {
2592
- cause
2593
- } = options;
2594
- this.cause = cause;
2595
- if (cause instanceof Error && 'stack' in cause) {
2596
- this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
2597
- }
2598
- }
2599
2772
 
2600
- /**
2601
- * Allows to assign arbitrary properties to the error object.
2602
- */
2603
- if (options != null && typeof options === 'object') {
2604
- const {
2605
- cause,
2606
- ...causelessOptions
2607
- } = options;
2608
- Object.assign(this, causelessOptions);
2609
- }
2773
+ /**
2774
+ * @public
2775
+ */
2776
+ class ServersVisitor extends _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"] {
2777
+ constructor(options) {
2778
+ super(options);
2779
+ this.element = new _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__["default"]();
2610
2780
  }
2611
2781
  }
2612
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerError);
2782
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ServersVisitor);
2613
2783
 
2614
2784
  /***/ }),
2615
2785
 
@@ -3079,6 +3249,62 @@ class ParametersVisitor extends _bases_mjs__WEBPACK_IMPORTED_MODULE_1__.BaseSpec
3079
3249
 
3080
3250
  /***/ }),
3081
3251
 
3252
+ /***/ 13222:
3253
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
3254
+
3255
+ __webpack_require__.r(__webpack_exports__);
3256
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
3257
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
3258
+ /* harmony export */ });
3259
+ /* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
3260
+ /* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92639);
3261
+
3262
+
3263
+ const cst = nodeType => {
3264
+ return (state, chars, phraseIndex, phraseLength, data) => {
3265
+ var _data$options, _data$options2;
3266
+ if (!(typeof data === 'object' && data !== null && !Array.isArray(data))) {
3267
+ throw new _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]("parser's user data must be an object");
3268
+ }
3269
+
3270
+ // drop the empty nodes
3271
+ 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)) {
3272
+ return;
3273
+ }
3274
+ if (state === apg_lite__WEBPACK_IMPORTED_MODULE_0__.identifiers.SEM_PRE) {
3275
+ const node = {
3276
+ type: nodeType,
3277
+ text: apg_lite__WEBPACK_IMPORTED_MODULE_0__.utilities.charsToString(chars, phraseIndex, phraseLength),
3278
+ start: phraseIndex,
3279
+ length: phraseLength,
3280
+ children: []
3281
+ };
3282
+ if (data.stack.length > 0) {
3283
+ var _data$options3, _data$options4;
3284
+ const parent = data.stack[data.stack.length - 1];
3285
+ const prevSibling = parent.children[parent.children.length - 1];
3286
+ const isTextNodeWithinTextNode = parent.type === 'text' && node.type === 'text';
3287
+ 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;
3288
+ if (shouldCollapse) {
3289
+ prevSibling.text += node.text;
3290
+ prevSibling.length += node.length;
3291
+ } else if (!isTextNodeWithinTextNode) {
3292
+ parent.children.push(node);
3293
+ }
3294
+ } else {
3295
+ data.root = node;
3296
+ }
3297
+ data.stack.push(node);
3298
+ }
3299
+ if (state === apg_lite__WEBPACK_IMPORTED_MODULE_0__.identifiers.SEM_POST) {
3300
+ data.stack.pop();
3301
+ }
3302
+ };
3303
+ };
3304
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cst);
3305
+
3306
+ /***/ }),
3307
+
3082
3308
  /***/ 13456:
3083
3309
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
3084
3310
 
@@ -6293,6 +6519,131 @@ var stubUndefined = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(void 0);
6293
6519
 
6294
6520
  /***/ }),
6295
6521
 
6522
+ /***/ 23449:
6523
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6524
+
6525
+ __webpack_require__.r(__webpack_exports__);
6526
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
6527
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
6528
+ /* harmony export */ });
6529
+ /* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
6530
+ /* harmony import */ var _callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13222);
6531
+
6532
+
6533
+ class CSTTranslator extends apg_lite__WEBPACK_IMPORTED_MODULE_0__.Ast {
6534
+ constructor() {
6535
+ super();
6536
+
6537
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1
6538
+ this.callbacks['jsonpath-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('jsonpath-query');
6539
+ this.callbacks['segments'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('segments');
6540
+ this.callbacks['B'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6541
+ this.callbacks['S'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6542
+
6543
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1
6544
+ this.callbacks['root-identifier'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('root-identifier');
6545
+
6546
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3
6547
+ this.callbacks['selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('selector');
6548
+
6549
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1
6550
+ this.callbacks['name-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('name-selector');
6551
+ this.callbacks['string-literal'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('string-literal');
6552
+ this.callbacks['double-quoted'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('double-quoted');
6553
+ this.callbacks['single-quoted'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('single-quoted');
6554
+
6555
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1
6556
+ this.callbacks['wildcard-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('wildcard-selector');
6557
+
6558
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1
6559
+ this.callbacks['index-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('index-selector');
6560
+
6561
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1
6562
+ this.callbacks['slice-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('slice-selector');
6563
+ this.callbacks['start'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('start');
6564
+ this.callbacks['end'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('end');
6565
+ this.callbacks['step'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('step');
6566
+
6567
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1
6568
+ this.callbacks['filter-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('filter-selector');
6569
+ this.callbacks['logical-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-expr');
6570
+ this.callbacks['logical-or-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-or-expr');
6571
+ this.callbacks['logical-and-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-and-expr');
6572
+ this.callbacks['basic-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('basic-expr');
6573
+ this.callbacks['paren-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('paren-expr');
6574
+ this.callbacks['logical-not-op'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-not-op');
6575
+ this.callbacks['test-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('test-expr');
6576
+ this.callbacks['filter-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('filter-query');
6577
+ this.callbacks['rel-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('rel-query');
6578
+ this.callbacks['current-node-identifier'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('current-node-identifier');
6579
+ this.callbacks['comparison-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('comparison-expr');
6580
+ this.callbacks['literal'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('literal');
6581
+ this.callbacks['comparable'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('comparable');
6582
+ this.callbacks['comparison-op'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('comparison-op');
6583
+ this.callbacks['singular-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('singular-query');
6584
+ this.callbacks['rel-singular-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('rel-singular-query');
6585
+ this.callbacks['abs-singular-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('abs-singular-query');
6586
+ this.callbacks['singular-query-segments'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('singular-query-segments');
6587
+ this.callbacks['name-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('name-segment');
6588
+ this.callbacks['index-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('index-segment');
6589
+ this.callbacks['number'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('number');
6590
+ this.callbacks['true'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('true');
6591
+ this.callbacks['false'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('false');
6592
+ this.callbacks['null'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('null');
6593
+
6594
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.4
6595
+ this.callbacks['function-name'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('function-name');
6596
+ this.callbacks['function-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('function-expr');
6597
+ this.callbacks['function-argument'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('function-argument');
6598
+
6599
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.5
6600
+ this.callbacks['segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('segment');
6601
+
6602
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1
6603
+ this.callbacks['child-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('child-segment');
6604
+ this.callbacks['bracketed-selection'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('bracketed-selection');
6605
+ this.callbacks['member-name-shorthand'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('member-name-shorthand');
6606
+
6607
+ // https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1
6608
+ this.callbacks['descendant-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('descendant-segment');
6609
+
6610
+ // https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths
6611
+ this.callbacks['normalized-path'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normalized-path');
6612
+ this.callbacks['normal-index-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-index-segment');
6613
+ this.callbacks['normal-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-selector');
6614
+ this.callbacks['normal-name-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-name-selector');
6615
+ this.callbacks['normal-index-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-index-selector');
6616
+ this.callbacks['normal-single-quoted'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-single-quoted');
6617
+
6618
+ // Surrogate named rules
6619
+ this.callbacks['dot-prefix'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6620
+ this.callbacks['double-dot-prefix'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6621
+ this.callbacks['left-bracket'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6622
+ this.callbacks['right-bracket'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6623
+ this.callbacks['comma'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6624
+ this.callbacks['colon'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6625
+ this.callbacks['dquote'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6626
+ this.callbacks['squote'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6627
+ this.callbacks['questionmark'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6628
+ this.callbacks['disjunction'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6629
+ this.callbacks['conjunction'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6630
+ this.callbacks['left-paren'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6631
+ this.callbacks['right-paren'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
6632
+ }
6633
+ getTree() {
6634
+ const data = {
6635
+ stack: [],
6636
+ root: null
6637
+ };
6638
+ this.translate(data);
6639
+ delete data.stack;
6640
+ return data;
6641
+ }
6642
+ }
6643
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CSTTranslator);
6644
+
6645
+ /***/ }),
6646
+
6296
6647
  /***/ 23694:
6297
6648
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
6298
6649
 
@@ -7423,7 +7774,7 @@ __webpack_require__.r(__webpack_exports__);
7423
7774
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7424
7775
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
7425
7776
  /* harmony export */ });
7426
- /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12008);
7777
+ /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
7427
7778
 
7428
7779
  class JSONPointerParseError extends _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
7429
7780
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerParseError);
@@ -7519,6 +7870,71 @@ var _isArguments = /*#__PURE__*/function () {
7519
7870
 
7520
7871
  /***/ }),
7521
7872
 
7873
+ /***/ 26938:
7874
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
7875
+
7876
+ __webpack_require__.r(__webpack_exports__);
7877
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7878
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
7879
+ /* harmony export */ });
7880
+ /**
7881
+ * Escapes a string for use in a normalized JSONPath name selector.
7882
+ * Follows RFC 9535 Section 2.7 escaping rules for single-quoted strings.
7883
+ *
7884
+ * @param {string} selector - The string to escape
7885
+ * @returns {string} The escaped string (without surrounding quotes)
7886
+ */
7887
+ const escape = selector => {
7888
+ if (typeof selector !== 'string') {
7889
+ throw new TypeError('Selector must be a string');
7890
+ }
7891
+ let escaped = '';
7892
+ for (const char of selector) {
7893
+ const codePoint = char.codePointAt(0);
7894
+ switch (codePoint) {
7895
+ case 0x08:
7896
+ // backspace
7897
+ escaped += '\\b';
7898
+ break;
7899
+ case 0x09:
7900
+ // horizontal tab
7901
+ escaped += '\\t';
7902
+ break;
7903
+ case 0x0a:
7904
+ // line feed
7905
+ escaped += '\\n';
7906
+ break;
7907
+ case 0x0c:
7908
+ // form feed
7909
+ escaped += '\\f';
7910
+ break;
7911
+ case 0x0d:
7912
+ // carriage return
7913
+ escaped += '\\r';
7914
+ break;
7915
+ case 0x27:
7916
+ // apostrophe '
7917
+ escaped += "\\'";
7918
+ break;
7919
+ case 0x5c:
7920
+ // backslash \
7921
+ escaped += '\\\\';
7922
+ break;
7923
+ default:
7924
+ // Other control characters (U+0000-U+001F except those handled above)
7925
+ if (codePoint <= 0x1f) {
7926
+ escaped += `\\u${codePoint.toString(16).padStart(4, '0')}`;
7927
+ } else {
7928
+ escaped += char;
7929
+ }
7930
+ }
7931
+ }
7932
+ return escaped;
7933
+ };
7934
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (escape);
7935
+
7936
+ /***/ }),
7937
+
7522
7938
  /***/ 27123:
7523
7939
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
7524
7940
 
@@ -7723,216 +8139,3061 @@ __webpack_require__.r(__webpack_exports__);
7723
8139
 
7724
8140
 
7725
8141
 
7726
- /**
7727
- * @public
7728
- */
7729
- /**
7730
- * @public
7731
- */
7732
- class OperationVisitor extends _bases_mjs__WEBPACK_IMPORTED_MODULE_2__.BaseFixedFieldsVisitor {
7733
- constructor(options) {
7734
- super(options);
7735
- this.element = new _elements_Operation_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]();
7736
- this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(['document', 'objects', 'Operation']);
7737
- }
7738
- }
7739
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationVisitor);
8142
+ /**
8143
+ * @public
8144
+ */
8145
+ /**
8146
+ * @public
8147
+ */
8148
+ class OperationVisitor extends _bases_mjs__WEBPACK_IMPORTED_MODULE_2__.BaseFixedFieldsVisitor {
8149
+ constructor(options) {
8150
+ super(options);
8151
+ this.element = new _elements_Operation_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]();
8152
+ this.specPath = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(['document', 'objects', 'Operation']);
8153
+ }
8154
+ }
8155
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationVisitor);
8156
+
8157
+ /***/ }),
8158
+
8159
+ /***/ 28052:
8160
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
8161
+
8162
+ __webpack_require__.r(__webpack_exports__);
8163
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8164
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
8165
+ /* harmony export */ });
8166
+ /* harmony import */ var _internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39088);
8167
+ /* harmony import */ var _internal_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65722);
8168
+
8169
+
8170
+
8171
+ /**
8172
+ * Creates a new object with the own properties of the two provided objects. If
8173
+ * a key exists in both objects, the provided function is applied to the key
8174
+ * and the values associated with the key in each object, with the result being
8175
+ * used as the value associated with the key in the returned object.
8176
+ *
8177
+ * @func
8178
+ * @memberOf R
8179
+ * @since v0.19.0
8180
+ * @category Object
8181
+ * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}
8182
+ * @param {Function} fn
8183
+ * @param {Object} l
8184
+ * @param {Object} r
8185
+ * @return {Object}
8186
+ * @see R.mergeDeepWithKey, R.mergeWith
8187
+ * @example
8188
+ *
8189
+ * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r
8190
+ * R.mergeWithKey(concatValues,
8191
+ * { a: true, thing: 'foo', values: [10, 20] },
8192
+ * { b: true, thing: 'bar', values: [15, 35] });
8193
+ * //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }
8194
+ * @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }
8195
+ */
8196
+ var mergeWithKey = /*#__PURE__*/(0,_internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function mergeWithKey(fn, l, r) {
8197
+ var result = {};
8198
+ var k;
8199
+ l = l || {};
8200
+ r = r || {};
8201
+ for (k in l) {
8202
+ if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, l)) {
8203
+ result[k] = (0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) ? fn(k, l[k], r[k]) : l[k];
8204
+ }
8205
+ }
8206
+ for (k in r) {
8207
+ if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) && !(0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, result)) {
8208
+ result[k] = r[k];
8209
+ }
8210
+ }
8211
+ return result;
8212
+ });
8213
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mergeWithKey);
8214
+
8215
+ /***/ }),
8216
+
8217
+ /***/ 28121:
8218
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
8219
+
8220
+ __webpack_require__.r(__webpack_exports__);
8221
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8222
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
8223
+ /* harmony export */ });
8224
+ /* harmony import */ var _Element_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(60728);
8225
+
8226
+ /**
8227
+ * StringElement represents a string value in ApiDOM.
8228
+ * @public
8229
+ */
8230
+ class StringElement extends _Element_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
8231
+ constructor(content, meta, attributes) {
8232
+ super(content, meta, attributes);
8233
+ this.element = 'string';
8234
+ }
8235
+ primitive() {
8236
+ return 'string';
8237
+ }
8238
+
8239
+ /**
8240
+ * The length of the string.
8241
+ */
8242
+ get length() {
8243
+ return this.content?.length ?? 0;
8244
+ }
8245
+ }
8246
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StringElement);
8247
+
8248
+ /***/ }),
8249
+
8250
+ /***/ 28152:
8251
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
8252
+
8253
+ __webpack_require__.r(__webpack_exports__);
8254
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8255
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
8256
+ /* harmony export */ });
8257
+ /* harmony import */ var _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3664);
8258
+
8259
+ /**
8260
+ * @public
8261
+ */
8262
+ class $RefVisitor extends _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
8263
+ StringElement(path) {
8264
+ super.enter(path);
8265
+ this.element.classes.push('reference-value');
8266
+ }
8267
+ }
8268
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ($RefVisitor);
8269
+
8270
+ /***/ }),
8271
+
8272
+ /***/ 28165:
8273
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
8274
+
8275
+ __webpack_require__.r(__webpack_exports__);
8276
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8277
+ /* harmony export */ detect: () => (/* binding */ detect),
8278
+ /* harmony export */ detectionRegExp: () => (/* binding */ detectionRegExp),
8279
+ /* harmony export */ lexicalAnalysis: () => (/* reexport safe */ _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]),
8280
+ /* harmony export */ mediaTypes: () => (/* reexport safe */ _media_types_mjs__WEBPACK_IMPORTED_MODULE_6__["default"]),
8281
+ /* harmony export */ namespace: () => (/* binding */ namespace),
8282
+ /* harmony export */ parse: () => (/* binding */ parse),
8283
+ /* harmony export */ syntacticAnalysis: () => (/* reexport safe */ _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_5__["default"])
8284
+ /* harmony export */ });
8285
+ /* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55156);
8286
+ /* harmony import */ var _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16126);
8287
+ /* harmony import */ var _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38600);
8288
+ /* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34885);
8289
+ /* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19305);
8290
+ /* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13615);
8291
+ /* harmony import */ var _media_types_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49968);
8292
+
8293
+
8294
+
8295
+
8296
+
8297
+ /**
8298
+ * @public
8299
+ */
8300
+
8301
+ /**
8302
+ * @public
8303
+ */
8304
+ const namespace = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__["default"]();
8305
+
8306
+ /**
8307
+ * @public
8308
+ */
8309
+ const detectionRegExp = _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.detectionRegExp;
8310
+
8311
+ /**
8312
+ * @public
8313
+ */
8314
+
8315
+ /**
8316
+ * @public
8317
+ */
8318
+ const detect = async (source, {
8319
+ strict = false
8320
+ } = {}) => {
8321
+ if (strict) {
8322
+ return _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__.detect(source);
8323
+ }
8324
+ return _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.detect(source);
8325
+ };
8326
+
8327
+ /**
8328
+ * @public
8329
+ */
8330
+
8331
+ /**
8332
+ * @public
8333
+ */
8334
+
8335
+ /**
8336
+ * @public
8337
+ */
8338
+ const parse = async (source, {
8339
+ sourceMap = false,
8340
+ strict = false
8341
+ } = {}) => {
8342
+ if (strict && sourceMap) {
8343
+ throw new _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('Cannot use sourceMap with strict parsing. Strict parsing does not support source maps.');
8344
+ }
8345
+ if (strict) {
8346
+ return _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__.parse(source);
8347
+ }
8348
+ return _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.parse(source, {
8349
+ sourceMap
8350
+ });
8351
+ };
8352
+
8353
+ /***/ }),
8354
+
8355
+ /***/ 28186:
8356
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
8357
+
8358
+ __webpack_require__.r(__webpack_exports__);
8359
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
8360
+ /* harmony export */ "default": () => (/* binding */ grammar)
8361
+ /* harmony export */ });
8362
+ // copyright: Copyright (c) 2024 Lowell D. Thomas, all rights reserved<br>
8363
+ // license: BSD-2-Clause (https://opensource.org/licenses/BSD-2-Clause)<br>
8364
+ //
8365
+ // Generated by apg-js, Version 4.4.0 [apg-js](https://github.com/ldthomas/apg-js)
8366
+ function grammar() {
8367
+ // ```
8368
+ // SUMMARY
8369
+ // rules = 91
8370
+ // udts = 0
8371
+ // opcodes = 423
8372
+ // --- ABNF original opcodes
8373
+ // ALT = 41
8374
+ // CAT = 60
8375
+ // REP = 32
8376
+ // RNM = 178
8377
+ // TLS = 64
8378
+ // TBS = 28
8379
+ // TRG = 20
8380
+ // --- SABNF superset opcodes
8381
+ // UDT = 0
8382
+ // AND = 0
8383
+ // NOT = 0
8384
+ // characters = [9 - 1114111]
8385
+ // ```
8386
+ /* OBJECT IDENTIFIER (for internal parser use) */
8387
+ this.grammarObject = 'grammarObject';
8388
+
8389
+ /* RULES */
8390
+ this.rules = [];
8391
+ this.rules[0] = {
8392
+ name: 'jsonpath-query',
8393
+ lower: 'jsonpath-query',
8394
+ index: 0,
8395
+ isBkr: false
8396
+ };
8397
+ this.rules[1] = {
8398
+ name: 'segments',
8399
+ lower: 'segments',
8400
+ index: 1,
8401
+ isBkr: false
8402
+ };
8403
+ this.rules[2] = {
8404
+ name: 'B',
8405
+ lower: 'b',
8406
+ index: 2,
8407
+ isBkr: false
8408
+ };
8409
+ this.rules[3] = {
8410
+ name: 'S',
8411
+ lower: 's',
8412
+ index: 3,
8413
+ isBkr: false
8414
+ };
8415
+ this.rules[4] = {
8416
+ name: 'root-identifier',
8417
+ lower: 'root-identifier',
8418
+ index: 4,
8419
+ isBkr: false
8420
+ };
8421
+ this.rules[5] = {
8422
+ name: 'selector',
8423
+ lower: 'selector',
8424
+ index: 5,
8425
+ isBkr: false
8426
+ };
8427
+ this.rules[6] = {
8428
+ name: 'name-selector',
8429
+ lower: 'name-selector',
8430
+ index: 6,
8431
+ isBkr: false
8432
+ };
8433
+ this.rules[7] = {
8434
+ name: 'string-literal',
8435
+ lower: 'string-literal',
8436
+ index: 7,
8437
+ isBkr: false
8438
+ };
8439
+ this.rules[8] = {
8440
+ name: 'double-quoted',
8441
+ lower: 'double-quoted',
8442
+ index: 8,
8443
+ isBkr: false
8444
+ };
8445
+ this.rules[9] = {
8446
+ name: 'single-quoted',
8447
+ lower: 'single-quoted',
8448
+ index: 9,
8449
+ isBkr: false
8450
+ };
8451
+ this.rules[10] = {
8452
+ name: 'ESC',
8453
+ lower: 'esc',
8454
+ index: 10,
8455
+ isBkr: false
8456
+ };
8457
+ this.rules[11] = {
8458
+ name: 'unescaped',
8459
+ lower: 'unescaped',
8460
+ index: 11,
8461
+ isBkr: false
8462
+ };
8463
+ this.rules[12] = {
8464
+ name: 'escapable',
8465
+ lower: 'escapable',
8466
+ index: 12,
8467
+ isBkr: false
8468
+ };
8469
+ this.rules[13] = {
8470
+ name: 'hexchar',
8471
+ lower: 'hexchar',
8472
+ index: 13,
8473
+ isBkr: false
8474
+ };
8475
+ this.rules[14] = {
8476
+ name: 'non-surrogate',
8477
+ lower: 'non-surrogate',
8478
+ index: 14,
8479
+ isBkr: false
8480
+ };
8481
+ this.rules[15] = {
8482
+ name: 'high-surrogate',
8483
+ lower: 'high-surrogate',
8484
+ index: 15,
8485
+ isBkr: false
8486
+ };
8487
+ this.rules[16] = {
8488
+ name: 'low-surrogate',
8489
+ lower: 'low-surrogate',
8490
+ index: 16,
8491
+ isBkr: false
8492
+ };
8493
+ this.rules[17] = {
8494
+ name: 'HEXDIG',
8495
+ lower: 'hexdig',
8496
+ index: 17,
8497
+ isBkr: false
8498
+ };
8499
+ this.rules[18] = {
8500
+ name: 'wildcard-selector',
8501
+ lower: 'wildcard-selector',
8502
+ index: 18,
8503
+ isBkr: false
8504
+ };
8505
+ this.rules[19] = {
8506
+ name: 'index-selector',
8507
+ lower: 'index-selector',
8508
+ index: 19,
8509
+ isBkr: false
8510
+ };
8511
+ this.rules[20] = {
8512
+ name: 'int',
8513
+ lower: 'int',
8514
+ index: 20,
8515
+ isBkr: false
8516
+ };
8517
+ this.rules[21] = {
8518
+ name: 'DIGIT1',
8519
+ lower: 'digit1',
8520
+ index: 21,
8521
+ isBkr: false
8522
+ };
8523
+ this.rules[22] = {
8524
+ name: 'slice-selector',
8525
+ lower: 'slice-selector',
8526
+ index: 22,
8527
+ isBkr: false
8528
+ };
8529
+ this.rules[23] = {
8530
+ name: 'start',
8531
+ lower: 'start',
8532
+ index: 23,
8533
+ isBkr: false
8534
+ };
8535
+ this.rules[24] = {
8536
+ name: 'end',
8537
+ lower: 'end',
8538
+ index: 24,
8539
+ isBkr: false
8540
+ };
8541
+ this.rules[25] = {
8542
+ name: 'step',
8543
+ lower: 'step',
8544
+ index: 25,
8545
+ isBkr: false
8546
+ };
8547
+ this.rules[26] = {
8548
+ name: 'filter-selector',
8549
+ lower: 'filter-selector',
8550
+ index: 26,
8551
+ isBkr: false
8552
+ };
8553
+ this.rules[27] = {
8554
+ name: 'logical-expr',
8555
+ lower: 'logical-expr',
8556
+ index: 27,
8557
+ isBkr: false
8558
+ };
8559
+ this.rules[28] = {
8560
+ name: 'logical-or-expr',
8561
+ lower: 'logical-or-expr',
8562
+ index: 28,
8563
+ isBkr: false
8564
+ };
8565
+ this.rules[29] = {
8566
+ name: 'logical-and-expr',
8567
+ lower: 'logical-and-expr',
8568
+ index: 29,
8569
+ isBkr: false
8570
+ };
8571
+ this.rules[30] = {
8572
+ name: 'basic-expr',
8573
+ lower: 'basic-expr',
8574
+ index: 30,
8575
+ isBkr: false
8576
+ };
8577
+ this.rules[31] = {
8578
+ name: 'paren-expr',
8579
+ lower: 'paren-expr',
8580
+ index: 31,
8581
+ isBkr: false
8582
+ };
8583
+ this.rules[32] = {
8584
+ name: 'logical-not-op',
8585
+ lower: 'logical-not-op',
8586
+ index: 32,
8587
+ isBkr: false
8588
+ };
8589
+ this.rules[33] = {
8590
+ name: 'test-expr',
8591
+ lower: 'test-expr',
8592
+ index: 33,
8593
+ isBkr: false
8594
+ };
8595
+ this.rules[34] = {
8596
+ name: 'filter-query',
8597
+ lower: 'filter-query',
8598
+ index: 34,
8599
+ isBkr: false
8600
+ };
8601
+ this.rules[35] = {
8602
+ name: 'rel-query',
8603
+ lower: 'rel-query',
8604
+ index: 35,
8605
+ isBkr: false
8606
+ };
8607
+ this.rules[36] = {
8608
+ name: 'current-node-identifier',
8609
+ lower: 'current-node-identifier',
8610
+ index: 36,
8611
+ isBkr: false
8612
+ };
8613
+ this.rules[37] = {
8614
+ name: 'comparison-expr',
8615
+ lower: 'comparison-expr',
8616
+ index: 37,
8617
+ isBkr: false
8618
+ };
8619
+ this.rules[38] = {
8620
+ name: 'literal',
8621
+ lower: 'literal',
8622
+ index: 38,
8623
+ isBkr: false
8624
+ };
8625
+ this.rules[39] = {
8626
+ name: 'comparable',
8627
+ lower: 'comparable',
8628
+ index: 39,
8629
+ isBkr: false
8630
+ };
8631
+ this.rules[40] = {
8632
+ name: 'comparison-op',
8633
+ lower: 'comparison-op',
8634
+ index: 40,
8635
+ isBkr: false
8636
+ };
8637
+ this.rules[41] = {
8638
+ name: 'singular-query',
8639
+ lower: 'singular-query',
8640
+ index: 41,
8641
+ isBkr: false
8642
+ };
8643
+ this.rules[42] = {
8644
+ name: 'rel-singular-query',
8645
+ lower: 'rel-singular-query',
8646
+ index: 42,
8647
+ isBkr: false
8648
+ };
8649
+ this.rules[43] = {
8650
+ name: 'abs-singular-query',
8651
+ lower: 'abs-singular-query',
8652
+ index: 43,
8653
+ isBkr: false
8654
+ };
8655
+ this.rules[44] = {
8656
+ name: 'singular-query-segments',
8657
+ lower: 'singular-query-segments',
8658
+ index: 44,
8659
+ isBkr: false
8660
+ };
8661
+ this.rules[45] = {
8662
+ name: 'name-segment',
8663
+ lower: 'name-segment',
8664
+ index: 45,
8665
+ isBkr: false
8666
+ };
8667
+ this.rules[46] = {
8668
+ name: 'index-segment',
8669
+ lower: 'index-segment',
8670
+ index: 46,
8671
+ isBkr: false
8672
+ };
8673
+ this.rules[47] = {
8674
+ name: 'number',
8675
+ lower: 'number',
8676
+ index: 47,
8677
+ isBkr: false
8678
+ };
8679
+ this.rules[48] = {
8680
+ name: 'frac',
8681
+ lower: 'frac',
8682
+ index: 48,
8683
+ isBkr: false
8684
+ };
8685
+ this.rules[49] = {
8686
+ name: 'exp',
8687
+ lower: 'exp',
8688
+ index: 49,
8689
+ isBkr: false
8690
+ };
8691
+ this.rules[50] = {
8692
+ name: 'true',
8693
+ lower: 'true',
8694
+ index: 50,
8695
+ isBkr: false
8696
+ };
8697
+ this.rules[51] = {
8698
+ name: 'false',
8699
+ lower: 'false',
8700
+ index: 51,
8701
+ isBkr: false
8702
+ };
8703
+ this.rules[52] = {
8704
+ name: 'null',
8705
+ lower: 'null',
8706
+ index: 52,
8707
+ isBkr: false
8708
+ };
8709
+ this.rules[53] = {
8710
+ name: 'function-name',
8711
+ lower: 'function-name',
8712
+ index: 53,
8713
+ isBkr: false
8714
+ };
8715
+ this.rules[54] = {
8716
+ name: 'function-name-first',
8717
+ lower: 'function-name-first',
8718
+ index: 54,
8719
+ isBkr: false
8720
+ };
8721
+ this.rules[55] = {
8722
+ name: 'function-name-char',
8723
+ lower: 'function-name-char',
8724
+ index: 55,
8725
+ isBkr: false
8726
+ };
8727
+ this.rules[56] = {
8728
+ name: 'LCALPHA',
8729
+ lower: 'lcalpha',
8730
+ index: 56,
8731
+ isBkr: false
8732
+ };
8733
+ this.rules[57] = {
8734
+ name: 'function-expr',
8735
+ lower: 'function-expr',
8736
+ index: 57,
8737
+ isBkr: false
8738
+ };
8739
+ this.rules[58] = {
8740
+ name: 'function-argument',
8741
+ lower: 'function-argument',
8742
+ index: 58,
8743
+ isBkr: false
8744
+ };
8745
+ this.rules[59] = {
8746
+ name: 'segment',
8747
+ lower: 'segment',
8748
+ index: 59,
8749
+ isBkr: false
8750
+ };
8751
+ this.rules[60] = {
8752
+ name: 'child-segment',
8753
+ lower: 'child-segment',
8754
+ index: 60,
8755
+ isBkr: false
8756
+ };
8757
+ this.rules[61] = {
8758
+ name: 'bracketed-selection',
8759
+ lower: 'bracketed-selection',
8760
+ index: 61,
8761
+ isBkr: false
8762
+ };
8763
+ this.rules[62] = {
8764
+ name: 'member-name-shorthand',
8765
+ lower: 'member-name-shorthand',
8766
+ index: 62,
8767
+ isBkr: false
8768
+ };
8769
+ this.rules[63] = {
8770
+ name: 'name-first',
8771
+ lower: 'name-first',
8772
+ index: 63,
8773
+ isBkr: false
8774
+ };
8775
+ this.rules[64] = {
8776
+ name: 'name-char',
8777
+ lower: 'name-char',
8778
+ index: 64,
8779
+ isBkr: false
8780
+ };
8781
+ this.rules[65] = {
8782
+ name: 'DIGIT',
8783
+ lower: 'digit',
8784
+ index: 65,
8785
+ isBkr: false
8786
+ };
8787
+ this.rules[66] = {
8788
+ name: 'ALPHA',
8789
+ lower: 'alpha',
8790
+ index: 66,
8791
+ isBkr: false
8792
+ };
8793
+ this.rules[67] = {
8794
+ name: 'descendant-segment',
8795
+ lower: 'descendant-segment',
8796
+ index: 67,
8797
+ isBkr: false
8798
+ };
8799
+ this.rules[68] = {
8800
+ name: 'normalized-path',
8801
+ lower: 'normalized-path',
8802
+ index: 68,
8803
+ isBkr: false
8804
+ };
8805
+ this.rules[69] = {
8806
+ name: 'normal-index-segment',
8807
+ lower: 'normal-index-segment',
8808
+ index: 69,
8809
+ isBkr: false
8810
+ };
8811
+ this.rules[70] = {
8812
+ name: 'normal-selector',
8813
+ lower: 'normal-selector',
8814
+ index: 70,
8815
+ isBkr: false
8816
+ };
8817
+ this.rules[71] = {
8818
+ name: 'normal-name-selector',
8819
+ lower: 'normal-name-selector',
8820
+ index: 71,
8821
+ isBkr: false
8822
+ };
8823
+ this.rules[72] = {
8824
+ name: 'normal-single-quoted',
8825
+ lower: 'normal-single-quoted',
8826
+ index: 72,
8827
+ isBkr: false
8828
+ };
8829
+ this.rules[73] = {
8830
+ name: 'normal-unescaped',
8831
+ lower: 'normal-unescaped',
8832
+ index: 73,
8833
+ isBkr: false
8834
+ };
8835
+ this.rules[74] = {
8836
+ name: 'normal-escapable',
8837
+ lower: 'normal-escapable',
8838
+ index: 74,
8839
+ isBkr: false
8840
+ };
8841
+ this.rules[75] = {
8842
+ name: 'normal-hexchar',
8843
+ lower: 'normal-hexchar',
8844
+ index: 75,
8845
+ isBkr: false
8846
+ };
8847
+ this.rules[76] = {
8848
+ name: 'normal-HEXDIG',
8849
+ lower: 'normal-hexdig',
8850
+ index: 76,
8851
+ isBkr: false
8852
+ };
8853
+ this.rules[77] = {
8854
+ name: 'normal-index-selector',
8855
+ lower: 'normal-index-selector',
8856
+ index: 77,
8857
+ isBkr: false
8858
+ };
8859
+ this.rules[78] = {
8860
+ name: 'dot-prefix',
8861
+ lower: 'dot-prefix',
8862
+ index: 78,
8863
+ isBkr: false
8864
+ };
8865
+ this.rules[79] = {
8866
+ name: 'double-dot-prefix',
8867
+ lower: 'double-dot-prefix',
8868
+ index: 79,
8869
+ isBkr: false
8870
+ };
8871
+ this.rules[80] = {
8872
+ name: 'left-bracket',
8873
+ lower: 'left-bracket',
8874
+ index: 80,
8875
+ isBkr: false
8876
+ };
8877
+ this.rules[81] = {
8878
+ name: 'right-bracket',
8879
+ lower: 'right-bracket',
8880
+ index: 81,
8881
+ isBkr: false
8882
+ };
8883
+ this.rules[82] = {
8884
+ name: 'left-paren',
8885
+ lower: 'left-paren',
8886
+ index: 82,
8887
+ isBkr: false
8888
+ };
8889
+ this.rules[83] = {
8890
+ name: 'right-paren',
8891
+ lower: 'right-paren',
8892
+ index: 83,
8893
+ isBkr: false
8894
+ };
8895
+ this.rules[84] = {
8896
+ name: 'comma',
8897
+ lower: 'comma',
8898
+ index: 84,
8899
+ isBkr: false
8900
+ };
8901
+ this.rules[85] = {
8902
+ name: 'colon',
8903
+ lower: 'colon',
8904
+ index: 85,
8905
+ isBkr: false
8906
+ };
8907
+ this.rules[86] = {
8908
+ name: 'dquote',
8909
+ lower: 'dquote',
8910
+ index: 86,
8911
+ isBkr: false
8912
+ };
8913
+ this.rules[87] = {
8914
+ name: 'squote',
8915
+ lower: 'squote',
8916
+ index: 87,
8917
+ isBkr: false
8918
+ };
8919
+ this.rules[88] = {
8920
+ name: 'questionmark',
8921
+ lower: 'questionmark',
8922
+ index: 88,
8923
+ isBkr: false
8924
+ };
8925
+ this.rules[89] = {
8926
+ name: 'disjunction',
8927
+ lower: 'disjunction',
8928
+ index: 89,
8929
+ isBkr: false
8930
+ };
8931
+ this.rules[90] = {
8932
+ name: 'conjunction',
8933
+ lower: 'conjunction',
8934
+ index: 90,
8935
+ isBkr: false
8936
+ };
8937
+
8938
+ /* UDTS */
8939
+ this.udts = [];
8940
+
8941
+ /* OPCODES */
8942
+ /* jsonpath-query */
8943
+ this.rules[0].opcodes = [];
8944
+ this.rules[0].opcodes[0] = {
8945
+ type: 2,
8946
+ children: [1, 2]
8947
+ }; // CAT
8948
+ this.rules[0].opcodes[1] = {
8949
+ type: 4,
8950
+ index: 4
8951
+ }; // RNM(root-identifier)
8952
+ this.rules[0].opcodes[2] = {
8953
+ type: 4,
8954
+ index: 1
8955
+ }; // RNM(segments)
8956
+
8957
+ /* segments */
8958
+ this.rules[1].opcodes = [];
8959
+ this.rules[1].opcodes[0] = {
8960
+ type: 3,
8961
+ min: 0,
8962
+ max: Infinity
8963
+ }; // REP
8964
+ this.rules[1].opcodes[1] = {
8965
+ type: 2,
8966
+ children: [2, 3]
8967
+ }; // CAT
8968
+ this.rules[1].opcodes[2] = {
8969
+ type: 4,
8970
+ index: 3
8971
+ }; // RNM(S)
8972
+ this.rules[1].opcodes[3] = {
8973
+ type: 4,
8974
+ index: 59
8975
+ }; // RNM(segment)
8976
+
8977
+ /* B */
8978
+ this.rules[2].opcodes = [];
8979
+ this.rules[2].opcodes[0] = {
8980
+ type: 1,
8981
+ children: [1, 2, 3, 4]
8982
+ }; // ALT
8983
+ this.rules[2].opcodes[1] = {
8984
+ type: 6,
8985
+ string: [32]
8986
+ }; // TBS
8987
+ this.rules[2].opcodes[2] = {
8988
+ type: 6,
8989
+ string: [9]
8990
+ }; // TBS
8991
+ this.rules[2].opcodes[3] = {
8992
+ type: 6,
8993
+ string: [10]
8994
+ }; // TBS
8995
+ this.rules[2].opcodes[4] = {
8996
+ type: 6,
8997
+ string: [13]
8998
+ }; // TBS
8999
+
9000
+ /* S */
9001
+ this.rules[3].opcodes = [];
9002
+ this.rules[3].opcodes[0] = {
9003
+ type: 3,
9004
+ min: 0,
9005
+ max: Infinity
9006
+ }; // REP
9007
+ this.rules[3].opcodes[1] = {
9008
+ type: 4,
9009
+ index: 2
9010
+ }; // RNM(B)
9011
+
9012
+ /* root-identifier */
9013
+ this.rules[4].opcodes = [];
9014
+ this.rules[4].opcodes[0] = {
9015
+ type: 7,
9016
+ string: [36]
9017
+ }; // TLS
9018
+
9019
+ /* selector */
9020
+ this.rules[5].opcodes = [];
9021
+ this.rules[5].opcodes[0] = {
9022
+ type: 1,
9023
+ children: [1, 2, 3, 4, 5]
9024
+ }; // ALT
9025
+ this.rules[5].opcodes[1] = {
9026
+ type: 4,
9027
+ index: 6
9028
+ }; // RNM(name-selector)
9029
+ this.rules[5].opcodes[2] = {
9030
+ type: 4,
9031
+ index: 18
9032
+ }; // RNM(wildcard-selector)
9033
+ this.rules[5].opcodes[3] = {
9034
+ type: 4,
9035
+ index: 22
9036
+ }; // RNM(slice-selector)
9037
+ this.rules[5].opcodes[4] = {
9038
+ type: 4,
9039
+ index: 19
9040
+ }; // RNM(index-selector)
9041
+ this.rules[5].opcodes[5] = {
9042
+ type: 4,
9043
+ index: 26
9044
+ }; // RNM(filter-selector)
9045
+
9046
+ /* name-selector */
9047
+ this.rules[6].opcodes = [];
9048
+ this.rules[6].opcodes[0] = {
9049
+ type: 4,
9050
+ index: 7
9051
+ }; // RNM(string-literal)
9052
+
9053
+ /* string-literal */
9054
+ this.rules[7].opcodes = [];
9055
+ this.rules[7].opcodes[0] = {
9056
+ type: 1,
9057
+ children: [1, 6]
9058
+ }; // ALT
9059
+ this.rules[7].opcodes[1] = {
9060
+ type: 2,
9061
+ children: [2, 3, 5]
9062
+ }; // CAT
9063
+ this.rules[7].opcodes[2] = {
9064
+ type: 4,
9065
+ index: 86
9066
+ }; // RNM(dquote)
9067
+ this.rules[7].opcodes[3] = {
9068
+ type: 3,
9069
+ min: 0,
9070
+ max: Infinity
9071
+ }; // REP
9072
+ this.rules[7].opcodes[4] = {
9073
+ type: 4,
9074
+ index: 8
9075
+ }; // RNM(double-quoted)
9076
+ this.rules[7].opcodes[5] = {
9077
+ type: 4,
9078
+ index: 86
9079
+ }; // RNM(dquote)
9080
+ this.rules[7].opcodes[6] = {
9081
+ type: 2,
9082
+ children: [7, 8, 10]
9083
+ }; // CAT
9084
+ this.rules[7].opcodes[7] = {
9085
+ type: 4,
9086
+ index: 87
9087
+ }; // RNM(squote)
9088
+ this.rules[7].opcodes[8] = {
9089
+ type: 3,
9090
+ min: 0,
9091
+ max: Infinity
9092
+ }; // REP
9093
+ this.rules[7].opcodes[9] = {
9094
+ type: 4,
9095
+ index: 9
9096
+ }; // RNM(single-quoted)
9097
+ this.rules[7].opcodes[10] = {
9098
+ type: 4,
9099
+ index: 87
9100
+ }; // RNM(squote)
9101
+
9102
+ /* double-quoted */
9103
+ this.rules[8].opcodes = [];
9104
+ this.rules[8].opcodes[0] = {
9105
+ type: 1,
9106
+ children: [1, 2, 3, 6]
9107
+ }; // ALT
9108
+ this.rules[8].opcodes[1] = {
9109
+ type: 4,
9110
+ index: 11
9111
+ }; // RNM(unescaped)
9112
+ this.rules[8].opcodes[2] = {
9113
+ type: 6,
9114
+ string: [39]
9115
+ }; // TBS
9116
+ this.rules[8].opcodes[3] = {
9117
+ type: 2,
9118
+ children: [4, 5]
9119
+ }; // CAT
9120
+ this.rules[8].opcodes[4] = {
9121
+ type: 4,
9122
+ index: 10
9123
+ }; // RNM(ESC)
9124
+ this.rules[8].opcodes[5] = {
9125
+ type: 6,
9126
+ string: [34]
9127
+ }; // TBS
9128
+ this.rules[8].opcodes[6] = {
9129
+ type: 2,
9130
+ children: [7, 8]
9131
+ }; // CAT
9132
+ this.rules[8].opcodes[7] = {
9133
+ type: 4,
9134
+ index: 10
9135
+ }; // RNM(ESC)
9136
+ this.rules[8].opcodes[8] = {
9137
+ type: 4,
9138
+ index: 12
9139
+ }; // RNM(escapable)
9140
+
9141
+ /* single-quoted */
9142
+ this.rules[9].opcodes = [];
9143
+ this.rules[9].opcodes[0] = {
9144
+ type: 1,
9145
+ children: [1, 2, 3, 6]
9146
+ }; // ALT
9147
+ this.rules[9].opcodes[1] = {
9148
+ type: 4,
9149
+ index: 11
9150
+ }; // RNM(unescaped)
9151
+ this.rules[9].opcodes[2] = {
9152
+ type: 6,
9153
+ string: [34]
9154
+ }; // TBS
9155
+ this.rules[9].opcodes[3] = {
9156
+ type: 2,
9157
+ children: [4, 5]
9158
+ }; // CAT
9159
+ this.rules[9].opcodes[4] = {
9160
+ type: 4,
9161
+ index: 10
9162
+ }; // RNM(ESC)
9163
+ this.rules[9].opcodes[5] = {
9164
+ type: 6,
9165
+ string: [39]
9166
+ }; // TBS
9167
+ this.rules[9].opcodes[6] = {
9168
+ type: 2,
9169
+ children: [7, 8]
9170
+ }; // CAT
9171
+ this.rules[9].opcodes[7] = {
9172
+ type: 4,
9173
+ index: 10
9174
+ }; // RNM(ESC)
9175
+ this.rules[9].opcodes[8] = {
9176
+ type: 4,
9177
+ index: 12
9178
+ }; // RNM(escapable)
9179
+
9180
+ /* ESC */
9181
+ this.rules[10].opcodes = [];
9182
+ this.rules[10].opcodes[0] = {
9183
+ type: 6,
9184
+ string: [92]
9185
+ }; // TBS
9186
+
9187
+ /* unescaped */
9188
+ this.rules[11].opcodes = [];
9189
+ this.rules[11].opcodes[0] = {
9190
+ type: 1,
9191
+ children: [1, 2, 3, 4, 5]
9192
+ }; // ALT
9193
+ this.rules[11].opcodes[1] = {
9194
+ type: 5,
9195
+ min: 32,
9196
+ max: 33
9197
+ }; // TRG
9198
+ this.rules[11].opcodes[2] = {
9199
+ type: 5,
9200
+ min: 35,
9201
+ max: 38
9202
+ }; // TRG
9203
+ this.rules[11].opcodes[3] = {
9204
+ type: 5,
9205
+ min: 40,
9206
+ max: 91
9207
+ }; // TRG
9208
+ this.rules[11].opcodes[4] = {
9209
+ type: 5,
9210
+ min: 93,
9211
+ max: 55295
9212
+ }; // TRG
9213
+ this.rules[11].opcodes[5] = {
9214
+ type: 5,
9215
+ min: 57344,
9216
+ max: 1114111
9217
+ }; // TRG
9218
+
9219
+ /* escapable */
9220
+ this.rules[12].opcodes = [];
9221
+ this.rules[12].opcodes[0] = {
9222
+ type: 1,
9223
+ children: [1, 2, 3, 4, 5, 6, 7, 8]
9224
+ }; // ALT
9225
+ this.rules[12].opcodes[1] = {
9226
+ type: 6,
9227
+ string: [98]
9228
+ }; // TBS
9229
+ this.rules[12].opcodes[2] = {
9230
+ type: 6,
9231
+ string: [102]
9232
+ }; // TBS
9233
+ this.rules[12].opcodes[3] = {
9234
+ type: 6,
9235
+ string: [110]
9236
+ }; // TBS
9237
+ this.rules[12].opcodes[4] = {
9238
+ type: 6,
9239
+ string: [114]
9240
+ }; // TBS
9241
+ this.rules[12].opcodes[5] = {
9242
+ type: 6,
9243
+ string: [116]
9244
+ }; // TBS
9245
+ this.rules[12].opcodes[6] = {
9246
+ type: 7,
9247
+ string: [47]
9248
+ }; // TLS
9249
+ this.rules[12].opcodes[7] = {
9250
+ type: 7,
9251
+ string: [92]
9252
+ }; // TLS
9253
+ this.rules[12].opcodes[8] = {
9254
+ type: 2,
9255
+ children: [9, 10]
9256
+ }; // CAT
9257
+ this.rules[12].opcodes[9] = {
9258
+ type: 6,
9259
+ string: [117]
9260
+ }; // TBS
9261
+ this.rules[12].opcodes[10] = {
9262
+ type: 4,
9263
+ index: 13
9264
+ }; // RNM(hexchar)
9265
+
9266
+ /* hexchar */
9267
+ this.rules[13].opcodes = [];
9268
+ this.rules[13].opcodes[0] = {
9269
+ type: 1,
9270
+ children: [1, 2]
9271
+ }; // ALT
9272
+ this.rules[13].opcodes[1] = {
9273
+ type: 4,
9274
+ index: 14
9275
+ }; // RNM(non-surrogate)
9276
+ this.rules[13].opcodes[2] = {
9277
+ type: 2,
9278
+ children: [3, 4, 5, 6]
9279
+ }; // CAT
9280
+ this.rules[13].opcodes[3] = {
9281
+ type: 4,
9282
+ index: 15
9283
+ }; // RNM(high-surrogate)
9284
+ this.rules[13].opcodes[4] = {
9285
+ type: 7,
9286
+ string: [92]
9287
+ }; // TLS
9288
+ this.rules[13].opcodes[5] = {
9289
+ type: 6,
9290
+ string: [117]
9291
+ }; // TBS
9292
+ this.rules[13].opcodes[6] = {
9293
+ type: 4,
9294
+ index: 16
9295
+ }; // RNM(low-surrogate)
9296
+
9297
+ /* non-surrogate */
9298
+ this.rules[14].opcodes = [];
9299
+ this.rules[14].opcodes[0] = {
9300
+ type: 1,
9301
+ children: [1, 11]
9302
+ }; // ALT
9303
+ this.rules[14].opcodes[1] = {
9304
+ type: 2,
9305
+ children: [2, 9]
9306
+ }; // CAT
9307
+ this.rules[14].opcodes[2] = {
9308
+ type: 1,
9309
+ children: [3, 4, 5, 6, 7, 8]
9310
+ }; // ALT
9311
+ this.rules[14].opcodes[3] = {
9312
+ type: 4,
9313
+ index: 65
9314
+ }; // RNM(DIGIT)
9315
+ this.rules[14].opcodes[4] = {
9316
+ type: 7,
9317
+ string: [97]
9318
+ }; // TLS
9319
+ this.rules[14].opcodes[5] = {
9320
+ type: 7,
9321
+ string: [98]
9322
+ }; // TLS
9323
+ this.rules[14].opcodes[6] = {
9324
+ type: 7,
9325
+ string: [99]
9326
+ }; // TLS
9327
+ this.rules[14].opcodes[7] = {
9328
+ type: 7,
9329
+ string: [101]
9330
+ }; // TLS
9331
+ this.rules[14].opcodes[8] = {
9332
+ type: 7,
9333
+ string: [102]
9334
+ }; // TLS
9335
+ this.rules[14].opcodes[9] = {
9336
+ type: 3,
9337
+ min: 3,
9338
+ max: 3
9339
+ }; // REP
9340
+ this.rules[14].opcodes[10] = {
9341
+ type: 4,
9342
+ index: 17
9343
+ }; // RNM(HEXDIG)
9344
+ this.rules[14].opcodes[11] = {
9345
+ type: 2,
9346
+ children: [12, 13, 14]
9347
+ }; // CAT
9348
+ this.rules[14].opcodes[12] = {
9349
+ type: 7,
9350
+ string: [100]
9351
+ }; // TLS
9352
+ this.rules[14].opcodes[13] = {
9353
+ type: 5,
9354
+ min: 48,
9355
+ max: 55
9356
+ }; // TRG
9357
+ this.rules[14].opcodes[14] = {
9358
+ type: 3,
9359
+ min: 2,
9360
+ max: 2
9361
+ }; // REP
9362
+ this.rules[14].opcodes[15] = {
9363
+ type: 4,
9364
+ index: 17
9365
+ }; // RNM(HEXDIG)
9366
+
9367
+ /* high-surrogate */
9368
+ this.rules[15].opcodes = [];
9369
+ this.rules[15].opcodes[0] = {
9370
+ type: 2,
9371
+ children: [1, 2, 7]
9372
+ }; // CAT
9373
+ this.rules[15].opcodes[1] = {
9374
+ type: 7,
9375
+ string: [100]
9376
+ }; // TLS
9377
+ this.rules[15].opcodes[2] = {
9378
+ type: 1,
9379
+ children: [3, 4, 5, 6]
9380
+ }; // ALT
9381
+ this.rules[15].opcodes[3] = {
9382
+ type: 7,
9383
+ string: [56]
9384
+ }; // TLS
9385
+ this.rules[15].opcodes[4] = {
9386
+ type: 7,
9387
+ string: [57]
9388
+ }; // TLS
9389
+ this.rules[15].opcodes[5] = {
9390
+ type: 7,
9391
+ string: [97]
9392
+ }; // TLS
9393
+ this.rules[15].opcodes[6] = {
9394
+ type: 7,
9395
+ string: [98]
9396
+ }; // TLS
9397
+ this.rules[15].opcodes[7] = {
9398
+ type: 3,
9399
+ min: 2,
9400
+ max: 2
9401
+ }; // REP
9402
+ this.rules[15].opcodes[8] = {
9403
+ type: 4,
9404
+ index: 17
9405
+ }; // RNM(HEXDIG)
9406
+
9407
+ /* low-surrogate */
9408
+ this.rules[16].opcodes = [];
9409
+ this.rules[16].opcodes[0] = {
9410
+ type: 2,
9411
+ children: [1, 2, 7]
9412
+ }; // CAT
9413
+ this.rules[16].opcodes[1] = {
9414
+ type: 7,
9415
+ string: [100]
9416
+ }; // TLS
9417
+ this.rules[16].opcodes[2] = {
9418
+ type: 1,
9419
+ children: [3, 4, 5, 6]
9420
+ }; // ALT
9421
+ this.rules[16].opcodes[3] = {
9422
+ type: 7,
9423
+ string: [99]
9424
+ }; // TLS
9425
+ this.rules[16].opcodes[4] = {
9426
+ type: 7,
9427
+ string: [100]
9428
+ }; // TLS
9429
+ this.rules[16].opcodes[5] = {
9430
+ type: 7,
9431
+ string: [101]
9432
+ }; // TLS
9433
+ this.rules[16].opcodes[6] = {
9434
+ type: 7,
9435
+ string: [102]
9436
+ }; // TLS
9437
+ this.rules[16].opcodes[7] = {
9438
+ type: 3,
9439
+ min: 2,
9440
+ max: 2
9441
+ }; // REP
9442
+ this.rules[16].opcodes[8] = {
9443
+ type: 4,
9444
+ index: 17
9445
+ }; // RNM(HEXDIG)
9446
+
9447
+ /* HEXDIG */
9448
+ this.rules[17].opcodes = [];
9449
+ this.rules[17].opcodes[0] = {
9450
+ type: 1,
9451
+ children: [1, 2, 3, 4, 5, 6, 7]
9452
+ }; // ALT
9453
+ this.rules[17].opcodes[1] = {
9454
+ type: 4,
9455
+ index: 65
9456
+ }; // RNM(DIGIT)
9457
+ this.rules[17].opcodes[2] = {
9458
+ type: 7,
9459
+ string: [97]
9460
+ }; // TLS
9461
+ this.rules[17].opcodes[3] = {
9462
+ type: 7,
9463
+ string: [98]
9464
+ }; // TLS
9465
+ this.rules[17].opcodes[4] = {
9466
+ type: 7,
9467
+ string: [99]
9468
+ }; // TLS
9469
+ this.rules[17].opcodes[5] = {
9470
+ type: 7,
9471
+ string: [100]
9472
+ }; // TLS
9473
+ this.rules[17].opcodes[6] = {
9474
+ type: 7,
9475
+ string: [101]
9476
+ }; // TLS
9477
+ this.rules[17].opcodes[7] = {
9478
+ type: 7,
9479
+ string: [102]
9480
+ }; // TLS
9481
+
9482
+ /* wildcard-selector */
9483
+ this.rules[18].opcodes = [];
9484
+ this.rules[18].opcodes[0] = {
9485
+ type: 7,
9486
+ string: [42]
9487
+ }; // TLS
9488
+
9489
+ /* index-selector */
9490
+ this.rules[19].opcodes = [];
9491
+ this.rules[19].opcodes[0] = {
9492
+ type: 4,
9493
+ index: 20
9494
+ }; // RNM(int)
9495
+
9496
+ /* int */
9497
+ this.rules[20].opcodes = [];
9498
+ this.rules[20].opcodes[0] = {
9499
+ type: 1,
9500
+ children: [1, 2]
9501
+ }; // ALT
9502
+ this.rules[20].opcodes[1] = {
9503
+ type: 7,
9504
+ string: [48]
9505
+ }; // TLS
9506
+ this.rules[20].opcodes[2] = {
9507
+ type: 2,
9508
+ children: [3, 5, 6]
9509
+ }; // CAT
9510
+ this.rules[20].opcodes[3] = {
9511
+ type: 3,
9512
+ min: 0,
9513
+ max: 1
9514
+ }; // REP
9515
+ this.rules[20].opcodes[4] = {
9516
+ type: 7,
9517
+ string: [45]
9518
+ }; // TLS
9519
+ this.rules[20].opcodes[5] = {
9520
+ type: 4,
9521
+ index: 21
9522
+ }; // RNM(DIGIT1)
9523
+ this.rules[20].opcodes[6] = {
9524
+ type: 3,
9525
+ min: 0,
9526
+ max: Infinity
9527
+ }; // REP
9528
+ this.rules[20].opcodes[7] = {
9529
+ type: 4,
9530
+ index: 65
9531
+ }; // RNM(DIGIT)
9532
+
9533
+ /* DIGIT1 */
9534
+ this.rules[21].opcodes = [];
9535
+ this.rules[21].opcodes[0] = {
9536
+ type: 5,
9537
+ min: 49,
9538
+ max: 57
9539
+ }; // TRG
9540
+
9541
+ /* slice-selector */
9542
+ this.rules[22].opcodes = [];
9543
+ this.rules[22].opcodes[0] = {
9544
+ type: 2,
9545
+ children: [1, 5, 6, 7, 11]
9546
+ }; // CAT
9547
+ this.rules[22].opcodes[1] = {
9548
+ type: 3,
9549
+ min: 0,
9550
+ max: 1
9551
+ }; // REP
9552
+ this.rules[22].opcodes[2] = {
9553
+ type: 2,
9554
+ children: [3, 4]
9555
+ }; // CAT
9556
+ this.rules[22].opcodes[3] = {
9557
+ type: 4,
9558
+ index: 23
9559
+ }; // RNM(start)
9560
+ this.rules[22].opcodes[4] = {
9561
+ type: 4,
9562
+ index: 3
9563
+ }; // RNM(S)
9564
+ this.rules[22].opcodes[5] = {
9565
+ type: 4,
9566
+ index: 85
9567
+ }; // RNM(colon)
9568
+ this.rules[22].opcodes[6] = {
9569
+ type: 4,
9570
+ index: 3
9571
+ }; // RNM(S)
9572
+ this.rules[22].opcodes[7] = {
9573
+ type: 3,
9574
+ min: 0,
9575
+ max: 1
9576
+ }; // REP
9577
+ this.rules[22].opcodes[8] = {
9578
+ type: 2,
9579
+ children: [9, 10]
9580
+ }; // CAT
9581
+ this.rules[22].opcodes[9] = {
9582
+ type: 4,
9583
+ index: 24
9584
+ }; // RNM(end)
9585
+ this.rules[22].opcodes[10] = {
9586
+ type: 4,
9587
+ index: 3
9588
+ }; // RNM(S)
9589
+ this.rules[22].opcodes[11] = {
9590
+ type: 3,
9591
+ min: 0,
9592
+ max: 1
9593
+ }; // REP
9594
+ this.rules[22].opcodes[12] = {
9595
+ type: 2,
9596
+ children: [13, 14]
9597
+ }; // CAT
9598
+ this.rules[22].opcodes[13] = {
9599
+ type: 4,
9600
+ index: 85
9601
+ }; // RNM(colon)
9602
+ this.rules[22].opcodes[14] = {
9603
+ type: 3,
9604
+ min: 0,
9605
+ max: 1
9606
+ }; // REP
9607
+ this.rules[22].opcodes[15] = {
9608
+ type: 2,
9609
+ children: [16, 17]
9610
+ }; // CAT
9611
+ this.rules[22].opcodes[16] = {
9612
+ type: 4,
9613
+ index: 3
9614
+ }; // RNM(S)
9615
+ this.rules[22].opcodes[17] = {
9616
+ type: 4,
9617
+ index: 25
9618
+ }; // RNM(step)
9619
+
9620
+ /* start */
9621
+ this.rules[23].opcodes = [];
9622
+ this.rules[23].opcodes[0] = {
9623
+ type: 4,
9624
+ index: 20
9625
+ }; // RNM(int)
9626
+
9627
+ /* end */
9628
+ this.rules[24].opcodes = [];
9629
+ this.rules[24].opcodes[0] = {
9630
+ type: 4,
9631
+ index: 20
9632
+ }; // RNM(int)
9633
+
9634
+ /* step */
9635
+ this.rules[25].opcodes = [];
9636
+ this.rules[25].opcodes[0] = {
9637
+ type: 4,
9638
+ index: 20
9639
+ }; // RNM(int)
9640
+
9641
+ /* filter-selector */
9642
+ this.rules[26].opcodes = [];
9643
+ this.rules[26].opcodes[0] = {
9644
+ type: 2,
9645
+ children: [1, 2, 3]
9646
+ }; // CAT
9647
+ this.rules[26].opcodes[1] = {
9648
+ type: 4,
9649
+ index: 88
9650
+ }; // RNM(questionmark)
9651
+ this.rules[26].opcodes[2] = {
9652
+ type: 4,
9653
+ index: 3
9654
+ }; // RNM(S)
9655
+ this.rules[26].opcodes[3] = {
9656
+ type: 4,
9657
+ index: 27
9658
+ }; // RNM(logical-expr)
9659
+
9660
+ /* logical-expr */
9661
+ this.rules[27].opcodes = [];
9662
+ this.rules[27].opcodes[0] = {
9663
+ type: 4,
9664
+ index: 28
9665
+ }; // RNM(logical-or-expr)
9666
+
9667
+ /* logical-or-expr */
9668
+ this.rules[28].opcodes = [];
9669
+ this.rules[28].opcodes[0] = {
9670
+ type: 2,
9671
+ children: [1, 2]
9672
+ }; // CAT
9673
+ this.rules[28].opcodes[1] = {
9674
+ type: 4,
9675
+ index: 29
9676
+ }; // RNM(logical-and-expr)
9677
+ this.rules[28].opcodes[2] = {
9678
+ type: 3,
9679
+ min: 0,
9680
+ max: Infinity
9681
+ }; // REP
9682
+ this.rules[28].opcodes[3] = {
9683
+ type: 2,
9684
+ children: [4, 5, 6, 7]
9685
+ }; // CAT
9686
+ this.rules[28].opcodes[4] = {
9687
+ type: 4,
9688
+ index: 3
9689
+ }; // RNM(S)
9690
+ this.rules[28].opcodes[5] = {
9691
+ type: 4,
9692
+ index: 89
9693
+ }; // RNM(disjunction)
9694
+ this.rules[28].opcodes[6] = {
9695
+ type: 4,
9696
+ index: 3
9697
+ }; // RNM(S)
9698
+ this.rules[28].opcodes[7] = {
9699
+ type: 4,
9700
+ index: 29
9701
+ }; // RNM(logical-and-expr)
9702
+
9703
+ /* logical-and-expr */
9704
+ this.rules[29].opcodes = [];
9705
+ this.rules[29].opcodes[0] = {
9706
+ type: 2,
9707
+ children: [1, 2]
9708
+ }; // CAT
9709
+ this.rules[29].opcodes[1] = {
9710
+ type: 4,
9711
+ index: 30
9712
+ }; // RNM(basic-expr)
9713
+ this.rules[29].opcodes[2] = {
9714
+ type: 3,
9715
+ min: 0,
9716
+ max: Infinity
9717
+ }; // REP
9718
+ this.rules[29].opcodes[3] = {
9719
+ type: 2,
9720
+ children: [4, 5, 6, 7]
9721
+ }; // CAT
9722
+ this.rules[29].opcodes[4] = {
9723
+ type: 4,
9724
+ index: 3
9725
+ }; // RNM(S)
9726
+ this.rules[29].opcodes[5] = {
9727
+ type: 4,
9728
+ index: 90
9729
+ }; // RNM(conjunction)
9730
+ this.rules[29].opcodes[6] = {
9731
+ type: 4,
9732
+ index: 3
9733
+ }; // RNM(S)
9734
+ this.rules[29].opcodes[7] = {
9735
+ type: 4,
9736
+ index: 30
9737
+ }; // RNM(basic-expr)
9738
+
9739
+ /* basic-expr */
9740
+ this.rules[30].opcodes = [];
9741
+ this.rules[30].opcodes[0] = {
9742
+ type: 1,
9743
+ children: [1, 2, 3]
9744
+ }; // ALT
9745
+ this.rules[30].opcodes[1] = {
9746
+ type: 4,
9747
+ index: 31
9748
+ }; // RNM(paren-expr)
9749
+ this.rules[30].opcodes[2] = {
9750
+ type: 4,
9751
+ index: 37
9752
+ }; // RNM(comparison-expr)
9753
+ this.rules[30].opcodes[3] = {
9754
+ type: 4,
9755
+ index: 33
9756
+ }; // RNM(test-expr)
9757
+
9758
+ /* paren-expr */
9759
+ this.rules[31].opcodes = [];
9760
+ this.rules[31].opcodes[0] = {
9761
+ type: 2,
9762
+ children: [1, 5, 6, 7, 8, 9]
9763
+ }; // CAT
9764
+ this.rules[31].opcodes[1] = {
9765
+ type: 3,
9766
+ min: 0,
9767
+ max: 1
9768
+ }; // REP
9769
+ this.rules[31].opcodes[2] = {
9770
+ type: 2,
9771
+ children: [3, 4]
9772
+ }; // CAT
9773
+ this.rules[31].opcodes[3] = {
9774
+ type: 4,
9775
+ index: 32
9776
+ }; // RNM(logical-not-op)
9777
+ this.rules[31].opcodes[4] = {
9778
+ type: 4,
9779
+ index: 3
9780
+ }; // RNM(S)
9781
+ this.rules[31].opcodes[5] = {
9782
+ type: 4,
9783
+ index: 82
9784
+ }; // RNM(left-paren)
9785
+ this.rules[31].opcodes[6] = {
9786
+ type: 4,
9787
+ index: 3
9788
+ }; // RNM(S)
9789
+ this.rules[31].opcodes[7] = {
9790
+ type: 4,
9791
+ index: 27
9792
+ }; // RNM(logical-expr)
9793
+ this.rules[31].opcodes[8] = {
9794
+ type: 4,
9795
+ index: 3
9796
+ }; // RNM(S)
9797
+ this.rules[31].opcodes[9] = {
9798
+ type: 4,
9799
+ index: 83
9800
+ }; // RNM(right-paren)
9801
+
9802
+ /* logical-not-op */
9803
+ this.rules[32].opcodes = [];
9804
+ this.rules[32].opcodes[0] = {
9805
+ type: 7,
9806
+ string: [33]
9807
+ }; // TLS
9808
+
9809
+ /* test-expr */
9810
+ this.rules[33].opcodes = [];
9811
+ this.rules[33].opcodes[0] = {
9812
+ type: 2,
9813
+ children: [1, 5]
9814
+ }; // CAT
9815
+ this.rules[33].opcodes[1] = {
9816
+ type: 3,
9817
+ min: 0,
9818
+ max: 1
9819
+ }; // REP
9820
+ this.rules[33].opcodes[2] = {
9821
+ type: 2,
9822
+ children: [3, 4]
9823
+ }; // CAT
9824
+ this.rules[33].opcodes[3] = {
9825
+ type: 4,
9826
+ index: 32
9827
+ }; // RNM(logical-not-op)
9828
+ this.rules[33].opcodes[4] = {
9829
+ type: 4,
9830
+ index: 3
9831
+ }; // RNM(S)
9832
+ this.rules[33].opcodes[5] = {
9833
+ type: 1,
9834
+ children: [6, 7]
9835
+ }; // ALT
9836
+ this.rules[33].opcodes[6] = {
9837
+ type: 4,
9838
+ index: 34
9839
+ }; // RNM(filter-query)
9840
+ this.rules[33].opcodes[7] = {
9841
+ type: 4,
9842
+ index: 57
9843
+ }; // RNM(function-expr)
9844
+
9845
+ /* filter-query */
9846
+ this.rules[34].opcodes = [];
9847
+ this.rules[34].opcodes[0] = {
9848
+ type: 1,
9849
+ children: [1, 2]
9850
+ }; // ALT
9851
+ this.rules[34].opcodes[1] = {
9852
+ type: 4,
9853
+ index: 35
9854
+ }; // RNM(rel-query)
9855
+ this.rules[34].opcodes[2] = {
9856
+ type: 4,
9857
+ index: 0
9858
+ }; // RNM(jsonpath-query)
9859
+
9860
+ /* rel-query */
9861
+ this.rules[35].opcodes = [];
9862
+ this.rules[35].opcodes[0] = {
9863
+ type: 2,
9864
+ children: [1, 2]
9865
+ }; // CAT
9866
+ this.rules[35].opcodes[1] = {
9867
+ type: 4,
9868
+ index: 36
9869
+ }; // RNM(current-node-identifier)
9870
+ this.rules[35].opcodes[2] = {
9871
+ type: 4,
9872
+ index: 1
9873
+ }; // RNM(segments)
9874
+
9875
+ /* current-node-identifier */
9876
+ this.rules[36].opcodes = [];
9877
+ this.rules[36].opcodes[0] = {
9878
+ type: 7,
9879
+ string: [64]
9880
+ }; // TLS
9881
+
9882
+ /* comparison-expr */
9883
+ this.rules[37].opcodes = [];
9884
+ this.rules[37].opcodes[0] = {
9885
+ type: 2,
9886
+ children: [1, 2, 3, 4, 5]
9887
+ }; // CAT
9888
+ this.rules[37].opcodes[1] = {
9889
+ type: 4,
9890
+ index: 39
9891
+ }; // RNM(comparable)
9892
+ this.rules[37].opcodes[2] = {
9893
+ type: 4,
9894
+ index: 3
9895
+ }; // RNM(S)
9896
+ this.rules[37].opcodes[3] = {
9897
+ type: 4,
9898
+ index: 40
9899
+ }; // RNM(comparison-op)
9900
+ this.rules[37].opcodes[4] = {
9901
+ type: 4,
9902
+ index: 3
9903
+ }; // RNM(S)
9904
+ this.rules[37].opcodes[5] = {
9905
+ type: 4,
9906
+ index: 39
9907
+ }; // RNM(comparable)
9908
+
9909
+ /* literal */
9910
+ this.rules[38].opcodes = [];
9911
+ this.rules[38].opcodes[0] = {
9912
+ type: 1,
9913
+ children: [1, 2, 3, 4, 5]
9914
+ }; // ALT
9915
+ this.rules[38].opcodes[1] = {
9916
+ type: 4,
9917
+ index: 47
9918
+ }; // RNM(number)
9919
+ this.rules[38].opcodes[2] = {
9920
+ type: 4,
9921
+ index: 7
9922
+ }; // RNM(string-literal)
9923
+ this.rules[38].opcodes[3] = {
9924
+ type: 4,
9925
+ index: 50
9926
+ }; // RNM(true)
9927
+ this.rules[38].opcodes[4] = {
9928
+ type: 4,
9929
+ index: 51
9930
+ }; // RNM(false)
9931
+ this.rules[38].opcodes[5] = {
9932
+ type: 4,
9933
+ index: 52
9934
+ }; // RNM(null)
9935
+
9936
+ /* comparable */
9937
+ this.rules[39].opcodes = [];
9938
+ this.rules[39].opcodes[0] = {
9939
+ type: 1,
9940
+ children: [1, 2, 3]
9941
+ }; // ALT
9942
+ this.rules[39].opcodes[1] = {
9943
+ type: 4,
9944
+ index: 41
9945
+ }; // RNM(singular-query)
9946
+ this.rules[39].opcodes[2] = {
9947
+ type: 4,
9948
+ index: 57
9949
+ }; // RNM(function-expr)
9950
+ this.rules[39].opcodes[3] = {
9951
+ type: 4,
9952
+ index: 38
9953
+ }; // RNM(literal)
9954
+
9955
+ /* comparison-op */
9956
+ this.rules[40].opcodes = [];
9957
+ this.rules[40].opcodes[0] = {
9958
+ type: 1,
9959
+ children: [1, 2, 3, 4, 5, 6]
9960
+ }; // ALT
9961
+ this.rules[40].opcodes[1] = {
9962
+ type: 7,
9963
+ string: [61, 61]
9964
+ }; // TLS
9965
+ this.rules[40].opcodes[2] = {
9966
+ type: 7,
9967
+ string: [33, 61]
9968
+ }; // TLS
9969
+ this.rules[40].opcodes[3] = {
9970
+ type: 7,
9971
+ string: [60, 61]
9972
+ }; // TLS
9973
+ this.rules[40].opcodes[4] = {
9974
+ type: 7,
9975
+ string: [62, 61]
9976
+ }; // TLS
9977
+ this.rules[40].opcodes[5] = {
9978
+ type: 7,
9979
+ string: [60]
9980
+ }; // TLS
9981
+ this.rules[40].opcodes[6] = {
9982
+ type: 7,
9983
+ string: [62]
9984
+ }; // TLS
9985
+
9986
+ /* singular-query */
9987
+ this.rules[41].opcodes = [];
9988
+ this.rules[41].opcodes[0] = {
9989
+ type: 1,
9990
+ children: [1, 2]
9991
+ }; // ALT
9992
+ this.rules[41].opcodes[1] = {
9993
+ type: 4,
9994
+ index: 42
9995
+ }; // RNM(rel-singular-query)
9996
+ this.rules[41].opcodes[2] = {
9997
+ type: 4,
9998
+ index: 43
9999
+ }; // RNM(abs-singular-query)
10000
+
10001
+ /* rel-singular-query */
10002
+ this.rules[42].opcodes = [];
10003
+ this.rules[42].opcodes[0] = {
10004
+ type: 2,
10005
+ children: [1, 2]
10006
+ }; // CAT
10007
+ this.rules[42].opcodes[1] = {
10008
+ type: 4,
10009
+ index: 36
10010
+ }; // RNM(current-node-identifier)
10011
+ this.rules[42].opcodes[2] = {
10012
+ type: 4,
10013
+ index: 44
10014
+ }; // RNM(singular-query-segments)
10015
+
10016
+ /* abs-singular-query */
10017
+ this.rules[43].opcodes = [];
10018
+ this.rules[43].opcodes[0] = {
10019
+ type: 2,
10020
+ children: [1, 2]
10021
+ }; // CAT
10022
+ this.rules[43].opcodes[1] = {
10023
+ type: 4,
10024
+ index: 4
10025
+ }; // RNM(root-identifier)
10026
+ this.rules[43].opcodes[2] = {
10027
+ type: 4,
10028
+ index: 44
10029
+ }; // RNM(singular-query-segments)
10030
+
10031
+ /* singular-query-segments */
10032
+ this.rules[44].opcodes = [];
10033
+ this.rules[44].opcodes[0] = {
10034
+ type: 3,
10035
+ min: 0,
10036
+ max: Infinity
10037
+ }; // REP
10038
+ this.rules[44].opcodes[1] = {
10039
+ type: 2,
10040
+ children: [2, 3]
10041
+ }; // CAT
10042
+ this.rules[44].opcodes[2] = {
10043
+ type: 4,
10044
+ index: 3
10045
+ }; // RNM(S)
10046
+ this.rules[44].opcodes[3] = {
10047
+ type: 1,
10048
+ children: [4, 5]
10049
+ }; // ALT
10050
+ this.rules[44].opcodes[4] = {
10051
+ type: 4,
10052
+ index: 45
10053
+ }; // RNM(name-segment)
10054
+ this.rules[44].opcodes[5] = {
10055
+ type: 4,
10056
+ index: 46
10057
+ }; // RNM(index-segment)
10058
+
10059
+ /* name-segment */
10060
+ this.rules[45].opcodes = [];
10061
+ this.rules[45].opcodes[0] = {
10062
+ type: 1,
10063
+ children: [1, 5]
10064
+ }; // ALT
10065
+ this.rules[45].opcodes[1] = {
10066
+ type: 2,
10067
+ children: [2, 3, 4]
10068
+ }; // CAT
10069
+ this.rules[45].opcodes[2] = {
10070
+ type: 4,
10071
+ index: 80
10072
+ }; // RNM(left-bracket)
10073
+ this.rules[45].opcodes[3] = {
10074
+ type: 4,
10075
+ index: 6
10076
+ }; // RNM(name-selector)
10077
+ this.rules[45].opcodes[4] = {
10078
+ type: 4,
10079
+ index: 81
10080
+ }; // RNM(right-bracket)
10081
+ this.rules[45].opcodes[5] = {
10082
+ type: 2,
10083
+ children: [6, 7]
10084
+ }; // CAT
10085
+ this.rules[45].opcodes[6] = {
10086
+ type: 4,
10087
+ index: 78
10088
+ }; // RNM(dot-prefix)
10089
+ this.rules[45].opcodes[7] = {
10090
+ type: 4,
10091
+ index: 62
10092
+ }; // RNM(member-name-shorthand)
10093
+
10094
+ /* index-segment */
10095
+ this.rules[46].opcodes = [];
10096
+ this.rules[46].opcodes[0] = {
10097
+ type: 2,
10098
+ children: [1, 2, 3]
10099
+ }; // CAT
10100
+ this.rules[46].opcodes[1] = {
10101
+ type: 4,
10102
+ index: 80
10103
+ }; // RNM(left-bracket)
10104
+ this.rules[46].opcodes[2] = {
10105
+ type: 4,
10106
+ index: 19
10107
+ }; // RNM(index-selector)
10108
+ this.rules[46].opcodes[3] = {
10109
+ type: 4,
10110
+ index: 81
10111
+ }; // RNM(right-bracket)
10112
+
10113
+ /* number */
10114
+ this.rules[47].opcodes = [];
10115
+ this.rules[47].opcodes[0] = {
10116
+ type: 2,
10117
+ children: [1, 4, 6]
10118
+ }; // CAT
10119
+ this.rules[47].opcodes[1] = {
10120
+ type: 1,
10121
+ children: [2, 3]
10122
+ }; // ALT
10123
+ this.rules[47].opcodes[2] = {
10124
+ type: 4,
10125
+ index: 20
10126
+ }; // RNM(int)
10127
+ this.rules[47].opcodes[3] = {
10128
+ type: 7,
10129
+ string: [45, 48]
10130
+ }; // TLS
10131
+ this.rules[47].opcodes[4] = {
10132
+ type: 3,
10133
+ min: 0,
10134
+ max: 1
10135
+ }; // REP
10136
+ this.rules[47].opcodes[5] = {
10137
+ type: 4,
10138
+ index: 48
10139
+ }; // RNM(frac)
10140
+ this.rules[47].opcodes[6] = {
10141
+ type: 3,
10142
+ min: 0,
10143
+ max: 1
10144
+ }; // REP
10145
+ this.rules[47].opcodes[7] = {
10146
+ type: 4,
10147
+ index: 49
10148
+ }; // RNM(exp)
10149
+
10150
+ /* frac */
10151
+ this.rules[48].opcodes = [];
10152
+ this.rules[48].opcodes[0] = {
10153
+ type: 2,
10154
+ children: [1, 2]
10155
+ }; // CAT
10156
+ this.rules[48].opcodes[1] = {
10157
+ type: 7,
10158
+ string: [46]
10159
+ }; // TLS
10160
+ this.rules[48].opcodes[2] = {
10161
+ type: 3,
10162
+ min: 1,
10163
+ max: Infinity
10164
+ }; // REP
10165
+ this.rules[48].opcodes[3] = {
10166
+ type: 4,
10167
+ index: 65
10168
+ }; // RNM(DIGIT)
10169
+
10170
+ /* exp */
10171
+ this.rules[49].opcodes = [];
10172
+ this.rules[49].opcodes[0] = {
10173
+ type: 2,
10174
+ children: [1, 2, 6]
10175
+ }; // CAT
10176
+ this.rules[49].opcodes[1] = {
10177
+ type: 7,
10178
+ string: [101]
10179
+ }; // TLS
10180
+ this.rules[49].opcodes[2] = {
10181
+ type: 3,
10182
+ min: 0,
10183
+ max: 1
10184
+ }; // REP
10185
+ this.rules[49].opcodes[3] = {
10186
+ type: 1,
10187
+ children: [4, 5]
10188
+ }; // ALT
10189
+ this.rules[49].opcodes[4] = {
10190
+ type: 7,
10191
+ string: [45]
10192
+ }; // TLS
10193
+ this.rules[49].opcodes[5] = {
10194
+ type: 7,
10195
+ string: [43]
10196
+ }; // TLS
10197
+ this.rules[49].opcodes[6] = {
10198
+ type: 3,
10199
+ min: 1,
10200
+ max: Infinity
10201
+ }; // REP
10202
+ this.rules[49].opcodes[7] = {
10203
+ type: 4,
10204
+ index: 65
10205
+ }; // RNM(DIGIT)
10206
+
10207
+ /* true */
10208
+ this.rules[50].opcodes = [];
10209
+ this.rules[50].opcodes[0] = {
10210
+ type: 6,
10211
+ string: [116, 114, 117, 101]
10212
+ }; // TBS
10213
+
10214
+ /* false */
10215
+ this.rules[51].opcodes = [];
10216
+ this.rules[51].opcodes[0] = {
10217
+ type: 6,
10218
+ string: [102, 97, 108, 115, 101]
10219
+ }; // TBS
10220
+
10221
+ /* null */
10222
+ this.rules[52].opcodes = [];
10223
+ this.rules[52].opcodes[0] = {
10224
+ type: 6,
10225
+ string: [110, 117, 108, 108]
10226
+ }; // TBS
10227
+
10228
+ /* function-name */
10229
+ this.rules[53].opcodes = [];
10230
+ this.rules[53].opcodes[0] = {
10231
+ type: 2,
10232
+ children: [1, 2]
10233
+ }; // CAT
10234
+ this.rules[53].opcodes[1] = {
10235
+ type: 4,
10236
+ index: 54
10237
+ }; // RNM(function-name-first)
10238
+ this.rules[53].opcodes[2] = {
10239
+ type: 3,
10240
+ min: 0,
10241
+ max: Infinity
10242
+ }; // REP
10243
+ this.rules[53].opcodes[3] = {
10244
+ type: 4,
10245
+ index: 55
10246
+ }; // RNM(function-name-char)
10247
+
10248
+ /* function-name-first */
10249
+ this.rules[54].opcodes = [];
10250
+ this.rules[54].opcodes[0] = {
10251
+ type: 4,
10252
+ index: 56
10253
+ }; // RNM(LCALPHA)
10254
+
10255
+ /* function-name-char */
10256
+ this.rules[55].opcodes = [];
10257
+ this.rules[55].opcodes[0] = {
10258
+ type: 1,
10259
+ children: [1, 2, 3]
10260
+ }; // ALT
10261
+ this.rules[55].opcodes[1] = {
10262
+ type: 4,
10263
+ index: 54
10264
+ }; // RNM(function-name-first)
10265
+ this.rules[55].opcodes[2] = {
10266
+ type: 7,
10267
+ string: [95]
10268
+ }; // TLS
10269
+ this.rules[55].opcodes[3] = {
10270
+ type: 4,
10271
+ index: 65
10272
+ }; // RNM(DIGIT)
10273
+
10274
+ /* LCALPHA */
10275
+ this.rules[56].opcodes = [];
10276
+ this.rules[56].opcodes[0] = {
10277
+ type: 5,
10278
+ min: 97,
10279
+ max: 122
10280
+ }; // TRG
10281
+
10282
+ /* function-expr */
10283
+ this.rules[57].opcodes = [];
10284
+ this.rules[57].opcodes[0] = {
10285
+ type: 2,
10286
+ children: [1, 2, 3, 4, 13, 14]
10287
+ }; // CAT
10288
+ this.rules[57].opcodes[1] = {
10289
+ type: 4,
10290
+ index: 53
10291
+ }; // RNM(function-name)
10292
+ this.rules[57].opcodes[2] = {
10293
+ type: 4,
10294
+ index: 82
10295
+ }; // RNM(left-paren)
10296
+ this.rules[57].opcodes[3] = {
10297
+ type: 4,
10298
+ index: 3
10299
+ }; // RNM(S)
10300
+ this.rules[57].opcodes[4] = {
10301
+ type: 3,
10302
+ min: 0,
10303
+ max: 1
10304
+ }; // REP
10305
+ this.rules[57].opcodes[5] = {
10306
+ type: 2,
10307
+ children: [6, 7]
10308
+ }; // CAT
10309
+ this.rules[57].opcodes[6] = {
10310
+ type: 4,
10311
+ index: 58
10312
+ }; // RNM(function-argument)
10313
+ this.rules[57].opcodes[7] = {
10314
+ type: 3,
10315
+ min: 0,
10316
+ max: Infinity
10317
+ }; // REP
10318
+ this.rules[57].opcodes[8] = {
10319
+ type: 2,
10320
+ children: [9, 10, 11, 12]
10321
+ }; // CAT
10322
+ this.rules[57].opcodes[9] = {
10323
+ type: 4,
10324
+ index: 3
10325
+ }; // RNM(S)
10326
+ this.rules[57].opcodes[10] = {
10327
+ type: 4,
10328
+ index: 84
10329
+ }; // RNM(comma)
10330
+ this.rules[57].opcodes[11] = {
10331
+ type: 4,
10332
+ index: 3
10333
+ }; // RNM(S)
10334
+ this.rules[57].opcodes[12] = {
10335
+ type: 4,
10336
+ index: 58
10337
+ }; // RNM(function-argument)
10338
+ this.rules[57].opcodes[13] = {
10339
+ type: 4,
10340
+ index: 3
10341
+ }; // RNM(S)
10342
+ this.rules[57].opcodes[14] = {
10343
+ type: 4,
10344
+ index: 83
10345
+ }; // RNM(right-paren)
10346
+
10347
+ /* function-argument */
10348
+ this.rules[58].opcodes = [];
10349
+ this.rules[58].opcodes[0] = {
10350
+ type: 1,
10351
+ children: [1, 2, 3, 4]
10352
+ }; // ALT
10353
+ this.rules[58].opcodes[1] = {
10354
+ type: 4,
10355
+ index: 27
10356
+ }; // RNM(logical-expr)
10357
+ this.rules[58].opcodes[2] = {
10358
+ type: 4,
10359
+ index: 34
10360
+ }; // RNM(filter-query)
10361
+ this.rules[58].opcodes[3] = {
10362
+ type: 4,
10363
+ index: 57
10364
+ }; // RNM(function-expr)
10365
+ this.rules[58].opcodes[4] = {
10366
+ type: 4,
10367
+ index: 38
10368
+ }; // RNM(literal)
10369
+
10370
+ /* segment */
10371
+ this.rules[59].opcodes = [];
10372
+ this.rules[59].opcodes[0] = {
10373
+ type: 1,
10374
+ children: [1, 2]
10375
+ }; // ALT
10376
+ this.rules[59].opcodes[1] = {
10377
+ type: 4,
10378
+ index: 60
10379
+ }; // RNM(child-segment)
10380
+ this.rules[59].opcodes[2] = {
10381
+ type: 4,
10382
+ index: 67
10383
+ }; // RNM(descendant-segment)
10384
+
10385
+ /* child-segment */
10386
+ this.rules[60].opcodes = [];
10387
+ this.rules[60].opcodes[0] = {
10388
+ type: 1,
10389
+ children: [1, 2]
10390
+ }; // ALT
10391
+ this.rules[60].opcodes[1] = {
10392
+ type: 4,
10393
+ index: 61
10394
+ }; // RNM(bracketed-selection)
10395
+ this.rules[60].opcodes[2] = {
10396
+ type: 2,
10397
+ children: [3, 4]
10398
+ }; // CAT
10399
+ this.rules[60].opcodes[3] = {
10400
+ type: 4,
10401
+ index: 78
10402
+ }; // RNM(dot-prefix)
10403
+ this.rules[60].opcodes[4] = {
10404
+ type: 1,
10405
+ children: [5, 6]
10406
+ }; // ALT
10407
+ this.rules[60].opcodes[5] = {
10408
+ type: 4,
10409
+ index: 18
10410
+ }; // RNM(wildcard-selector)
10411
+ this.rules[60].opcodes[6] = {
10412
+ type: 4,
10413
+ index: 62
10414
+ }; // RNM(member-name-shorthand)
10415
+
10416
+ /* bracketed-selection */
10417
+ this.rules[61].opcodes = [];
10418
+ this.rules[61].opcodes[0] = {
10419
+ type: 2,
10420
+ children: [1, 2, 3, 4, 10, 11]
10421
+ }; // CAT
10422
+ this.rules[61].opcodes[1] = {
10423
+ type: 4,
10424
+ index: 80
10425
+ }; // RNM(left-bracket)
10426
+ this.rules[61].opcodes[2] = {
10427
+ type: 4,
10428
+ index: 3
10429
+ }; // RNM(S)
10430
+ this.rules[61].opcodes[3] = {
10431
+ type: 4,
10432
+ index: 5
10433
+ }; // RNM(selector)
10434
+ this.rules[61].opcodes[4] = {
10435
+ type: 3,
10436
+ min: 0,
10437
+ max: Infinity
10438
+ }; // REP
10439
+ this.rules[61].opcodes[5] = {
10440
+ type: 2,
10441
+ children: [6, 7, 8, 9]
10442
+ }; // CAT
10443
+ this.rules[61].opcodes[6] = {
10444
+ type: 4,
10445
+ index: 3
10446
+ }; // RNM(S)
10447
+ this.rules[61].opcodes[7] = {
10448
+ type: 4,
10449
+ index: 84
10450
+ }; // RNM(comma)
10451
+ this.rules[61].opcodes[8] = {
10452
+ type: 4,
10453
+ index: 3
10454
+ }; // RNM(S)
10455
+ this.rules[61].opcodes[9] = {
10456
+ type: 4,
10457
+ index: 5
10458
+ }; // RNM(selector)
10459
+ this.rules[61].opcodes[10] = {
10460
+ type: 4,
10461
+ index: 3
10462
+ }; // RNM(S)
10463
+ this.rules[61].opcodes[11] = {
10464
+ type: 4,
10465
+ index: 81
10466
+ }; // RNM(right-bracket)
7740
10467
 
7741
- /***/ }),
10468
+ /* member-name-shorthand */
10469
+ this.rules[62].opcodes = [];
10470
+ this.rules[62].opcodes[0] = {
10471
+ type: 2,
10472
+ children: [1, 2]
10473
+ }; // CAT
10474
+ this.rules[62].opcodes[1] = {
10475
+ type: 4,
10476
+ index: 63
10477
+ }; // RNM(name-first)
10478
+ this.rules[62].opcodes[2] = {
10479
+ type: 3,
10480
+ min: 0,
10481
+ max: Infinity
10482
+ }; // REP
10483
+ this.rules[62].opcodes[3] = {
10484
+ type: 4,
10485
+ index: 64
10486
+ }; // RNM(name-char)
7742
10487
 
7743
- /***/ 28052:
7744
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10488
+ /* name-first */
10489
+ this.rules[63].opcodes = [];
10490
+ this.rules[63].opcodes[0] = {
10491
+ type: 1,
10492
+ children: [1, 2, 3, 4]
10493
+ }; // ALT
10494
+ this.rules[63].opcodes[1] = {
10495
+ type: 4,
10496
+ index: 66
10497
+ }; // RNM(ALPHA)
10498
+ this.rules[63].opcodes[2] = {
10499
+ type: 7,
10500
+ string: [95]
10501
+ }; // TLS
10502
+ this.rules[63].opcodes[3] = {
10503
+ type: 5,
10504
+ min: 128,
10505
+ max: 55295
10506
+ }; // TRG
10507
+ this.rules[63].opcodes[4] = {
10508
+ type: 5,
10509
+ min: 57344,
10510
+ max: 1114111
10511
+ }; // TRG
7745
10512
 
7746
- __webpack_require__.r(__webpack_exports__);
7747
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7748
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
7749
- /* harmony export */ });
7750
- /* harmony import */ var _internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39088);
7751
- /* harmony import */ var _internal_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65722);
10513
+ /* name-char */
10514
+ this.rules[64].opcodes = [];
10515
+ this.rules[64].opcodes[0] = {
10516
+ type: 1,
10517
+ children: [1, 2]
10518
+ }; // ALT
10519
+ this.rules[64].opcodes[1] = {
10520
+ type: 4,
10521
+ index: 63
10522
+ }; // RNM(name-first)
10523
+ this.rules[64].opcodes[2] = {
10524
+ type: 4,
10525
+ index: 65
10526
+ }; // RNM(DIGIT)
7752
10527
 
10528
+ /* DIGIT */
10529
+ this.rules[65].opcodes = [];
10530
+ this.rules[65].opcodes[0] = {
10531
+ type: 5,
10532
+ min: 48,
10533
+ max: 57
10534
+ }; // TRG
7753
10535
 
10536
+ /* ALPHA */
10537
+ this.rules[66].opcodes = [];
10538
+ this.rules[66].opcodes[0] = {
10539
+ type: 1,
10540
+ children: [1, 2]
10541
+ }; // ALT
10542
+ this.rules[66].opcodes[1] = {
10543
+ type: 5,
10544
+ min: 65,
10545
+ max: 90
10546
+ }; // TRG
10547
+ this.rules[66].opcodes[2] = {
10548
+ type: 5,
10549
+ min: 97,
10550
+ max: 122
10551
+ }; // TRG
7754
10552
 
7755
- /**
7756
- * Creates a new object with the own properties of the two provided objects. If
7757
- * a key exists in both objects, the provided function is applied to the key
7758
- * and the values associated with the key in each object, with the result being
7759
- * used as the value associated with the key in the returned object.
7760
- *
7761
- * @func
7762
- * @memberOf R
7763
- * @since v0.19.0
7764
- * @category Object
7765
- * @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}
7766
- * @param {Function} fn
7767
- * @param {Object} l
7768
- * @param {Object} r
7769
- * @return {Object}
7770
- * @see R.mergeDeepWithKey, R.mergeWith
7771
- * @example
7772
- *
7773
- * let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r
7774
- * R.mergeWithKey(concatValues,
7775
- * { a: true, thing: 'foo', values: [10, 20] },
7776
- * { b: true, thing: 'bar', values: [15, 35] });
7777
- * //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }
7778
- * @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }
7779
- */
7780
- var mergeWithKey = /*#__PURE__*/(0,_internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function mergeWithKey(fn, l, r) {
7781
- var result = {};
7782
- var k;
7783
- l = l || {};
7784
- r = r || {};
7785
- for (k in l) {
7786
- if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, l)) {
7787
- result[k] = (0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) ? fn(k, l[k], r[k]) : l[k];
7788
- }
7789
- }
7790
- for (k in r) {
7791
- if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) && !(0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, result)) {
7792
- result[k] = r[k];
7793
- }
7794
- }
7795
- return result;
7796
- });
7797
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mergeWithKey);
10553
+ /* descendant-segment */
10554
+ this.rules[67].opcodes = [];
10555
+ this.rules[67].opcodes[0] = {
10556
+ type: 2,
10557
+ children: [1, 2]
10558
+ }; // CAT
10559
+ this.rules[67].opcodes[1] = {
10560
+ type: 4,
10561
+ index: 79
10562
+ }; // RNM(double-dot-prefix)
10563
+ this.rules[67].opcodes[2] = {
10564
+ type: 1,
10565
+ children: [3, 4, 5]
10566
+ }; // ALT
10567
+ this.rules[67].opcodes[3] = {
10568
+ type: 4,
10569
+ index: 61
10570
+ }; // RNM(bracketed-selection)
10571
+ this.rules[67].opcodes[4] = {
10572
+ type: 4,
10573
+ index: 18
10574
+ }; // RNM(wildcard-selector)
10575
+ this.rules[67].opcodes[5] = {
10576
+ type: 4,
10577
+ index: 62
10578
+ }; // RNM(member-name-shorthand)
7798
10579
 
7799
- /***/ }),
10580
+ /* normalized-path */
10581
+ this.rules[68].opcodes = [];
10582
+ this.rules[68].opcodes[0] = {
10583
+ type: 2,
10584
+ children: [1, 2]
10585
+ }; // CAT
10586
+ this.rules[68].opcodes[1] = {
10587
+ type: 4,
10588
+ index: 4
10589
+ }; // RNM(root-identifier)
10590
+ this.rules[68].opcodes[2] = {
10591
+ type: 3,
10592
+ min: 0,
10593
+ max: Infinity
10594
+ }; // REP
10595
+ this.rules[68].opcodes[3] = {
10596
+ type: 4,
10597
+ index: 69
10598
+ }; // RNM(normal-index-segment)
7800
10599
 
7801
- /***/ 28121:
7802
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10600
+ /* normal-index-segment */
10601
+ this.rules[69].opcodes = [];
10602
+ this.rules[69].opcodes[0] = {
10603
+ type: 2,
10604
+ children: [1, 2, 3]
10605
+ }; // CAT
10606
+ this.rules[69].opcodes[1] = {
10607
+ type: 4,
10608
+ index: 80
10609
+ }; // RNM(left-bracket)
10610
+ this.rules[69].opcodes[2] = {
10611
+ type: 4,
10612
+ index: 70
10613
+ }; // RNM(normal-selector)
10614
+ this.rules[69].opcodes[3] = {
10615
+ type: 4,
10616
+ index: 81
10617
+ }; // RNM(right-bracket)
7803
10618
 
7804
- __webpack_require__.r(__webpack_exports__);
7805
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7806
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
7807
- /* harmony export */ });
7808
- /* harmony import */ var _Element_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(60728);
10619
+ /* normal-selector */
10620
+ this.rules[70].opcodes = [];
10621
+ this.rules[70].opcodes[0] = {
10622
+ type: 1,
10623
+ children: [1, 2]
10624
+ }; // ALT
10625
+ this.rules[70].opcodes[1] = {
10626
+ type: 4,
10627
+ index: 71
10628
+ }; // RNM(normal-name-selector)
10629
+ this.rules[70].opcodes[2] = {
10630
+ type: 4,
10631
+ index: 77
10632
+ }; // RNM(normal-index-selector)
7809
10633
 
7810
- /**
7811
- * StringElement represents a string value in ApiDOM.
7812
- * @public
7813
- */
7814
- class StringElement extends _Element_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
7815
- constructor(content, meta, attributes) {
7816
- super(content, meta, attributes);
7817
- this.element = 'string';
7818
- }
7819
- primitive() {
7820
- return 'string';
7821
- }
10634
+ /* normal-name-selector */
10635
+ this.rules[71].opcodes = [];
10636
+ this.rules[71].opcodes[0] = {
10637
+ type: 2,
10638
+ children: [1, 2, 4]
10639
+ }; // CAT
10640
+ this.rules[71].opcodes[1] = {
10641
+ type: 4,
10642
+ index: 87
10643
+ }; // RNM(squote)
10644
+ this.rules[71].opcodes[2] = {
10645
+ type: 3,
10646
+ min: 0,
10647
+ max: Infinity
10648
+ }; // REP
10649
+ this.rules[71].opcodes[3] = {
10650
+ type: 4,
10651
+ index: 72
10652
+ }; // RNM(normal-single-quoted)
10653
+ this.rules[71].opcodes[4] = {
10654
+ type: 4,
10655
+ index: 87
10656
+ }; // RNM(squote)
7822
10657
 
7823
- /**
7824
- * The length of the string.
7825
- */
7826
- get length() {
7827
- return this.content?.length ?? 0;
7828
- }
7829
- }
7830
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StringElement);
10658
+ /* normal-single-quoted */
10659
+ this.rules[72].opcodes = [];
10660
+ this.rules[72].opcodes[0] = {
10661
+ type: 1,
10662
+ children: [1, 2]
10663
+ }; // ALT
10664
+ this.rules[72].opcodes[1] = {
10665
+ type: 4,
10666
+ index: 73
10667
+ }; // RNM(normal-unescaped)
10668
+ this.rules[72].opcodes[2] = {
10669
+ type: 2,
10670
+ children: [3, 4]
10671
+ }; // CAT
10672
+ this.rules[72].opcodes[3] = {
10673
+ type: 4,
10674
+ index: 10
10675
+ }; // RNM(ESC)
10676
+ this.rules[72].opcodes[4] = {
10677
+ type: 4,
10678
+ index: 74
10679
+ }; // RNM(normal-escapable)
7831
10680
 
7832
- /***/ }),
10681
+ /* normal-unescaped */
10682
+ this.rules[73].opcodes = [];
10683
+ this.rules[73].opcodes[0] = {
10684
+ type: 1,
10685
+ children: [1, 2, 3, 4]
10686
+ }; // ALT
10687
+ this.rules[73].opcodes[1] = {
10688
+ type: 5,
10689
+ min: 32,
10690
+ max: 38
10691
+ }; // TRG
10692
+ this.rules[73].opcodes[2] = {
10693
+ type: 5,
10694
+ min: 40,
10695
+ max: 91
10696
+ }; // TRG
10697
+ this.rules[73].opcodes[3] = {
10698
+ type: 5,
10699
+ min: 93,
10700
+ max: 55295
10701
+ }; // TRG
10702
+ this.rules[73].opcodes[4] = {
10703
+ type: 5,
10704
+ min: 57344,
10705
+ max: 1114111
10706
+ }; // TRG
7833
10707
 
7834
- /***/ 28152:
7835
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10708
+ /* normal-escapable */
10709
+ this.rules[74].opcodes = [];
10710
+ this.rules[74].opcodes[0] = {
10711
+ type: 1,
10712
+ children: [1, 2, 3, 4, 5, 6, 7, 8]
10713
+ }; // ALT
10714
+ this.rules[74].opcodes[1] = {
10715
+ type: 6,
10716
+ string: [98]
10717
+ }; // TBS
10718
+ this.rules[74].opcodes[2] = {
10719
+ type: 6,
10720
+ string: [102]
10721
+ }; // TBS
10722
+ this.rules[74].opcodes[3] = {
10723
+ type: 6,
10724
+ string: [110]
10725
+ }; // TBS
10726
+ this.rules[74].opcodes[4] = {
10727
+ type: 6,
10728
+ string: [114]
10729
+ }; // TBS
10730
+ this.rules[74].opcodes[5] = {
10731
+ type: 6,
10732
+ string: [116]
10733
+ }; // TBS
10734
+ this.rules[74].opcodes[6] = {
10735
+ type: 7,
10736
+ string: [39]
10737
+ }; // TLS
10738
+ this.rules[74].opcodes[7] = {
10739
+ type: 7,
10740
+ string: [92]
10741
+ }; // TLS
10742
+ this.rules[74].opcodes[8] = {
10743
+ type: 2,
10744
+ children: [9, 10]
10745
+ }; // CAT
10746
+ this.rules[74].opcodes[9] = {
10747
+ type: 6,
10748
+ string: [117]
10749
+ }; // TBS
10750
+ this.rules[74].opcodes[10] = {
10751
+ type: 4,
10752
+ index: 75
10753
+ }; // RNM(normal-hexchar)
7836
10754
 
7837
- __webpack_require__.r(__webpack_exports__);
7838
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7839
- /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
7840
- /* harmony export */ });
7841
- /* harmony import */ var _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3664);
10755
+ /* normal-hexchar */
10756
+ this.rules[75].opcodes = [];
10757
+ this.rules[75].opcodes[0] = {
10758
+ type: 2,
10759
+ children: [1, 2, 3]
10760
+ }; // CAT
10761
+ this.rules[75].opcodes[1] = {
10762
+ type: 7,
10763
+ string: [48]
10764
+ }; // TLS
10765
+ this.rules[75].opcodes[2] = {
10766
+ type: 7,
10767
+ string: [48]
10768
+ }; // TLS
10769
+ this.rules[75].opcodes[3] = {
10770
+ type: 1,
10771
+ children: [4, 7, 10, 13]
10772
+ }; // ALT
10773
+ this.rules[75].opcodes[4] = {
10774
+ type: 2,
10775
+ children: [5, 6]
10776
+ }; // CAT
10777
+ this.rules[75].opcodes[5] = {
10778
+ type: 7,
10779
+ string: [48]
10780
+ }; // TLS
10781
+ this.rules[75].opcodes[6] = {
10782
+ type: 5,
10783
+ min: 48,
10784
+ max: 55
10785
+ }; // TRG
10786
+ this.rules[75].opcodes[7] = {
10787
+ type: 2,
10788
+ children: [8, 9]
10789
+ }; // CAT
10790
+ this.rules[75].opcodes[8] = {
10791
+ type: 7,
10792
+ string: [48]
10793
+ }; // TLS
10794
+ this.rules[75].opcodes[9] = {
10795
+ type: 6,
10796
+ string: [98]
10797
+ }; // TBS
10798
+ this.rules[75].opcodes[10] = {
10799
+ type: 2,
10800
+ children: [11, 12]
10801
+ }; // CAT
10802
+ this.rules[75].opcodes[11] = {
10803
+ type: 7,
10804
+ string: [48]
10805
+ }; // TLS
10806
+ this.rules[75].opcodes[12] = {
10807
+ type: 5,
10808
+ min: 101,
10809
+ max: 102
10810
+ }; // TRG
10811
+ this.rules[75].opcodes[13] = {
10812
+ type: 2,
10813
+ children: [14, 15]
10814
+ }; // CAT
10815
+ this.rules[75].opcodes[14] = {
10816
+ type: 7,
10817
+ string: [49]
10818
+ }; // TLS
10819
+ this.rules[75].opcodes[15] = {
10820
+ type: 4,
10821
+ index: 76
10822
+ }; // RNM(normal-HEXDIG)
7842
10823
 
7843
- /**
7844
- * @public
7845
- */
7846
- class $RefVisitor extends _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
7847
- StringElement(path) {
7848
- super.enter(path);
7849
- this.element.classes.push('reference-value');
7850
- }
7851
- }
7852
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ($RefVisitor);
10824
+ /* normal-HEXDIG */
10825
+ this.rules[76].opcodes = [];
10826
+ this.rules[76].opcodes[0] = {
10827
+ type: 1,
10828
+ children: [1, 2]
10829
+ }; // ALT
10830
+ this.rules[76].opcodes[1] = {
10831
+ type: 4,
10832
+ index: 65
10833
+ }; // RNM(DIGIT)
10834
+ this.rules[76].opcodes[2] = {
10835
+ type: 5,
10836
+ min: 97,
10837
+ max: 102
10838
+ }; // TRG
7853
10839
 
7854
- /***/ }),
10840
+ /* normal-index-selector */
10841
+ this.rules[77].opcodes = [];
10842
+ this.rules[77].opcodes[0] = {
10843
+ type: 1,
10844
+ children: [1, 2]
10845
+ }; // ALT
10846
+ this.rules[77].opcodes[1] = {
10847
+ type: 7,
10848
+ string: [48]
10849
+ }; // TLS
10850
+ this.rules[77].opcodes[2] = {
10851
+ type: 2,
10852
+ children: [3, 4]
10853
+ }; // CAT
10854
+ this.rules[77].opcodes[3] = {
10855
+ type: 4,
10856
+ index: 21
10857
+ }; // RNM(DIGIT1)
10858
+ this.rules[77].opcodes[4] = {
10859
+ type: 3,
10860
+ min: 0,
10861
+ max: Infinity
10862
+ }; // REP
10863
+ this.rules[77].opcodes[5] = {
10864
+ type: 4,
10865
+ index: 65
10866
+ }; // RNM(DIGIT)
7855
10867
 
7856
- /***/ 28165:
7857
- /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
10868
+ /* dot-prefix */
10869
+ this.rules[78].opcodes = [];
10870
+ this.rules[78].opcodes[0] = {
10871
+ type: 7,
10872
+ string: [46]
10873
+ }; // TLS
7858
10874
 
7859
- __webpack_require__.r(__webpack_exports__);
7860
- /* harmony export */ __webpack_require__.d(__webpack_exports__, {
7861
- /* harmony export */ detect: () => (/* binding */ detect),
7862
- /* harmony export */ detectionRegExp: () => (/* binding */ detectionRegExp),
7863
- /* harmony export */ lexicalAnalysis: () => (/* reexport safe */ _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]),
7864
- /* harmony export */ mediaTypes: () => (/* reexport safe */ _media_types_mjs__WEBPACK_IMPORTED_MODULE_6__["default"]),
7865
- /* harmony export */ namespace: () => (/* binding */ namespace),
7866
- /* harmony export */ parse: () => (/* binding */ parse),
7867
- /* harmony export */ syntacticAnalysis: () => (/* reexport safe */ _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_5__["default"])
7868
- /* harmony export */ });
7869
- /* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55156);
7870
- /* harmony import */ var _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16126);
7871
- /* harmony import */ var _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38600);
7872
- /* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34885);
7873
- /* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19305);
7874
- /* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13615);
7875
- /* harmony import */ var _media_types_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49968);
10875
+ /* double-dot-prefix */
10876
+ this.rules[79].opcodes = [];
10877
+ this.rules[79].opcodes[0] = {
10878
+ type: 7,
10879
+ string: [46, 46]
10880
+ }; // TLS
7876
10881
 
10882
+ /* left-bracket */
10883
+ this.rules[80].opcodes = [];
10884
+ this.rules[80].opcodes[0] = {
10885
+ type: 7,
10886
+ string: [91]
10887
+ }; // TLS
7877
10888
 
10889
+ /* right-bracket */
10890
+ this.rules[81].opcodes = [];
10891
+ this.rules[81].opcodes[0] = {
10892
+ type: 7,
10893
+ string: [93]
10894
+ }; // TLS
7878
10895
 
10896
+ /* left-paren */
10897
+ this.rules[82].opcodes = [];
10898
+ this.rules[82].opcodes[0] = {
10899
+ type: 7,
10900
+ string: [40]
10901
+ }; // TLS
7879
10902
 
10903
+ /* right-paren */
10904
+ this.rules[83].opcodes = [];
10905
+ this.rules[83].opcodes[0] = {
10906
+ type: 7,
10907
+ string: [41]
10908
+ }; // TLS
7880
10909
 
7881
- /**
7882
- * @public
7883
- */
10910
+ /* comma */
10911
+ this.rules[84].opcodes = [];
10912
+ this.rules[84].opcodes[0] = {
10913
+ type: 7,
10914
+ string: [44]
10915
+ }; // TLS
7884
10916
 
7885
- /**
7886
- * @public
7887
- */
7888
- const namespace = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__["default"]();
10917
+ /* colon */
10918
+ this.rules[85].opcodes = [];
10919
+ this.rules[85].opcodes[0] = {
10920
+ type: 7,
10921
+ string: [58]
10922
+ }; // TLS
7889
10923
 
7890
- /**
7891
- * @public
7892
- */
7893
- const detectionRegExp = _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.detectionRegExp;
10924
+ /* dquote */
10925
+ this.rules[86].opcodes = [];
10926
+ this.rules[86].opcodes[0] = {
10927
+ type: 6,
10928
+ string: [34]
10929
+ }; // TBS
7894
10930
 
7895
- /**
7896
- * @public
7897
- */
10931
+ /* squote */
10932
+ this.rules[87].opcodes = [];
10933
+ this.rules[87].opcodes[0] = {
10934
+ type: 6,
10935
+ string: [39]
10936
+ }; // TBS
7898
10937
 
7899
- /**
7900
- * @public
7901
- */
7902
- const detect = async (source, {
7903
- strict = false
7904
- } = {}) => {
7905
- if (strict) {
7906
- return _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__.detect(source);
7907
- }
7908
- return _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.detect(source);
7909
- };
10938
+ /* questionmark */
10939
+ this.rules[88].opcodes = [];
10940
+ this.rules[88].opcodes[0] = {
10941
+ type: 7,
10942
+ string: [63]
10943
+ }; // TLS
7910
10944
 
7911
- /**
7912
- * @public
7913
- */
10945
+ /* disjunction */
10946
+ this.rules[89].opcodes = [];
10947
+ this.rules[89].opcodes[0] = {
10948
+ type: 7,
10949
+ string: [124, 124]
10950
+ }; // TLS
7914
10951
 
7915
- /**
7916
- * @public
7917
- */
10952
+ /* conjunction */
10953
+ this.rules[90].opcodes = [];
10954
+ this.rules[90].opcodes[0] = {
10955
+ type: 7,
10956
+ string: [38, 38]
10957
+ }; // TLS
7918
10958
 
7919
- /**
7920
- * @public
7921
- */
7922
- const parse = async (source, {
7923
- sourceMap = false,
7924
- strict = false
7925
- } = {}) => {
7926
- if (strict && sourceMap) {
7927
- throw new _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('Cannot use sourceMap with strict parsing. Strict parsing does not support source maps.');
7928
- }
7929
- if (strict) {
7930
- return _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__.parse(source);
7931
- }
7932
- return _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.parse(source, {
7933
- sourceMap
7934
- });
7935
- };
10959
+ // The `toString()` function will display the original grammar file(s) that produced these opcodes.
10960
+ this.toString = function toString() {
10961
+ let str = "";
10962
+ str += "; JSONPath: Query Expressions for JSON\n";
10963
+ str += "; https://www.rfc-editor.org/rfc/rfc9535\n";
10964
+ str += "\n";
10965
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1\n";
10966
+ str += "jsonpath-query = root-identifier segments\n";
10967
+ str += "segments = *(S segment)\n";
10968
+ str += "\n";
10969
+ str += "B = %x20 / ; Space\n";
10970
+ str += " %x09 / ; Horizontal tab\n";
10971
+ str += " %x0A / ; Line feed or New line\n";
10972
+ str += " %x0D ; Carriage return\n";
10973
+ str += "S = *B ; optional blank space\n";
10974
+ str += "\n";
10975
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1\n";
10976
+ str += "root-identifier = \"$\"\n";
10977
+ str += "\n";
10978
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3\n";
10979
+ str += "selector = name-selector /\n";
10980
+ str += " wildcard-selector /\n";
10981
+ str += " slice-selector /\n";
10982
+ str += " index-selector /\n";
10983
+ str += " filter-selector\n";
10984
+ str += "\n";
10985
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1\n";
10986
+ str += "name-selector = string-literal\n";
10987
+ str += "\n";
10988
+ str += "string-literal = dquote *double-quoted dquote / ; \"string\", MODIFICATION: surrogate text rule used\n";
10989
+ str += " squote *single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n";
10990
+ str += "\n";
10991
+ str += "double-quoted = unescaped /\n";
10992
+ str += " %x27 / ; '\n";
10993
+ str += " ESC %x22 / ; \\\"\n";
10994
+ str += " ESC escapable\n";
10995
+ str += "\n";
10996
+ str += "single-quoted = unescaped /\n";
10997
+ str += " %x22 / ; \"\n";
10998
+ str += " ESC %x27 / ; \\'\n";
10999
+ str += " ESC escapable\n";
11000
+ str += "\n";
11001
+ str += "ESC = %x5C ; \\ backslash\n";
11002
+ str += "\n";
11003
+ str += "unescaped = %x20-21 / ; see RFC 8259\n";
11004
+ str += " ; omit 0x22 \"\n";
11005
+ str += " %x23-26 /\n";
11006
+ str += " ; omit 0x27 '\n";
11007
+ str += " %x28-5B /\n";
11008
+ str += " ; omit 0x5C \\\n";
11009
+ str += " %x5D-D7FF /\n";
11010
+ str += " ; skip surrogate code points\n";
11011
+ str += " %xE000-10FFFF\n";
11012
+ str += "\n";
11013
+ str += "escapable = %x62 / ; b BS backspace U+0008\n";
11014
+ str += " %x66 / ; f FF form feed U+000C\n";
11015
+ str += " %x6E / ; n LF line feed U+000A\n";
11016
+ str += " %x72 / ; r CR carriage return U+000D\n";
11017
+ str += " %x74 / ; t HT horizontal tab U+0009\n";
11018
+ str += " \"/\" / ; / slash (solidus) U+002F\n";
11019
+ str += " \"\\\" / ; \\ backslash (reverse solidus) U+005C\n";
11020
+ str += " (%x75 hexchar) ; uXXXX U+XXXX\n";
11021
+ str += "\n";
11022
+ str += "hexchar = non-surrogate /\n";
11023
+ str += " (high-surrogate \"\\\" %x75 low-surrogate)\n";
11024
+ str += "non-surrogate = ((DIGIT / \"A\"/\"B\"/\"C\" / \"E\"/\"F\") 3HEXDIG) /\n";
11025
+ str += " (\"D\" %x30-37 2HEXDIG )\n";
11026
+ str += "high-surrogate = \"D\" (\"8\"/\"9\"/\"A\"/\"B\") 2HEXDIG\n";
11027
+ str += "low-surrogate = \"D\" (\"C\"/\"D\"/\"E\"/\"F\") 2HEXDIG\n";
11028
+ str += "\n";
11029
+ str += "HEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\n";
11030
+ str += "\n";
11031
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1\n";
11032
+ str += "wildcard-selector = \"*\"\n";
11033
+ str += "\n";
11034
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1\n";
11035
+ str += "index-selector = int ; decimal integer\n";
11036
+ str += "\n";
11037
+ str += "int = \"0\" /\n";
11038
+ str += " ([\"-\"] DIGIT1 *DIGIT) ; - optional\n";
11039
+ str += "DIGIT1 = %x31-39 ; 1-9 non-zero digit\n";
11040
+ str += "\n";
11041
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1\n";
11042
+ str += "slice-selector = [start S] colon S [end S] [colon [S step ]] ; MODIFICATION: surrogate text rule used\n";
11043
+ str += "\n";
11044
+ str += "start = int ; included in selection\n";
11045
+ str += "end = int ; not included in selection\n";
11046
+ str += "step = int ; default: 1\n";
11047
+ str += "\n";
11048
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1\n";
11049
+ str += "filter-selector = questionmark S logical-expr ; MODIFICATION: surrogate text rule used\n";
11050
+ str += "\n";
11051
+ str += "logical-expr = logical-or-expr\n";
11052
+ str += "logical-or-expr = logical-and-expr *(S disjunction S logical-and-expr) ; MODIFICATION: surrogate text rule used\n";
11053
+ str += " ; disjunction\n";
11054
+ str += " ; binds less tightly than conjunction\n";
11055
+ str += "logical-and-expr = basic-expr *(S conjunction S basic-expr) ; MODIFICATION: surrogate text rule used\n";
11056
+ str += " ; conjunction\n";
11057
+ str += " ; binds more tightly than disjunction\n";
11058
+ str += "\n";
11059
+ str += "basic-expr = paren-expr /\n";
11060
+ str += " comparison-expr /\n";
11061
+ str += " test-expr\n";
11062
+ str += "\n";
11063
+ str += "paren-expr = [logical-not-op S] left-paren S logical-expr S right-paren ; MODIFICATION: surrogate text rule used\n";
11064
+ str += " ; parenthesized expression\n";
11065
+ str += "logical-not-op = \"!\" ; logical NOT operator\n";
11066
+ str += "\n";
11067
+ str += "test-expr = [logical-not-op S]\n";
11068
+ str += " (filter-query / ; existence/non-existence\n";
11069
+ str += " function-expr) ; LogicalType or NodesType\n";
11070
+ str += "filter-query = rel-query / jsonpath-query\n";
11071
+ str += "rel-query = current-node-identifier segments\n";
11072
+ str += "current-node-identifier = \"@\"\n";
11073
+ str += "\n";
11074
+ str += "comparison-expr = comparable S comparison-op S comparable\n";
11075
+ str += "literal = number / string-literal /\n";
11076
+ str += " true / false / null\n";
11077
+ str += "comparable = singular-query / ; singular query value\n";
11078
+ str += " function-expr / ; ValueType\n";
11079
+ str += " literal\n";
11080
+ str += " ; MODIFICATION: https://www.rfc-editor.org/errata/eid8352\n";
11081
+ str += "comparison-op = \"==\" / \"!=\" /\n";
11082
+ str += " \"<=\" / \">=\" /\n";
11083
+ str += " \"<\" / \">\"\n";
11084
+ str += "\n";
11085
+ str += "singular-query = rel-singular-query / abs-singular-query\n";
11086
+ str += "rel-singular-query = current-node-identifier singular-query-segments\n";
11087
+ str += "abs-singular-query = root-identifier singular-query-segments\n";
11088
+ str += "singular-query-segments = *(S (name-segment / index-segment))\n";
11089
+ str += "name-segment = (left-bracket name-selector right-bracket) / ; MODIFICATION: surrogate text rule used\n";
11090
+ str += " (dot-prefix member-name-shorthand) ; MODIFICATION: surrogate text rule used\n";
11091
+ str += "index-segment = left-bracket index-selector right-bracket ; MODIFICATION: surrogate text rule used\n";
11092
+ str += "\n";
11093
+ str += "number = (int / \"-0\") [ frac ] [ exp ] ; decimal number\n";
11094
+ str += "frac = \".\" 1*DIGIT ; decimal fraction\n";
11095
+ str += "exp = \"e\" [ \"-\" / \"+\" ] 1*DIGIT ; decimal exponent\n";
11096
+ str += "true = %x74.72.75.65 ; true\n";
11097
+ str += "false = %x66.61.6c.73.65 ; false\n";
11098
+ str += "null = %x6e.75.6c.6c ; null\n";
11099
+ str += "\n";
11100
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.4\n";
11101
+ str += "function-name = function-name-first *function-name-char\n";
11102
+ str += "function-name-first = LCALPHA\n";
11103
+ str += "function-name-char = function-name-first / \"_\" / DIGIT\n";
11104
+ str += "LCALPHA = %x61-7A ; \"a\"..\"z\"\n";
11105
+ str += "\n";
11106
+ str += "function-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used\n";
11107
+ str += " *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used\n";
11108
+ str += "function-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n";
11109
+ str += " filter-query / ; (includes singular-query)\n";
11110
+ str += " function-expr /\n";
11111
+ str += " literal\n";
11112
+ str += "\n";
11113
+ str += "\n";
11114
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.5\n";
11115
+ str += "segment = child-segment / descendant-segment\n";
11116
+ str += "\n";
11117
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1\n";
11118
+ str += "child-segment = bracketed-selection /\n";
11119
+ str += " (dot-prefix ; MODIFICATION: surrogate text rule used\n";
11120
+ str += " (wildcard-selector /\n";
11121
+ str += " member-name-shorthand))\n";
11122
+ str += "\n";
11123
+ str += "bracketed-selection = left-bracket S selector *(S comma S selector) S right-bracket\n";
11124
+ str += " ; MODIFICATION: surrogate text rule used\n";
11125
+ str += "\n";
11126
+ str += "member-name-shorthand = name-first *name-char\n";
11127
+ str += "name-first = ALPHA /\n";
11128
+ str += " \"_\" /\n";
11129
+ str += " %x80-D7FF /\n";
11130
+ str += " ; skip surrogate code points\n";
11131
+ str += " %xE000-10FFFF\n";
11132
+ str += "name-char = name-first / DIGIT\n";
11133
+ str += "\n";
11134
+ str += "DIGIT = %x30-39 ; 0-9\n";
11135
+ str += "ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n";
11136
+ str += "\n";
11137
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1\n";
11138
+ str += "descendant-segment = double-dot-prefix (bracketed-selection / ; MODIFICATION: surrogate text rule used\n";
11139
+ str += " wildcard-selector /\n";
11140
+ str += " member-name-shorthand)\n";
11141
+ str += "\n";
11142
+ str += "; https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths\n";
11143
+ str += "normalized-path = root-identifier *(normal-index-segment)\n";
11144
+ str += "normal-index-segment = left-bracket normal-selector right-bracket ; MODIFICATION: surrogate text rule used\n";
11145
+ str += "normal-selector = normal-name-selector / normal-index-selector\n";
11146
+ str += "normal-name-selector = squote *normal-single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n";
11147
+ str += "normal-single-quoted = normal-unescaped /\n";
11148
+ str += " ESC normal-escapable\n";
11149
+ str += "normal-unescaped = ; omit %x0-1F control codes\n";
11150
+ str += " %x20-26 /\n";
11151
+ str += " ; omit 0x27 '\n";
11152
+ str += " %x28-5B /\n";
11153
+ str += " ; omit 0x5C \\\n";
11154
+ str += " %x5D-D7FF /\n";
11155
+ str += " ; skip surrogate code points\n";
11156
+ str += " %xE000-10FFFF\n";
11157
+ str += "\n";
11158
+ str += "normal-escapable = %x62 / ; b BS backspace U+0008\n";
11159
+ str += " %x66 / ; f FF form feed U+000C\n";
11160
+ str += " %x6E / ; n LF line feed U+000A\n";
11161
+ str += " %x72 / ; r CR carriage return U+000D\n";
11162
+ str += " %x74 / ; t HT horizontal tab U+0009\n";
11163
+ str += " \"'\" / ; ' apostrophe U+0027\n";
11164
+ str += " \"\\\" / ; \\ backslash (reverse solidus) U+005C\n";
11165
+ str += " (%x75 normal-hexchar)\n";
11166
+ str += " ; certain values u00xx U+00XX\n";
11167
+ str += "normal-hexchar = \"0\" \"0\"\n";
11168
+ str += " (\n";
11169
+ str += " (\"0\" %x30-37) / ; \"00\"-\"07\"\n";
11170
+ str += " ; omit U+0008-U+000A BS HT LF\n";
11171
+ str += " (\"0\" %x62) / ; \"0b\"\n";
11172
+ str += " ; omit U+000C-U+000D FF CR\n";
11173
+ str += " (\"0\" %x65-66) / ; \"0e\"-\"0f\"\n";
11174
+ str += " (\"1\" normal-HEXDIG)\n";
11175
+ str += " )\n";
11176
+ str += "normal-HEXDIG = DIGIT / %x61-66 ; \"0\"-\"9\", \"a\"-\"f\"\n";
11177
+ str += "normal-index-selector = \"0\" / (DIGIT1 *DIGIT)\n";
11178
+ str += " ; non-negative decimal integer\n";
11179
+ str += "\n";
11180
+ str += "; Surrogate named rules\n";
11181
+ str += "dot-prefix = \".\"\n";
11182
+ str += "double-dot-prefix = \"..\"\n";
11183
+ str += "left-bracket = \"[\"\n";
11184
+ str += "right-bracket = \"]\"\n";
11185
+ str += "left-paren = \"(\"\n";
11186
+ str += "right-paren = \")\"\n";
11187
+ str += "comma = \",\"\n";
11188
+ str += "colon = \":\"\n";
11189
+ str += "dquote = %x22 ; \"\n";
11190
+ str += "squote = %x27 ; '\n";
11191
+ str += "questionmark = \"?\"\n";
11192
+ str += "disjunction = \"||\"\n";
11193
+ str += "conjunction = \"&&\"\n";
11194
+ return str;
11195
+ };
11196
+ }
7936
11197
 
7937
11198
  /***/ }),
7938
11199
 
@@ -11412,6 +14673,22 @@ function _isPlaceholder(a) {
11412
14673
 
11413
14674
  /***/ }),
11414
14675
 
14676
+ /***/ 41352:
14677
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
14678
+
14679
+ __webpack_require__.r(__webpack_exports__);
14680
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
14681
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
14682
+ /* harmony export */ });
14683
+ class Expectations extends Array {
14684
+ toString() {
14685
+ return this.map(c => `"${String(c)}"`).join(', ');
14686
+ }
14687
+ }
14688
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Expectations);
14689
+
14690
+ /***/ }),
14691
+
11415
14692
  /***/ 41407:
11416
14693
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
11417
14694
 
@@ -11620,7 +14897,7 @@ __webpack_require__.r(__webpack_exports__);
11620
14897
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
11621
14898
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
11622
14899
  /* harmony export */ });
11623
- /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12008);
14900
+ /* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
11624
14901
 
11625
14902
  class JSONPointerCompileError extends _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
11626
14903
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerCompileError);
@@ -13113,6 +16390,11 @@ __webpack_require__.r(__webpack_exports__);
13113
16390
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
13114
16391
  /* harmony export */ Path: () => (/* binding */ Path)
13115
16392
  /* harmony export */ });
16393
+ /* harmony import */ var _speclynx_apidom_json_pointer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(61198);
16394
+ /* harmony import */ var _swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84637);
16395
+
16396
+
16397
+
13116
16398
  /**
13117
16399
  * Possible return values from a visitor function.
13118
16400
  * @public
@@ -13264,6 +16546,43 @@ class Path {
13264
16546
  return keys;
13265
16547
  }
13266
16548
 
16549
+ /**
16550
+ * Format path as RFC 6901 JSON Pointer or RFC 9535 Normalized JSONPath.
16551
+ *
16552
+ * @param pathFormat - Output format: "jsonpointer" (default) or "jsonpath"
16553
+ * @returns JSONPointer string like "/paths/~1pets/get/responses/200"
16554
+ * or Normalized JSONPath like "$['paths']['/pets']['get']['responses']['200']"
16555
+ *
16556
+ * @example
16557
+ * // JSON Pointer examples:
16558
+ * path.formatPath(); // "" (root)
16559
+ * path.formatPath(); // "/info"
16560
+ * path.formatPath(); // "/paths/~1pets/get"
16561
+ * path.formatPath(); // "/paths/~1users~1{id}/parameters/0"
16562
+ *
16563
+ * @example
16564
+ * // JSONPath examples:
16565
+ * path.formatPath('jsonpath'); // "$" (root)
16566
+ * path.formatPath('jsonpath'); // "$['info']"
16567
+ * path.formatPath('jsonpath'); // "$['paths']['/pets']['get']"
16568
+ * path.formatPath('jsonpath'); // "$['paths']['/users/{id}']['parameters'][0]"
16569
+ */
16570
+ formatPath(pathFormat = 'jsonpointer') {
16571
+ const parts = this.getPathKeys();
16572
+
16573
+ // Root node
16574
+ if (parts.length === 0) {
16575
+ return pathFormat === 'jsonpath' ? '$' : '';
16576
+ }
16577
+ if (pathFormat === 'jsonpath') {
16578
+ // RFC 9535 Normalized JSONPath
16579
+ return (0,_swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_1__.compile)(parts);
16580
+ }
16581
+
16582
+ // RFC 6901 JSON Pointer
16583
+ return (0,_speclynx_apidom_json_pointer__WEBPACK_IMPORTED_MODULE_0__.compile)(parts);
16584
+ }
16585
+
13267
16586
  /**
13268
16587
  * Find the closest ancestor path that satisfies the predicate.
13269
16588
  */
@@ -16215,6 +19534,51 @@ var init = /*#__PURE__*/(0,_slice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0,
16215
19534
 
16216
19535
  /***/ }),
16217
19536
 
19537
+ /***/ 54848:
19538
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
19539
+
19540
+ __webpack_require__.r(__webpack_exports__);
19541
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
19542
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
19543
+ /* harmony export */ });
19544
+ /* harmony import */ var _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23449);
19545
+
19546
+ class CSTOptimizedTranslator extends _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
19547
+ collapsibleTypes = ['single-quoted', 'double-quoted', 'normal-single-quoted'];
19548
+ droppableTypes = ['text', 'segments', 'singular-query-segments'];
19549
+ constructor({
19550
+ collapsibleTypes,
19551
+ droppableTypes
19552
+ } = {}) {
19553
+ super();
19554
+ if (Array.isArray(collapsibleTypes)) {
19555
+ this.collapsibleTypes = collapsibleTypes;
19556
+ }
19557
+ if (Array.isArray(droppableTypes)) {
19558
+ this.droppableTypes = droppableTypes;
19559
+ }
19560
+ }
19561
+ getTree() {
19562
+ const options = {
19563
+ optimize: true,
19564
+ collapsibleTypes: this.collapsibleTypes,
19565
+ droppableTypes: this.droppableTypes
19566
+ };
19567
+ const data = {
19568
+ stack: [],
19569
+ root: null,
19570
+ options
19571
+ };
19572
+ this.translate(data);
19573
+ delete data.stack;
19574
+ delete data.options;
19575
+ return data;
19576
+ }
19577
+ }
19578
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CSTOptimizedTranslator);
19579
+
19580
+ /***/ }),
19581
+
16218
19582
  /***/ 54981:
16219
19583
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
16220
19584
 
@@ -18278,7 +21642,7 @@ __webpack_require__.r(__webpack_exports__);
18278
21642
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
18279
21643
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
18280
21644
  /* harmony export */ });
18281
- /* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12008);
21645
+ /* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
18282
21646
 
18283
21647
  class EvaluationRealm {
18284
21648
  name = '';
@@ -19166,7 +22530,7 @@ __webpack_require__.r(__webpack_exports__);
19166
22530
  /* harmony import */ var _evaluate_index_mjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(89274);
19167
22531
  /* harmony import */ var _evaluate_realms_EvaluationRealm_mjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(59408);
19168
22532
  /* harmony import */ var _evaluate_realms_compose_mjs__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(99799);
19169
- /* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(12008);
22533
+ /* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(89627);
19170
22534
  /* harmony import */ var _errors_JSONPointerParseError_mjs__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(26490);
19171
22535
  /* harmony import */ var _errors_JSONPointerCompileError_mjs__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(42144);
19172
22536
  /* harmony import */ var _errors_JSONPointerEvaluateError_mjs__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(924);
@@ -19466,6 +22830,20 @@ class ParameterVisitor extends BaseParameterVisitor {
19466
22830
 
19467
22831
  /***/ }),
19468
22832
 
22833
+ /***/ 62977:
22834
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
22835
+
22836
+ __webpack_require__.r(__webpack_exports__);
22837
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
22838
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
22839
+ /* harmony export */ });
22840
+ /* harmony import */ var _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84816);
22841
+
22842
+ class JSONPathCompileError extends _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
22843
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPathCompileError);
22844
+
22845
+ /***/ }),
22846
+
19469
22847
  /***/ 63072:
19470
22848
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
19471
22849
 
@@ -20200,6 +23578,424 @@ class JsonSchemaDialect extends _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MOD
20200
23578
 
20201
23579
  /***/ }),
20202
23580
 
23581
+ /***/ 66090:
23582
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
23583
+
23584
+ __webpack_require__.r(__webpack_exports__);
23585
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
23586
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
23587
+ /* harmony export */ transformCSTtoAST: () => (/* binding */ transformCSTtoAST)
23588
+ /* harmony export */ });
23589
+ /* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92639);
23590
+ /* harmony import */ var _decoders_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1257);
23591
+
23592
+
23593
+ const transformCSTtoAST = (node, transformerMap, ctx = {
23594
+ parent: null,
23595
+ path: []
23596
+ }) => {
23597
+ const transformer = transformerMap[node.type];
23598
+ if (!transformer) {
23599
+ throw new _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](`No transformer for CST node type: ${node.type}`);
23600
+ }
23601
+ const nextCtx = {
23602
+ parent: node,
23603
+ path: [...ctx.path, node]
23604
+ };
23605
+ return transformer(node, nextCtx);
23606
+ };
23607
+ const transformers = {
23608
+ /**
23609
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1
23610
+ */
23611
+ ['jsonpath-query'](node, ctx) {
23612
+ const segments = node.children.find(c => c.type === 'segments');
23613
+ return {
23614
+ type: 'JsonPathQuery',
23615
+ segments: segments ? segments.children.filter(({
23616
+ type
23617
+ }) => type === 'segment').map(segNode => transformCSTtoAST(segNode, transformers, ctx)) : []
23618
+ };
23619
+ },
23620
+ /**
23621
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.5
23622
+ */
23623
+ segment(node, ctx) {
23624
+ const child = node.children.find(({
23625
+ type
23626
+ }) => ['child-segment', 'descendant-segment'].includes(type));
23627
+ return transformCSTtoAST(child, transformers, ctx);
23628
+ },
23629
+ /**
23630
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3
23631
+ */
23632
+ selector(node, ctx) {
23633
+ const child = node.children.find(({
23634
+ type
23635
+ }) => ['name-selector', 'wildcard-selector', 'slice-selector', 'index-selector', 'filter-selector'].includes(type));
23636
+ return transformCSTtoAST(child, transformers, ctx);
23637
+ },
23638
+ /**
23639
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1
23640
+ */
23641
+ ['name-selector'](node, ctx) {
23642
+ const stringLiteralCSTNode = node.children.find(({
23643
+ type
23644
+ }) => type === 'string-literal');
23645
+ const stringLiteralASTNode = transformCSTtoAST(stringLiteralCSTNode, transformers, ctx);
23646
+ return {
23647
+ type: 'NameSelector',
23648
+ value: stringLiteralASTNode.value,
23649
+ format: stringLiteralASTNode.format
23650
+ };
23651
+ },
23652
+ ['string-literal'](node) {
23653
+ const isSingleQuoted = node.children.find(({
23654
+ type,
23655
+ text
23656
+ }) => type === 'text' && text === "'");
23657
+ const quoted = node.children.find(({
23658
+ type
23659
+ }) => ['double-quoted', 'single-quoted'].includes(type));
23660
+ const decodeString = isSingleQuoted ? _decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeSingleQuotedString : _decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeDoubleQuotedString;
23661
+ return {
23662
+ type: 'StringLiteral',
23663
+ value: quoted ? decodeString(quoted.text) : '',
23664
+ format: isSingleQuoted ? 'single-quoted' : 'double-quoted'
23665
+ };
23666
+ },
23667
+ /**
23668
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1
23669
+ */
23670
+ ['wildcard-selector']() {
23671
+ return {
23672
+ type: 'WildcardSelector'
23673
+ };
23674
+ },
23675
+ /**
23676
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1
23677
+ */
23678
+ ['index-selector'](node) {
23679
+ return {
23680
+ type: 'IndexSelector',
23681
+ value: (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(node.text)
23682
+ };
23683
+ },
23684
+ /**
23685
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1
23686
+ */
23687
+ ['slice-selector'](node) {
23688
+ const start = node.children.find(({
23689
+ type
23690
+ }) => type === 'start');
23691
+ const end = node.children.find(({
23692
+ type
23693
+ }) => type === 'end');
23694
+ const step = node.children.find(({
23695
+ type
23696
+ }) => type === 'step');
23697
+ return {
23698
+ type: 'SliceSelector',
23699
+ start: start ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(start.text) : null,
23700
+ end: end ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(end.text) : null,
23701
+ step: step ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(step.text) : null
23702
+ };
23703
+ },
23704
+ /**
23705
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1
23706
+ */
23707
+ ['filter-selector'](node, ctx) {
23708
+ const child = node.children.find(({
23709
+ type
23710
+ }) => type === 'logical-expr');
23711
+ return {
23712
+ type: 'FilterSelector',
23713
+ expression: transformCSTtoAST(child, transformers, ctx)
23714
+ };
23715
+ },
23716
+ ['logical-expr'](node, ctx) {
23717
+ const child = node.children.find(({
23718
+ type
23719
+ }) => type === 'logical-or-expr');
23720
+ return transformCSTtoAST(child, transformers, ctx);
23721
+ },
23722
+ ['logical-or-expr'](node, ctx) {
23723
+ const logicalAndExprs = node.children.filter(({
23724
+ type
23725
+ }) => type === 'logical-and-expr');
23726
+ if (logicalAndExprs.length === 1) {
23727
+ return transformCSTtoAST(logicalAndExprs[0], transformers, ctx);
23728
+ }
23729
+
23730
+ // fold left for left-associativity
23731
+ let left = transformCSTtoAST(logicalAndExprs[0], transformers, ctx);
23732
+ for (let i = 1; i < logicalAndExprs.length; i += 1) {
23733
+ const right = transformCSTtoAST(logicalAndExprs[i], transformers, ctx);
23734
+ left = {
23735
+ type: 'LogicalOrExpr',
23736
+ left,
23737
+ right
23738
+ };
23739
+ }
23740
+ },
23741
+ ['logical-and-expr'](node, ctx) {
23742
+ const basicExprs = node.children.filter(({
23743
+ type
23744
+ }) => type === 'basic-expr');
23745
+ if (basicExprs.length === 1) {
23746
+ return transformCSTtoAST(basicExprs[0], transformers, ctx);
23747
+ }
23748
+ let left = transformCSTtoAST(basicExprs[0], transformers, ctx);
23749
+ for (let i = 1; i < basicExprs.length; i += 1) {
23750
+ const right = transformCSTtoAST(basicExprs[i], transformers, ctx);
23751
+ left = {
23752
+ type: 'LogicalAndExpr',
23753
+ left,
23754
+ right
23755
+ };
23756
+ }
23757
+ return left;
23758
+ },
23759
+ ['basic-expr'](node, ctx) {
23760
+ const child = node.children.find(({
23761
+ type
23762
+ }) => ['paren-expr', 'comparison-expr', 'test-expr'].includes(type));
23763
+ return transformCSTtoAST(child, transformers, ctx);
23764
+ },
23765
+ ['paren-expr'](node, ctx) {
23766
+ const isNegated = node.children.some(child => child.type === 'logical-not-op');
23767
+ const logicalExprCSTNode = node.children.find(child => child.type === 'logical-expr');
23768
+ const logicalExpressionASTNode = transformCSTtoAST(logicalExprCSTNode, transformers, ctx);
23769
+ if (isNegated) {
23770
+ return {
23771
+ type: 'LogicalNotExpr',
23772
+ expression: logicalExpressionASTNode
23773
+ };
23774
+ }
23775
+ return logicalExpressionASTNode;
23776
+ },
23777
+ ['test-expr'](node, ctx) {
23778
+ const isNegated = node.children.some(({
23779
+ type
23780
+ }) => type === 'logical-not-op');
23781
+ const expression = node.children.find(({
23782
+ type
23783
+ }) => ['filter-query', 'function-expr'].includes(type));
23784
+ const testExpr = {
23785
+ type: 'TestExpr',
23786
+ expression: transformCSTtoAST(expression, transformers, ctx)
23787
+ };
23788
+ return isNegated ? {
23789
+ type: 'LogicalNotExpr',
23790
+ expression: testExpr
23791
+ } : testExpr;
23792
+ },
23793
+ ['filter-query'](node, ctx) {
23794
+ const child = node.children.find(({
23795
+ type
23796
+ }) => ['rel-query', 'jsonpath-query'].includes(type));
23797
+ return {
23798
+ type: 'FilterQuery',
23799
+ query: transformCSTtoAST(child, transformers, ctx)
23800
+ };
23801
+ },
23802
+ ['rel-query'](node, ctx) {
23803
+ const segments = node.children.find(c => c.type === 'segments');
23804
+ return {
23805
+ type: 'RelQuery',
23806
+ segments: segments ? segments.children.filter(n => n.type === 'segment').map(segNode => transformCSTtoAST(segNode, transformers, ctx)) : []
23807
+ };
23808
+ },
23809
+ ['comparison-expr'](node, ctx) {
23810
+ const children = node.children.filter(({
23811
+ type
23812
+ }) => ['comparable', 'comparison-op'].includes(type));
23813
+ const [left, op, right] = children;
23814
+ return {
23815
+ type: 'ComparisonExpr',
23816
+ left: transformCSTtoAST(left, transformers, ctx),
23817
+ op: op.text,
23818
+ right: transformCSTtoAST(right, transformers, ctx)
23819
+ };
23820
+ },
23821
+ ['literal'](node, ctx) {
23822
+ const child = node.children.find(({
23823
+ type
23824
+ }) => ['number', 'string-literal', 'true', 'false', 'null'].includes(type));
23825
+ if (child.type === 'string-literal') {
23826
+ const stringLiteralASTNode = transformCSTtoAST(child, transformers, ctx);
23827
+ return {
23828
+ type: 'Literal',
23829
+ value: stringLiteralASTNode.value
23830
+ };
23831
+ }
23832
+ return {
23833
+ type: 'Literal',
23834
+ value: (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeJSONValue)(child.text)
23835
+ };
23836
+ },
23837
+ ['comparable'](node, ctx) {
23838
+ const child = node.children.find(({
23839
+ type
23840
+ }) => ['singular-query', 'function-expr', 'literal'].includes(type));
23841
+ return transformCSTtoAST(child, transformers, ctx);
23842
+ },
23843
+ ['singular-query'](node, ctx) {
23844
+ const child = node.children.find(({
23845
+ type
23846
+ }) => ['rel-singular-query', 'abs-singular-query'].includes(type));
23847
+ return transformCSTtoAST(child, transformers, ctx);
23848
+ },
23849
+ ['rel-singular-query'](node, ctx) {
23850
+ const segmentsNode = node.children.find(({
23851
+ type
23852
+ }) => type === 'singular-query-segments');
23853
+ const segments = segmentsNode ? segmentsNode.children.filter(({
23854
+ type
23855
+ }) => ['name-segment', 'index-segment'].includes(type)).map(segNode => ({
23856
+ type: 'SingularQuerySegment',
23857
+ selector: transformCSTtoAST(segNode, transformers, ctx)
23858
+ })) : [];
23859
+ return {
23860
+ type: 'RelSingularQuery',
23861
+ segments
23862
+ };
23863
+ },
23864
+ ['abs-singular-query'](node, ctx) {
23865
+ const segmentsNode = node.children.find(({
23866
+ type
23867
+ }) => type === 'singular-query-segments');
23868
+ const segments = segmentsNode ? segmentsNode.children.filter(({
23869
+ type
23870
+ }) => ['name-segment', 'index-segment'].includes(type)).map(segNode => ({
23871
+ type: 'SingularQuerySegment',
23872
+ selector: transformCSTtoAST(segNode, transformers, ctx)
23873
+ })) : [];
23874
+ return {
23875
+ type: 'AbsSingularQuery',
23876
+ segments
23877
+ };
23878
+ },
23879
+ ['name-segment'](node, ctx) {
23880
+ const child = node.children.find(({
23881
+ type
23882
+ }) => ['name-selector', 'member-name-shorthand'].includes(type));
23883
+ return transformCSTtoAST(child, transformers, ctx);
23884
+ },
23885
+ ['index-segment'](node, ctx) {
23886
+ const child = node.children.find(({
23887
+ type
23888
+ }) => type === 'index-selector');
23889
+ return transformCSTtoAST(child, transformers, ctx);
23890
+ },
23891
+ /**
23892
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.4
23893
+ */
23894
+ ['function-expr'](node, ctx) {
23895
+ const name = node.children.find(({
23896
+ type
23897
+ }) => type === 'function-name');
23898
+ const args = node.children.filter(({
23899
+ type
23900
+ }) => type === 'function-argument');
23901
+ return {
23902
+ type: 'FunctionExpr',
23903
+ name: name.text,
23904
+ arguments: args.map(arg => transformCSTtoAST(arg, transformers, ctx))
23905
+ };
23906
+ },
23907
+ ['function-argument'](node, ctx) {
23908
+ const child = node.children.find(({
23909
+ type
23910
+ }) => ['logical-expr', 'function-expr', 'filter-query', 'literal'].includes(type));
23911
+ return transformCSTtoAST(child, transformers, ctx);
23912
+ },
23913
+ /**
23914
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1
23915
+ */
23916
+ ['child-segment'](node, ctx) {
23917
+ const child = node.children.find(({
23918
+ type
23919
+ }) => ['bracketed-selection', 'wildcard-selector', 'member-name-shorthand'].includes(type));
23920
+ return {
23921
+ type: 'ChildSegment',
23922
+ selector: transformCSTtoAST(child, transformers, ctx)
23923
+ };
23924
+ },
23925
+ ['bracketed-selection'](node, ctx) {
23926
+ return {
23927
+ type: 'BracketedSelection',
23928
+ selectors: node.children.filter(({
23929
+ type
23930
+ }) => type === 'selector').map(selectorNode => transformCSTtoAST(selectorNode, transformers, ctx))
23931
+ };
23932
+ },
23933
+ ['member-name-shorthand'](node) {
23934
+ return {
23935
+ type: 'NameSelector',
23936
+ value: node.text,
23937
+ format: 'shorthand'
23938
+ };
23939
+ },
23940
+ /**
23941
+ * https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1
23942
+ */
23943
+ ['descendant-segment'](node, ctx) {
23944
+ const child = node.children.find(({
23945
+ type
23946
+ }) => ['bracketed-selection', 'wildcard-selector', 'member-name-shorthand'].includes(type));
23947
+ return {
23948
+ type: 'DescendantSegment',
23949
+ selector: transformCSTtoAST(child, transformers, ctx)
23950
+ };
23951
+ },
23952
+ /**
23953
+ * https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths
23954
+ */
23955
+ ['normalized-path'](node, ctx) {
23956
+ return {
23957
+ type: 'JsonPathQuery',
23958
+ segments: node.children.filter(({
23959
+ type
23960
+ }) => type === 'normal-index-segment').map(segNode => transformCSTtoAST(segNode, transformers, ctx))
23961
+ };
23962
+ },
23963
+ ['normal-index-segment'](node, ctx) {
23964
+ const child = node.children.find(({
23965
+ type
23966
+ }) => type === 'normal-selector');
23967
+ return {
23968
+ type: 'ChildSegment',
23969
+ selector: transformCSTtoAST(child, transformers, ctx)
23970
+ };
23971
+ },
23972
+ ['normal-selector'](node, ctx) {
23973
+ const child = node.children.find(({
23974
+ type
23975
+ }) => ['normal-name-selector', 'normal-index-selector'].includes(type));
23976
+ return transformCSTtoAST(child, transformers, ctx);
23977
+ },
23978
+ ['normal-name-selector'](node) {
23979
+ const child = node.children.find(({
23980
+ type
23981
+ }) => type === 'normal-single-quoted');
23982
+ return {
23983
+ type: 'NameSelector',
23984
+ value: child ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeSingleQuotedString)(child.text) : '',
23985
+ format: 'single-quoted'
23986
+ };
23987
+ },
23988
+ ['normal-index-selector'](node) {
23989
+ return {
23990
+ type: 'IndexSelector',
23991
+ value: (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(node.text)
23992
+ };
23993
+ }
23994
+ };
23995
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (transformers);
23996
+
23997
+ /***/ }),
23998
+
20203
23999
  /***/ 66115:
20204
24000
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
20205
24001
 
@@ -20696,6 +24492,66 @@ var split = /*#__PURE__*/(0,_invoker_js__WEBPACK_IMPORTED_MODULE_0__["default"])
20696
24492
 
20697
24493
  /***/ }),
20698
24494
 
24495
+ /***/ 67636:
24496
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
24497
+
24498
+ __webpack_require__.r(__webpack_exports__);
24499
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24500
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
24501
+ /* harmony export */ });
24502
+ /* harmony import */ var _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23449);
24503
+
24504
+ class XMLTranslator extends _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
24505
+ getTree() {
24506
+ return this.toXml();
24507
+ }
24508
+ }
24509
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (XMLTranslator);
24510
+
24511
+ /***/ }),
24512
+
24513
+ /***/ 67724:
24514
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
24515
+
24516
+ __webpack_require__.r(__webpack_exports__);
24517
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
24518
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
24519
+ /* harmony export */ });
24520
+ /* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
24521
+ /* harmony import */ var _Expectations_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41352);
24522
+
24523
+
24524
+ class Trace extends apg_lite__WEBPACK_IMPORTED_MODULE_0__.Trace {
24525
+ inferExpectations() {
24526
+ const lines = this.displayTrace().split('\n');
24527
+ const expectations = new Set();
24528
+ let lastMatchedIndex = -1;
24529
+ for (let i = 0; i < lines.length; i++) {
24530
+ const line = lines[i];
24531
+
24532
+ // capture the max match line (first one that ends in a single character match)
24533
+ if (line.includes('M|')) {
24534
+ const textMatch = line.match(/]'(.*)'$/);
24535
+ if (textMatch && textMatch[1]) {
24536
+ lastMatchedIndex = i;
24537
+ }
24538
+ }
24539
+
24540
+ // collect terminal failures after the deepest successful match
24541
+ if (i > lastMatchedIndex) {
24542
+ const terminalFailMatch = line.match(/N\|\[TLS\(([^)]+)\)]/);
24543
+ if (terminalFailMatch) {
24544
+ expectations.add(terminalFailMatch[1]);
24545
+ }
24546
+ }
24547
+ }
24548
+ return new _Expectations_mjs__WEBPACK_IMPORTED_MODULE_1__["default"](...expectations);
24549
+ }
24550
+ }
24551
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Trace);
24552
+
24553
+ /***/ }),
24554
+
20699
24555
  /***/ 68067:
20700
24556
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
20701
24557
 
@@ -26214,6 +30070,37 @@ class $defsVisitor extends _speclynx_apidom_ns_json_schema_2020_12__WEBPACK_IMPO
26214
30070
 
26215
30071
  /***/ }),
26216
30072
 
30073
+ /***/ 74362:
30074
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
30075
+
30076
+ __webpack_require__.r(__webpack_exports__);
30077
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
30078
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
30079
+ /* harmony export */ });
30080
+ /* harmony import */ var _parse_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8789);
30081
+
30082
+ const test = (jsonPath, {
30083
+ normalized = false
30084
+ } = {}) => {
30085
+ if (typeof jsonPath !== 'string') return false;
30086
+ try {
30087
+ const {
30088
+ result
30089
+ } = (0,_parse_index_mjs__WEBPACK_IMPORTED_MODULE_0__["default"])(jsonPath, {
30090
+ normalized,
30091
+ stats: false,
30092
+ trace: false,
30093
+ translator: null
30094
+ });
30095
+ return result.success;
30096
+ } catch {
30097
+ return false;
30098
+ }
30099
+ };
30100
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (test);
30101
+
30102
+ /***/ }),
30103
+
26217
30104
  /***/ 74367:
26218
30105
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
26219
30106
 
@@ -28969,6 +32856,54 @@ class Tag extends _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__["defau
28969
32856
  }
28970
32857
  /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tag);
28971
32858
 
32859
+ /***/ }),
32860
+
32861
+ /***/ 84637:
32862
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
32863
+
32864
+ __webpack_require__.r(__webpack_exports__);
32865
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
32866
+ /* harmony export */ ASTTranslator: () => (/* reexport safe */ _parse_translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]),
32867
+ /* harmony export */ CSTOptimizedTranslator: () => (/* reexport safe */ _parse_translators_CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]),
32868
+ /* harmony export */ CSTTranslator: () => (/* reexport safe */ _parse_translators_CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]),
32869
+ /* harmony export */ Grammar: () => (/* reexport safe */ _grammar_mjs__WEBPACK_IMPORTED_MODULE_0__["default"]),
32870
+ /* harmony export */ JSONPathCompileError: () => (/* reexport safe */ _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_12__["default"]),
32871
+ /* harmony export */ JSONPathError: () => (/* reexport safe */ _errors_JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_10__["default"]),
32872
+ /* harmony export */ JSONPathParseError: () => (/* reexport safe */ _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_11__["default"]),
32873
+ /* harmony export */ Trace: () => (/* reexport safe */ _parse_trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_6__["default"]),
32874
+ /* harmony export */ XMLTranslator: () => (/* reexport safe */ _parse_translators_XMLTranslator_mjs__WEBPACK_IMPORTED_MODULE_5__["default"]),
32875
+ /* harmony export */ compile: () => (/* reexport safe */ _compile_mjs__WEBPACK_IMPORTED_MODULE_8__["default"]),
32876
+ /* harmony export */ escape: () => (/* reexport safe */ _escape_mjs__WEBPACK_IMPORTED_MODULE_9__["default"]),
32877
+ /* harmony export */ parse: () => (/* reexport safe */ _parse_index_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]),
32878
+ /* harmony export */ test: () => (/* reexport safe */ _test_index_mjs__WEBPACK_IMPORTED_MODULE_7__["default"])
32879
+ /* harmony export */ });
32880
+ /* harmony import */ var _grammar_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28186);
32881
+ /* harmony import */ var _parse_index_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8789);
32882
+ /* harmony import */ var _parse_translators_CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23449);
32883
+ /* harmony import */ var _parse_translators_CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54848);
32884
+ /* harmony import */ var _parse_translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(96998);
32885
+ /* harmony import */ var _parse_translators_XMLTranslator_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67636);
32886
+ /* harmony import */ var _parse_trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67724);
32887
+ /* harmony import */ var _test_index_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(74362);
32888
+ /* harmony import */ var _compile_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4766);
32889
+ /* harmony import */ var _escape_mjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(26938);
32890
+ /* harmony import */ var _errors_JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84816);
32891
+ /* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(92639);
32892
+ /* harmony import */ var _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62977);
32893
+
32894
+
32895
+
32896
+
32897
+
32898
+
32899
+
32900
+
32901
+
32902
+
32903
+
32904
+
32905
+
32906
+
28972
32907
  /***/ }),
28973
32908
 
28974
32909
  /***/ 84660:
@@ -29012,6 +32947,56 @@ class AnnotationElement extends _primitives_StringElement_mjs__WEBPACK_IMPORTED_
29012
32947
 
29013
32948
  /***/ }),
29014
32949
 
32950
+ /***/ 84816:
32951
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
32952
+
32953
+ __webpack_require__.r(__webpack_exports__);
32954
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
32955
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
32956
+ /* harmony export */ });
32957
+ class JSONPathError extends Error {
32958
+ constructor(message, options = undefined) {
32959
+ super(message, options);
32960
+ this.name = this.constructor.name;
32961
+ if (typeof message === 'string') {
32962
+ this.message = message;
32963
+ }
32964
+ if (typeof Error.captureStackTrace === 'function') {
32965
+ Error.captureStackTrace(this, this.constructor);
32966
+ } else {
32967
+ this.stack = new Error(message).stack;
32968
+ }
32969
+
32970
+ /**
32971
+ * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
32972
+ * Node.js is >= 16.9.0 supports error causes natively.
32973
+ */
32974
+ if (options != null && typeof options === 'object' && Object.prototype.hasOwnProperty.call(options, 'cause') && !('cause' in this)) {
32975
+ const {
32976
+ cause
32977
+ } = options;
32978
+ this.cause = cause;
32979
+ if (cause instanceof Error && 'stack' in cause) {
32980
+ this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
32981
+ }
32982
+ }
32983
+
32984
+ /**
32985
+ * Allows to assign arbitrary properties to the error object.
32986
+ */
32987
+ if (options != null && typeof options === 'object') {
32988
+ const {
32989
+ cause,
32990
+ ...causelessOptions
32991
+ } = options;
32992
+ Object.assign(this, causelessOptions);
32993
+ }
32994
+ }
32995
+ }
32996
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPathError);
32997
+
32998
+ /***/ }),
32999
+
29015
33000
  /***/ 85012:
29016
33001
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
29017
33002
 
@@ -29997,7 +33982,7 @@ __webpack_require__.r(__webpack_exports__);
29997
33982
  /* harmony import */ var _visitors_open_api_3_0_operation_RequestBodyVisitor_mjs__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(19990);
29998
33983
  /* harmony import */ var _visitors_open_api_3_0_operation_CallbacksVisitor_mjs__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(83479);
29999
33984
  /* harmony import */ var _visitors_open_api_3_0_operation_SecurityVisitor_mjs__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(32411);
30000
- /* harmony import */ var _visitors_open_api_3_0_operation_ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(89627);
33985
+ /* harmony import */ var _visitors_open_api_3_0_operation_ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(12008);
30001
33986
  /* harmony import */ var _visitors_open_api_3_0_path_item_index_mjs__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(23911);
30002
33987
  /* harmony import */ var _visitors_open_api_3_0_path_item_$RefVisitor_mjs__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(65460);
30003
33988
  /* harmony import */ var _visitors_open_api_3_0_path_item_ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(50575);
@@ -30770,20 +34755,46 @@ __webpack_require__.r(__webpack_exports__);
30770
34755
  /* harmony export */ __webpack_require__.d(__webpack_exports__, {
30771
34756
  /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
30772
34757
  /* harmony export */ });
30773
- /* harmony import */ var _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36882);
30774
- /* harmony import */ var _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61965);
34758
+ class JSONPointerError extends Error {
34759
+ constructor(message, options = undefined) {
34760
+ super(message, options);
34761
+ this.name = this.constructor.name;
34762
+ if (typeof message === 'string') {
34763
+ this.message = message;
34764
+ }
34765
+ if (typeof Error.captureStackTrace === 'function') {
34766
+ Error.captureStackTrace(this, this.constructor);
34767
+ } else {
34768
+ this.stack = new Error(message).stack;
34769
+ }
30775
34770
 
34771
+ /**
34772
+ * This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
34773
+ * Node.js is >= 16.9.0 supports error causes natively.
34774
+ */
34775
+ if (options != null && typeof options === 'object' && Object.prototype.hasOwnProperty.call(options, 'cause') && !('cause' in this)) {
34776
+ const {
34777
+ cause
34778
+ } = options;
34779
+ this.cause = cause;
34780
+ if (cause instanceof Error && 'stack' in cause) {
34781
+ this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
34782
+ }
34783
+ }
30776
34784
 
30777
- /**
30778
- * @public
30779
- */
30780
- class ServersVisitor extends _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"] {
30781
- constructor(options) {
30782
- super(options);
30783
- this.element = new _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__["default"]();
34785
+ /**
34786
+ * Allows to assign arbitrary properties to the error object.
34787
+ */
34788
+ if (options != null && typeof options === 'object') {
34789
+ const {
34790
+ cause,
34791
+ ...causelessOptions
34792
+ } = options;
34793
+ Object.assign(this, causelessOptions);
34794
+ }
30784
34795
  }
30785
34796
  }
30786
- /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ServersVisitor);
34797
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerError);
30787
34798
 
30788
34799
  /***/ }),
30789
34800
 
@@ -31248,6 +35259,20 @@ class AllOfVisitor extends _bases_mjs__WEBPACK_IMPORTED_MODULE_1__.AllOfVisitorB
31248
35259
 
31249
35260
  /***/ }),
31250
35261
 
35262
+ /***/ 92639:
35263
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
35264
+
35265
+ __webpack_require__.r(__webpack_exports__);
35266
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
35267
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
35268
+ /* harmony export */ });
35269
+ /* harmony import */ var _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84816);
35270
+
35271
+ class JSONPathParseError extends _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
35272
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPathParseError);
35273
+
35274
+ /***/ }),
35275
+
31251
35276
  /***/ 92709:
31252
35277
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
31253
35278
 
@@ -32345,6 +36370,27 @@ const isSourceMapElement = element => element instanceof _elements_SourceMap_mjs
32345
36370
 
32346
36371
  /***/ }),
32347
36372
 
36373
+ /***/ 96998:
36374
+ /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
36375
+
36376
+ __webpack_require__.r(__webpack_exports__);
36377
+ /* harmony export */ __webpack_require__.d(__webpack_exports__, {
36378
+ /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
36379
+ /* harmony export */ });
36380
+ /* harmony import */ var _CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54848);
36381
+ /* harmony import */ var _transformers_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66090);
36382
+
36383
+
36384
+ class ASTTranslator extends _CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
36385
+ getTree() {
36386
+ const cst = super.getTree();
36387
+ return (0,_transformers_mjs__WEBPACK_IMPORTED_MODULE_1__.transformCSTtoAST)(cst.root, _transformers_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]);
36388
+ }
36389
+ }
36390
+ /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ASTTranslator);
36391
+
36392
+ /***/ }),
36393
+
32348
36394
  /***/ 97071:
32349
36395
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
32350
36396