@speclynx/apidom-reference 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.
- package/CHANGELOG.md +4 -0
- package/dist/apidom-reference.browser.js +4286 -222
- package/dist/apidom-reference.browser.min.js +1 -1
- package/package.json +24 -24
|
@@ -659,7 +659,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
659
659
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
660
660
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
661
661
|
/* harmony export */ });
|
|
662
|
-
/* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
662
|
+
/* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
|
|
663
663
|
|
|
664
664
|
class JSONPointerEvaluateError extends _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
665
665
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerEvaluateError);
|
|
@@ -751,6 +751,95 @@ function _objectIs(a, b) {
|
|
|
751
751
|
|
|
752
752
|
/***/ }),
|
|
753
753
|
|
|
754
|
+
/***/ 1257:
|
|
755
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
756
|
+
|
|
757
|
+
"use strict";
|
|
758
|
+
__webpack_require__.r(__webpack_exports__);
|
|
759
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
760
|
+
/* harmony export */ decodeDoubleQuotedString: () => (/* binding */ decodeDoubleQuotedString),
|
|
761
|
+
/* harmony export */ decodeInteger: () => (/* binding */ decodeInteger),
|
|
762
|
+
/* harmony export */ decodeJSONValue: () => (/* binding */ decodeJSONValue),
|
|
763
|
+
/* harmony export */ decodeSingleQuotedString: () => (/* binding */ decodeSingleQuotedString)
|
|
764
|
+
/* harmony export */ });
|
|
765
|
+
const decodeDoubleQuotedString = str => {
|
|
766
|
+
return decodeJSONValue(`"${str}"`);
|
|
767
|
+
};
|
|
768
|
+
const decodeSingleQuotedString = str => {
|
|
769
|
+
// Decode single-quoted string escape sequences into raw text, then let JSON.stringify
|
|
770
|
+
// produce a correctly escaped double-quoted JSON string.
|
|
771
|
+
let decoded = '';
|
|
772
|
+
for (let i = 0; i < str.length; i++) {
|
|
773
|
+
const ch = str[i];
|
|
774
|
+
if (ch === '\\') {
|
|
775
|
+
i++;
|
|
776
|
+
if (i >= str.length) {
|
|
777
|
+
// Trailing backslash, treat it as a literal backslash
|
|
778
|
+
decoded += '\\';
|
|
779
|
+
break;
|
|
780
|
+
}
|
|
781
|
+
const esc = str[i];
|
|
782
|
+
switch (esc) {
|
|
783
|
+
case 'n':
|
|
784
|
+
decoded += '\n';
|
|
785
|
+
break;
|
|
786
|
+
case 'r':
|
|
787
|
+
decoded += '\r';
|
|
788
|
+
break;
|
|
789
|
+
case 't':
|
|
790
|
+
decoded += '\t';
|
|
791
|
+
break;
|
|
792
|
+
case 'b':
|
|
793
|
+
decoded += '\b';
|
|
794
|
+
break;
|
|
795
|
+
case 'f':
|
|
796
|
+
decoded += '\f';
|
|
797
|
+
break;
|
|
798
|
+
case '/':
|
|
799
|
+
decoded += '/';
|
|
800
|
+
break;
|
|
801
|
+
case '\\':
|
|
802
|
+
decoded += '\\';
|
|
803
|
+
break;
|
|
804
|
+
case "'":
|
|
805
|
+
decoded += "'";
|
|
806
|
+
break;
|
|
807
|
+
case '"':
|
|
808
|
+
decoded += '"';
|
|
809
|
+
break;
|
|
810
|
+
case 'u':
|
|
811
|
+
{
|
|
812
|
+
// Unicode escape \uXXXX - grammar guarantees exactly 4 hex digits
|
|
813
|
+
const hex = str.slice(i + 1, i + 5);
|
|
814
|
+
decoded += String.fromCharCode(parseInt(hex, 16));
|
|
815
|
+
i += 4;
|
|
816
|
+
break;
|
|
817
|
+
}
|
|
818
|
+
default:
|
|
819
|
+
// Unrecognized escape, keep the escaped character literally
|
|
820
|
+
decoded += esc;
|
|
821
|
+
break;
|
|
822
|
+
}
|
|
823
|
+
} else {
|
|
824
|
+
decoded += ch;
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
// Use JSON.stringify to produce a valid JSON string literal
|
|
828
|
+
return decodeJSONValue(JSON.stringify(decoded));
|
|
829
|
+
};
|
|
830
|
+
const decodeInteger = str => {
|
|
831
|
+
const value = parseInt(str, 10);
|
|
832
|
+
if (!Number.isSafeInteger(value)) {
|
|
833
|
+
throw new RangeError(`Integer value out of safe range [-(2^53)+1, (2^53)-1], got: ${str}`);
|
|
834
|
+
}
|
|
835
|
+
return value;
|
|
836
|
+
};
|
|
837
|
+
const decodeJSONValue = str => {
|
|
838
|
+
return JSON.parse(str);
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
/***/ }),
|
|
842
|
+
|
|
754
843
|
/***/ 1448:
|
|
755
844
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
756
845
|
|
|
@@ -3358,6 +3447,64 @@ class ParentSchemaAwareVisitor {
|
|
|
3358
3447
|
|
|
3359
3448
|
/***/ }),
|
|
3360
3449
|
|
|
3450
|
+
/***/ 4766:
|
|
3451
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
3452
|
+
|
|
3453
|
+
"use strict";
|
|
3454
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3455
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3456
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
3457
|
+
/* harmony export */ });
|
|
3458
|
+
/* harmony import */ var _escape_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26938);
|
|
3459
|
+
/* harmony import */ var _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(62977);
|
|
3460
|
+
|
|
3461
|
+
|
|
3462
|
+
/**
|
|
3463
|
+
* Compiles an array of selectors into a normalized JSONPath.
|
|
3464
|
+
* Follows RFC 9535 Section 2.7 normalized path format.
|
|
3465
|
+
*
|
|
3466
|
+
* @param {Array<string|number>} selectors - Array of name selectors (strings) or index selectors (numbers)
|
|
3467
|
+
* @returns {string} A normalized JSONPath string
|
|
3468
|
+
* @throws {JSONPathCompileError} If selectors is not an array or contains invalid selector types
|
|
3469
|
+
*
|
|
3470
|
+
* @example
|
|
3471
|
+
* compile(['a', 'b', 1]) // returns "$['a']['b'][1]"
|
|
3472
|
+
* compile([]) // returns "$"
|
|
3473
|
+
* compile(['foo', 0, 'bar']) // returns "$['foo'][0]['bar']"
|
|
3474
|
+
*/
|
|
3475
|
+
const compile = selectors => {
|
|
3476
|
+
if (!Array.isArray(selectors)) {
|
|
3477
|
+
throw new _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_1__["default"](`Selectors must be an array, got: ${typeof selectors}`, {
|
|
3478
|
+
selectors
|
|
3479
|
+
});
|
|
3480
|
+
}
|
|
3481
|
+
try {
|
|
3482
|
+
const segments = selectors.map(selector => {
|
|
3483
|
+
if (typeof selector === 'string') {
|
|
3484
|
+
// Name selector: escape and wrap in single quotes
|
|
3485
|
+
return `['${(0,_escape_mjs__WEBPACK_IMPORTED_MODULE_0__["default"])(selector)}']`;
|
|
3486
|
+
}
|
|
3487
|
+
if (typeof selector === 'number') {
|
|
3488
|
+
// Index selector: must be a non-negative safe integer (RFC 9535 Section 2.1)
|
|
3489
|
+
if (!Number.isSafeInteger(selector) || selector < 0) {
|
|
3490
|
+
throw new TypeError(`Index selector must be a non-negative safe integer, got: ${selector}`);
|
|
3491
|
+
}
|
|
3492
|
+
return `[${selector}]`;
|
|
3493
|
+
}
|
|
3494
|
+
throw new TypeError(`Selector must be a string or non-negative integer, got: ${typeof selector}`);
|
|
3495
|
+
});
|
|
3496
|
+
return `$${segments.join('')}`;
|
|
3497
|
+
} catch (error) {
|
|
3498
|
+
throw new _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]('Failed to compile normalized JSONPath', {
|
|
3499
|
+
cause: error,
|
|
3500
|
+
selectors
|
|
3501
|
+
});
|
|
3502
|
+
}
|
|
3503
|
+
};
|
|
3504
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (compile);
|
|
3505
|
+
|
|
3506
|
+
/***/ }),
|
|
3507
|
+
|
|
3361
3508
|
/***/ 4793:
|
|
3362
3509
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
3363
3510
|
|
|
@@ -5504,6 +5651,58 @@ const parse = (jsonPointer, {
|
|
|
5504
5651
|
|
|
5505
5652
|
/***/ }),
|
|
5506
5653
|
|
|
5654
|
+
/***/ 8789:
|
|
5655
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
5656
|
+
|
|
5657
|
+
"use strict";
|
|
5658
|
+
__webpack_require__.r(__webpack_exports__);
|
|
5659
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
5660
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
5661
|
+
/* harmony export */ });
|
|
5662
|
+
/* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
|
|
5663
|
+
/* harmony import */ var _trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(67724);
|
|
5664
|
+
/* harmony import */ var _grammar_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(28186);
|
|
5665
|
+
/* harmony import */ var _translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(96998);
|
|
5666
|
+
/* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(92639);
|
|
5667
|
+
|
|
5668
|
+
|
|
5669
|
+
|
|
5670
|
+
|
|
5671
|
+
|
|
5672
|
+
const grammar = new _grammar_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]();
|
|
5673
|
+
const parse = (jsonPath, {
|
|
5674
|
+
normalized = false,
|
|
5675
|
+
stats = false,
|
|
5676
|
+
trace = false,
|
|
5677
|
+
translator = new _translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]()
|
|
5678
|
+
} = {}) => {
|
|
5679
|
+
if (typeof jsonPath !== 'string') {
|
|
5680
|
+
throw new TypeError('JSONPath must be a string');
|
|
5681
|
+
}
|
|
5682
|
+
try {
|
|
5683
|
+
const parser = new apg_lite__WEBPACK_IMPORTED_MODULE_0__.Parser();
|
|
5684
|
+
if (translator) parser.ast = translator;
|
|
5685
|
+
if (stats) parser.stats = new apg_lite__WEBPACK_IMPORTED_MODULE_0__.Stats();
|
|
5686
|
+
if (trace) parser.trace = new _trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]();
|
|
5687
|
+
const startRule = normalized ? 'normalized-path' : 'jsonpath-query';
|
|
5688
|
+
const result = parser.parse(grammar, startRule, jsonPath);
|
|
5689
|
+
return {
|
|
5690
|
+
result,
|
|
5691
|
+
tree: result.success && translator ? parser.ast.getTree() : undefined,
|
|
5692
|
+
stats: parser.stats,
|
|
5693
|
+
trace: parser.trace
|
|
5694
|
+
};
|
|
5695
|
+
} catch (error) {
|
|
5696
|
+
throw new _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]('Unexpected error during JSONPath parsing', {
|
|
5697
|
+
cause: error,
|
|
5698
|
+
jsonPath
|
|
5699
|
+
});
|
|
5700
|
+
}
|
|
5701
|
+
};
|
|
5702
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (parse);
|
|
5703
|
+
|
|
5704
|
+
/***/ }),
|
|
5705
|
+
|
|
5507
5706
|
/***/ 8867:
|
|
5508
5707
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
5509
5708
|
|
|
@@ -8081,46 +8280,20 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
8081
8280
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
8082
8281
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
8083
8282
|
/* harmony export */ });
|
|
8084
|
-
|
|
8085
|
-
|
|
8086
|
-
super(message, options);
|
|
8087
|
-
this.name = this.constructor.name;
|
|
8088
|
-
if (typeof message === 'string') {
|
|
8089
|
-
this.message = message;
|
|
8090
|
-
}
|
|
8091
|
-
if (typeof Error.captureStackTrace === 'function') {
|
|
8092
|
-
Error.captureStackTrace(this, this.constructor);
|
|
8093
|
-
} else {
|
|
8094
|
-
this.stack = new Error(message).stack;
|
|
8095
|
-
}
|
|
8283
|
+
/* harmony import */ var _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(36882);
|
|
8284
|
+
/* harmony import */ var _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61965);
|
|
8096
8285
|
|
|
8097
|
-
/**
|
|
8098
|
-
* This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
|
|
8099
|
-
* Node.js is >= 16.9.0 supports error causes natively.
|
|
8100
|
-
*/
|
|
8101
|
-
if (options != null && typeof options === 'object' && Object.prototype.hasOwnProperty.call(options, 'cause') && !('cause' in this)) {
|
|
8102
|
-
const {
|
|
8103
|
-
cause
|
|
8104
|
-
} = options;
|
|
8105
|
-
this.cause = cause;
|
|
8106
|
-
if (cause instanceof Error && 'stack' in cause) {
|
|
8107
|
-
this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
|
|
8108
|
-
}
|
|
8109
|
-
}
|
|
8110
8286
|
|
|
8111
|
-
|
|
8112
|
-
|
|
8113
|
-
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
|
|
8117
|
-
|
|
8118
|
-
} = options;
|
|
8119
|
-
Object.assign(this, causelessOptions);
|
|
8120
|
-
}
|
|
8287
|
+
/**
|
|
8288
|
+
* @public
|
|
8289
|
+
*/
|
|
8290
|
+
class ServersVisitor extends _ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_1__["default"] {
|
|
8291
|
+
constructor(options) {
|
|
8292
|
+
super(options);
|
|
8293
|
+
this.element = new _elements_nces_OperationServers_mjs__WEBPACK_IMPORTED_MODULE_0__["default"]();
|
|
8121
8294
|
}
|
|
8122
8295
|
}
|
|
8123
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (
|
|
8296
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ServersVisitor);
|
|
8124
8297
|
|
|
8125
8298
|
/***/ }),
|
|
8126
8299
|
|
|
@@ -9039,6 +9212,63 @@ class Parser {
|
|
|
9039
9212
|
|
|
9040
9213
|
/***/ }),
|
|
9041
9214
|
|
|
9215
|
+
/***/ 13222:
|
|
9216
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
9217
|
+
|
|
9218
|
+
"use strict";
|
|
9219
|
+
__webpack_require__.r(__webpack_exports__);
|
|
9220
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
9221
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
9222
|
+
/* harmony export */ });
|
|
9223
|
+
/* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
|
|
9224
|
+
/* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(92639);
|
|
9225
|
+
|
|
9226
|
+
|
|
9227
|
+
const cst = nodeType => {
|
|
9228
|
+
return (state, chars, phraseIndex, phraseLength, data) => {
|
|
9229
|
+
var _data$options, _data$options2;
|
|
9230
|
+
if (!(typeof data === 'object' && data !== null && !Array.isArray(data))) {
|
|
9231
|
+
throw new _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]("parser's user data must be an object");
|
|
9232
|
+
}
|
|
9233
|
+
|
|
9234
|
+
// drop the empty nodes
|
|
9235
|
+
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)) {
|
|
9236
|
+
return;
|
|
9237
|
+
}
|
|
9238
|
+
if (state === apg_lite__WEBPACK_IMPORTED_MODULE_0__.identifiers.SEM_PRE) {
|
|
9239
|
+
const node = {
|
|
9240
|
+
type: nodeType,
|
|
9241
|
+
text: apg_lite__WEBPACK_IMPORTED_MODULE_0__.utilities.charsToString(chars, phraseIndex, phraseLength),
|
|
9242
|
+
start: phraseIndex,
|
|
9243
|
+
length: phraseLength,
|
|
9244
|
+
children: []
|
|
9245
|
+
};
|
|
9246
|
+
if (data.stack.length > 0) {
|
|
9247
|
+
var _data$options3, _data$options4;
|
|
9248
|
+
const parent = data.stack[data.stack.length - 1];
|
|
9249
|
+
const prevSibling = parent.children[parent.children.length - 1];
|
|
9250
|
+
const isTextNodeWithinTextNode = parent.type === 'text' && node.type === 'text';
|
|
9251
|
+
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;
|
|
9252
|
+
if (shouldCollapse) {
|
|
9253
|
+
prevSibling.text += node.text;
|
|
9254
|
+
prevSibling.length += node.length;
|
|
9255
|
+
} else if (!isTextNodeWithinTextNode) {
|
|
9256
|
+
parent.children.push(node);
|
|
9257
|
+
}
|
|
9258
|
+
} else {
|
|
9259
|
+
data.root = node;
|
|
9260
|
+
}
|
|
9261
|
+
data.stack.push(node);
|
|
9262
|
+
}
|
|
9263
|
+
if (state === apg_lite__WEBPACK_IMPORTED_MODULE_0__.identifiers.SEM_POST) {
|
|
9264
|
+
data.stack.pop();
|
|
9265
|
+
}
|
|
9266
|
+
};
|
|
9267
|
+
};
|
|
9268
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (cst);
|
|
9269
|
+
|
|
9270
|
+
/***/ }),
|
|
9271
|
+
|
|
9042
9272
|
/***/ 13456:
|
|
9043
9273
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
9044
9274
|
|
|
@@ -15643,6 +15873,132 @@ var stubUndefined = (0,ramda__WEBPACK_IMPORTED_MODULE_0__["default"])(void 0);
|
|
|
15643
15873
|
|
|
15644
15874
|
/***/ }),
|
|
15645
15875
|
|
|
15876
|
+
/***/ 23449:
|
|
15877
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
15878
|
+
|
|
15879
|
+
"use strict";
|
|
15880
|
+
__webpack_require__.r(__webpack_exports__);
|
|
15881
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
15882
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
15883
|
+
/* harmony export */ });
|
|
15884
|
+
/* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
|
|
15885
|
+
/* harmony import */ var _callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(13222);
|
|
15886
|
+
|
|
15887
|
+
|
|
15888
|
+
class CSTTranslator extends apg_lite__WEBPACK_IMPORTED_MODULE_0__.Ast {
|
|
15889
|
+
constructor() {
|
|
15890
|
+
super();
|
|
15891
|
+
|
|
15892
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1
|
|
15893
|
+
this.callbacks['jsonpath-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('jsonpath-query');
|
|
15894
|
+
this.callbacks['segments'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('segments');
|
|
15895
|
+
this.callbacks['B'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15896
|
+
this.callbacks['S'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15897
|
+
|
|
15898
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1
|
|
15899
|
+
this.callbacks['root-identifier'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('root-identifier');
|
|
15900
|
+
|
|
15901
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.3
|
|
15902
|
+
this.callbacks['selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('selector');
|
|
15903
|
+
|
|
15904
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1
|
|
15905
|
+
this.callbacks['name-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('name-selector');
|
|
15906
|
+
this.callbacks['string-literal'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('string-literal');
|
|
15907
|
+
this.callbacks['double-quoted'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('double-quoted');
|
|
15908
|
+
this.callbacks['single-quoted'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('single-quoted');
|
|
15909
|
+
|
|
15910
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1
|
|
15911
|
+
this.callbacks['wildcard-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('wildcard-selector');
|
|
15912
|
+
|
|
15913
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1
|
|
15914
|
+
this.callbacks['index-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('index-selector');
|
|
15915
|
+
|
|
15916
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1
|
|
15917
|
+
this.callbacks['slice-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('slice-selector');
|
|
15918
|
+
this.callbacks['start'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('start');
|
|
15919
|
+
this.callbacks['end'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('end');
|
|
15920
|
+
this.callbacks['step'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('step');
|
|
15921
|
+
|
|
15922
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1
|
|
15923
|
+
this.callbacks['filter-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('filter-selector');
|
|
15924
|
+
this.callbacks['logical-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-expr');
|
|
15925
|
+
this.callbacks['logical-or-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-or-expr');
|
|
15926
|
+
this.callbacks['logical-and-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-and-expr');
|
|
15927
|
+
this.callbacks['basic-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('basic-expr');
|
|
15928
|
+
this.callbacks['paren-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('paren-expr');
|
|
15929
|
+
this.callbacks['logical-not-op'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('logical-not-op');
|
|
15930
|
+
this.callbacks['test-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('test-expr');
|
|
15931
|
+
this.callbacks['filter-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('filter-query');
|
|
15932
|
+
this.callbacks['rel-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('rel-query');
|
|
15933
|
+
this.callbacks['current-node-identifier'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('current-node-identifier');
|
|
15934
|
+
this.callbacks['comparison-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('comparison-expr');
|
|
15935
|
+
this.callbacks['literal'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('literal');
|
|
15936
|
+
this.callbacks['comparable'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('comparable');
|
|
15937
|
+
this.callbacks['comparison-op'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('comparison-op');
|
|
15938
|
+
this.callbacks['singular-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('singular-query');
|
|
15939
|
+
this.callbacks['rel-singular-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('rel-singular-query');
|
|
15940
|
+
this.callbacks['abs-singular-query'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('abs-singular-query');
|
|
15941
|
+
this.callbacks['singular-query-segments'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('singular-query-segments');
|
|
15942
|
+
this.callbacks['name-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('name-segment');
|
|
15943
|
+
this.callbacks['index-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('index-segment');
|
|
15944
|
+
this.callbacks['number'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('number');
|
|
15945
|
+
this.callbacks['true'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('true');
|
|
15946
|
+
this.callbacks['false'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('false');
|
|
15947
|
+
this.callbacks['null'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('null');
|
|
15948
|
+
|
|
15949
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.4
|
|
15950
|
+
this.callbacks['function-name'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('function-name');
|
|
15951
|
+
this.callbacks['function-expr'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('function-expr');
|
|
15952
|
+
this.callbacks['function-argument'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('function-argument');
|
|
15953
|
+
|
|
15954
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.5
|
|
15955
|
+
this.callbacks['segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('segment');
|
|
15956
|
+
|
|
15957
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1
|
|
15958
|
+
this.callbacks['child-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('child-segment');
|
|
15959
|
+
this.callbacks['bracketed-selection'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('bracketed-selection');
|
|
15960
|
+
this.callbacks['member-name-shorthand'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('member-name-shorthand');
|
|
15961
|
+
|
|
15962
|
+
// https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1
|
|
15963
|
+
this.callbacks['descendant-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('descendant-segment');
|
|
15964
|
+
|
|
15965
|
+
// https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths
|
|
15966
|
+
this.callbacks['normalized-path'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normalized-path');
|
|
15967
|
+
this.callbacks['normal-index-segment'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-index-segment');
|
|
15968
|
+
this.callbacks['normal-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-selector');
|
|
15969
|
+
this.callbacks['normal-name-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-name-selector');
|
|
15970
|
+
this.callbacks['normal-index-selector'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-index-selector');
|
|
15971
|
+
this.callbacks['normal-single-quoted'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('normal-single-quoted');
|
|
15972
|
+
|
|
15973
|
+
// Surrogate named rules
|
|
15974
|
+
this.callbacks['dot-prefix'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15975
|
+
this.callbacks['double-dot-prefix'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15976
|
+
this.callbacks['left-bracket'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15977
|
+
this.callbacks['right-bracket'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15978
|
+
this.callbacks['comma'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15979
|
+
this.callbacks['colon'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15980
|
+
this.callbacks['dquote'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15981
|
+
this.callbacks['squote'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15982
|
+
this.callbacks['questionmark'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15983
|
+
this.callbacks['disjunction'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15984
|
+
this.callbacks['conjunction'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15985
|
+
this.callbacks['left-paren'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15986
|
+
this.callbacks['right-paren'] = (0,_callbacks_cst_mjs__WEBPACK_IMPORTED_MODULE_1__["default"])('text');
|
|
15987
|
+
}
|
|
15988
|
+
getTree() {
|
|
15989
|
+
const data = {
|
|
15990
|
+
stack: [],
|
|
15991
|
+
root: null
|
|
15992
|
+
};
|
|
15993
|
+
this.translate(data);
|
|
15994
|
+
delete data.stack;
|
|
15995
|
+
return data;
|
|
15996
|
+
}
|
|
15997
|
+
}
|
|
15998
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CSTTranslator);
|
|
15999
|
+
|
|
16000
|
+
/***/ }),
|
|
16001
|
+
|
|
15646
16002
|
/***/ 23600:
|
|
15647
16003
|
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
|
15648
16004
|
|
|
@@ -19960,7 +20316,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
19960
20316
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
19961
20317
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
19962
20318
|
/* harmony export */ });
|
|
19963
|
-
/* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
20319
|
+
/* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
|
|
19964
20320
|
|
|
19965
20321
|
class JSONPointerParseError extends _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
19966
20322
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerParseError);
|
|
@@ -20116,6 +20472,72 @@ var _isArguments = /*#__PURE__*/function () {
|
|
|
20116
20472
|
|
|
20117
20473
|
/***/ }),
|
|
20118
20474
|
|
|
20475
|
+
/***/ 26938:
|
|
20476
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
20477
|
+
|
|
20478
|
+
"use strict";
|
|
20479
|
+
__webpack_require__.r(__webpack_exports__);
|
|
20480
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
20481
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
20482
|
+
/* harmony export */ });
|
|
20483
|
+
/**
|
|
20484
|
+
* Escapes a string for use in a normalized JSONPath name selector.
|
|
20485
|
+
* Follows RFC 9535 Section 2.7 escaping rules for single-quoted strings.
|
|
20486
|
+
*
|
|
20487
|
+
* @param {string} selector - The string to escape
|
|
20488
|
+
* @returns {string} The escaped string (without surrounding quotes)
|
|
20489
|
+
*/
|
|
20490
|
+
const escape = selector => {
|
|
20491
|
+
if (typeof selector !== 'string') {
|
|
20492
|
+
throw new TypeError('Selector must be a string');
|
|
20493
|
+
}
|
|
20494
|
+
let escaped = '';
|
|
20495
|
+
for (const char of selector) {
|
|
20496
|
+
const codePoint = char.codePointAt(0);
|
|
20497
|
+
switch (codePoint) {
|
|
20498
|
+
case 0x08:
|
|
20499
|
+
// backspace
|
|
20500
|
+
escaped += '\\b';
|
|
20501
|
+
break;
|
|
20502
|
+
case 0x09:
|
|
20503
|
+
// horizontal tab
|
|
20504
|
+
escaped += '\\t';
|
|
20505
|
+
break;
|
|
20506
|
+
case 0x0a:
|
|
20507
|
+
// line feed
|
|
20508
|
+
escaped += '\\n';
|
|
20509
|
+
break;
|
|
20510
|
+
case 0x0c:
|
|
20511
|
+
// form feed
|
|
20512
|
+
escaped += '\\f';
|
|
20513
|
+
break;
|
|
20514
|
+
case 0x0d:
|
|
20515
|
+
// carriage return
|
|
20516
|
+
escaped += '\\r';
|
|
20517
|
+
break;
|
|
20518
|
+
case 0x27:
|
|
20519
|
+
// apostrophe '
|
|
20520
|
+
escaped += "\\'";
|
|
20521
|
+
break;
|
|
20522
|
+
case 0x5c:
|
|
20523
|
+
// backslash \
|
|
20524
|
+
escaped += '\\\\';
|
|
20525
|
+
break;
|
|
20526
|
+
default:
|
|
20527
|
+
// Other control characters (U+0000-U+001F except those handled above)
|
|
20528
|
+
if (codePoint <= 0x1f) {
|
|
20529
|
+
escaped += `\\u${codePoint.toString(16).padStart(4, '0')}`;
|
|
20530
|
+
} else {
|
|
20531
|
+
escaped += char;
|
|
20532
|
+
}
|
|
20533
|
+
}
|
|
20534
|
+
}
|
|
20535
|
+
return escaped;
|
|
20536
|
+
};
|
|
20537
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (escape);
|
|
20538
|
+
|
|
20539
|
+
/***/ }),
|
|
20540
|
+
|
|
20119
20541
|
/***/ 27123:
|
|
20120
20542
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
20121
20543
|
|
|
@@ -20654,205 +21076,3051 @@ class OperationVisitor extends _bases_mjs__WEBPACK_IMPORTED_MODULE_2__.BaseFixed
|
|
|
20654
21076
|
}
|
|
20655
21077
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OperationVisitor);
|
|
20656
21078
|
|
|
20657
|
-
/***/ }),
|
|
21079
|
+
/***/ }),
|
|
21080
|
+
|
|
21081
|
+
/***/ 28052:
|
|
21082
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
21083
|
+
|
|
21084
|
+
"use strict";
|
|
21085
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21086
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21087
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21088
|
+
/* harmony export */ });
|
|
21089
|
+
/* harmony import */ var _internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(39088);
|
|
21090
|
+
/* harmony import */ var _internal_has_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(65722);
|
|
21091
|
+
|
|
21092
|
+
|
|
21093
|
+
|
|
21094
|
+
/**
|
|
21095
|
+
* Creates a new object with the own properties of the two provided objects. If
|
|
21096
|
+
* a key exists in both objects, the provided function is applied to the key
|
|
21097
|
+
* and the values associated with the key in each object, with the result being
|
|
21098
|
+
* used as the value associated with the key in the returned object.
|
|
21099
|
+
*
|
|
21100
|
+
* @func
|
|
21101
|
+
* @memberOf R
|
|
21102
|
+
* @since v0.19.0
|
|
21103
|
+
* @category Object
|
|
21104
|
+
* @sig ((String, a, a) -> a) -> {a} -> {a} -> {a}
|
|
21105
|
+
* @param {Function} fn
|
|
21106
|
+
* @param {Object} l
|
|
21107
|
+
* @param {Object} r
|
|
21108
|
+
* @return {Object}
|
|
21109
|
+
* @see R.mergeDeepWithKey, R.mergeWith
|
|
21110
|
+
* @example
|
|
21111
|
+
*
|
|
21112
|
+
* let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r
|
|
21113
|
+
* R.mergeWithKey(concatValues,
|
|
21114
|
+
* { a: true, thing: 'foo', values: [10, 20] },
|
|
21115
|
+
* { b: true, thing: 'bar', values: [15, 35] });
|
|
21116
|
+
* //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }
|
|
21117
|
+
* @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }
|
|
21118
|
+
*/
|
|
21119
|
+
var mergeWithKey = /*#__PURE__*/(0,_internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function mergeWithKey(fn, l, r) {
|
|
21120
|
+
var result = {};
|
|
21121
|
+
var k;
|
|
21122
|
+
l = l || {};
|
|
21123
|
+
r = r || {};
|
|
21124
|
+
for (k in l) {
|
|
21125
|
+
if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, l)) {
|
|
21126
|
+
result[k] = (0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) ? fn(k, l[k], r[k]) : l[k];
|
|
21127
|
+
}
|
|
21128
|
+
}
|
|
21129
|
+
for (k in r) {
|
|
21130
|
+
if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) && !(0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, result)) {
|
|
21131
|
+
result[k] = r[k];
|
|
21132
|
+
}
|
|
21133
|
+
}
|
|
21134
|
+
return result;
|
|
21135
|
+
});
|
|
21136
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mergeWithKey);
|
|
21137
|
+
|
|
21138
|
+
/***/ }),
|
|
21139
|
+
|
|
21140
|
+
/***/ 28121:
|
|
21141
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
21142
|
+
|
|
21143
|
+
"use strict";
|
|
21144
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21145
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21146
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21147
|
+
/* harmony export */ });
|
|
21148
|
+
/* harmony import */ var _Element_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(60728);
|
|
21149
|
+
|
|
21150
|
+
/**
|
|
21151
|
+
* StringElement represents a string value in ApiDOM.
|
|
21152
|
+
* @public
|
|
21153
|
+
*/
|
|
21154
|
+
class StringElement extends _Element_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
21155
|
+
constructor(content, meta, attributes) {
|
|
21156
|
+
super(content, meta, attributes);
|
|
21157
|
+
this.element = 'string';
|
|
21158
|
+
}
|
|
21159
|
+
primitive() {
|
|
21160
|
+
return 'string';
|
|
21161
|
+
}
|
|
21162
|
+
|
|
21163
|
+
/**
|
|
21164
|
+
* The length of the string.
|
|
21165
|
+
*/
|
|
21166
|
+
get length() {
|
|
21167
|
+
return this.content?.length ?? 0;
|
|
21168
|
+
}
|
|
21169
|
+
}
|
|
21170
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StringElement);
|
|
21171
|
+
|
|
21172
|
+
/***/ }),
|
|
21173
|
+
|
|
21174
|
+
/***/ 28152:
|
|
21175
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
21176
|
+
|
|
21177
|
+
"use strict";
|
|
21178
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21179
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21180
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
21181
|
+
/* harmony export */ });
|
|
21182
|
+
/* harmony import */ var _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(3664);
|
|
21183
|
+
|
|
21184
|
+
/**
|
|
21185
|
+
* @public
|
|
21186
|
+
*/
|
|
21187
|
+
class $RefVisitor extends _FallbackVisitor_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
21188
|
+
StringElement(path) {
|
|
21189
|
+
super.enter(path);
|
|
21190
|
+
this.element.classes.push('reference-value');
|
|
21191
|
+
}
|
|
21192
|
+
}
|
|
21193
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ($RefVisitor);
|
|
21194
|
+
|
|
21195
|
+
/***/ }),
|
|
21196
|
+
|
|
21197
|
+
/***/ 28165:
|
|
21198
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
21199
|
+
|
|
21200
|
+
"use strict";
|
|
21201
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21202
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21203
|
+
/* harmony export */ detect: () => (/* binding */ detect),
|
|
21204
|
+
/* harmony export */ detectionRegExp: () => (/* binding */ detectionRegExp),
|
|
21205
|
+
/* harmony export */ lexicalAnalysis: () => (/* reexport safe */ _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
21206
|
+
/* harmony export */ mediaTypes: () => (/* reexport safe */ _media_types_mjs__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
21207
|
+
/* harmony export */ namespace: () => (/* binding */ namespace),
|
|
21208
|
+
/* harmony export */ parse: () => (/* binding */ parse),
|
|
21209
|
+
/* harmony export */ syntacticAnalysis: () => (/* reexport safe */ _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_5__["default"])
|
|
21210
|
+
/* harmony export */ });
|
|
21211
|
+
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55156);
|
|
21212
|
+
/* harmony import */ var _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16126);
|
|
21213
|
+
/* harmony import */ var _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38600);
|
|
21214
|
+
/* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34885);
|
|
21215
|
+
/* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19305);
|
|
21216
|
+
/* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13615);
|
|
21217
|
+
/* harmony import */ var _media_types_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49968);
|
|
21218
|
+
|
|
21219
|
+
|
|
21220
|
+
|
|
21221
|
+
|
|
21222
|
+
|
|
21223
|
+
/**
|
|
21224
|
+
* @public
|
|
21225
|
+
*/
|
|
21226
|
+
|
|
21227
|
+
/**
|
|
21228
|
+
* @public
|
|
21229
|
+
*/
|
|
21230
|
+
const namespace = new _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__["default"]();
|
|
21231
|
+
|
|
21232
|
+
/**
|
|
21233
|
+
* @public
|
|
21234
|
+
*/
|
|
21235
|
+
const detectionRegExp = _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.detectionRegExp;
|
|
21236
|
+
|
|
21237
|
+
/**
|
|
21238
|
+
* @public
|
|
21239
|
+
*/
|
|
21240
|
+
|
|
21241
|
+
/**
|
|
21242
|
+
* @public
|
|
21243
|
+
*/
|
|
21244
|
+
const detect = async (source, {
|
|
21245
|
+
strict = false
|
|
21246
|
+
} = {}) => {
|
|
21247
|
+
if (strict) {
|
|
21248
|
+
return _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__.detect(source);
|
|
21249
|
+
}
|
|
21250
|
+
return _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.detect(source);
|
|
21251
|
+
};
|
|
21252
|
+
|
|
21253
|
+
/**
|
|
21254
|
+
* @public
|
|
21255
|
+
*/
|
|
21256
|
+
|
|
21257
|
+
/**
|
|
21258
|
+
* @public
|
|
21259
|
+
*/
|
|
21260
|
+
|
|
21261
|
+
/**
|
|
21262
|
+
* @public
|
|
21263
|
+
*/
|
|
21264
|
+
const parse = async (source, {
|
|
21265
|
+
sourceMap = false,
|
|
21266
|
+
strict = false
|
|
21267
|
+
} = {}) => {
|
|
21268
|
+
if (strict && sourceMap) {
|
|
21269
|
+
throw new _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_1__["default"]('Cannot use sourceMap with strict parsing. Strict parsing does not support source maps.');
|
|
21270
|
+
}
|
|
21271
|
+
if (strict) {
|
|
21272
|
+
return _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__.parse(source);
|
|
21273
|
+
}
|
|
21274
|
+
return _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.parse(source, {
|
|
21275
|
+
sourceMap
|
|
21276
|
+
});
|
|
21277
|
+
};
|
|
21278
|
+
|
|
21279
|
+
/***/ }),
|
|
21280
|
+
|
|
21281
|
+
/***/ 28186:
|
|
21282
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
21283
|
+
|
|
21284
|
+
"use strict";
|
|
21285
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21286
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
21287
|
+
/* harmony export */ "default": () => (/* binding */ grammar)
|
|
21288
|
+
/* harmony export */ });
|
|
21289
|
+
// copyright: Copyright (c) 2024 Lowell D. Thomas, all rights reserved<br>
|
|
21290
|
+
// license: BSD-2-Clause (https://opensource.org/licenses/BSD-2-Clause)<br>
|
|
21291
|
+
//
|
|
21292
|
+
// Generated by apg-js, Version 4.4.0 [apg-js](https://github.com/ldthomas/apg-js)
|
|
21293
|
+
function grammar() {
|
|
21294
|
+
// ```
|
|
21295
|
+
// SUMMARY
|
|
21296
|
+
// rules = 91
|
|
21297
|
+
// udts = 0
|
|
21298
|
+
// opcodes = 423
|
|
21299
|
+
// --- ABNF original opcodes
|
|
21300
|
+
// ALT = 41
|
|
21301
|
+
// CAT = 60
|
|
21302
|
+
// REP = 32
|
|
21303
|
+
// RNM = 178
|
|
21304
|
+
// TLS = 64
|
|
21305
|
+
// TBS = 28
|
|
21306
|
+
// TRG = 20
|
|
21307
|
+
// --- SABNF superset opcodes
|
|
21308
|
+
// UDT = 0
|
|
21309
|
+
// AND = 0
|
|
21310
|
+
// NOT = 0
|
|
21311
|
+
// characters = [9 - 1114111]
|
|
21312
|
+
// ```
|
|
21313
|
+
/* OBJECT IDENTIFIER (for internal parser use) */
|
|
21314
|
+
this.grammarObject = 'grammarObject';
|
|
21315
|
+
|
|
21316
|
+
/* RULES */
|
|
21317
|
+
this.rules = [];
|
|
21318
|
+
this.rules[0] = {
|
|
21319
|
+
name: 'jsonpath-query',
|
|
21320
|
+
lower: 'jsonpath-query',
|
|
21321
|
+
index: 0,
|
|
21322
|
+
isBkr: false
|
|
21323
|
+
};
|
|
21324
|
+
this.rules[1] = {
|
|
21325
|
+
name: 'segments',
|
|
21326
|
+
lower: 'segments',
|
|
21327
|
+
index: 1,
|
|
21328
|
+
isBkr: false
|
|
21329
|
+
};
|
|
21330
|
+
this.rules[2] = {
|
|
21331
|
+
name: 'B',
|
|
21332
|
+
lower: 'b',
|
|
21333
|
+
index: 2,
|
|
21334
|
+
isBkr: false
|
|
21335
|
+
};
|
|
21336
|
+
this.rules[3] = {
|
|
21337
|
+
name: 'S',
|
|
21338
|
+
lower: 's',
|
|
21339
|
+
index: 3,
|
|
21340
|
+
isBkr: false
|
|
21341
|
+
};
|
|
21342
|
+
this.rules[4] = {
|
|
21343
|
+
name: 'root-identifier',
|
|
21344
|
+
lower: 'root-identifier',
|
|
21345
|
+
index: 4,
|
|
21346
|
+
isBkr: false
|
|
21347
|
+
};
|
|
21348
|
+
this.rules[5] = {
|
|
21349
|
+
name: 'selector',
|
|
21350
|
+
lower: 'selector',
|
|
21351
|
+
index: 5,
|
|
21352
|
+
isBkr: false
|
|
21353
|
+
};
|
|
21354
|
+
this.rules[6] = {
|
|
21355
|
+
name: 'name-selector',
|
|
21356
|
+
lower: 'name-selector',
|
|
21357
|
+
index: 6,
|
|
21358
|
+
isBkr: false
|
|
21359
|
+
};
|
|
21360
|
+
this.rules[7] = {
|
|
21361
|
+
name: 'string-literal',
|
|
21362
|
+
lower: 'string-literal',
|
|
21363
|
+
index: 7,
|
|
21364
|
+
isBkr: false
|
|
21365
|
+
};
|
|
21366
|
+
this.rules[8] = {
|
|
21367
|
+
name: 'double-quoted',
|
|
21368
|
+
lower: 'double-quoted',
|
|
21369
|
+
index: 8,
|
|
21370
|
+
isBkr: false
|
|
21371
|
+
};
|
|
21372
|
+
this.rules[9] = {
|
|
21373
|
+
name: 'single-quoted',
|
|
21374
|
+
lower: 'single-quoted',
|
|
21375
|
+
index: 9,
|
|
21376
|
+
isBkr: false
|
|
21377
|
+
};
|
|
21378
|
+
this.rules[10] = {
|
|
21379
|
+
name: 'ESC',
|
|
21380
|
+
lower: 'esc',
|
|
21381
|
+
index: 10,
|
|
21382
|
+
isBkr: false
|
|
21383
|
+
};
|
|
21384
|
+
this.rules[11] = {
|
|
21385
|
+
name: 'unescaped',
|
|
21386
|
+
lower: 'unescaped',
|
|
21387
|
+
index: 11,
|
|
21388
|
+
isBkr: false
|
|
21389
|
+
};
|
|
21390
|
+
this.rules[12] = {
|
|
21391
|
+
name: 'escapable',
|
|
21392
|
+
lower: 'escapable',
|
|
21393
|
+
index: 12,
|
|
21394
|
+
isBkr: false
|
|
21395
|
+
};
|
|
21396
|
+
this.rules[13] = {
|
|
21397
|
+
name: 'hexchar',
|
|
21398
|
+
lower: 'hexchar',
|
|
21399
|
+
index: 13,
|
|
21400
|
+
isBkr: false
|
|
21401
|
+
};
|
|
21402
|
+
this.rules[14] = {
|
|
21403
|
+
name: 'non-surrogate',
|
|
21404
|
+
lower: 'non-surrogate',
|
|
21405
|
+
index: 14,
|
|
21406
|
+
isBkr: false
|
|
21407
|
+
};
|
|
21408
|
+
this.rules[15] = {
|
|
21409
|
+
name: 'high-surrogate',
|
|
21410
|
+
lower: 'high-surrogate',
|
|
21411
|
+
index: 15,
|
|
21412
|
+
isBkr: false
|
|
21413
|
+
};
|
|
21414
|
+
this.rules[16] = {
|
|
21415
|
+
name: 'low-surrogate',
|
|
21416
|
+
lower: 'low-surrogate',
|
|
21417
|
+
index: 16,
|
|
21418
|
+
isBkr: false
|
|
21419
|
+
};
|
|
21420
|
+
this.rules[17] = {
|
|
21421
|
+
name: 'HEXDIG',
|
|
21422
|
+
lower: 'hexdig',
|
|
21423
|
+
index: 17,
|
|
21424
|
+
isBkr: false
|
|
21425
|
+
};
|
|
21426
|
+
this.rules[18] = {
|
|
21427
|
+
name: 'wildcard-selector',
|
|
21428
|
+
lower: 'wildcard-selector',
|
|
21429
|
+
index: 18,
|
|
21430
|
+
isBkr: false
|
|
21431
|
+
};
|
|
21432
|
+
this.rules[19] = {
|
|
21433
|
+
name: 'index-selector',
|
|
21434
|
+
lower: 'index-selector',
|
|
21435
|
+
index: 19,
|
|
21436
|
+
isBkr: false
|
|
21437
|
+
};
|
|
21438
|
+
this.rules[20] = {
|
|
21439
|
+
name: 'int',
|
|
21440
|
+
lower: 'int',
|
|
21441
|
+
index: 20,
|
|
21442
|
+
isBkr: false
|
|
21443
|
+
};
|
|
21444
|
+
this.rules[21] = {
|
|
21445
|
+
name: 'DIGIT1',
|
|
21446
|
+
lower: 'digit1',
|
|
21447
|
+
index: 21,
|
|
21448
|
+
isBkr: false
|
|
21449
|
+
};
|
|
21450
|
+
this.rules[22] = {
|
|
21451
|
+
name: 'slice-selector',
|
|
21452
|
+
lower: 'slice-selector',
|
|
21453
|
+
index: 22,
|
|
21454
|
+
isBkr: false
|
|
21455
|
+
};
|
|
21456
|
+
this.rules[23] = {
|
|
21457
|
+
name: 'start',
|
|
21458
|
+
lower: 'start',
|
|
21459
|
+
index: 23,
|
|
21460
|
+
isBkr: false
|
|
21461
|
+
};
|
|
21462
|
+
this.rules[24] = {
|
|
21463
|
+
name: 'end',
|
|
21464
|
+
lower: 'end',
|
|
21465
|
+
index: 24,
|
|
21466
|
+
isBkr: false
|
|
21467
|
+
};
|
|
21468
|
+
this.rules[25] = {
|
|
21469
|
+
name: 'step',
|
|
21470
|
+
lower: 'step',
|
|
21471
|
+
index: 25,
|
|
21472
|
+
isBkr: false
|
|
21473
|
+
};
|
|
21474
|
+
this.rules[26] = {
|
|
21475
|
+
name: 'filter-selector',
|
|
21476
|
+
lower: 'filter-selector',
|
|
21477
|
+
index: 26,
|
|
21478
|
+
isBkr: false
|
|
21479
|
+
};
|
|
21480
|
+
this.rules[27] = {
|
|
21481
|
+
name: 'logical-expr',
|
|
21482
|
+
lower: 'logical-expr',
|
|
21483
|
+
index: 27,
|
|
21484
|
+
isBkr: false
|
|
21485
|
+
};
|
|
21486
|
+
this.rules[28] = {
|
|
21487
|
+
name: 'logical-or-expr',
|
|
21488
|
+
lower: 'logical-or-expr',
|
|
21489
|
+
index: 28,
|
|
21490
|
+
isBkr: false
|
|
21491
|
+
};
|
|
21492
|
+
this.rules[29] = {
|
|
21493
|
+
name: 'logical-and-expr',
|
|
21494
|
+
lower: 'logical-and-expr',
|
|
21495
|
+
index: 29,
|
|
21496
|
+
isBkr: false
|
|
21497
|
+
};
|
|
21498
|
+
this.rules[30] = {
|
|
21499
|
+
name: 'basic-expr',
|
|
21500
|
+
lower: 'basic-expr',
|
|
21501
|
+
index: 30,
|
|
21502
|
+
isBkr: false
|
|
21503
|
+
};
|
|
21504
|
+
this.rules[31] = {
|
|
21505
|
+
name: 'paren-expr',
|
|
21506
|
+
lower: 'paren-expr',
|
|
21507
|
+
index: 31,
|
|
21508
|
+
isBkr: false
|
|
21509
|
+
};
|
|
21510
|
+
this.rules[32] = {
|
|
21511
|
+
name: 'logical-not-op',
|
|
21512
|
+
lower: 'logical-not-op',
|
|
21513
|
+
index: 32,
|
|
21514
|
+
isBkr: false
|
|
21515
|
+
};
|
|
21516
|
+
this.rules[33] = {
|
|
21517
|
+
name: 'test-expr',
|
|
21518
|
+
lower: 'test-expr',
|
|
21519
|
+
index: 33,
|
|
21520
|
+
isBkr: false
|
|
21521
|
+
};
|
|
21522
|
+
this.rules[34] = {
|
|
21523
|
+
name: 'filter-query',
|
|
21524
|
+
lower: 'filter-query',
|
|
21525
|
+
index: 34,
|
|
21526
|
+
isBkr: false
|
|
21527
|
+
};
|
|
21528
|
+
this.rules[35] = {
|
|
21529
|
+
name: 'rel-query',
|
|
21530
|
+
lower: 'rel-query',
|
|
21531
|
+
index: 35,
|
|
21532
|
+
isBkr: false
|
|
21533
|
+
};
|
|
21534
|
+
this.rules[36] = {
|
|
21535
|
+
name: 'current-node-identifier',
|
|
21536
|
+
lower: 'current-node-identifier',
|
|
21537
|
+
index: 36,
|
|
21538
|
+
isBkr: false
|
|
21539
|
+
};
|
|
21540
|
+
this.rules[37] = {
|
|
21541
|
+
name: 'comparison-expr',
|
|
21542
|
+
lower: 'comparison-expr',
|
|
21543
|
+
index: 37,
|
|
21544
|
+
isBkr: false
|
|
21545
|
+
};
|
|
21546
|
+
this.rules[38] = {
|
|
21547
|
+
name: 'literal',
|
|
21548
|
+
lower: 'literal',
|
|
21549
|
+
index: 38,
|
|
21550
|
+
isBkr: false
|
|
21551
|
+
};
|
|
21552
|
+
this.rules[39] = {
|
|
21553
|
+
name: 'comparable',
|
|
21554
|
+
lower: 'comparable',
|
|
21555
|
+
index: 39,
|
|
21556
|
+
isBkr: false
|
|
21557
|
+
};
|
|
21558
|
+
this.rules[40] = {
|
|
21559
|
+
name: 'comparison-op',
|
|
21560
|
+
lower: 'comparison-op',
|
|
21561
|
+
index: 40,
|
|
21562
|
+
isBkr: false
|
|
21563
|
+
};
|
|
21564
|
+
this.rules[41] = {
|
|
21565
|
+
name: 'singular-query',
|
|
21566
|
+
lower: 'singular-query',
|
|
21567
|
+
index: 41,
|
|
21568
|
+
isBkr: false
|
|
21569
|
+
};
|
|
21570
|
+
this.rules[42] = {
|
|
21571
|
+
name: 'rel-singular-query',
|
|
21572
|
+
lower: 'rel-singular-query',
|
|
21573
|
+
index: 42,
|
|
21574
|
+
isBkr: false
|
|
21575
|
+
};
|
|
21576
|
+
this.rules[43] = {
|
|
21577
|
+
name: 'abs-singular-query',
|
|
21578
|
+
lower: 'abs-singular-query',
|
|
21579
|
+
index: 43,
|
|
21580
|
+
isBkr: false
|
|
21581
|
+
};
|
|
21582
|
+
this.rules[44] = {
|
|
21583
|
+
name: 'singular-query-segments',
|
|
21584
|
+
lower: 'singular-query-segments',
|
|
21585
|
+
index: 44,
|
|
21586
|
+
isBkr: false
|
|
21587
|
+
};
|
|
21588
|
+
this.rules[45] = {
|
|
21589
|
+
name: 'name-segment',
|
|
21590
|
+
lower: 'name-segment',
|
|
21591
|
+
index: 45,
|
|
21592
|
+
isBkr: false
|
|
21593
|
+
};
|
|
21594
|
+
this.rules[46] = {
|
|
21595
|
+
name: 'index-segment',
|
|
21596
|
+
lower: 'index-segment',
|
|
21597
|
+
index: 46,
|
|
21598
|
+
isBkr: false
|
|
21599
|
+
};
|
|
21600
|
+
this.rules[47] = {
|
|
21601
|
+
name: 'number',
|
|
21602
|
+
lower: 'number',
|
|
21603
|
+
index: 47,
|
|
21604
|
+
isBkr: false
|
|
21605
|
+
};
|
|
21606
|
+
this.rules[48] = {
|
|
21607
|
+
name: 'frac',
|
|
21608
|
+
lower: 'frac',
|
|
21609
|
+
index: 48,
|
|
21610
|
+
isBkr: false
|
|
21611
|
+
};
|
|
21612
|
+
this.rules[49] = {
|
|
21613
|
+
name: 'exp',
|
|
21614
|
+
lower: 'exp',
|
|
21615
|
+
index: 49,
|
|
21616
|
+
isBkr: false
|
|
21617
|
+
};
|
|
21618
|
+
this.rules[50] = {
|
|
21619
|
+
name: 'true',
|
|
21620
|
+
lower: 'true',
|
|
21621
|
+
index: 50,
|
|
21622
|
+
isBkr: false
|
|
21623
|
+
};
|
|
21624
|
+
this.rules[51] = {
|
|
21625
|
+
name: 'false',
|
|
21626
|
+
lower: 'false',
|
|
21627
|
+
index: 51,
|
|
21628
|
+
isBkr: false
|
|
21629
|
+
};
|
|
21630
|
+
this.rules[52] = {
|
|
21631
|
+
name: 'null',
|
|
21632
|
+
lower: 'null',
|
|
21633
|
+
index: 52,
|
|
21634
|
+
isBkr: false
|
|
21635
|
+
};
|
|
21636
|
+
this.rules[53] = {
|
|
21637
|
+
name: 'function-name',
|
|
21638
|
+
lower: 'function-name',
|
|
21639
|
+
index: 53,
|
|
21640
|
+
isBkr: false
|
|
21641
|
+
};
|
|
21642
|
+
this.rules[54] = {
|
|
21643
|
+
name: 'function-name-first',
|
|
21644
|
+
lower: 'function-name-first',
|
|
21645
|
+
index: 54,
|
|
21646
|
+
isBkr: false
|
|
21647
|
+
};
|
|
21648
|
+
this.rules[55] = {
|
|
21649
|
+
name: 'function-name-char',
|
|
21650
|
+
lower: 'function-name-char',
|
|
21651
|
+
index: 55,
|
|
21652
|
+
isBkr: false
|
|
21653
|
+
};
|
|
21654
|
+
this.rules[56] = {
|
|
21655
|
+
name: 'LCALPHA',
|
|
21656
|
+
lower: 'lcalpha',
|
|
21657
|
+
index: 56,
|
|
21658
|
+
isBkr: false
|
|
21659
|
+
};
|
|
21660
|
+
this.rules[57] = {
|
|
21661
|
+
name: 'function-expr',
|
|
21662
|
+
lower: 'function-expr',
|
|
21663
|
+
index: 57,
|
|
21664
|
+
isBkr: false
|
|
21665
|
+
};
|
|
21666
|
+
this.rules[58] = {
|
|
21667
|
+
name: 'function-argument',
|
|
21668
|
+
lower: 'function-argument',
|
|
21669
|
+
index: 58,
|
|
21670
|
+
isBkr: false
|
|
21671
|
+
};
|
|
21672
|
+
this.rules[59] = {
|
|
21673
|
+
name: 'segment',
|
|
21674
|
+
lower: 'segment',
|
|
21675
|
+
index: 59,
|
|
21676
|
+
isBkr: false
|
|
21677
|
+
};
|
|
21678
|
+
this.rules[60] = {
|
|
21679
|
+
name: 'child-segment',
|
|
21680
|
+
lower: 'child-segment',
|
|
21681
|
+
index: 60,
|
|
21682
|
+
isBkr: false
|
|
21683
|
+
};
|
|
21684
|
+
this.rules[61] = {
|
|
21685
|
+
name: 'bracketed-selection',
|
|
21686
|
+
lower: 'bracketed-selection',
|
|
21687
|
+
index: 61,
|
|
21688
|
+
isBkr: false
|
|
21689
|
+
};
|
|
21690
|
+
this.rules[62] = {
|
|
21691
|
+
name: 'member-name-shorthand',
|
|
21692
|
+
lower: 'member-name-shorthand',
|
|
21693
|
+
index: 62,
|
|
21694
|
+
isBkr: false
|
|
21695
|
+
};
|
|
21696
|
+
this.rules[63] = {
|
|
21697
|
+
name: 'name-first',
|
|
21698
|
+
lower: 'name-first',
|
|
21699
|
+
index: 63,
|
|
21700
|
+
isBkr: false
|
|
21701
|
+
};
|
|
21702
|
+
this.rules[64] = {
|
|
21703
|
+
name: 'name-char',
|
|
21704
|
+
lower: 'name-char',
|
|
21705
|
+
index: 64,
|
|
21706
|
+
isBkr: false
|
|
21707
|
+
};
|
|
21708
|
+
this.rules[65] = {
|
|
21709
|
+
name: 'DIGIT',
|
|
21710
|
+
lower: 'digit',
|
|
21711
|
+
index: 65,
|
|
21712
|
+
isBkr: false
|
|
21713
|
+
};
|
|
21714
|
+
this.rules[66] = {
|
|
21715
|
+
name: 'ALPHA',
|
|
21716
|
+
lower: 'alpha',
|
|
21717
|
+
index: 66,
|
|
21718
|
+
isBkr: false
|
|
21719
|
+
};
|
|
21720
|
+
this.rules[67] = {
|
|
21721
|
+
name: 'descendant-segment',
|
|
21722
|
+
lower: 'descendant-segment',
|
|
21723
|
+
index: 67,
|
|
21724
|
+
isBkr: false
|
|
21725
|
+
};
|
|
21726
|
+
this.rules[68] = {
|
|
21727
|
+
name: 'normalized-path',
|
|
21728
|
+
lower: 'normalized-path',
|
|
21729
|
+
index: 68,
|
|
21730
|
+
isBkr: false
|
|
21731
|
+
};
|
|
21732
|
+
this.rules[69] = {
|
|
21733
|
+
name: 'normal-index-segment',
|
|
21734
|
+
lower: 'normal-index-segment',
|
|
21735
|
+
index: 69,
|
|
21736
|
+
isBkr: false
|
|
21737
|
+
};
|
|
21738
|
+
this.rules[70] = {
|
|
21739
|
+
name: 'normal-selector',
|
|
21740
|
+
lower: 'normal-selector',
|
|
21741
|
+
index: 70,
|
|
21742
|
+
isBkr: false
|
|
21743
|
+
};
|
|
21744
|
+
this.rules[71] = {
|
|
21745
|
+
name: 'normal-name-selector',
|
|
21746
|
+
lower: 'normal-name-selector',
|
|
21747
|
+
index: 71,
|
|
21748
|
+
isBkr: false
|
|
21749
|
+
};
|
|
21750
|
+
this.rules[72] = {
|
|
21751
|
+
name: 'normal-single-quoted',
|
|
21752
|
+
lower: 'normal-single-quoted',
|
|
21753
|
+
index: 72,
|
|
21754
|
+
isBkr: false
|
|
21755
|
+
};
|
|
21756
|
+
this.rules[73] = {
|
|
21757
|
+
name: 'normal-unescaped',
|
|
21758
|
+
lower: 'normal-unescaped',
|
|
21759
|
+
index: 73,
|
|
21760
|
+
isBkr: false
|
|
21761
|
+
};
|
|
21762
|
+
this.rules[74] = {
|
|
21763
|
+
name: 'normal-escapable',
|
|
21764
|
+
lower: 'normal-escapable',
|
|
21765
|
+
index: 74,
|
|
21766
|
+
isBkr: false
|
|
21767
|
+
};
|
|
21768
|
+
this.rules[75] = {
|
|
21769
|
+
name: 'normal-hexchar',
|
|
21770
|
+
lower: 'normal-hexchar',
|
|
21771
|
+
index: 75,
|
|
21772
|
+
isBkr: false
|
|
21773
|
+
};
|
|
21774
|
+
this.rules[76] = {
|
|
21775
|
+
name: 'normal-HEXDIG',
|
|
21776
|
+
lower: 'normal-hexdig',
|
|
21777
|
+
index: 76,
|
|
21778
|
+
isBkr: false
|
|
21779
|
+
};
|
|
21780
|
+
this.rules[77] = {
|
|
21781
|
+
name: 'normal-index-selector',
|
|
21782
|
+
lower: 'normal-index-selector',
|
|
21783
|
+
index: 77,
|
|
21784
|
+
isBkr: false
|
|
21785
|
+
};
|
|
21786
|
+
this.rules[78] = {
|
|
21787
|
+
name: 'dot-prefix',
|
|
21788
|
+
lower: 'dot-prefix',
|
|
21789
|
+
index: 78,
|
|
21790
|
+
isBkr: false
|
|
21791
|
+
};
|
|
21792
|
+
this.rules[79] = {
|
|
21793
|
+
name: 'double-dot-prefix',
|
|
21794
|
+
lower: 'double-dot-prefix',
|
|
21795
|
+
index: 79,
|
|
21796
|
+
isBkr: false
|
|
21797
|
+
};
|
|
21798
|
+
this.rules[80] = {
|
|
21799
|
+
name: 'left-bracket',
|
|
21800
|
+
lower: 'left-bracket',
|
|
21801
|
+
index: 80,
|
|
21802
|
+
isBkr: false
|
|
21803
|
+
};
|
|
21804
|
+
this.rules[81] = {
|
|
21805
|
+
name: 'right-bracket',
|
|
21806
|
+
lower: 'right-bracket',
|
|
21807
|
+
index: 81,
|
|
21808
|
+
isBkr: false
|
|
21809
|
+
};
|
|
21810
|
+
this.rules[82] = {
|
|
21811
|
+
name: 'left-paren',
|
|
21812
|
+
lower: 'left-paren',
|
|
21813
|
+
index: 82,
|
|
21814
|
+
isBkr: false
|
|
21815
|
+
};
|
|
21816
|
+
this.rules[83] = {
|
|
21817
|
+
name: 'right-paren',
|
|
21818
|
+
lower: 'right-paren',
|
|
21819
|
+
index: 83,
|
|
21820
|
+
isBkr: false
|
|
21821
|
+
};
|
|
21822
|
+
this.rules[84] = {
|
|
21823
|
+
name: 'comma',
|
|
21824
|
+
lower: 'comma',
|
|
21825
|
+
index: 84,
|
|
21826
|
+
isBkr: false
|
|
21827
|
+
};
|
|
21828
|
+
this.rules[85] = {
|
|
21829
|
+
name: 'colon',
|
|
21830
|
+
lower: 'colon',
|
|
21831
|
+
index: 85,
|
|
21832
|
+
isBkr: false
|
|
21833
|
+
};
|
|
21834
|
+
this.rules[86] = {
|
|
21835
|
+
name: 'dquote',
|
|
21836
|
+
lower: 'dquote',
|
|
21837
|
+
index: 86,
|
|
21838
|
+
isBkr: false
|
|
21839
|
+
};
|
|
21840
|
+
this.rules[87] = {
|
|
21841
|
+
name: 'squote',
|
|
21842
|
+
lower: 'squote',
|
|
21843
|
+
index: 87,
|
|
21844
|
+
isBkr: false
|
|
21845
|
+
};
|
|
21846
|
+
this.rules[88] = {
|
|
21847
|
+
name: 'questionmark',
|
|
21848
|
+
lower: 'questionmark',
|
|
21849
|
+
index: 88,
|
|
21850
|
+
isBkr: false
|
|
21851
|
+
};
|
|
21852
|
+
this.rules[89] = {
|
|
21853
|
+
name: 'disjunction',
|
|
21854
|
+
lower: 'disjunction',
|
|
21855
|
+
index: 89,
|
|
21856
|
+
isBkr: false
|
|
21857
|
+
};
|
|
21858
|
+
this.rules[90] = {
|
|
21859
|
+
name: 'conjunction',
|
|
21860
|
+
lower: 'conjunction',
|
|
21861
|
+
index: 90,
|
|
21862
|
+
isBkr: false
|
|
21863
|
+
};
|
|
21864
|
+
|
|
21865
|
+
/* UDTS */
|
|
21866
|
+
this.udts = [];
|
|
21867
|
+
|
|
21868
|
+
/* OPCODES */
|
|
21869
|
+
/* jsonpath-query */
|
|
21870
|
+
this.rules[0].opcodes = [];
|
|
21871
|
+
this.rules[0].opcodes[0] = {
|
|
21872
|
+
type: 2,
|
|
21873
|
+
children: [1, 2]
|
|
21874
|
+
}; // CAT
|
|
21875
|
+
this.rules[0].opcodes[1] = {
|
|
21876
|
+
type: 4,
|
|
21877
|
+
index: 4
|
|
21878
|
+
}; // RNM(root-identifier)
|
|
21879
|
+
this.rules[0].opcodes[2] = {
|
|
21880
|
+
type: 4,
|
|
21881
|
+
index: 1
|
|
21882
|
+
}; // RNM(segments)
|
|
21883
|
+
|
|
21884
|
+
/* segments */
|
|
21885
|
+
this.rules[1].opcodes = [];
|
|
21886
|
+
this.rules[1].opcodes[0] = {
|
|
21887
|
+
type: 3,
|
|
21888
|
+
min: 0,
|
|
21889
|
+
max: Infinity
|
|
21890
|
+
}; // REP
|
|
21891
|
+
this.rules[1].opcodes[1] = {
|
|
21892
|
+
type: 2,
|
|
21893
|
+
children: [2, 3]
|
|
21894
|
+
}; // CAT
|
|
21895
|
+
this.rules[1].opcodes[2] = {
|
|
21896
|
+
type: 4,
|
|
21897
|
+
index: 3
|
|
21898
|
+
}; // RNM(S)
|
|
21899
|
+
this.rules[1].opcodes[3] = {
|
|
21900
|
+
type: 4,
|
|
21901
|
+
index: 59
|
|
21902
|
+
}; // RNM(segment)
|
|
21903
|
+
|
|
21904
|
+
/* B */
|
|
21905
|
+
this.rules[2].opcodes = [];
|
|
21906
|
+
this.rules[2].opcodes[0] = {
|
|
21907
|
+
type: 1,
|
|
21908
|
+
children: [1, 2, 3, 4]
|
|
21909
|
+
}; // ALT
|
|
21910
|
+
this.rules[2].opcodes[1] = {
|
|
21911
|
+
type: 6,
|
|
21912
|
+
string: [32]
|
|
21913
|
+
}; // TBS
|
|
21914
|
+
this.rules[2].opcodes[2] = {
|
|
21915
|
+
type: 6,
|
|
21916
|
+
string: [9]
|
|
21917
|
+
}; // TBS
|
|
21918
|
+
this.rules[2].opcodes[3] = {
|
|
21919
|
+
type: 6,
|
|
21920
|
+
string: [10]
|
|
21921
|
+
}; // TBS
|
|
21922
|
+
this.rules[2].opcodes[4] = {
|
|
21923
|
+
type: 6,
|
|
21924
|
+
string: [13]
|
|
21925
|
+
}; // TBS
|
|
21926
|
+
|
|
21927
|
+
/* S */
|
|
21928
|
+
this.rules[3].opcodes = [];
|
|
21929
|
+
this.rules[3].opcodes[0] = {
|
|
21930
|
+
type: 3,
|
|
21931
|
+
min: 0,
|
|
21932
|
+
max: Infinity
|
|
21933
|
+
}; // REP
|
|
21934
|
+
this.rules[3].opcodes[1] = {
|
|
21935
|
+
type: 4,
|
|
21936
|
+
index: 2
|
|
21937
|
+
}; // RNM(B)
|
|
21938
|
+
|
|
21939
|
+
/* root-identifier */
|
|
21940
|
+
this.rules[4].opcodes = [];
|
|
21941
|
+
this.rules[4].opcodes[0] = {
|
|
21942
|
+
type: 7,
|
|
21943
|
+
string: [36]
|
|
21944
|
+
}; // TLS
|
|
21945
|
+
|
|
21946
|
+
/* selector */
|
|
21947
|
+
this.rules[5].opcodes = [];
|
|
21948
|
+
this.rules[5].opcodes[0] = {
|
|
21949
|
+
type: 1,
|
|
21950
|
+
children: [1, 2, 3, 4, 5]
|
|
21951
|
+
}; // ALT
|
|
21952
|
+
this.rules[5].opcodes[1] = {
|
|
21953
|
+
type: 4,
|
|
21954
|
+
index: 6
|
|
21955
|
+
}; // RNM(name-selector)
|
|
21956
|
+
this.rules[5].opcodes[2] = {
|
|
21957
|
+
type: 4,
|
|
21958
|
+
index: 18
|
|
21959
|
+
}; // RNM(wildcard-selector)
|
|
21960
|
+
this.rules[5].opcodes[3] = {
|
|
21961
|
+
type: 4,
|
|
21962
|
+
index: 22
|
|
21963
|
+
}; // RNM(slice-selector)
|
|
21964
|
+
this.rules[5].opcodes[4] = {
|
|
21965
|
+
type: 4,
|
|
21966
|
+
index: 19
|
|
21967
|
+
}; // RNM(index-selector)
|
|
21968
|
+
this.rules[5].opcodes[5] = {
|
|
21969
|
+
type: 4,
|
|
21970
|
+
index: 26
|
|
21971
|
+
}; // RNM(filter-selector)
|
|
21972
|
+
|
|
21973
|
+
/* name-selector */
|
|
21974
|
+
this.rules[6].opcodes = [];
|
|
21975
|
+
this.rules[6].opcodes[0] = {
|
|
21976
|
+
type: 4,
|
|
21977
|
+
index: 7
|
|
21978
|
+
}; // RNM(string-literal)
|
|
21979
|
+
|
|
21980
|
+
/* string-literal */
|
|
21981
|
+
this.rules[7].opcodes = [];
|
|
21982
|
+
this.rules[7].opcodes[0] = {
|
|
21983
|
+
type: 1,
|
|
21984
|
+
children: [1, 6]
|
|
21985
|
+
}; // ALT
|
|
21986
|
+
this.rules[7].opcodes[1] = {
|
|
21987
|
+
type: 2,
|
|
21988
|
+
children: [2, 3, 5]
|
|
21989
|
+
}; // CAT
|
|
21990
|
+
this.rules[7].opcodes[2] = {
|
|
21991
|
+
type: 4,
|
|
21992
|
+
index: 86
|
|
21993
|
+
}; // RNM(dquote)
|
|
21994
|
+
this.rules[7].opcodes[3] = {
|
|
21995
|
+
type: 3,
|
|
21996
|
+
min: 0,
|
|
21997
|
+
max: Infinity
|
|
21998
|
+
}; // REP
|
|
21999
|
+
this.rules[7].opcodes[4] = {
|
|
22000
|
+
type: 4,
|
|
22001
|
+
index: 8
|
|
22002
|
+
}; // RNM(double-quoted)
|
|
22003
|
+
this.rules[7].opcodes[5] = {
|
|
22004
|
+
type: 4,
|
|
22005
|
+
index: 86
|
|
22006
|
+
}; // RNM(dquote)
|
|
22007
|
+
this.rules[7].opcodes[6] = {
|
|
22008
|
+
type: 2,
|
|
22009
|
+
children: [7, 8, 10]
|
|
22010
|
+
}; // CAT
|
|
22011
|
+
this.rules[7].opcodes[7] = {
|
|
22012
|
+
type: 4,
|
|
22013
|
+
index: 87
|
|
22014
|
+
}; // RNM(squote)
|
|
22015
|
+
this.rules[7].opcodes[8] = {
|
|
22016
|
+
type: 3,
|
|
22017
|
+
min: 0,
|
|
22018
|
+
max: Infinity
|
|
22019
|
+
}; // REP
|
|
22020
|
+
this.rules[7].opcodes[9] = {
|
|
22021
|
+
type: 4,
|
|
22022
|
+
index: 9
|
|
22023
|
+
}; // RNM(single-quoted)
|
|
22024
|
+
this.rules[7].opcodes[10] = {
|
|
22025
|
+
type: 4,
|
|
22026
|
+
index: 87
|
|
22027
|
+
}; // RNM(squote)
|
|
22028
|
+
|
|
22029
|
+
/* double-quoted */
|
|
22030
|
+
this.rules[8].opcodes = [];
|
|
22031
|
+
this.rules[8].opcodes[0] = {
|
|
22032
|
+
type: 1,
|
|
22033
|
+
children: [1, 2, 3, 6]
|
|
22034
|
+
}; // ALT
|
|
22035
|
+
this.rules[8].opcodes[1] = {
|
|
22036
|
+
type: 4,
|
|
22037
|
+
index: 11
|
|
22038
|
+
}; // RNM(unescaped)
|
|
22039
|
+
this.rules[8].opcodes[2] = {
|
|
22040
|
+
type: 6,
|
|
22041
|
+
string: [39]
|
|
22042
|
+
}; // TBS
|
|
22043
|
+
this.rules[8].opcodes[3] = {
|
|
22044
|
+
type: 2,
|
|
22045
|
+
children: [4, 5]
|
|
22046
|
+
}; // CAT
|
|
22047
|
+
this.rules[8].opcodes[4] = {
|
|
22048
|
+
type: 4,
|
|
22049
|
+
index: 10
|
|
22050
|
+
}; // RNM(ESC)
|
|
22051
|
+
this.rules[8].opcodes[5] = {
|
|
22052
|
+
type: 6,
|
|
22053
|
+
string: [34]
|
|
22054
|
+
}; // TBS
|
|
22055
|
+
this.rules[8].opcodes[6] = {
|
|
22056
|
+
type: 2,
|
|
22057
|
+
children: [7, 8]
|
|
22058
|
+
}; // CAT
|
|
22059
|
+
this.rules[8].opcodes[7] = {
|
|
22060
|
+
type: 4,
|
|
22061
|
+
index: 10
|
|
22062
|
+
}; // RNM(ESC)
|
|
22063
|
+
this.rules[8].opcodes[8] = {
|
|
22064
|
+
type: 4,
|
|
22065
|
+
index: 12
|
|
22066
|
+
}; // RNM(escapable)
|
|
22067
|
+
|
|
22068
|
+
/* single-quoted */
|
|
22069
|
+
this.rules[9].opcodes = [];
|
|
22070
|
+
this.rules[9].opcodes[0] = {
|
|
22071
|
+
type: 1,
|
|
22072
|
+
children: [1, 2, 3, 6]
|
|
22073
|
+
}; // ALT
|
|
22074
|
+
this.rules[9].opcodes[1] = {
|
|
22075
|
+
type: 4,
|
|
22076
|
+
index: 11
|
|
22077
|
+
}; // RNM(unescaped)
|
|
22078
|
+
this.rules[9].opcodes[2] = {
|
|
22079
|
+
type: 6,
|
|
22080
|
+
string: [34]
|
|
22081
|
+
}; // TBS
|
|
22082
|
+
this.rules[9].opcodes[3] = {
|
|
22083
|
+
type: 2,
|
|
22084
|
+
children: [4, 5]
|
|
22085
|
+
}; // CAT
|
|
22086
|
+
this.rules[9].opcodes[4] = {
|
|
22087
|
+
type: 4,
|
|
22088
|
+
index: 10
|
|
22089
|
+
}; // RNM(ESC)
|
|
22090
|
+
this.rules[9].opcodes[5] = {
|
|
22091
|
+
type: 6,
|
|
22092
|
+
string: [39]
|
|
22093
|
+
}; // TBS
|
|
22094
|
+
this.rules[9].opcodes[6] = {
|
|
22095
|
+
type: 2,
|
|
22096
|
+
children: [7, 8]
|
|
22097
|
+
}; // CAT
|
|
22098
|
+
this.rules[9].opcodes[7] = {
|
|
22099
|
+
type: 4,
|
|
22100
|
+
index: 10
|
|
22101
|
+
}; // RNM(ESC)
|
|
22102
|
+
this.rules[9].opcodes[8] = {
|
|
22103
|
+
type: 4,
|
|
22104
|
+
index: 12
|
|
22105
|
+
}; // RNM(escapable)
|
|
22106
|
+
|
|
22107
|
+
/* ESC */
|
|
22108
|
+
this.rules[10].opcodes = [];
|
|
22109
|
+
this.rules[10].opcodes[0] = {
|
|
22110
|
+
type: 6,
|
|
22111
|
+
string: [92]
|
|
22112
|
+
}; // TBS
|
|
22113
|
+
|
|
22114
|
+
/* unescaped */
|
|
22115
|
+
this.rules[11].opcodes = [];
|
|
22116
|
+
this.rules[11].opcodes[0] = {
|
|
22117
|
+
type: 1,
|
|
22118
|
+
children: [1, 2, 3, 4, 5]
|
|
22119
|
+
}; // ALT
|
|
22120
|
+
this.rules[11].opcodes[1] = {
|
|
22121
|
+
type: 5,
|
|
22122
|
+
min: 32,
|
|
22123
|
+
max: 33
|
|
22124
|
+
}; // TRG
|
|
22125
|
+
this.rules[11].opcodes[2] = {
|
|
22126
|
+
type: 5,
|
|
22127
|
+
min: 35,
|
|
22128
|
+
max: 38
|
|
22129
|
+
}; // TRG
|
|
22130
|
+
this.rules[11].opcodes[3] = {
|
|
22131
|
+
type: 5,
|
|
22132
|
+
min: 40,
|
|
22133
|
+
max: 91
|
|
22134
|
+
}; // TRG
|
|
22135
|
+
this.rules[11].opcodes[4] = {
|
|
22136
|
+
type: 5,
|
|
22137
|
+
min: 93,
|
|
22138
|
+
max: 55295
|
|
22139
|
+
}; // TRG
|
|
22140
|
+
this.rules[11].opcodes[5] = {
|
|
22141
|
+
type: 5,
|
|
22142
|
+
min: 57344,
|
|
22143
|
+
max: 1114111
|
|
22144
|
+
}; // TRG
|
|
22145
|
+
|
|
22146
|
+
/* escapable */
|
|
22147
|
+
this.rules[12].opcodes = [];
|
|
22148
|
+
this.rules[12].opcodes[0] = {
|
|
22149
|
+
type: 1,
|
|
22150
|
+
children: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
22151
|
+
}; // ALT
|
|
22152
|
+
this.rules[12].opcodes[1] = {
|
|
22153
|
+
type: 6,
|
|
22154
|
+
string: [98]
|
|
22155
|
+
}; // TBS
|
|
22156
|
+
this.rules[12].opcodes[2] = {
|
|
22157
|
+
type: 6,
|
|
22158
|
+
string: [102]
|
|
22159
|
+
}; // TBS
|
|
22160
|
+
this.rules[12].opcodes[3] = {
|
|
22161
|
+
type: 6,
|
|
22162
|
+
string: [110]
|
|
22163
|
+
}; // TBS
|
|
22164
|
+
this.rules[12].opcodes[4] = {
|
|
22165
|
+
type: 6,
|
|
22166
|
+
string: [114]
|
|
22167
|
+
}; // TBS
|
|
22168
|
+
this.rules[12].opcodes[5] = {
|
|
22169
|
+
type: 6,
|
|
22170
|
+
string: [116]
|
|
22171
|
+
}; // TBS
|
|
22172
|
+
this.rules[12].opcodes[6] = {
|
|
22173
|
+
type: 7,
|
|
22174
|
+
string: [47]
|
|
22175
|
+
}; // TLS
|
|
22176
|
+
this.rules[12].opcodes[7] = {
|
|
22177
|
+
type: 7,
|
|
22178
|
+
string: [92]
|
|
22179
|
+
}; // TLS
|
|
22180
|
+
this.rules[12].opcodes[8] = {
|
|
22181
|
+
type: 2,
|
|
22182
|
+
children: [9, 10]
|
|
22183
|
+
}; // CAT
|
|
22184
|
+
this.rules[12].opcodes[9] = {
|
|
22185
|
+
type: 6,
|
|
22186
|
+
string: [117]
|
|
22187
|
+
}; // TBS
|
|
22188
|
+
this.rules[12].opcodes[10] = {
|
|
22189
|
+
type: 4,
|
|
22190
|
+
index: 13
|
|
22191
|
+
}; // RNM(hexchar)
|
|
22192
|
+
|
|
22193
|
+
/* hexchar */
|
|
22194
|
+
this.rules[13].opcodes = [];
|
|
22195
|
+
this.rules[13].opcodes[0] = {
|
|
22196
|
+
type: 1,
|
|
22197
|
+
children: [1, 2]
|
|
22198
|
+
}; // ALT
|
|
22199
|
+
this.rules[13].opcodes[1] = {
|
|
22200
|
+
type: 4,
|
|
22201
|
+
index: 14
|
|
22202
|
+
}; // RNM(non-surrogate)
|
|
22203
|
+
this.rules[13].opcodes[2] = {
|
|
22204
|
+
type: 2,
|
|
22205
|
+
children: [3, 4, 5, 6]
|
|
22206
|
+
}; // CAT
|
|
22207
|
+
this.rules[13].opcodes[3] = {
|
|
22208
|
+
type: 4,
|
|
22209
|
+
index: 15
|
|
22210
|
+
}; // RNM(high-surrogate)
|
|
22211
|
+
this.rules[13].opcodes[4] = {
|
|
22212
|
+
type: 7,
|
|
22213
|
+
string: [92]
|
|
22214
|
+
}; // TLS
|
|
22215
|
+
this.rules[13].opcodes[5] = {
|
|
22216
|
+
type: 6,
|
|
22217
|
+
string: [117]
|
|
22218
|
+
}; // TBS
|
|
22219
|
+
this.rules[13].opcodes[6] = {
|
|
22220
|
+
type: 4,
|
|
22221
|
+
index: 16
|
|
22222
|
+
}; // RNM(low-surrogate)
|
|
22223
|
+
|
|
22224
|
+
/* non-surrogate */
|
|
22225
|
+
this.rules[14].opcodes = [];
|
|
22226
|
+
this.rules[14].opcodes[0] = {
|
|
22227
|
+
type: 1,
|
|
22228
|
+
children: [1, 11]
|
|
22229
|
+
}; // ALT
|
|
22230
|
+
this.rules[14].opcodes[1] = {
|
|
22231
|
+
type: 2,
|
|
22232
|
+
children: [2, 9]
|
|
22233
|
+
}; // CAT
|
|
22234
|
+
this.rules[14].opcodes[2] = {
|
|
22235
|
+
type: 1,
|
|
22236
|
+
children: [3, 4, 5, 6, 7, 8]
|
|
22237
|
+
}; // ALT
|
|
22238
|
+
this.rules[14].opcodes[3] = {
|
|
22239
|
+
type: 4,
|
|
22240
|
+
index: 65
|
|
22241
|
+
}; // RNM(DIGIT)
|
|
22242
|
+
this.rules[14].opcodes[4] = {
|
|
22243
|
+
type: 7,
|
|
22244
|
+
string: [97]
|
|
22245
|
+
}; // TLS
|
|
22246
|
+
this.rules[14].opcodes[5] = {
|
|
22247
|
+
type: 7,
|
|
22248
|
+
string: [98]
|
|
22249
|
+
}; // TLS
|
|
22250
|
+
this.rules[14].opcodes[6] = {
|
|
22251
|
+
type: 7,
|
|
22252
|
+
string: [99]
|
|
22253
|
+
}; // TLS
|
|
22254
|
+
this.rules[14].opcodes[7] = {
|
|
22255
|
+
type: 7,
|
|
22256
|
+
string: [101]
|
|
22257
|
+
}; // TLS
|
|
22258
|
+
this.rules[14].opcodes[8] = {
|
|
22259
|
+
type: 7,
|
|
22260
|
+
string: [102]
|
|
22261
|
+
}; // TLS
|
|
22262
|
+
this.rules[14].opcodes[9] = {
|
|
22263
|
+
type: 3,
|
|
22264
|
+
min: 3,
|
|
22265
|
+
max: 3
|
|
22266
|
+
}; // REP
|
|
22267
|
+
this.rules[14].opcodes[10] = {
|
|
22268
|
+
type: 4,
|
|
22269
|
+
index: 17
|
|
22270
|
+
}; // RNM(HEXDIG)
|
|
22271
|
+
this.rules[14].opcodes[11] = {
|
|
22272
|
+
type: 2,
|
|
22273
|
+
children: [12, 13, 14]
|
|
22274
|
+
}; // CAT
|
|
22275
|
+
this.rules[14].opcodes[12] = {
|
|
22276
|
+
type: 7,
|
|
22277
|
+
string: [100]
|
|
22278
|
+
}; // TLS
|
|
22279
|
+
this.rules[14].opcodes[13] = {
|
|
22280
|
+
type: 5,
|
|
22281
|
+
min: 48,
|
|
22282
|
+
max: 55
|
|
22283
|
+
}; // TRG
|
|
22284
|
+
this.rules[14].opcodes[14] = {
|
|
22285
|
+
type: 3,
|
|
22286
|
+
min: 2,
|
|
22287
|
+
max: 2
|
|
22288
|
+
}; // REP
|
|
22289
|
+
this.rules[14].opcodes[15] = {
|
|
22290
|
+
type: 4,
|
|
22291
|
+
index: 17
|
|
22292
|
+
}; // RNM(HEXDIG)
|
|
22293
|
+
|
|
22294
|
+
/* high-surrogate */
|
|
22295
|
+
this.rules[15].opcodes = [];
|
|
22296
|
+
this.rules[15].opcodes[0] = {
|
|
22297
|
+
type: 2,
|
|
22298
|
+
children: [1, 2, 7]
|
|
22299
|
+
}; // CAT
|
|
22300
|
+
this.rules[15].opcodes[1] = {
|
|
22301
|
+
type: 7,
|
|
22302
|
+
string: [100]
|
|
22303
|
+
}; // TLS
|
|
22304
|
+
this.rules[15].opcodes[2] = {
|
|
22305
|
+
type: 1,
|
|
22306
|
+
children: [3, 4, 5, 6]
|
|
22307
|
+
}; // ALT
|
|
22308
|
+
this.rules[15].opcodes[3] = {
|
|
22309
|
+
type: 7,
|
|
22310
|
+
string: [56]
|
|
22311
|
+
}; // TLS
|
|
22312
|
+
this.rules[15].opcodes[4] = {
|
|
22313
|
+
type: 7,
|
|
22314
|
+
string: [57]
|
|
22315
|
+
}; // TLS
|
|
22316
|
+
this.rules[15].opcodes[5] = {
|
|
22317
|
+
type: 7,
|
|
22318
|
+
string: [97]
|
|
22319
|
+
}; // TLS
|
|
22320
|
+
this.rules[15].opcodes[6] = {
|
|
22321
|
+
type: 7,
|
|
22322
|
+
string: [98]
|
|
22323
|
+
}; // TLS
|
|
22324
|
+
this.rules[15].opcodes[7] = {
|
|
22325
|
+
type: 3,
|
|
22326
|
+
min: 2,
|
|
22327
|
+
max: 2
|
|
22328
|
+
}; // REP
|
|
22329
|
+
this.rules[15].opcodes[8] = {
|
|
22330
|
+
type: 4,
|
|
22331
|
+
index: 17
|
|
22332
|
+
}; // RNM(HEXDIG)
|
|
22333
|
+
|
|
22334
|
+
/* low-surrogate */
|
|
22335
|
+
this.rules[16].opcodes = [];
|
|
22336
|
+
this.rules[16].opcodes[0] = {
|
|
22337
|
+
type: 2,
|
|
22338
|
+
children: [1, 2, 7]
|
|
22339
|
+
}; // CAT
|
|
22340
|
+
this.rules[16].opcodes[1] = {
|
|
22341
|
+
type: 7,
|
|
22342
|
+
string: [100]
|
|
22343
|
+
}; // TLS
|
|
22344
|
+
this.rules[16].opcodes[2] = {
|
|
22345
|
+
type: 1,
|
|
22346
|
+
children: [3, 4, 5, 6]
|
|
22347
|
+
}; // ALT
|
|
22348
|
+
this.rules[16].opcodes[3] = {
|
|
22349
|
+
type: 7,
|
|
22350
|
+
string: [99]
|
|
22351
|
+
}; // TLS
|
|
22352
|
+
this.rules[16].opcodes[4] = {
|
|
22353
|
+
type: 7,
|
|
22354
|
+
string: [100]
|
|
22355
|
+
}; // TLS
|
|
22356
|
+
this.rules[16].opcodes[5] = {
|
|
22357
|
+
type: 7,
|
|
22358
|
+
string: [101]
|
|
22359
|
+
}; // TLS
|
|
22360
|
+
this.rules[16].opcodes[6] = {
|
|
22361
|
+
type: 7,
|
|
22362
|
+
string: [102]
|
|
22363
|
+
}; // TLS
|
|
22364
|
+
this.rules[16].opcodes[7] = {
|
|
22365
|
+
type: 3,
|
|
22366
|
+
min: 2,
|
|
22367
|
+
max: 2
|
|
22368
|
+
}; // REP
|
|
22369
|
+
this.rules[16].opcodes[8] = {
|
|
22370
|
+
type: 4,
|
|
22371
|
+
index: 17
|
|
22372
|
+
}; // RNM(HEXDIG)
|
|
22373
|
+
|
|
22374
|
+
/* HEXDIG */
|
|
22375
|
+
this.rules[17].opcodes = [];
|
|
22376
|
+
this.rules[17].opcodes[0] = {
|
|
22377
|
+
type: 1,
|
|
22378
|
+
children: [1, 2, 3, 4, 5, 6, 7]
|
|
22379
|
+
}; // ALT
|
|
22380
|
+
this.rules[17].opcodes[1] = {
|
|
22381
|
+
type: 4,
|
|
22382
|
+
index: 65
|
|
22383
|
+
}; // RNM(DIGIT)
|
|
22384
|
+
this.rules[17].opcodes[2] = {
|
|
22385
|
+
type: 7,
|
|
22386
|
+
string: [97]
|
|
22387
|
+
}; // TLS
|
|
22388
|
+
this.rules[17].opcodes[3] = {
|
|
22389
|
+
type: 7,
|
|
22390
|
+
string: [98]
|
|
22391
|
+
}; // TLS
|
|
22392
|
+
this.rules[17].opcodes[4] = {
|
|
22393
|
+
type: 7,
|
|
22394
|
+
string: [99]
|
|
22395
|
+
}; // TLS
|
|
22396
|
+
this.rules[17].opcodes[5] = {
|
|
22397
|
+
type: 7,
|
|
22398
|
+
string: [100]
|
|
22399
|
+
}; // TLS
|
|
22400
|
+
this.rules[17].opcodes[6] = {
|
|
22401
|
+
type: 7,
|
|
22402
|
+
string: [101]
|
|
22403
|
+
}; // TLS
|
|
22404
|
+
this.rules[17].opcodes[7] = {
|
|
22405
|
+
type: 7,
|
|
22406
|
+
string: [102]
|
|
22407
|
+
}; // TLS
|
|
22408
|
+
|
|
22409
|
+
/* wildcard-selector */
|
|
22410
|
+
this.rules[18].opcodes = [];
|
|
22411
|
+
this.rules[18].opcodes[0] = {
|
|
22412
|
+
type: 7,
|
|
22413
|
+
string: [42]
|
|
22414
|
+
}; // TLS
|
|
22415
|
+
|
|
22416
|
+
/* index-selector */
|
|
22417
|
+
this.rules[19].opcodes = [];
|
|
22418
|
+
this.rules[19].opcodes[0] = {
|
|
22419
|
+
type: 4,
|
|
22420
|
+
index: 20
|
|
22421
|
+
}; // RNM(int)
|
|
22422
|
+
|
|
22423
|
+
/* int */
|
|
22424
|
+
this.rules[20].opcodes = [];
|
|
22425
|
+
this.rules[20].opcodes[0] = {
|
|
22426
|
+
type: 1,
|
|
22427
|
+
children: [1, 2]
|
|
22428
|
+
}; // ALT
|
|
22429
|
+
this.rules[20].opcodes[1] = {
|
|
22430
|
+
type: 7,
|
|
22431
|
+
string: [48]
|
|
22432
|
+
}; // TLS
|
|
22433
|
+
this.rules[20].opcodes[2] = {
|
|
22434
|
+
type: 2,
|
|
22435
|
+
children: [3, 5, 6]
|
|
22436
|
+
}; // CAT
|
|
22437
|
+
this.rules[20].opcodes[3] = {
|
|
22438
|
+
type: 3,
|
|
22439
|
+
min: 0,
|
|
22440
|
+
max: 1
|
|
22441
|
+
}; // REP
|
|
22442
|
+
this.rules[20].opcodes[4] = {
|
|
22443
|
+
type: 7,
|
|
22444
|
+
string: [45]
|
|
22445
|
+
}; // TLS
|
|
22446
|
+
this.rules[20].opcodes[5] = {
|
|
22447
|
+
type: 4,
|
|
22448
|
+
index: 21
|
|
22449
|
+
}; // RNM(DIGIT1)
|
|
22450
|
+
this.rules[20].opcodes[6] = {
|
|
22451
|
+
type: 3,
|
|
22452
|
+
min: 0,
|
|
22453
|
+
max: Infinity
|
|
22454
|
+
}; // REP
|
|
22455
|
+
this.rules[20].opcodes[7] = {
|
|
22456
|
+
type: 4,
|
|
22457
|
+
index: 65
|
|
22458
|
+
}; // RNM(DIGIT)
|
|
22459
|
+
|
|
22460
|
+
/* DIGIT1 */
|
|
22461
|
+
this.rules[21].opcodes = [];
|
|
22462
|
+
this.rules[21].opcodes[0] = {
|
|
22463
|
+
type: 5,
|
|
22464
|
+
min: 49,
|
|
22465
|
+
max: 57
|
|
22466
|
+
}; // TRG
|
|
22467
|
+
|
|
22468
|
+
/* slice-selector */
|
|
22469
|
+
this.rules[22].opcodes = [];
|
|
22470
|
+
this.rules[22].opcodes[0] = {
|
|
22471
|
+
type: 2,
|
|
22472
|
+
children: [1, 5, 6, 7, 11]
|
|
22473
|
+
}; // CAT
|
|
22474
|
+
this.rules[22].opcodes[1] = {
|
|
22475
|
+
type: 3,
|
|
22476
|
+
min: 0,
|
|
22477
|
+
max: 1
|
|
22478
|
+
}; // REP
|
|
22479
|
+
this.rules[22].opcodes[2] = {
|
|
22480
|
+
type: 2,
|
|
22481
|
+
children: [3, 4]
|
|
22482
|
+
}; // CAT
|
|
22483
|
+
this.rules[22].opcodes[3] = {
|
|
22484
|
+
type: 4,
|
|
22485
|
+
index: 23
|
|
22486
|
+
}; // RNM(start)
|
|
22487
|
+
this.rules[22].opcodes[4] = {
|
|
22488
|
+
type: 4,
|
|
22489
|
+
index: 3
|
|
22490
|
+
}; // RNM(S)
|
|
22491
|
+
this.rules[22].opcodes[5] = {
|
|
22492
|
+
type: 4,
|
|
22493
|
+
index: 85
|
|
22494
|
+
}; // RNM(colon)
|
|
22495
|
+
this.rules[22].opcodes[6] = {
|
|
22496
|
+
type: 4,
|
|
22497
|
+
index: 3
|
|
22498
|
+
}; // RNM(S)
|
|
22499
|
+
this.rules[22].opcodes[7] = {
|
|
22500
|
+
type: 3,
|
|
22501
|
+
min: 0,
|
|
22502
|
+
max: 1
|
|
22503
|
+
}; // REP
|
|
22504
|
+
this.rules[22].opcodes[8] = {
|
|
22505
|
+
type: 2,
|
|
22506
|
+
children: [9, 10]
|
|
22507
|
+
}; // CAT
|
|
22508
|
+
this.rules[22].opcodes[9] = {
|
|
22509
|
+
type: 4,
|
|
22510
|
+
index: 24
|
|
22511
|
+
}; // RNM(end)
|
|
22512
|
+
this.rules[22].opcodes[10] = {
|
|
22513
|
+
type: 4,
|
|
22514
|
+
index: 3
|
|
22515
|
+
}; // RNM(S)
|
|
22516
|
+
this.rules[22].opcodes[11] = {
|
|
22517
|
+
type: 3,
|
|
22518
|
+
min: 0,
|
|
22519
|
+
max: 1
|
|
22520
|
+
}; // REP
|
|
22521
|
+
this.rules[22].opcodes[12] = {
|
|
22522
|
+
type: 2,
|
|
22523
|
+
children: [13, 14]
|
|
22524
|
+
}; // CAT
|
|
22525
|
+
this.rules[22].opcodes[13] = {
|
|
22526
|
+
type: 4,
|
|
22527
|
+
index: 85
|
|
22528
|
+
}; // RNM(colon)
|
|
22529
|
+
this.rules[22].opcodes[14] = {
|
|
22530
|
+
type: 3,
|
|
22531
|
+
min: 0,
|
|
22532
|
+
max: 1
|
|
22533
|
+
}; // REP
|
|
22534
|
+
this.rules[22].opcodes[15] = {
|
|
22535
|
+
type: 2,
|
|
22536
|
+
children: [16, 17]
|
|
22537
|
+
}; // CAT
|
|
22538
|
+
this.rules[22].opcodes[16] = {
|
|
22539
|
+
type: 4,
|
|
22540
|
+
index: 3
|
|
22541
|
+
}; // RNM(S)
|
|
22542
|
+
this.rules[22].opcodes[17] = {
|
|
22543
|
+
type: 4,
|
|
22544
|
+
index: 25
|
|
22545
|
+
}; // RNM(step)
|
|
22546
|
+
|
|
22547
|
+
/* start */
|
|
22548
|
+
this.rules[23].opcodes = [];
|
|
22549
|
+
this.rules[23].opcodes[0] = {
|
|
22550
|
+
type: 4,
|
|
22551
|
+
index: 20
|
|
22552
|
+
}; // RNM(int)
|
|
22553
|
+
|
|
22554
|
+
/* end */
|
|
22555
|
+
this.rules[24].opcodes = [];
|
|
22556
|
+
this.rules[24].opcodes[0] = {
|
|
22557
|
+
type: 4,
|
|
22558
|
+
index: 20
|
|
22559
|
+
}; // RNM(int)
|
|
22560
|
+
|
|
22561
|
+
/* step */
|
|
22562
|
+
this.rules[25].opcodes = [];
|
|
22563
|
+
this.rules[25].opcodes[0] = {
|
|
22564
|
+
type: 4,
|
|
22565
|
+
index: 20
|
|
22566
|
+
}; // RNM(int)
|
|
22567
|
+
|
|
22568
|
+
/* filter-selector */
|
|
22569
|
+
this.rules[26].opcodes = [];
|
|
22570
|
+
this.rules[26].opcodes[0] = {
|
|
22571
|
+
type: 2,
|
|
22572
|
+
children: [1, 2, 3]
|
|
22573
|
+
}; // CAT
|
|
22574
|
+
this.rules[26].opcodes[1] = {
|
|
22575
|
+
type: 4,
|
|
22576
|
+
index: 88
|
|
22577
|
+
}; // RNM(questionmark)
|
|
22578
|
+
this.rules[26].opcodes[2] = {
|
|
22579
|
+
type: 4,
|
|
22580
|
+
index: 3
|
|
22581
|
+
}; // RNM(S)
|
|
22582
|
+
this.rules[26].opcodes[3] = {
|
|
22583
|
+
type: 4,
|
|
22584
|
+
index: 27
|
|
22585
|
+
}; // RNM(logical-expr)
|
|
22586
|
+
|
|
22587
|
+
/* logical-expr */
|
|
22588
|
+
this.rules[27].opcodes = [];
|
|
22589
|
+
this.rules[27].opcodes[0] = {
|
|
22590
|
+
type: 4,
|
|
22591
|
+
index: 28
|
|
22592
|
+
}; // RNM(logical-or-expr)
|
|
22593
|
+
|
|
22594
|
+
/* logical-or-expr */
|
|
22595
|
+
this.rules[28].opcodes = [];
|
|
22596
|
+
this.rules[28].opcodes[0] = {
|
|
22597
|
+
type: 2,
|
|
22598
|
+
children: [1, 2]
|
|
22599
|
+
}; // CAT
|
|
22600
|
+
this.rules[28].opcodes[1] = {
|
|
22601
|
+
type: 4,
|
|
22602
|
+
index: 29
|
|
22603
|
+
}; // RNM(logical-and-expr)
|
|
22604
|
+
this.rules[28].opcodes[2] = {
|
|
22605
|
+
type: 3,
|
|
22606
|
+
min: 0,
|
|
22607
|
+
max: Infinity
|
|
22608
|
+
}; // REP
|
|
22609
|
+
this.rules[28].opcodes[3] = {
|
|
22610
|
+
type: 2,
|
|
22611
|
+
children: [4, 5, 6, 7]
|
|
22612
|
+
}; // CAT
|
|
22613
|
+
this.rules[28].opcodes[4] = {
|
|
22614
|
+
type: 4,
|
|
22615
|
+
index: 3
|
|
22616
|
+
}; // RNM(S)
|
|
22617
|
+
this.rules[28].opcodes[5] = {
|
|
22618
|
+
type: 4,
|
|
22619
|
+
index: 89
|
|
22620
|
+
}; // RNM(disjunction)
|
|
22621
|
+
this.rules[28].opcodes[6] = {
|
|
22622
|
+
type: 4,
|
|
22623
|
+
index: 3
|
|
22624
|
+
}; // RNM(S)
|
|
22625
|
+
this.rules[28].opcodes[7] = {
|
|
22626
|
+
type: 4,
|
|
22627
|
+
index: 29
|
|
22628
|
+
}; // RNM(logical-and-expr)
|
|
22629
|
+
|
|
22630
|
+
/* logical-and-expr */
|
|
22631
|
+
this.rules[29].opcodes = [];
|
|
22632
|
+
this.rules[29].opcodes[0] = {
|
|
22633
|
+
type: 2,
|
|
22634
|
+
children: [1, 2]
|
|
22635
|
+
}; // CAT
|
|
22636
|
+
this.rules[29].opcodes[1] = {
|
|
22637
|
+
type: 4,
|
|
22638
|
+
index: 30
|
|
22639
|
+
}; // RNM(basic-expr)
|
|
22640
|
+
this.rules[29].opcodes[2] = {
|
|
22641
|
+
type: 3,
|
|
22642
|
+
min: 0,
|
|
22643
|
+
max: Infinity
|
|
22644
|
+
}; // REP
|
|
22645
|
+
this.rules[29].opcodes[3] = {
|
|
22646
|
+
type: 2,
|
|
22647
|
+
children: [4, 5, 6, 7]
|
|
22648
|
+
}; // CAT
|
|
22649
|
+
this.rules[29].opcodes[4] = {
|
|
22650
|
+
type: 4,
|
|
22651
|
+
index: 3
|
|
22652
|
+
}; // RNM(S)
|
|
22653
|
+
this.rules[29].opcodes[5] = {
|
|
22654
|
+
type: 4,
|
|
22655
|
+
index: 90
|
|
22656
|
+
}; // RNM(conjunction)
|
|
22657
|
+
this.rules[29].opcodes[6] = {
|
|
22658
|
+
type: 4,
|
|
22659
|
+
index: 3
|
|
22660
|
+
}; // RNM(S)
|
|
22661
|
+
this.rules[29].opcodes[7] = {
|
|
22662
|
+
type: 4,
|
|
22663
|
+
index: 30
|
|
22664
|
+
}; // RNM(basic-expr)
|
|
22665
|
+
|
|
22666
|
+
/* basic-expr */
|
|
22667
|
+
this.rules[30].opcodes = [];
|
|
22668
|
+
this.rules[30].opcodes[0] = {
|
|
22669
|
+
type: 1,
|
|
22670
|
+
children: [1, 2, 3]
|
|
22671
|
+
}; // ALT
|
|
22672
|
+
this.rules[30].opcodes[1] = {
|
|
22673
|
+
type: 4,
|
|
22674
|
+
index: 31
|
|
22675
|
+
}; // RNM(paren-expr)
|
|
22676
|
+
this.rules[30].opcodes[2] = {
|
|
22677
|
+
type: 4,
|
|
22678
|
+
index: 37
|
|
22679
|
+
}; // RNM(comparison-expr)
|
|
22680
|
+
this.rules[30].opcodes[3] = {
|
|
22681
|
+
type: 4,
|
|
22682
|
+
index: 33
|
|
22683
|
+
}; // RNM(test-expr)
|
|
22684
|
+
|
|
22685
|
+
/* paren-expr */
|
|
22686
|
+
this.rules[31].opcodes = [];
|
|
22687
|
+
this.rules[31].opcodes[0] = {
|
|
22688
|
+
type: 2,
|
|
22689
|
+
children: [1, 5, 6, 7, 8, 9]
|
|
22690
|
+
}; // CAT
|
|
22691
|
+
this.rules[31].opcodes[1] = {
|
|
22692
|
+
type: 3,
|
|
22693
|
+
min: 0,
|
|
22694
|
+
max: 1
|
|
22695
|
+
}; // REP
|
|
22696
|
+
this.rules[31].opcodes[2] = {
|
|
22697
|
+
type: 2,
|
|
22698
|
+
children: [3, 4]
|
|
22699
|
+
}; // CAT
|
|
22700
|
+
this.rules[31].opcodes[3] = {
|
|
22701
|
+
type: 4,
|
|
22702
|
+
index: 32
|
|
22703
|
+
}; // RNM(logical-not-op)
|
|
22704
|
+
this.rules[31].opcodes[4] = {
|
|
22705
|
+
type: 4,
|
|
22706
|
+
index: 3
|
|
22707
|
+
}; // RNM(S)
|
|
22708
|
+
this.rules[31].opcodes[5] = {
|
|
22709
|
+
type: 4,
|
|
22710
|
+
index: 82
|
|
22711
|
+
}; // RNM(left-paren)
|
|
22712
|
+
this.rules[31].opcodes[6] = {
|
|
22713
|
+
type: 4,
|
|
22714
|
+
index: 3
|
|
22715
|
+
}; // RNM(S)
|
|
22716
|
+
this.rules[31].opcodes[7] = {
|
|
22717
|
+
type: 4,
|
|
22718
|
+
index: 27
|
|
22719
|
+
}; // RNM(logical-expr)
|
|
22720
|
+
this.rules[31].opcodes[8] = {
|
|
22721
|
+
type: 4,
|
|
22722
|
+
index: 3
|
|
22723
|
+
}; // RNM(S)
|
|
22724
|
+
this.rules[31].opcodes[9] = {
|
|
22725
|
+
type: 4,
|
|
22726
|
+
index: 83
|
|
22727
|
+
}; // RNM(right-paren)
|
|
22728
|
+
|
|
22729
|
+
/* logical-not-op */
|
|
22730
|
+
this.rules[32].opcodes = [];
|
|
22731
|
+
this.rules[32].opcodes[0] = {
|
|
22732
|
+
type: 7,
|
|
22733
|
+
string: [33]
|
|
22734
|
+
}; // TLS
|
|
22735
|
+
|
|
22736
|
+
/* test-expr */
|
|
22737
|
+
this.rules[33].opcodes = [];
|
|
22738
|
+
this.rules[33].opcodes[0] = {
|
|
22739
|
+
type: 2,
|
|
22740
|
+
children: [1, 5]
|
|
22741
|
+
}; // CAT
|
|
22742
|
+
this.rules[33].opcodes[1] = {
|
|
22743
|
+
type: 3,
|
|
22744
|
+
min: 0,
|
|
22745
|
+
max: 1
|
|
22746
|
+
}; // REP
|
|
22747
|
+
this.rules[33].opcodes[2] = {
|
|
22748
|
+
type: 2,
|
|
22749
|
+
children: [3, 4]
|
|
22750
|
+
}; // CAT
|
|
22751
|
+
this.rules[33].opcodes[3] = {
|
|
22752
|
+
type: 4,
|
|
22753
|
+
index: 32
|
|
22754
|
+
}; // RNM(logical-not-op)
|
|
22755
|
+
this.rules[33].opcodes[4] = {
|
|
22756
|
+
type: 4,
|
|
22757
|
+
index: 3
|
|
22758
|
+
}; // RNM(S)
|
|
22759
|
+
this.rules[33].opcodes[5] = {
|
|
22760
|
+
type: 1,
|
|
22761
|
+
children: [6, 7]
|
|
22762
|
+
}; // ALT
|
|
22763
|
+
this.rules[33].opcodes[6] = {
|
|
22764
|
+
type: 4,
|
|
22765
|
+
index: 34
|
|
22766
|
+
}; // RNM(filter-query)
|
|
22767
|
+
this.rules[33].opcodes[7] = {
|
|
22768
|
+
type: 4,
|
|
22769
|
+
index: 57
|
|
22770
|
+
}; // RNM(function-expr)
|
|
22771
|
+
|
|
22772
|
+
/* filter-query */
|
|
22773
|
+
this.rules[34].opcodes = [];
|
|
22774
|
+
this.rules[34].opcodes[0] = {
|
|
22775
|
+
type: 1,
|
|
22776
|
+
children: [1, 2]
|
|
22777
|
+
}; // ALT
|
|
22778
|
+
this.rules[34].opcodes[1] = {
|
|
22779
|
+
type: 4,
|
|
22780
|
+
index: 35
|
|
22781
|
+
}; // RNM(rel-query)
|
|
22782
|
+
this.rules[34].opcodes[2] = {
|
|
22783
|
+
type: 4,
|
|
22784
|
+
index: 0
|
|
22785
|
+
}; // RNM(jsonpath-query)
|
|
22786
|
+
|
|
22787
|
+
/* rel-query */
|
|
22788
|
+
this.rules[35].opcodes = [];
|
|
22789
|
+
this.rules[35].opcodes[0] = {
|
|
22790
|
+
type: 2,
|
|
22791
|
+
children: [1, 2]
|
|
22792
|
+
}; // CAT
|
|
22793
|
+
this.rules[35].opcodes[1] = {
|
|
22794
|
+
type: 4,
|
|
22795
|
+
index: 36
|
|
22796
|
+
}; // RNM(current-node-identifier)
|
|
22797
|
+
this.rules[35].opcodes[2] = {
|
|
22798
|
+
type: 4,
|
|
22799
|
+
index: 1
|
|
22800
|
+
}; // RNM(segments)
|
|
22801
|
+
|
|
22802
|
+
/* current-node-identifier */
|
|
22803
|
+
this.rules[36].opcodes = [];
|
|
22804
|
+
this.rules[36].opcodes[0] = {
|
|
22805
|
+
type: 7,
|
|
22806
|
+
string: [64]
|
|
22807
|
+
}; // TLS
|
|
22808
|
+
|
|
22809
|
+
/* comparison-expr */
|
|
22810
|
+
this.rules[37].opcodes = [];
|
|
22811
|
+
this.rules[37].opcodes[0] = {
|
|
22812
|
+
type: 2,
|
|
22813
|
+
children: [1, 2, 3, 4, 5]
|
|
22814
|
+
}; // CAT
|
|
22815
|
+
this.rules[37].opcodes[1] = {
|
|
22816
|
+
type: 4,
|
|
22817
|
+
index: 39
|
|
22818
|
+
}; // RNM(comparable)
|
|
22819
|
+
this.rules[37].opcodes[2] = {
|
|
22820
|
+
type: 4,
|
|
22821
|
+
index: 3
|
|
22822
|
+
}; // RNM(S)
|
|
22823
|
+
this.rules[37].opcodes[3] = {
|
|
22824
|
+
type: 4,
|
|
22825
|
+
index: 40
|
|
22826
|
+
}; // RNM(comparison-op)
|
|
22827
|
+
this.rules[37].opcodes[4] = {
|
|
22828
|
+
type: 4,
|
|
22829
|
+
index: 3
|
|
22830
|
+
}; // RNM(S)
|
|
22831
|
+
this.rules[37].opcodes[5] = {
|
|
22832
|
+
type: 4,
|
|
22833
|
+
index: 39
|
|
22834
|
+
}; // RNM(comparable)
|
|
22835
|
+
|
|
22836
|
+
/* literal */
|
|
22837
|
+
this.rules[38].opcodes = [];
|
|
22838
|
+
this.rules[38].opcodes[0] = {
|
|
22839
|
+
type: 1,
|
|
22840
|
+
children: [1, 2, 3, 4, 5]
|
|
22841
|
+
}; // ALT
|
|
22842
|
+
this.rules[38].opcodes[1] = {
|
|
22843
|
+
type: 4,
|
|
22844
|
+
index: 47
|
|
22845
|
+
}; // RNM(number)
|
|
22846
|
+
this.rules[38].opcodes[2] = {
|
|
22847
|
+
type: 4,
|
|
22848
|
+
index: 7
|
|
22849
|
+
}; // RNM(string-literal)
|
|
22850
|
+
this.rules[38].opcodes[3] = {
|
|
22851
|
+
type: 4,
|
|
22852
|
+
index: 50
|
|
22853
|
+
}; // RNM(true)
|
|
22854
|
+
this.rules[38].opcodes[4] = {
|
|
22855
|
+
type: 4,
|
|
22856
|
+
index: 51
|
|
22857
|
+
}; // RNM(false)
|
|
22858
|
+
this.rules[38].opcodes[5] = {
|
|
22859
|
+
type: 4,
|
|
22860
|
+
index: 52
|
|
22861
|
+
}; // RNM(null)
|
|
22862
|
+
|
|
22863
|
+
/* comparable */
|
|
22864
|
+
this.rules[39].opcodes = [];
|
|
22865
|
+
this.rules[39].opcodes[0] = {
|
|
22866
|
+
type: 1,
|
|
22867
|
+
children: [1, 2, 3]
|
|
22868
|
+
}; // ALT
|
|
22869
|
+
this.rules[39].opcodes[1] = {
|
|
22870
|
+
type: 4,
|
|
22871
|
+
index: 41
|
|
22872
|
+
}; // RNM(singular-query)
|
|
22873
|
+
this.rules[39].opcodes[2] = {
|
|
22874
|
+
type: 4,
|
|
22875
|
+
index: 57
|
|
22876
|
+
}; // RNM(function-expr)
|
|
22877
|
+
this.rules[39].opcodes[3] = {
|
|
22878
|
+
type: 4,
|
|
22879
|
+
index: 38
|
|
22880
|
+
}; // RNM(literal)
|
|
22881
|
+
|
|
22882
|
+
/* comparison-op */
|
|
22883
|
+
this.rules[40].opcodes = [];
|
|
22884
|
+
this.rules[40].opcodes[0] = {
|
|
22885
|
+
type: 1,
|
|
22886
|
+
children: [1, 2, 3, 4, 5, 6]
|
|
22887
|
+
}; // ALT
|
|
22888
|
+
this.rules[40].opcodes[1] = {
|
|
22889
|
+
type: 7,
|
|
22890
|
+
string: [61, 61]
|
|
22891
|
+
}; // TLS
|
|
22892
|
+
this.rules[40].opcodes[2] = {
|
|
22893
|
+
type: 7,
|
|
22894
|
+
string: [33, 61]
|
|
22895
|
+
}; // TLS
|
|
22896
|
+
this.rules[40].opcodes[3] = {
|
|
22897
|
+
type: 7,
|
|
22898
|
+
string: [60, 61]
|
|
22899
|
+
}; // TLS
|
|
22900
|
+
this.rules[40].opcodes[4] = {
|
|
22901
|
+
type: 7,
|
|
22902
|
+
string: [62, 61]
|
|
22903
|
+
}; // TLS
|
|
22904
|
+
this.rules[40].opcodes[5] = {
|
|
22905
|
+
type: 7,
|
|
22906
|
+
string: [60]
|
|
22907
|
+
}; // TLS
|
|
22908
|
+
this.rules[40].opcodes[6] = {
|
|
22909
|
+
type: 7,
|
|
22910
|
+
string: [62]
|
|
22911
|
+
}; // TLS
|
|
22912
|
+
|
|
22913
|
+
/* singular-query */
|
|
22914
|
+
this.rules[41].opcodes = [];
|
|
22915
|
+
this.rules[41].opcodes[0] = {
|
|
22916
|
+
type: 1,
|
|
22917
|
+
children: [1, 2]
|
|
22918
|
+
}; // ALT
|
|
22919
|
+
this.rules[41].opcodes[1] = {
|
|
22920
|
+
type: 4,
|
|
22921
|
+
index: 42
|
|
22922
|
+
}; // RNM(rel-singular-query)
|
|
22923
|
+
this.rules[41].opcodes[2] = {
|
|
22924
|
+
type: 4,
|
|
22925
|
+
index: 43
|
|
22926
|
+
}; // RNM(abs-singular-query)
|
|
22927
|
+
|
|
22928
|
+
/* rel-singular-query */
|
|
22929
|
+
this.rules[42].opcodes = [];
|
|
22930
|
+
this.rules[42].opcodes[0] = {
|
|
22931
|
+
type: 2,
|
|
22932
|
+
children: [1, 2]
|
|
22933
|
+
}; // CAT
|
|
22934
|
+
this.rules[42].opcodes[1] = {
|
|
22935
|
+
type: 4,
|
|
22936
|
+
index: 36
|
|
22937
|
+
}; // RNM(current-node-identifier)
|
|
22938
|
+
this.rules[42].opcodes[2] = {
|
|
22939
|
+
type: 4,
|
|
22940
|
+
index: 44
|
|
22941
|
+
}; // RNM(singular-query-segments)
|
|
22942
|
+
|
|
22943
|
+
/* abs-singular-query */
|
|
22944
|
+
this.rules[43].opcodes = [];
|
|
22945
|
+
this.rules[43].opcodes[0] = {
|
|
22946
|
+
type: 2,
|
|
22947
|
+
children: [1, 2]
|
|
22948
|
+
}; // CAT
|
|
22949
|
+
this.rules[43].opcodes[1] = {
|
|
22950
|
+
type: 4,
|
|
22951
|
+
index: 4
|
|
22952
|
+
}; // RNM(root-identifier)
|
|
22953
|
+
this.rules[43].opcodes[2] = {
|
|
22954
|
+
type: 4,
|
|
22955
|
+
index: 44
|
|
22956
|
+
}; // RNM(singular-query-segments)
|
|
22957
|
+
|
|
22958
|
+
/* singular-query-segments */
|
|
22959
|
+
this.rules[44].opcodes = [];
|
|
22960
|
+
this.rules[44].opcodes[0] = {
|
|
22961
|
+
type: 3,
|
|
22962
|
+
min: 0,
|
|
22963
|
+
max: Infinity
|
|
22964
|
+
}; // REP
|
|
22965
|
+
this.rules[44].opcodes[1] = {
|
|
22966
|
+
type: 2,
|
|
22967
|
+
children: [2, 3]
|
|
22968
|
+
}; // CAT
|
|
22969
|
+
this.rules[44].opcodes[2] = {
|
|
22970
|
+
type: 4,
|
|
22971
|
+
index: 3
|
|
22972
|
+
}; // RNM(S)
|
|
22973
|
+
this.rules[44].opcodes[3] = {
|
|
22974
|
+
type: 1,
|
|
22975
|
+
children: [4, 5]
|
|
22976
|
+
}; // ALT
|
|
22977
|
+
this.rules[44].opcodes[4] = {
|
|
22978
|
+
type: 4,
|
|
22979
|
+
index: 45
|
|
22980
|
+
}; // RNM(name-segment)
|
|
22981
|
+
this.rules[44].opcodes[5] = {
|
|
22982
|
+
type: 4,
|
|
22983
|
+
index: 46
|
|
22984
|
+
}; // RNM(index-segment)
|
|
22985
|
+
|
|
22986
|
+
/* name-segment */
|
|
22987
|
+
this.rules[45].opcodes = [];
|
|
22988
|
+
this.rules[45].opcodes[0] = {
|
|
22989
|
+
type: 1,
|
|
22990
|
+
children: [1, 5]
|
|
22991
|
+
}; // ALT
|
|
22992
|
+
this.rules[45].opcodes[1] = {
|
|
22993
|
+
type: 2,
|
|
22994
|
+
children: [2, 3, 4]
|
|
22995
|
+
}; // CAT
|
|
22996
|
+
this.rules[45].opcodes[2] = {
|
|
22997
|
+
type: 4,
|
|
22998
|
+
index: 80
|
|
22999
|
+
}; // RNM(left-bracket)
|
|
23000
|
+
this.rules[45].opcodes[3] = {
|
|
23001
|
+
type: 4,
|
|
23002
|
+
index: 6
|
|
23003
|
+
}; // RNM(name-selector)
|
|
23004
|
+
this.rules[45].opcodes[4] = {
|
|
23005
|
+
type: 4,
|
|
23006
|
+
index: 81
|
|
23007
|
+
}; // RNM(right-bracket)
|
|
23008
|
+
this.rules[45].opcodes[5] = {
|
|
23009
|
+
type: 2,
|
|
23010
|
+
children: [6, 7]
|
|
23011
|
+
}; // CAT
|
|
23012
|
+
this.rules[45].opcodes[6] = {
|
|
23013
|
+
type: 4,
|
|
23014
|
+
index: 78
|
|
23015
|
+
}; // RNM(dot-prefix)
|
|
23016
|
+
this.rules[45].opcodes[7] = {
|
|
23017
|
+
type: 4,
|
|
23018
|
+
index: 62
|
|
23019
|
+
}; // RNM(member-name-shorthand)
|
|
23020
|
+
|
|
23021
|
+
/* index-segment */
|
|
23022
|
+
this.rules[46].opcodes = [];
|
|
23023
|
+
this.rules[46].opcodes[0] = {
|
|
23024
|
+
type: 2,
|
|
23025
|
+
children: [1, 2, 3]
|
|
23026
|
+
}; // CAT
|
|
23027
|
+
this.rules[46].opcodes[1] = {
|
|
23028
|
+
type: 4,
|
|
23029
|
+
index: 80
|
|
23030
|
+
}; // RNM(left-bracket)
|
|
23031
|
+
this.rules[46].opcodes[2] = {
|
|
23032
|
+
type: 4,
|
|
23033
|
+
index: 19
|
|
23034
|
+
}; // RNM(index-selector)
|
|
23035
|
+
this.rules[46].opcodes[3] = {
|
|
23036
|
+
type: 4,
|
|
23037
|
+
index: 81
|
|
23038
|
+
}; // RNM(right-bracket)
|
|
23039
|
+
|
|
23040
|
+
/* number */
|
|
23041
|
+
this.rules[47].opcodes = [];
|
|
23042
|
+
this.rules[47].opcodes[0] = {
|
|
23043
|
+
type: 2,
|
|
23044
|
+
children: [1, 4, 6]
|
|
23045
|
+
}; // CAT
|
|
23046
|
+
this.rules[47].opcodes[1] = {
|
|
23047
|
+
type: 1,
|
|
23048
|
+
children: [2, 3]
|
|
23049
|
+
}; // ALT
|
|
23050
|
+
this.rules[47].opcodes[2] = {
|
|
23051
|
+
type: 4,
|
|
23052
|
+
index: 20
|
|
23053
|
+
}; // RNM(int)
|
|
23054
|
+
this.rules[47].opcodes[3] = {
|
|
23055
|
+
type: 7,
|
|
23056
|
+
string: [45, 48]
|
|
23057
|
+
}; // TLS
|
|
23058
|
+
this.rules[47].opcodes[4] = {
|
|
23059
|
+
type: 3,
|
|
23060
|
+
min: 0,
|
|
23061
|
+
max: 1
|
|
23062
|
+
}; // REP
|
|
23063
|
+
this.rules[47].opcodes[5] = {
|
|
23064
|
+
type: 4,
|
|
23065
|
+
index: 48
|
|
23066
|
+
}; // RNM(frac)
|
|
23067
|
+
this.rules[47].opcodes[6] = {
|
|
23068
|
+
type: 3,
|
|
23069
|
+
min: 0,
|
|
23070
|
+
max: 1
|
|
23071
|
+
}; // REP
|
|
23072
|
+
this.rules[47].opcodes[7] = {
|
|
23073
|
+
type: 4,
|
|
23074
|
+
index: 49
|
|
23075
|
+
}; // RNM(exp)
|
|
23076
|
+
|
|
23077
|
+
/* frac */
|
|
23078
|
+
this.rules[48].opcodes = [];
|
|
23079
|
+
this.rules[48].opcodes[0] = {
|
|
23080
|
+
type: 2,
|
|
23081
|
+
children: [1, 2]
|
|
23082
|
+
}; // CAT
|
|
23083
|
+
this.rules[48].opcodes[1] = {
|
|
23084
|
+
type: 7,
|
|
23085
|
+
string: [46]
|
|
23086
|
+
}; // TLS
|
|
23087
|
+
this.rules[48].opcodes[2] = {
|
|
23088
|
+
type: 3,
|
|
23089
|
+
min: 1,
|
|
23090
|
+
max: Infinity
|
|
23091
|
+
}; // REP
|
|
23092
|
+
this.rules[48].opcodes[3] = {
|
|
23093
|
+
type: 4,
|
|
23094
|
+
index: 65
|
|
23095
|
+
}; // RNM(DIGIT)
|
|
23096
|
+
|
|
23097
|
+
/* exp */
|
|
23098
|
+
this.rules[49].opcodes = [];
|
|
23099
|
+
this.rules[49].opcodes[0] = {
|
|
23100
|
+
type: 2,
|
|
23101
|
+
children: [1, 2, 6]
|
|
23102
|
+
}; // CAT
|
|
23103
|
+
this.rules[49].opcodes[1] = {
|
|
23104
|
+
type: 7,
|
|
23105
|
+
string: [101]
|
|
23106
|
+
}; // TLS
|
|
23107
|
+
this.rules[49].opcodes[2] = {
|
|
23108
|
+
type: 3,
|
|
23109
|
+
min: 0,
|
|
23110
|
+
max: 1
|
|
23111
|
+
}; // REP
|
|
23112
|
+
this.rules[49].opcodes[3] = {
|
|
23113
|
+
type: 1,
|
|
23114
|
+
children: [4, 5]
|
|
23115
|
+
}; // ALT
|
|
23116
|
+
this.rules[49].opcodes[4] = {
|
|
23117
|
+
type: 7,
|
|
23118
|
+
string: [45]
|
|
23119
|
+
}; // TLS
|
|
23120
|
+
this.rules[49].opcodes[5] = {
|
|
23121
|
+
type: 7,
|
|
23122
|
+
string: [43]
|
|
23123
|
+
}; // TLS
|
|
23124
|
+
this.rules[49].opcodes[6] = {
|
|
23125
|
+
type: 3,
|
|
23126
|
+
min: 1,
|
|
23127
|
+
max: Infinity
|
|
23128
|
+
}; // REP
|
|
23129
|
+
this.rules[49].opcodes[7] = {
|
|
23130
|
+
type: 4,
|
|
23131
|
+
index: 65
|
|
23132
|
+
}; // RNM(DIGIT)
|
|
23133
|
+
|
|
23134
|
+
/* true */
|
|
23135
|
+
this.rules[50].opcodes = [];
|
|
23136
|
+
this.rules[50].opcodes[0] = {
|
|
23137
|
+
type: 6,
|
|
23138
|
+
string: [116, 114, 117, 101]
|
|
23139
|
+
}; // TBS
|
|
23140
|
+
|
|
23141
|
+
/* false */
|
|
23142
|
+
this.rules[51].opcodes = [];
|
|
23143
|
+
this.rules[51].opcodes[0] = {
|
|
23144
|
+
type: 6,
|
|
23145
|
+
string: [102, 97, 108, 115, 101]
|
|
23146
|
+
}; // TBS
|
|
23147
|
+
|
|
23148
|
+
/* null */
|
|
23149
|
+
this.rules[52].opcodes = [];
|
|
23150
|
+
this.rules[52].opcodes[0] = {
|
|
23151
|
+
type: 6,
|
|
23152
|
+
string: [110, 117, 108, 108]
|
|
23153
|
+
}; // TBS
|
|
23154
|
+
|
|
23155
|
+
/* function-name */
|
|
23156
|
+
this.rules[53].opcodes = [];
|
|
23157
|
+
this.rules[53].opcodes[0] = {
|
|
23158
|
+
type: 2,
|
|
23159
|
+
children: [1, 2]
|
|
23160
|
+
}; // CAT
|
|
23161
|
+
this.rules[53].opcodes[1] = {
|
|
23162
|
+
type: 4,
|
|
23163
|
+
index: 54
|
|
23164
|
+
}; // RNM(function-name-first)
|
|
23165
|
+
this.rules[53].opcodes[2] = {
|
|
23166
|
+
type: 3,
|
|
23167
|
+
min: 0,
|
|
23168
|
+
max: Infinity
|
|
23169
|
+
}; // REP
|
|
23170
|
+
this.rules[53].opcodes[3] = {
|
|
23171
|
+
type: 4,
|
|
23172
|
+
index: 55
|
|
23173
|
+
}; // RNM(function-name-char)
|
|
23174
|
+
|
|
23175
|
+
/* function-name-first */
|
|
23176
|
+
this.rules[54].opcodes = [];
|
|
23177
|
+
this.rules[54].opcodes[0] = {
|
|
23178
|
+
type: 4,
|
|
23179
|
+
index: 56
|
|
23180
|
+
}; // RNM(LCALPHA)
|
|
23181
|
+
|
|
23182
|
+
/* function-name-char */
|
|
23183
|
+
this.rules[55].opcodes = [];
|
|
23184
|
+
this.rules[55].opcodes[0] = {
|
|
23185
|
+
type: 1,
|
|
23186
|
+
children: [1, 2, 3]
|
|
23187
|
+
}; // ALT
|
|
23188
|
+
this.rules[55].opcodes[1] = {
|
|
23189
|
+
type: 4,
|
|
23190
|
+
index: 54
|
|
23191
|
+
}; // RNM(function-name-first)
|
|
23192
|
+
this.rules[55].opcodes[2] = {
|
|
23193
|
+
type: 7,
|
|
23194
|
+
string: [95]
|
|
23195
|
+
}; // TLS
|
|
23196
|
+
this.rules[55].opcodes[3] = {
|
|
23197
|
+
type: 4,
|
|
23198
|
+
index: 65
|
|
23199
|
+
}; // RNM(DIGIT)
|
|
23200
|
+
|
|
23201
|
+
/* LCALPHA */
|
|
23202
|
+
this.rules[56].opcodes = [];
|
|
23203
|
+
this.rules[56].opcodes[0] = {
|
|
23204
|
+
type: 5,
|
|
23205
|
+
min: 97,
|
|
23206
|
+
max: 122
|
|
23207
|
+
}; // TRG
|
|
23208
|
+
|
|
23209
|
+
/* function-expr */
|
|
23210
|
+
this.rules[57].opcodes = [];
|
|
23211
|
+
this.rules[57].opcodes[0] = {
|
|
23212
|
+
type: 2,
|
|
23213
|
+
children: [1, 2, 3, 4, 13, 14]
|
|
23214
|
+
}; // CAT
|
|
23215
|
+
this.rules[57].opcodes[1] = {
|
|
23216
|
+
type: 4,
|
|
23217
|
+
index: 53
|
|
23218
|
+
}; // RNM(function-name)
|
|
23219
|
+
this.rules[57].opcodes[2] = {
|
|
23220
|
+
type: 4,
|
|
23221
|
+
index: 82
|
|
23222
|
+
}; // RNM(left-paren)
|
|
23223
|
+
this.rules[57].opcodes[3] = {
|
|
23224
|
+
type: 4,
|
|
23225
|
+
index: 3
|
|
23226
|
+
}; // RNM(S)
|
|
23227
|
+
this.rules[57].opcodes[4] = {
|
|
23228
|
+
type: 3,
|
|
23229
|
+
min: 0,
|
|
23230
|
+
max: 1
|
|
23231
|
+
}; // REP
|
|
23232
|
+
this.rules[57].opcodes[5] = {
|
|
23233
|
+
type: 2,
|
|
23234
|
+
children: [6, 7]
|
|
23235
|
+
}; // CAT
|
|
23236
|
+
this.rules[57].opcodes[6] = {
|
|
23237
|
+
type: 4,
|
|
23238
|
+
index: 58
|
|
23239
|
+
}; // RNM(function-argument)
|
|
23240
|
+
this.rules[57].opcodes[7] = {
|
|
23241
|
+
type: 3,
|
|
23242
|
+
min: 0,
|
|
23243
|
+
max: Infinity
|
|
23244
|
+
}; // REP
|
|
23245
|
+
this.rules[57].opcodes[8] = {
|
|
23246
|
+
type: 2,
|
|
23247
|
+
children: [9, 10, 11, 12]
|
|
23248
|
+
}; // CAT
|
|
23249
|
+
this.rules[57].opcodes[9] = {
|
|
23250
|
+
type: 4,
|
|
23251
|
+
index: 3
|
|
23252
|
+
}; // RNM(S)
|
|
23253
|
+
this.rules[57].opcodes[10] = {
|
|
23254
|
+
type: 4,
|
|
23255
|
+
index: 84
|
|
23256
|
+
}; // RNM(comma)
|
|
23257
|
+
this.rules[57].opcodes[11] = {
|
|
23258
|
+
type: 4,
|
|
23259
|
+
index: 3
|
|
23260
|
+
}; // RNM(S)
|
|
23261
|
+
this.rules[57].opcodes[12] = {
|
|
23262
|
+
type: 4,
|
|
23263
|
+
index: 58
|
|
23264
|
+
}; // RNM(function-argument)
|
|
23265
|
+
this.rules[57].opcodes[13] = {
|
|
23266
|
+
type: 4,
|
|
23267
|
+
index: 3
|
|
23268
|
+
}; // RNM(S)
|
|
23269
|
+
this.rules[57].opcodes[14] = {
|
|
23270
|
+
type: 4,
|
|
23271
|
+
index: 83
|
|
23272
|
+
}; // RNM(right-paren)
|
|
23273
|
+
|
|
23274
|
+
/* function-argument */
|
|
23275
|
+
this.rules[58].opcodes = [];
|
|
23276
|
+
this.rules[58].opcodes[0] = {
|
|
23277
|
+
type: 1,
|
|
23278
|
+
children: [1, 2, 3, 4]
|
|
23279
|
+
}; // ALT
|
|
23280
|
+
this.rules[58].opcodes[1] = {
|
|
23281
|
+
type: 4,
|
|
23282
|
+
index: 27
|
|
23283
|
+
}; // RNM(logical-expr)
|
|
23284
|
+
this.rules[58].opcodes[2] = {
|
|
23285
|
+
type: 4,
|
|
23286
|
+
index: 34
|
|
23287
|
+
}; // RNM(filter-query)
|
|
23288
|
+
this.rules[58].opcodes[3] = {
|
|
23289
|
+
type: 4,
|
|
23290
|
+
index: 57
|
|
23291
|
+
}; // RNM(function-expr)
|
|
23292
|
+
this.rules[58].opcodes[4] = {
|
|
23293
|
+
type: 4,
|
|
23294
|
+
index: 38
|
|
23295
|
+
}; // RNM(literal)
|
|
23296
|
+
|
|
23297
|
+
/* segment */
|
|
23298
|
+
this.rules[59].opcodes = [];
|
|
23299
|
+
this.rules[59].opcodes[0] = {
|
|
23300
|
+
type: 1,
|
|
23301
|
+
children: [1, 2]
|
|
23302
|
+
}; // ALT
|
|
23303
|
+
this.rules[59].opcodes[1] = {
|
|
23304
|
+
type: 4,
|
|
23305
|
+
index: 60
|
|
23306
|
+
}; // RNM(child-segment)
|
|
23307
|
+
this.rules[59].opcodes[2] = {
|
|
23308
|
+
type: 4,
|
|
23309
|
+
index: 67
|
|
23310
|
+
}; // RNM(descendant-segment)
|
|
23311
|
+
|
|
23312
|
+
/* child-segment */
|
|
23313
|
+
this.rules[60].opcodes = [];
|
|
23314
|
+
this.rules[60].opcodes[0] = {
|
|
23315
|
+
type: 1,
|
|
23316
|
+
children: [1, 2]
|
|
23317
|
+
}; // ALT
|
|
23318
|
+
this.rules[60].opcodes[1] = {
|
|
23319
|
+
type: 4,
|
|
23320
|
+
index: 61
|
|
23321
|
+
}; // RNM(bracketed-selection)
|
|
23322
|
+
this.rules[60].opcodes[2] = {
|
|
23323
|
+
type: 2,
|
|
23324
|
+
children: [3, 4]
|
|
23325
|
+
}; // CAT
|
|
23326
|
+
this.rules[60].opcodes[3] = {
|
|
23327
|
+
type: 4,
|
|
23328
|
+
index: 78
|
|
23329
|
+
}; // RNM(dot-prefix)
|
|
23330
|
+
this.rules[60].opcodes[4] = {
|
|
23331
|
+
type: 1,
|
|
23332
|
+
children: [5, 6]
|
|
23333
|
+
}; // ALT
|
|
23334
|
+
this.rules[60].opcodes[5] = {
|
|
23335
|
+
type: 4,
|
|
23336
|
+
index: 18
|
|
23337
|
+
}; // RNM(wildcard-selector)
|
|
23338
|
+
this.rules[60].opcodes[6] = {
|
|
23339
|
+
type: 4,
|
|
23340
|
+
index: 62
|
|
23341
|
+
}; // RNM(member-name-shorthand)
|
|
23342
|
+
|
|
23343
|
+
/* bracketed-selection */
|
|
23344
|
+
this.rules[61].opcodes = [];
|
|
23345
|
+
this.rules[61].opcodes[0] = {
|
|
23346
|
+
type: 2,
|
|
23347
|
+
children: [1, 2, 3, 4, 10, 11]
|
|
23348
|
+
}; // CAT
|
|
23349
|
+
this.rules[61].opcodes[1] = {
|
|
23350
|
+
type: 4,
|
|
23351
|
+
index: 80
|
|
23352
|
+
}; // RNM(left-bracket)
|
|
23353
|
+
this.rules[61].opcodes[2] = {
|
|
23354
|
+
type: 4,
|
|
23355
|
+
index: 3
|
|
23356
|
+
}; // RNM(S)
|
|
23357
|
+
this.rules[61].opcodes[3] = {
|
|
23358
|
+
type: 4,
|
|
23359
|
+
index: 5
|
|
23360
|
+
}; // RNM(selector)
|
|
23361
|
+
this.rules[61].opcodes[4] = {
|
|
23362
|
+
type: 3,
|
|
23363
|
+
min: 0,
|
|
23364
|
+
max: Infinity
|
|
23365
|
+
}; // REP
|
|
23366
|
+
this.rules[61].opcodes[5] = {
|
|
23367
|
+
type: 2,
|
|
23368
|
+
children: [6, 7, 8, 9]
|
|
23369
|
+
}; // CAT
|
|
23370
|
+
this.rules[61].opcodes[6] = {
|
|
23371
|
+
type: 4,
|
|
23372
|
+
index: 3
|
|
23373
|
+
}; // RNM(S)
|
|
23374
|
+
this.rules[61].opcodes[7] = {
|
|
23375
|
+
type: 4,
|
|
23376
|
+
index: 84
|
|
23377
|
+
}; // RNM(comma)
|
|
23378
|
+
this.rules[61].opcodes[8] = {
|
|
23379
|
+
type: 4,
|
|
23380
|
+
index: 3
|
|
23381
|
+
}; // RNM(S)
|
|
23382
|
+
this.rules[61].opcodes[9] = {
|
|
23383
|
+
type: 4,
|
|
23384
|
+
index: 5
|
|
23385
|
+
}; // RNM(selector)
|
|
23386
|
+
this.rules[61].opcodes[10] = {
|
|
23387
|
+
type: 4,
|
|
23388
|
+
index: 3
|
|
23389
|
+
}; // RNM(S)
|
|
23390
|
+
this.rules[61].opcodes[11] = {
|
|
23391
|
+
type: 4,
|
|
23392
|
+
index: 81
|
|
23393
|
+
}; // RNM(right-bracket)
|
|
20658
23394
|
|
|
20659
|
-
|
|
20660
|
-
|
|
23395
|
+
/* member-name-shorthand */
|
|
23396
|
+
this.rules[62].opcodes = [];
|
|
23397
|
+
this.rules[62].opcodes[0] = {
|
|
23398
|
+
type: 2,
|
|
23399
|
+
children: [1, 2]
|
|
23400
|
+
}; // CAT
|
|
23401
|
+
this.rules[62].opcodes[1] = {
|
|
23402
|
+
type: 4,
|
|
23403
|
+
index: 63
|
|
23404
|
+
}; // RNM(name-first)
|
|
23405
|
+
this.rules[62].opcodes[2] = {
|
|
23406
|
+
type: 3,
|
|
23407
|
+
min: 0,
|
|
23408
|
+
max: Infinity
|
|
23409
|
+
}; // REP
|
|
23410
|
+
this.rules[62].opcodes[3] = {
|
|
23411
|
+
type: 4,
|
|
23412
|
+
index: 64
|
|
23413
|
+
}; // RNM(name-char)
|
|
20661
23414
|
|
|
20662
|
-
|
|
20663
|
-
|
|
20664
|
-
|
|
20665
|
-
|
|
20666
|
-
|
|
20667
|
-
|
|
20668
|
-
|
|
23415
|
+
/* name-first */
|
|
23416
|
+
this.rules[63].opcodes = [];
|
|
23417
|
+
this.rules[63].opcodes[0] = {
|
|
23418
|
+
type: 1,
|
|
23419
|
+
children: [1, 2, 3, 4]
|
|
23420
|
+
}; // ALT
|
|
23421
|
+
this.rules[63].opcodes[1] = {
|
|
23422
|
+
type: 4,
|
|
23423
|
+
index: 66
|
|
23424
|
+
}; // RNM(ALPHA)
|
|
23425
|
+
this.rules[63].opcodes[2] = {
|
|
23426
|
+
type: 7,
|
|
23427
|
+
string: [95]
|
|
23428
|
+
}; // TLS
|
|
23429
|
+
this.rules[63].opcodes[3] = {
|
|
23430
|
+
type: 5,
|
|
23431
|
+
min: 128,
|
|
23432
|
+
max: 55295
|
|
23433
|
+
}; // TRG
|
|
23434
|
+
this.rules[63].opcodes[4] = {
|
|
23435
|
+
type: 5,
|
|
23436
|
+
min: 57344,
|
|
23437
|
+
max: 1114111
|
|
23438
|
+
}; // TRG
|
|
20669
23439
|
|
|
23440
|
+
/* name-char */
|
|
23441
|
+
this.rules[64].opcodes = [];
|
|
23442
|
+
this.rules[64].opcodes[0] = {
|
|
23443
|
+
type: 1,
|
|
23444
|
+
children: [1, 2]
|
|
23445
|
+
}; // ALT
|
|
23446
|
+
this.rules[64].opcodes[1] = {
|
|
23447
|
+
type: 4,
|
|
23448
|
+
index: 63
|
|
23449
|
+
}; // RNM(name-first)
|
|
23450
|
+
this.rules[64].opcodes[2] = {
|
|
23451
|
+
type: 4,
|
|
23452
|
+
index: 65
|
|
23453
|
+
}; // RNM(DIGIT)
|
|
20670
23454
|
|
|
23455
|
+
/* DIGIT */
|
|
23456
|
+
this.rules[65].opcodes = [];
|
|
23457
|
+
this.rules[65].opcodes[0] = {
|
|
23458
|
+
type: 5,
|
|
23459
|
+
min: 48,
|
|
23460
|
+
max: 57
|
|
23461
|
+
}; // TRG
|
|
20671
23462
|
|
|
20672
|
-
|
|
20673
|
-
|
|
20674
|
-
|
|
20675
|
-
|
|
20676
|
-
|
|
20677
|
-
|
|
20678
|
-
|
|
20679
|
-
|
|
20680
|
-
|
|
20681
|
-
|
|
20682
|
-
|
|
20683
|
-
|
|
20684
|
-
|
|
20685
|
-
|
|
20686
|
-
|
|
20687
|
-
|
|
20688
|
-
* @example
|
|
20689
|
-
*
|
|
20690
|
-
* let concatValues = (k, l, r) => k == 'values' ? R.concat(l, r) : r
|
|
20691
|
-
* R.mergeWithKey(concatValues,
|
|
20692
|
-
* { a: true, thing: 'foo', values: [10, 20] },
|
|
20693
|
-
* { b: true, thing: 'bar', values: [15, 35] });
|
|
20694
|
-
* //=> { a: true, b: true, thing: 'bar', values: [10, 20, 15, 35] }
|
|
20695
|
-
* @symb R.mergeWithKey(f, { x: 1, y: 2 }, { y: 5, z: 3 }) = { x: 1, y: f('y', 2, 5), z: 3 }
|
|
20696
|
-
*/
|
|
20697
|
-
var mergeWithKey = /*#__PURE__*/(0,_internal_curry3_js__WEBPACK_IMPORTED_MODULE_0__["default"])(function mergeWithKey(fn, l, r) {
|
|
20698
|
-
var result = {};
|
|
20699
|
-
var k;
|
|
20700
|
-
l = l || {};
|
|
20701
|
-
r = r || {};
|
|
20702
|
-
for (k in l) {
|
|
20703
|
-
if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, l)) {
|
|
20704
|
-
result[k] = (0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) ? fn(k, l[k], r[k]) : l[k];
|
|
20705
|
-
}
|
|
20706
|
-
}
|
|
20707
|
-
for (k in r) {
|
|
20708
|
-
if ((0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, r) && !(0,_internal_has_js__WEBPACK_IMPORTED_MODULE_1__["default"])(k, result)) {
|
|
20709
|
-
result[k] = r[k];
|
|
20710
|
-
}
|
|
20711
|
-
}
|
|
20712
|
-
return result;
|
|
20713
|
-
});
|
|
20714
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (mergeWithKey);
|
|
23463
|
+
/* ALPHA */
|
|
23464
|
+
this.rules[66].opcodes = [];
|
|
23465
|
+
this.rules[66].opcodes[0] = {
|
|
23466
|
+
type: 1,
|
|
23467
|
+
children: [1, 2]
|
|
23468
|
+
}; // ALT
|
|
23469
|
+
this.rules[66].opcodes[1] = {
|
|
23470
|
+
type: 5,
|
|
23471
|
+
min: 65,
|
|
23472
|
+
max: 90
|
|
23473
|
+
}; // TRG
|
|
23474
|
+
this.rules[66].opcodes[2] = {
|
|
23475
|
+
type: 5,
|
|
23476
|
+
min: 97,
|
|
23477
|
+
max: 122
|
|
23478
|
+
}; // TRG
|
|
20715
23479
|
|
|
20716
|
-
|
|
23480
|
+
/* descendant-segment */
|
|
23481
|
+
this.rules[67].opcodes = [];
|
|
23482
|
+
this.rules[67].opcodes[0] = {
|
|
23483
|
+
type: 2,
|
|
23484
|
+
children: [1, 2]
|
|
23485
|
+
}; // CAT
|
|
23486
|
+
this.rules[67].opcodes[1] = {
|
|
23487
|
+
type: 4,
|
|
23488
|
+
index: 79
|
|
23489
|
+
}; // RNM(double-dot-prefix)
|
|
23490
|
+
this.rules[67].opcodes[2] = {
|
|
23491
|
+
type: 1,
|
|
23492
|
+
children: [3, 4, 5]
|
|
23493
|
+
}; // ALT
|
|
23494
|
+
this.rules[67].opcodes[3] = {
|
|
23495
|
+
type: 4,
|
|
23496
|
+
index: 61
|
|
23497
|
+
}; // RNM(bracketed-selection)
|
|
23498
|
+
this.rules[67].opcodes[4] = {
|
|
23499
|
+
type: 4,
|
|
23500
|
+
index: 18
|
|
23501
|
+
}; // RNM(wildcard-selector)
|
|
23502
|
+
this.rules[67].opcodes[5] = {
|
|
23503
|
+
type: 4,
|
|
23504
|
+
index: 62
|
|
23505
|
+
}; // RNM(member-name-shorthand)
|
|
20717
23506
|
|
|
20718
|
-
|
|
20719
|
-
|
|
23507
|
+
/* normalized-path */
|
|
23508
|
+
this.rules[68].opcodes = [];
|
|
23509
|
+
this.rules[68].opcodes[0] = {
|
|
23510
|
+
type: 2,
|
|
23511
|
+
children: [1, 2]
|
|
23512
|
+
}; // CAT
|
|
23513
|
+
this.rules[68].opcodes[1] = {
|
|
23514
|
+
type: 4,
|
|
23515
|
+
index: 4
|
|
23516
|
+
}; // RNM(root-identifier)
|
|
23517
|
+
this.rules[68].opcodes[2] = {
|
|
23518
|
+
type: 3,
|
|
23519
|
+
min: 0,
|
|
23520
|
+
max: Infinity
|
|
23521
|
+
}; // REP
|
|
23522
|
+
this.rules[68].opcodes[3] = {
|
|
23523
|
+
type: 4,
|
|
23524
|
+
index: 69
|
|
23525
|
+
}; // RNM(normal-index-segment)
|
|
20720
23526
|
|
|
20721
|
-
|
|
20722
|
-
|
|
20723
|
-
|
|
20724
|
-
|
|
20725
|
-
|
|
20726
|
-
|
|
23527
|
+
/* normal-index-segment */
|
|
23528
|
+
this.rules[69].opcodes = [];
|
|
23529
|
+
this.rules[69].opcodes[0] = {
|
|
23530
|
+
type: 2,
|
|
23531
|
+
children: [1, 2, 3]
|
|
23532
|
+
}; // CAT
|
|
23533
|
+
this.rules[69].opcodes[1] = {
|
|
23534
|
+
type: 4,
|
|
23535
|
+
index: 80
|
|
23536
|
+
}; // RNM(left-bracket)
|
|
23537
|
+
this.rules[69].opcodes[2] = {
|
|
23538
|
+
type: 4,
|
|
23539
|
+
index: 70
|
|
23540
|
+
}; // RNM(normal-selector)
|
|
23541
|
+
this.rules[69].opcodes[3] = {
|
|
23542
|
+
type: 4,
|
|
23543
|
+
index: 81
|
|
23544
|
+
}; // RNM(right-bracket)
|
|
20727
23545
|
|
|
20728
|
-
|
|
20729
|
-
|
|
20730
|
-
|
|
20731
|
-
|
|
20732
|
-
|
|
20733
|
-
|
|
20734
|
-
|
|
20735
|
-
|
|
20736
|
-
|
|
20737
|
-
|
|
20738
|
-
|
|
20739
|
-
|
|
23546
|
+
/* normal-selector */
|
|
23547
|
+
this.rules[70].opcodes = [];
|
|
23548
|
+
this.rules[70].opcodes[0] = {
|
|
23549
|
+
type: 1,
|
|
23550
|
+
children: [1, 2]
|
|
23551
|
+
}; // ALT
|
|
23552
|
+
this.rules[70].opcodes[1] = {
|
|
23553
|
+
type: 4,
|
|
23554
|
+
index: 71
|
|
23555
|
+
}; // RNM(normal-name-selector)
|
|
23556
|
+
this.rules[70].opcodes[2] = {
|
|
23557
|
+
type: 4,
|
|
23558
|
+
index: 77
|
|
23559
|
+
}; // RNM(normal-index-selector)
|
|
20740
23560
|
|
|
20741
|
-
|
|
20742
|
-
|
|
20743
|
-
|
|
20744
|
-
|
|
20745
|
-
|
|
20746
|
-
}
|
|
20747
|
-
|
|
20748
|
-
|
|
23561
|
+
/* normal-name-selector */
|
|
23562
|
+
this.rules[71].opcodes = [];
|
|
23563
|
+
this.rules[71].opcodes[0] = {
|
|
23564
|
+
type: 2,
|
|
23565
|
+
children: [1, 2, 4]
|
|
23566
|
+
}; // CAT
|
|
23567
|
+
this.rules[71].opcodes[1] = {
|
|
23568
|
+
type: 4,
|
|
23569
|
+
index: 87
|
|
23570
|
+
}; // RNM(squote)
|
|
23571
|
+
this.rules[71].opcodes[2] = {
|
|
23572
|
+
type: 3,
|
|
23573
|
+
min: 0,
|
|
23574
|
+
max: Infinity
|
|
23575
|
+
}; // REP
|
|
23576
|
+
this.rules[71].opcodes[3] = {
|
|
23577
|
+
type: 4,
|
|
23578
|
+
index: 72
|
|
23579
|
+
}; // RNM(normal-single-quoted)
|
|
23580
|
+
this.rules[71].opcodes[4] = {
|
|
23581
|
+
type: 4,
|
|
23582
|
+
index: 87
|
|
23583
|
+
}; // RNM(squote)
|
|
20749
23584
|
|
|
20750
|
-
|
|
23585
|
+
/* normal-single-quoted */
|
|
23586
|
+
this.rules[72].opcodes = [];
|
|
23587
|
+
this.rules[72].opcodes[0] = {
|
|
23588
|
+
type: 1,
|
|
23589
|
+
children: [1, 2]
|
|
23590
|
+
}; // ALT
|
|
23591
|
+
this.rules[72].opcodes[1] = {
|
|
23592
|
+
type: 4,
|
|
23593
|
+
index: 73
|
|
23594
|
+
}; // RNM(normal-unescaped)
|
|
23595
|
+
this.rules[72].opcodes[2] = {
|
|
23596
|
+
type: 2,
|
|
23597
|
+
children: [3, 4]
|
|
23598
|
+
}; // CAT
|
|
23599
|
+
this.rules[72].opcodes[3] = {
|
|
23600
|
+
type: 4,
|
|
23601
|
+
index: 10
|
|
23602
|
+
}; // RNM(ESC)
|
|
23603
|
+
this.rules[72].opcodes[4] = {
|
|
23604
|
+
type: 4,
|
|
23605
|
+
index: 74
|
|
23606
|
+
}; // RNM(normal-escapable)
|
|
20751
23607
|
|
|
20752
|
-
|
|
20753
|
-
|
|
23608
|
+
/* normal-unescaped */
|
|
23609
|
+
this.rules[73].opcodes = [];
|
|
23610
|
+
this.rules[73].opcodes[0] = {
|
|
23611
|
+
type: 1,
|
|
23612
|
+
children: [1, 2, 3, 4]
|
|
23613
|
+
}; // ALT
|
|
23614
|
+
this.rules[73].opcodes[1] = {
|
|
23615
|
+
type: 5,
|
|
23616
|
+
min: 32,
|
|
23617
|
+
max: 38
|
|
23618
|
+
}; // TRG
|
|
23619
|
+
this.rules[73].opcodes[2] = {
|
|
23620
|
+
type: 5,
|
|
23621
|
+
min: 40,
|
|
23622
|
+
max: 91
|
|
23623
|
+
}; // TRG
|
|
23624
|
+
this.rules[73].opcodes[3] = {
|
|
23625
|
+
type: 5,
|
|
23626
|
+
min: 93,
|
|
23627
|
+
max: 55295
|
|
23628
|
+
}; // TRG
|
|
23629
|
+
this.rules[73].opcodes[4] = {
|
|
23630
|
+
type: 5,
|
|
23631
|
+
min: 57344,
|
|
23632
|
+
max: 1114111
|
|
23633
|
+
}; // TRG
|
|
20754
23634
|
|
|
20755
|
-
|
|
20756
|
-
|
|
20757
|
-
|
|
20758
|
-
|
|
20759
|
-
|
|
20760
|
-
|
|
23635
|
+
/* normal-escapable */
|
|
23636
|
+
this.rules[74].opcodes = [];
|
|
23637
|
+
this.rules[74].opcodes[0] = {
|
|
23638
|
+
type: 1,
|
|
23639
|
+
children: [1, 2, 3, 4, 5, 6, 7, 8]
|
|
23640
|
+
}; // ALT
|
|
23641
|
+
this.rules[74].opcodes[1] = {
|
|
23642
|
+
type: 6,
|
|
23643
|
+
string: [98]
|
|
23644
|
+
}; // TBS
|
|
23645
|
+
this.rules[74].opcodes[2] = {
|
|
23646
|
+
type: 6,
|
|
23647
|
+
string: [102]
|
|
23648
|
+
}; // TBS
|
|
23649
|
+
this.rules[74].opcodes[3] = {
|
|
23650
|
+
type: 6,
|
|
23651
|
+
string: [110]
|
|
23652
|
+
}; // TBS
|
|
23653
|
+
this.rules[74].opcodes[4] = {
|
|
23654
|
+
type: 6,
|
|
23655
|
+
string: [114]
|
|
23656
|
+
}; // TBS
|
|
23657
|
+
this.rules[74].opcodes[5] = {
|
|
23658
|
+
type: 6,
|
|
23659
|
+
string: [116]
|
|
23660
|
+
}; // TBS
|
|
23661
|
+
this.rules[74].opcodes[6] = {
|
|
23662
|
+
type: 7,
|
|
23663
|
+
string: [39]
|
|
23664
|
+
}; // TLS
|
|
23665
|
+
this.rules[74].opcodes[7] = {
|
|
23666
|
+
type: 7,
|
|
23667
|
+
string: [92]
|
|
23668
|
+
}; // TLS
|
|
23669
|
+
this.rules[74].opcodes[8] = {
|
|
23670
|
+
type: 2,
|
|
23671
|
+
children: [9, 10]
|
|
23672
|
+
}; // CAT
|
|
23673
|
+
this.rules[74].opcodes[9] = {
|
|
23674
|
+
type: 6,
|
|
23675
|
+
string: [117]
|
|
23676
|
+
}; // TBS
|
|
23677
|
+
this.rules[74].opcodes[10] = {
|
|
23678
|
+
type: 4,
|
|
23679
|
+
index: 75
|
|
23680
|
+
}; // RNM(normal-hexchar)
|
|
20761
23681
|
|
|
20762
|
-
|
|
20763
|
-
|
|
20764
|
-
|
|
20765
|
-
|
|
20766
|
-
|
|
20767
|
-
|
|
20768
|
-
|
|
20769
|
-
|
|
20770
|
-
|
|
20771
|
-
|
|
23682
|
+
/* normal-hexchar */
|
|
23683
|
+
this.rules[75].opcodes = [];
|
|
23684
|
+
this.rules[75].opcodes[0] = {
|
|
23685
|
+
type: 2,
|
|
23686
|
+
children: [1, 2, 3]
|
|
23687
|
+
}; // CAT
|
|
23688
|
+
this.rules[75].opcodes[1] = {
|
|
23689
|
+
type: 7,
|
|
23690
|
+
string: [48]
|
|
23691
|
+
}; // TLS
|
|
23692
|
+
this.rules[75].opcodes[2] = {
|
|
23693
|
+
type: 7,
|
|
23694
|
+
string: [48]
|
|
23695
|
+
}; // TLS
|
|
23696
|
+
this.rules[75].opcodes[3] = {
|
|
23697
|
+
type: 1,
|
|
23698
|
+
children: [4, 7, 10, 13]
|
|
23699
|
+
}; // ALT
|
|
23700
|
+
this.rules[75].opcodes[4] = {
|
|
23701
|
+
type: 2,
|
|
23702
|
+
children: [5, 6]
|
|
23703
|
+
}; // CAT
|
|
23704
|
+
this.rules[75].opcodes[5] = {
|
|
23705
|
+
type: 7,
|
|
23706
|
+
string: [48]
|
|
23707
|
+
}; // TLS
|
|
23708
|
+
this.rules[75].opcodes[6] = {
|
|
23709
|
+
type: 5,
|
|
23710
|
+
min: 48,
|
|
23711
|
+
max: 55
|
|
23712
|
+
}; // TRG
|
|
23713
|
+
this.rules[75].opcodes[7] = {
|
|
23714
|
+
type: 2,
|
|
23715
|
+
children: [8, 9]
|
|
23716
|
+
}; // CAT
|
|
23717
|
+
this.rules[75].opcodes[8] = {
|
|
23718
|
+
type: 7,
|
|
23719
|
+
string: [48]
|
|
23720
|
+
}; // TLS
|
|
23721
|
+
this.rules[75].opcodes[9] = {
|
|
23722
|
+
type: 6,
|
|
23723
|
+
string: [98]
|
|
23724
|
+
}; // TBS
|
|
23725
|
+
this.rules[75].opcodes[10] = {
|
|
23726
|
+
type: 2,
|
|
23727
|
+
children: [11, 12]
|
|
23728
|
+
}; // CAT
|
|
23729
|
+
this.rules[75].opcodes[11] = {
|
|
23730
|
+
type: 7,
|
|
23731
|
+
string: [48]
|
|
23732
|
+
}; // TLS
|
|
23733
|
+
this.rules[75].opcodes[12] = {
|
|
23734
|
+
type: 5,
|
|
23735
|
+
min: 101,
|
|
23736
|
+
max: 102
|
|
23737
|
+
}; // TRG
|
|
23738
|
+
this.rules[75].opcodes[13] = {
|
|
23739
|
+
type: 2,
|
|
23740
|
+
children: [14, 15]
|
|
23741
|
+
}; // CAT
|
|
23742
|
+
this.rules[75].opcodes[14] = {
|
|
23743
|
+
type: 7,
|
|
23744
|
+
string: [49]
|
|
23745
|
+
}; // TLS
|
|
23746
|
+
this.rules[75].opcodes[15] = {
|
|
23747
|
+
type: 4,
|
|
23748
|
+
index: 76
|
|
23749
|
+
}; // RNM(normal-HEXDIG)
|
|
20772
23750
|
|
|
20773
|
-
|
|
23751
|
+
/* normal-HEXDIG */
|
|
23752
|
+
this.rules[76].opcodes = [];
|
|
23753
|
+
this.rules[76].opcodes[0] = {
|
|
23754
|
+
type: 1,
|
|
23755
|
+
children: [1, 2]
|
|
23756
|
+
}; // ALT
|
|
23757
|
+
this.rules[76].opcodes[1] = {
|
|
23758
|
+
type: 4,
|
|
23759
|
+
index: 65
|
|
23760
|
+
}; // RNM(DIGIT)
|
|
23761
|
+
this.rules[76].opcodes[2] = {
|
|
23762
|
+
type: 5,
|
|
23763
|
+
min: 97,
|
|
23764
|
+
max: 102
|
|
23765
|
+
}; // TRG
|
|
20774
23766
|
|
|
20775
|
-
|
|
20776
|
-
|
|
23767
|
+
/* normal-index-selector */
|
|
23768
|
+
this.rules[77].opcodes = [];
|
|
23769
|
+
this.rules[77].opcodes[0] = {
|
|
23770
|
+
type: 1,
|
|
23771
|
+
children: [1, 2]
|
|
23772
|
+
}; // ALT
|
|
23773
|
+
this.rules[77].opcodes[1] = {
|
|
23774
|
+
type: 7,
|
|
23775
|
+
string: [48]
|
|
23776
|
+
}; // TLS
|
|
23777
|
+
this.rules[77].opcodes[2] = {
|
|
23778
|
+
type: 2,
|
|
23779
|
+
children: [3, 4]
|
|
23780
|
+
}; // CAT
|
|
23781
|
+
this.rules[77].opcodes[3] = {
|
|
23782
|
+
type: 4,
|
|
23783
|
+
index: 21
|
|
23784
|
+
}; // RNM(DIGIT1)
|
|
23785
|
+
this.rules[77].opcodes[4] = {
|
|
23786
|
+
type: 3,
|
|
23787
|
+
min: 0,
|
|
23788
|
+
max: Infinity
|
|
23789
|
+
}; // REP
|
|
23790
|
+
this.rules[77].opcodes[5] = {
|
|
23791
|
+
type: 4,
|
|
23792
|
+
index: 65
|
|
23793
|
+
}; // RNM(DIGIT)
|
|
20777
23794
|
|
|
20778
|
-
|
|
20779
|
-
|
|
20780
|
-
|
|
20781
|
-
|
|
20782
|
-
|
|
20783
|
-
|
|
20784
|
-
/* harmony export */ mediaTypes: () => (/* reexport safe */ _media_types_mjs__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
20785
|
-
/* harmony export */ namespace: () => (/* binding */ namespace),
|
|
20786
|
-
/* harmony export */ parse: () => (/* binding */ parse),
|
|
20787
|
-
/* harmony export */ syntacticAnalysis: () => (/* reexport safe */ _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_5__["default"])
|
|
20788
|
-
/* harmony export */ });
|
|
20789
|
-
/* harmony import */ var _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(55156);
|
|
20790
|
-
/* harmony import */ var _speclynx_apidom_error__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(16126);
|
|
20791
|
-
/* harmony import */ var _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(38600);
|
|
20792
|
-
/* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(34885);
|
|
20793
|
-
/* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(19305);
|
|
20794
|
-
/* harmony import */ var _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(13615);
|
|
20795
|
-
/* harmony import */ var _media_types_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49968);
|
|
23795
|
+
/* dot-prefix */
|
|
23796
|
+
this.rules[78].opcodes = [];
|
|
23797
|
+
this.rules[78].opcodes[0] = {
|
|
23798
|
+
type: 7,
|
|
23799
|
+
string: [46]
|
|
23800
|
+
}; // TLS
|
|
20796
23801
|
|
|
23802
|
+
/* double-dot-prefix */
|
|
23803
|
+
this.rules[79].opcodes = [];
|
|
23804
|
+
this.rules[79].opcodes[0] = {
|
|
23805
|
+
type: 7,
|
|
23806
|
+
string: [46, 46]
|
|
23807
|
+
}; // TLS
|
|
20797
23808
|
|
|
23809
|
+
/* left-bracket */
|
|
23810
|
+
this.rules[80].opcodes = [];
|
|
23811
|
+
this.rules[80].opcodes[0] = {
|
|
23812
|
+
type: 7,
|
|
23813
|
+
string: [91]
|
|
23814
|
+
}; // TLS
|
|
20798
23815
|
|
|
23816
|
+
/* right-bracket */
|
|
23817
|
+
this.rules[81].opcodes = [];
|
|
23818
|
+
this.rules[81].opcodes[0] = {
|
|
23819
|
+
type: 7,
|
|
23820
|
+
string: [93]
|
|
23821
|
+
}; // TLS
|
|
20799
23822
|
|
|
23823
|
+
/* left-paren */
|
|
23824
|
+
this.rules[82].opcodes = [];
|
|
23825
|
+
this.rules[82].opcodes[0] = {
|
|
23826
|
+
type: 7,
|
|
23827
|
+
string: [40]
|
|
23828
|
+
}; // TLS
|
|
20800
23829
|
|
|
20801
|
-
|
|
20802
|
-
|
|
20803
|
-
|
|
23830
|
+
/* right-paren */
|
|
23831
|
+
this.rules[83].opcodes = [];
|
|
23832
|
+
this.rules[83].opcodes[0] = {
|
|
23833
|
+
type: 7,
|
|
23834
|
+
string: [41]
|
|
23835
|
+
}; // TLS
|
|
20804
23836
|
|
|
20805
|
-
|
|
20806
|
-
|
|
20807
|
-
|
|
20808
|
-
|
|
23837
|
+
/* comma */
|
|
23838
|
+
this.rules[84].opcodes = [];
|
|
23839
|
+
this.rules[84].opcodes[0] = {
|
|
23840
|
+
type: 7,
|
|
23841
|
+
string: [44]
|
|
23842
|
+
}; // TLS
|
|
20809
23843
|
|
|
20810
|
-
|
|
20811
|
-
|
|
20812
|
-
|
|
20813
|
-
|
|
23844
|
+
/* colon */
|
|
23845
|
+
this.rules[85].opcodes = [];
|
|
23846
|
+
this.rules[85].opcodes[0] = {
|
|
23847
|
+
type: 7,
|
|
23848
|
+
string: [58]
|
|
23849
|
+
}; // TLS
|
|
20814
23850
|
|
|
20815
|
-
|
|
20816
|
-
|
|
20817
|
-
|
|
23851
|
+
/* dquote */
|
|
23852
|
+
this.rules[86].opcodes = [];
|
|
23853
|
+
this.rules[86].opcodes[0] = {
|
|
23854
|
+
type: 6,
|
|
23855
|
+
string: [34]
|
|
23856
|
+
}; // TBS
|
|
20818
23857
|
|
|
20819
|
-
|
|
20820
|
-
|
|
20821
|
-
|
|
20822
|
-
|
|
20823
|
-
|
|
20824
|
-
}
|
|
20825
|
-
if (strict) {
|
|
20826
|
-
return _native_index_mjs__WEBPACK_IMPORTED_MODULE_2__.detect(source);
|
|
20827
|
-
}
|
|
20828
|
-
return _tree_sitter_index_mjs__WEBPACK_IMPORTED_MODULE_3__.detect(source);
|
|
20829
|
-
};
|
|
23858
|
+
/* squote */
|
|
23859
|
+
this.rules[87].opcodes = [];
|
|
23860
|
+
this.rules[87].opcodes[0] = {
|
|
23861
|
+
type: 6,
|
|
23862
|
+
string: [39]
|
|
23863
|
+
}; // TBS
|
|
20830
23864
|
|
|
20831
|
-
|
|
20832
|
-
|
|
20833
|
-
|
|
23865
|
+
/* questionmark */
|
|
23866
|
+
this.rules[88].opcodes = [];
|
|
23867
|
+
this.rules[88].opcodes[0] = {
|
|
23868
|
+
type: 7,
|
|
23869
|
+
string: [63]
|
|
23870
|
+
}; // TLS
|
|
20834
23871
|
|
|
20835
|
-
|
|
20836
|
-
|
|
20837
|
-
|
|
23872
|
+
/* disjunction */
|
|
23873
|
+
this.rules[89].opcodes = [];
|
|
23874
|
+
this.rules[89].opcodes[0] = {
|
|
23875
|
+
type: 7,
|
|
23876
|
+
string: [124, 124]
|
|
23877
|
+
}; // TLS
|
|
20838
23878
|
|
|
20839
|
-
|
|
20840
|
-
|
|
20841
|
-
|
|
20842
|
-
|
|
20843
|
-
|
|
20844
|
-
|
|
20845
|
-
|
|
20846
|
-
|
|
20847
|
-
|
|
20848
|
-
|
|
20849
|
-
|
|
20850
|
-
|
|
20851
|
-
|
|
20852
|
-
|
|
20853
|
-
|
|
20854
|
-
|
|
20855
|
-
|
|
23879
|
+
/* conjunction */
|
|
23880
|
+
this.rules[90].opcodes = [];
|
|
23881
|
+
this.rules[90].opcodes[0] = {
|
|
23882
|
+
type: 7,
|
|
23883
|
+
string: [38, 38]
|
|
23884
|
+
}; // TLS
|
|
23885
|
+
|
|
23886
|
+
// The `toString()` function will display the original grammar file(s) that produced these opcodes.
|
|
23887
|
+
this.toString = function toString() {
|
|
23888
|
+
let str = "";
|
|
23889
|
+
str += "; JSONPath: Query Expressions for JSON\n";
|
|
23890
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535\n";
|
|
23891
|
+
str += "\n";
|
|
23892
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1\n";
|
|
23893
|
+
str += "jsonpath-query = root-identifier segments\n";
|
|
23894
|
+
str += "segments = *(S segment)\n";
|
|
23895
|
+
str += "\n";
|
|
23896
|
+
str += "B = %x20 / ; Space\n";
|
|
23897
|
+
str += " %x09 / ; Horizontal tab\n";
|
|
23898
|
+
str += " %x0A / ; Line feed or New line\n";
|
|
23899
|
+
str += " %x0D ; Carriage return\n";
|
|
23900
|
+
str += "S = *B ; optional blank space\n";
|
|
23901
|
+
str += "\n";
|
|
23902
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.2.1\n";
|
|
23903
|
+
str += "root-identifier = \"$\"\n";
|
|
23904
|
+
str += "\n";
|
|
23905
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3\n";
|
|
23906
|
+
str += "selector = name-selector /\n";
|
|
23907
|
+
str += " wildcard-selector /\n";
|
|
23908
|
+
str += " slice-selector /\n";
|
|
23909
|
+
str += " index-selector /\n";
|
|
23910
|
+
str += " filter-selector\n";
|
|
23911
|
+
str += "\n";
|
|
23912
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1\n";
|
|
23913
|
+
str += "name-selector = string-literal\n";
|
|
23914
|
+
str += "\n";
|
|
23915
|
+
str += "string-literal = dquote *double-quoted dquote / ; \"string\", MODIFICATION: surrogate text rule used\n";
|
|
23916
|
+
str += " squote *single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n";
|
|
23917
|
+
str += "\n";
|
|
23918
|
+
str += "double-quoted = unescaped /\n";
|
|
23919
|
+
str += " %x27 / ; '\n";
|
|
23920
|
+
str += " ESC %x22 / ; \\\"\n";
|
|
23921
|
+
str += " ESC escapable\n";
|
|
23922
|
+
str += "\n";
|
|
23923
|
+
str += "single-quoted = unescaped /\n";
|
|
23924
|
+
str += " %x22 / ; \"\n";
|
|
23925
|
+
str += " ESC %x27 / ; \\'\n";
|
|
23926
|
+
str += " ESC escapable\n";
|
|
23927
|
+
str += "\n";
|
|
23928
|
+
str += "ESC = %x5C ; \\ backslash\n";
|
|
23929
|
+
str += "\n";
|
|
23930
|
+
str += "unescaped = %x20-21 / ; see RFC 8259\n";
|
|
23931
|
+
str += " ; omit 0x22 \"\n";
|
|
23932
|
+
str += " %x23-26 /\n";
|
|
23933
|
+
str += " ; omit 0x27 '\n";
|
|
23934
|
+
str += " %x28-5B /\n";
|
|
23935
|
+
str += " ; omit 0x5C \\\n";
|
|
23936
|
+
str += " %x5D-D7FF /\n";
|
|
23937
|
+
str += " ; skip surrogate code points\n";
|
|
23938
|
+
str += " %xE000-10FFFF\n";
|
|
23939
|
+
str += "\n";
|
|
23940
|
+
str += "escapable = %x62 / ; b BS backspace U+0008\n";
|
|
23941
|
+
str += " %x66 / ; f FF form feed U+000C\n";
|
|
23942
|
+
str += " %x6E / ; n LF line feed U+000A\n";
|
|
23943
|
+
str += " %x72 / ; r CR carriage return U+000D\n";
|
|
23944
|
+
str += " %x74 / ; t HT horizontal tab U+0009\n";
|
|
23945
|
+
str += " \"/\" / ; / slash (solidus) U+002F\n";
|
|
23946
|
+
str += " \"\\\" / ; \\ backslash (reverse solidus) U+005C\n";
|
|
23947
|
+
str += " (%x75 hexchar) ; uXXXX U+XXXX\n";
|
|
23948
|
+
str += "\n";
|
|
23949
|
+
str += "hexchar = non-surrogate /\n";
|
|
23950
|
+
str += " (high-surrogate \"\\\" %x75 low-surrogate)\n";
|
|
23951
|
+
str += "non-surrogate = ((DIGIT / \"A\"/\"B\"/\"C\" / \"E\"/\"F\") 3HEXDIG) /\n";
|
|
23952
|
+
str += " (\"D\" %x30-37 2HEXDIG )\n";
|
|
23953
|
+
str += "high-surrogate = \"D\" (\"8\"/\"9\"/\"A\"/\"B\") 2HEXDIG\n";
|
|
23954
|
+
str += "low-surrogate = \"D\" (\"C\"/\"D\"/\"E\"/\"F\") 2HEXDIG\n";
|
|
23955
|
+
str += "\n";
|
|
23956
|
+
str += "HEXDIG = DIGIT / \"A\" / \"B\" / \"C\" / \"D\" / \"E\" / \"F\"\n";
|
|
23957
|
+
str += "\n";
|
|
23958
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1\n";
|
|
23959
|
+
str += "wildcard-selector = \"*\"\n";
|
|
23960
|
+
str += "\n";
|
|
23961
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1\n";
|
|
23962
|
+
str += "index-selector = int ; decimal integer\n";
|
|
23963
|
+
str += "\n";
|
|
23964
|
+
str += "int = \"0\" /\n";
|
|
23965
|
+
str += " ([\"-\"] DIGIT1 *DIGIT) ; - optional\n";
|
|
23966
|
+
str += "DIGIT1 = %x31-39 ; 1-9 non-zero digit\n";
|
|
23967
|
+
str += "\n";
|
|
23968
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1\n";
|
|
23969
|
+
str += "slice-selector = [start S] colon S [end S] [colon [S step ]] ; MODIFICATION: surrogate text rule used\n";
|
|
23970
|
+
str += "\n";
|
|
23971
|
+
str += "start = int ; included in selection\n";
|
|
23972
|
+
str += "end = int ; not included in selection\n";
|
|
23973
|
+
str += "step = int ; default: 1\n";
|
|
23974
|
+
str += "\n";
|
|
23975
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1\n";
|
|
23976
|
+
str += "filter-selector = questionmark S logical-expr ; MODIFICATION: surrogate text rule used\n";
|
|
23977
|
+
str += "\n";
|
|
23978
|
+
str += "logical-expr = logical-or-expr\n";
|
|
23979
|
+
str += "logical-or-expr = logical-and-expr *(S disjunction S logical-and-expr) ; MODIFICATION: surrogate text rule used\n";
|
|
23980
|
+
str += " ; disjunction\n";
|
|
23981
|
+
str += " ; binds less tightly than conjunction\n";
|
|
23982
|
+
str += "logical-and-expr = basic-expr *(S conjunction S basic-expr) ; MODIFICATION: surrogate text rule used\n";
|
|
23983
|
+
str += " ; conjunction\n";
|
|
23984
|
+
str += " ; binds more tightly than disjunction\n";
|
|
23985
|
+
str += "\n";
|
|
23986
|
+
str += "basic-expr = paren-expr /\n";
|
|
23987
|
+
str += " comparison-expr /\n";
|
|
23988
|
+
str += " test-expr\n";
|
|
23989
|
+
str += "\n";
|
|
23990
|
+
str += "paren-expr = [logical-not-op S] left-paren S logical-expr S right-paren ; MODIFICATION: surrogate text rule used\n";
|
|
23991
|
+
str += " ; parenthesized expression\n";
|
|
23992
|
+
str += "logical-not-op = \"!\" ; logical NOT operator\n";
|
|
23993
|
+
str += "\n";
|
|
23994
|
+
str += "test-expr = [logical-not-op S]\n";
|
|
23995
|
+
str += " (filter-query / ; existence/non-existence\n";
|
|
23996
|
+
str += " function-expr) ; LogicalType or NodesType\n";
|
|
23997
|
+
str += "filter-query = rel-query / jsonpath-query\n";
|
|
23998
|
+
str += "rel-query = current-node-identifier segments\n";
|
|
23999
|
+
str += "current-node-identifier = \"@\"\n";
|
|
24000
|
+
str += "\n";
|
|
24001
|
+
str += "comparison-expr = comparable S comparison-op S comparable\n";
|
|
24002
|
+
str += "literal = number / string-literal /\n";
|
|
24003
|
+
str += " true / false / null\n";
|
|
24004
|
+
str += "comparable = singular-query / ; singular query value\n";
|
|
24005
|
+
str += " function-expr / ; ValueType\n";
|
|
24006
|
+
str += " literal\n";
|
|
24007
|
+
str += " ; MODIFICATION: https://www.rfc-editor.org/errata/eid8352\n";
|
|
24008
|
+
str += "comparison-op = \"==\" / \"!=\" /\n";
|
|
24009
|
+
str += " \"<=\" / \">=\" /\n";
|
|
24010
|
+
str += " \"<\" / \">\"\n";
|
|
24011
|
+
str += "\n";
|
|
24012
|
+
str += "singular-query = rel-singular-query / abs-singular-query\n";
|
|
24013
|
+
str += "rel-singular-query = current-node-identifier singular-query-segments\n";
|
|
24014
|
+
str += "abs-singular-query = root-identifier singular-query-segments\n";
|
|
24015
|
+
str += "singular-query-segments = *(S (name-segment / index-segment))\n";
|
|
24016
|
+
str += "name-segment = (left-bracket name-selector right-bracket) / ; MODIFICATION: surrogate text rule used\n";
|
|
24017
|
+
str += " (dot-prefix member-name-shorthand) ; MODIFICATION: surrogate text rule used\n";
|
|
24018
|
+
str += "index-segment = left-bracket index-selector right-bracket ; MODIFICATION: surrogate text rule used\n";
|
|
24019
|
+
str += "\n";
|
|
24020
|
+
str += "number = (int / \"-0\") [ frac ] [ exp ] ; decimal number\n";
|
|
24021
|
+
str += "frac = \".\" 1*DIGIT ; decimal fraction\n";
|
|
24022
|
+
str += "exp = \"e\" [ \"-\" / \"+\" ] 1*DIGIT ; decimal exponent\n";
|
|
24023
|
+
str += "true = %x74.72.75.65 ; true\n";
|
|
24024
|
+
str += "false = %x66.61.6c.73.65 ; false\n";
|
|
24025
|
+
str += "null = %x6e.75.6c.6c ; null\n";
|
|
24026
|
+
str += "\n";
|
|
24027
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.4\n";
|
|
24028
|
+
str += "function-name = function-name-first *function-name-char\n";
|
|
24029
|
+
str += "function-name-first = LCALPHA\n";
|
|
24030
|
+
str += "function-name-char = function-name-first / \"_\" / DIGIT\n";
|
|
24031
|
+
str += "LCALPHA = %x61-7A ; \"a\"..\"z\"\n";
|
|
24032
|
+
str += "\n";
|
|
24033
|
+
str += "function-expr = function-name left-paren S [function-argument ; MODIFICATION: surrogate text rule used\n";
|
|
24034
|
+
str += " *(S comma S function-argument)] S right-paren ; MODIFICATION: surrogate text rule used\n";
|
|
24035
|
+
str += "function-argument = logical-expr / ; MODIFICATION: https://www.rfc-editor.org/errata/eid8343\n";
|
|
24036
|
+
str += " filter-query / ; (includes singular-query)\n";
|
|
24037
|
+
str += " function-expr /\n";
|
|
24038
|
+
str += " literal\n";
|
|
24039
|
+
str += "\n";
|
|
24040
|
+
str += "\n";
|
|
24041
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.5\n";
|
|
24042
|
+
str += "segment = child-segment / descendant-segment\n";
|
|
24043
|
+
str += "\n";
|
|
24044
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1\n";
|
|
24045
|
+
str += "child-segment = bracketed-selection /\n";
|
|
24046
|
+
str += " (dot-prefix ; MODIFICATION: surrogate text rule used\n";
|
|
24047
|
+
str += " (wildcard-selector /\n";
|
|
24048
|
+
str += " member-name-shorthand))\n";
|
|
24049
|
+
str += "\n";
|
|
24050
|
+
str += "bracketed-selection = left-bracket S selector *(S comma S selector) S right-bracket\n";
|
|
24051
|
+
str += " ; MODIFICATION: surrogate text rule used\n";
|
|
24052
|
+
str += "\n";
|
|
24053
|
+
str += "member-name-shorthand = name-first *name-char\n";
|
|
24054
|
+
str += "name-first = ALPHA /\n";
|
|
24055
|
+
str += " \"_\" /\n";
|
|
24056
|
+
str += " %x80-D7FF /\n";
|
|
24057
|
+
str += " ; skip surrogate code points\n";
|
|
24058
|
+
str += " %xE000-10FFFF\n";
|
|
24059
|
+
str += "name-char = name-first / DIGIT\n";
|
|
24060
|
+
str += "\n";
|
|
24061
|
+
str += "DIGIT = %x30-39 ; 0-9\n";
|
|
24062
|
+
str += "ALPHA = %x41-5A / %x61-7A ; A-Z / a-z\n";
|
|
24063
|
+
str += "\n";
|
|
24064
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1\n";
|
|
24065
|
+
str += "descendant-segment = double-dot-prefix (bracketed-selection / ; MODIFICATION: surrogate text rule used\n";
|
|
24066
|
+
str += " wildcard-selector /\n";
|
|
24067
|
+
str += " member-name-shorthand)\n";
|
|
24068
|
+
str += "\n";
|
|
24069
|
+
str += "; https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths\n";
|
|
24070
|
+
str += "normalized-path = root-identifier *(normal-index-segment)\n";
|
|
24071
|
+
str += "normal-index-segment = left-bracket normal-selector right-bracket ; MODIFICATION: surrogate text rule used\n";
|
|
24072
|
+
str += "normal-selector = normal-name-selector / normal-index-selector\n";
|
|
24073
|
+
str += "normal-name-selector = squote *normal-single-quoted squote ; 'string', MODIFICATION: surrogate text rule used\n";
|
|
24074
|
+
str += "normal-single-quoted = normal-unescaped /\n";
|
|
24075
|
+
str += " ESC normal-escapable\n";
|
|
24076
|
+
str += "normal-unescaped = ; omit %x0-1F control codes\n";
|
|
24077
|
+
str += " %x20-26 /\n";
|
|
24078
|
+
str += " ; omit 0x27 '\n";
|
|
24079
|
+
str += " %x28-5B /\n";
|
|
24080
|
+
str += " ; omit 0x5C \\\n";
|
|
24081
|
+
str += " %x5D-D7FF /\n";
|
|
24082
|
+
str += " ; skip surrogate code points\n";
|
|
24083
|
+
str += " %xE000-10FFFF\n";
|
|
24084
|
+
str += "\n";
|
|
24085
|
+
str += "normal-escapable = %x62 / ; b BS backspace U+0008\n";
|
|
24086
|
+
str += " %x66 / ; f FF form feed U+000C\n";
|
|
24087
|
+
str += " %x6E / ; n LF line feed U+000A\n";
|
|
24088
|
+
str += " %x72 / ; r CR carriage return U+000D\n";
|
|
24089
|
+
str += " %x74 / ; t HT horizontal tab U+0009\n";
|
|
24090
|
+
str += " \"'\" / ; ' apostrophe U+0027\n";
|
|
24091
|
+
str += " \"\\\" / ; \\ backslash (reverse solidus) U+005C\n";
|
|
24092
|
+
str += " (%x75 normal-hexchar)\n";
|
|
24093
|
+
str += " ; certain values u00xx U+00XX\n";
|
|
24094
|
+
str += "normal-hexchar = \"0\" \"0\"\n";
|
|
24095
|
+
str += " (\n";
|
|
24096
|
+
str += " (\"0\" %x30-37) / ; \"00\"-\"07\"\n";
|
|
24097
|
+
str += " ; omit U+0008-U+000A BS HT LF\n";
|
|
24098
|
+
str += " (\"0\" %x62) / ; \"0b\"\n";
|
|
24099
|
+
str += " ; omit U+000C-U+000D FF CR\n";
|
|
24100
|
+
str += " (\"0\" %x65-66) / ; \"0e\"-\"0f\"\n";
|
|
24101
|
+
str += " (\"1\" normal-HEXDIG)\n";
|
|
24102
|
+
str += " )\n";
|
|
24103
|
+
str += "normal-HEXDIG = DIGIT / %x61-66 ; \"0\"-\"9\", \"a\"-\"f\"\n";
|
|
24104
|
+
str += "normal-index-selector = \"0\" / (DIGIT1 *DIGIT)\n";
|
|
24105
|
+
str += " ; non-negative decimal integer\n";
|
|
24106
|
+
str += "\n";
|
|
24107
|
+
str += "; Surrogate named rules\n";
|
|
24108
|
+
str += "dot-prefix = \".\"\n";
|
|
24109
|
+
str += "double-dot-prefix = \"..\"\n";
|
|
24110
|
+
str += "left-bracket = \"[\"\n";
|
|
24111
|
+
str += "right-bracket = \"]\"\n";
|
|
24112
|
+
str += "left-paren = \"(\"\n";
|
|
24113
|
+
str += "right-paren = \")\"\n";
|
|
24114
|
+
str += "comma = \",\"\n";
|
|
24115
|
+
str += "colon = \":\"\n";
|
|
24116
|
+
str += "dquote = %x22 ; \"\n";
|
|
24117
|
+
str += "squote = %x27 ; '\n";
|
|
24118
|
+
str += "questionmark = \"?\"\n";
|
|
24119
|
+
str += "disjunction = \"||\"\n";
|
|
24120
|
+
str += "conjunction = \"&&\"\n";
|
|
24121
|
+
return str;
|
|
24122
|
+
};
|
|
24123
|
+
}
|
|
20856
24124
|
|
|
20857
24125
|
/***/ }),
|
|
20858
24126
|
|
|
@@ -31233,6 +34501,23 @@ class PropertiesVisitor extends JSONSchemaPropertiesVisitor {
|
|
|
31233
34501
|
|
|
31234
34502
|
/***/ }),
|
|
31235
34503
|
|
|
34504
|
+
/***/ 41352:
|
|
34505
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
34506
|
+
|
|
34507
|
+
"use strict";
|
|
34508
|
+
__webpack_require__.r(__webpack_exports__);
|
|
34509
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
34510
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
34511
|
+
/* harmony export */ });
|
|
34512
|
+
class Expectations extends Array {
|
|
34513
|
+
toString() {
|
|
34514
|
+
return this.map(c => `"${String(c)}"`).join(', ');
|
|
34515
|
+
}
|
|
34516
|
+
}
|
|
34517
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Expectations);
|
|
34518
|
+
|
|
34519
|
+
/***/ }),
|
|
34520
|
+
|
|
31236
34521
|
/***/ 41407:
|
|
31237
34522
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
31238
34523
|
|
|
@@ -32043,7 +35328,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
32043
35328
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
32044
35329
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
32045
35330
|
/* harmony export */ });
|
|
32046
|
-
/* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
35331
|
+
/* harmony import */ var _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
|
|
32047
35332
|
|
|
32048
35333
|
class JSONPointerCompileError extends _JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
32049
35334
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerCompileError);
|
|
@@ -36863,6 +40148,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
36863
40148
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
36864
40149
|
/* harmony export */ Path: () => (/* binding */ Path)
|
|
36865
40150
|
/* harmony export */ });
|
|
40151
|
+
/* harmony import */ var _speclynx_apidom_json_pointer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(61198);
|
|
40152
|
+
/* harmony import */ var _swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(84637);
|
|
40153
|
+
|
|
40154
|
+
|
|
40155
|
+
|
|
36866
40156
|
/**
|
|
36867
40157
|
* Possible return values from a visitor function.
|
|
36868
40158
|
* @public
|
|
@@ -37014,6 +40304,43 @@ class Path {
|
|
|
37014
40304
|
return keys;
|
|
37015
40305
|
}
|
|
37016
40306
|
|
|
40307
|
+
/**
|
|
40308
|
+
* Format path as RFC 6901 JSON Pointer or RFC 9535 Normalized JSONPath.
|
|
40309
|
+
*
|
|
40310
|
+
* @param pathFormat - Output format: "jsonpointer" (default) or "jsonpath"
|
|
40311
|
+
* @returns JSONPointer string like "/paths/~1pets/get/responses/200"
|
|
40312
|
+
* or Normalized JSONPath like "$['paths']['/pets']['get']['responses']['200']"
|
|
40313
|
+
*
|
|
40314
|
+
* @example
|
|
40315
|
+
* // JSON Pointer examples:
|
|
40316
|
+
* path.formatPath(); // "" (root)
|
|
40317
|
+
* path.formatPath(); // "/info"
|
|
40318
|
+
* path.formatPath(); // "/paths/~1pets/get"
|
|
40319
|
+
* path.formatPath(); // "/paths/~1users~1{id}/parameters/0"
|
|
40320
|
+
*
|
|
40321
|
+
* @example
|
|
40322
|
+
* // JSONPath examples:
|
|
40323
|
+
* path.formatPath('jsonpath'); // "$" (root)
|
|
40324
|
+
* path.formatPath('jsonpath'); // "$['info']"
|
|
40325
|
+
* path.formatPath('jsonpath'); // "$['paths']['/pets']['get']"
|
|
40326
|
+
* path.formatPath('jsonpath'); // "$['paths']['/users/{id}']['parameters'][0]"
|
|
40327
|
+
*/
|
|
40328
|
+
formatPath(pathFormat = 'jsonpointer') {
|
|
40329
|
+
const parts = this.getPathKeys();
|
|
40330
|
+
|
|
40331
|
+
// Root node
|
|
40332
|
+
if (parts.length === 0) {
|
|
40333
|
+
return pathFormat === 'jsonpath' ? '$' : '';
|
|
40334
|
+
}
|
|
40335
|
+
if (pathFormat === 'jsonpath') {
|
|
40336
|
+
// RFC 9535 Normalized JSONPath
|
|
40337
|
+
return (0,_swaggerexpert_jsonpath__WEBPACK_IMPORTED_MODULE_1__.compile)(parts);
|
|
40338
|
+
}
|
|
40339
|
+
|
|
40340
|
+
// RFC 6901 JSON Pointer
|
|
40341
|
+
return (0,_speclynx_apidom_json_pointer__WEBPACK_IMPORTED_MODULE_0__.compile)(parts);
|
|
40342
|
+
}
|
|
40343
|
+
|
|
37017
40344
|
/**
|
|
37018
40345
|
* Find the closest ancestor path that satisfies the predicate.
|
|
37019
40346
|
*/
|
|
@@ -41922,6 +45249,52 @@ var init = /*#__PURE__*/(0,_slice_js__WEBPACK_IMPORTED_MODULE_0__["default"])(0,
|
|
|
41922
45249
|
|
|
41923
45250
|
/***/ }),
|
|
41924
45251
|
|
|
45252
|
+
/***/ 54848:
|
|
45253
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
45254
|
+
|
|
45255
|
+
"use strict";
|
|
45256
|
+
__webpack_require__.r(__webpack_exports__);
|
|
45257
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
45258
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
45259
|
+
/* harmony export */ });
|
|
45260
|
+
/* harmony import */ var _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23449);
|
|
45261
|
+
|
|
45262
|
+
class CSTOptimizedTranslator extends _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
45263
|
+
collapsibleTypes = ['single-quoted', 'double-quoted', 'normal-single-quoted'];
|
|
45264
|
+
droppableTypes = ['text', 'segments', 'singular-query-segments'];
|
|
45265
|
+
constructor({
|
|
45266
|
+
collapsibleTypes,
|
|
45267
|
+
droppableTypes
|
|
45268
|
+
} = {}) {
|
|
45269
|
+
super();
|
|
45270
|
+
if (Array.isArray(collapsibleTypes)) {
|
|
45271
|
+
this.collapsibleTypes = collapsibleTypes;
|
|
45272
|
+
}
|
|
45273
|
+
if (Array.isArray(droppableTypes)) {
|
|
45274
|
+
this.droppableTypes = droppableTypes;
|
|
45275
|
+
}
|
|
45276
|
+
}
|
|
45277
|
+
getTree() {
|
|
45278
|
+
const options = {
|
|
45279
|
+
optimize: true,
|
|
45280
|
+
collapsibleTypes: this.collapsibleTypes,
|
|
45281
|
+
droppableTypes: this.droppableTypes
|
|
45282
|
+
};
|
|
45283
|
+
const data = {
|
|
45284
|
+
stack: [],
|
|
45285
|
+
root: null,
|
|
45286
|
+
options
|
|
45287
|
+
};
|
|
45288
|
+
this.translate(data);
|
|
45289
|
+
delete data.stack;
|
|
45290
|
+
delete data.options;
|
|
45291
|
+
return data;
|
|
45292
|
+
}
|
|
45293
|
+
}
|
|
45294
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (CSTOptimizedTranslator);
|
|
45295
|
+
|
|
45296
|
+
/***/ }),
|
|
45297
|
+
|
|
41925
45298
|
/***/ 54929:
|
|
41926
45299
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
41927
45300
|
|
|
@@ -46401,7 +49774,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
46401
49774
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
46402
49775
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
46403
49776
|
/* harmony export */ });
|
|
46404
|
-
/* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
|
|
49777
|
+
/* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(89627);
|
|
46405
49778
|
|
|
46406
49779
|
class EvaluationRealm {
|
|
46407
49780
|
name = '';
|
|
@@ -48743,7 +52116,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
48743
52116
|
/* harmony import */ var _evaluate_index_mjs__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(89274);
|
|
48744
52117
|
/* harmony import */ var _evaluate_realms_EvaluationRealm_mjs__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(59408);
|
|
48745
52118
|
/* harmony import */ var _evaluate_realms_compose_mjs__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(99799);
|
|
48746
|
-
/* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
|
|
52119
|
+
/* harmony import */ var _errors_JSONPointerError_mjs__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(89627);
|
|
48747
52120
|
/* harmony import */ var _errors_JSONPointerParseError_mjs__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(26490);
|
|
48748
52121
|
/* harmony import */ var _errors_JSONPointerCompileError_mjs__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(42144);
|
|
48749
52122
|
/* harmony import */ var _errors_JSONPointerEvaluateError_mjs__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(924);
|
|
@@ -50377,6 +53750,21 @@ class ParameterVisitor extends BaseParameterVisitor {
|
|
|
50377
53750
|
|
|
50378
53751
|
/***/ }),
|
|
50379
53752
|
|
|
53753
|
+
/***/ 62977:
|
|
53754
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
53755
|
+
|
|
53756
|
+
"use strict";
|
|
53757
|
+
__webpack_require__.r(__webpack_exports__);
|
|
53758
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
53759
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
53760
|
+
/* harmony export */ });
|
|
53761
|
+
/* harmony import */ var _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84816);
|
|
53762
|
+
|
|
53763
|
+
class JSONPathCompileError extends _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
53764
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPathCompileError);
|
|
53765
|
+
|
|
53766
|
+
/***/ }),
|
|
53767
|
+
|
|
50380
53768
|
/***/ 63002:
|
|
50381
53769
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
50382
53770
|
|
|
@@ -53248,6 +56636,425 @@ class FailsafeSchema {
|
|
|
53248
56636
|
|
|
53249
56637
|
/***/ }),
|
|
53250
56638
|
|
|
56639
|
+
/***/ 66090:
|
|
56640
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
56641
|
+
|
|
56642
|
+
"use strict";
|
|
56643
|
+
__webpack_require__.r(__webpack_exports__);
|
|
56644
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
56645
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
|
|
56646
|
+
/* harmony export */ transformCSTtoAST: () => (/* binding */ transformCSTtoAST)
|
|
56647
|
+
/* harmony export */ });
|
|
56648
|
+
/* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(92639);
|
|
56649
|
+
/* harmony import */ var _decoders_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(1257);
|
|
56650
|
+
|
|
56651
|
+
|
|
56652
|
+
const transformCSTtoAST = (node, transformerMap, ctx = {
|
|
56653
|
+
parent: null,
|
|
56654
|
+
path: []
|
|
56655
|
+
}) => {
|
|
56656
|
+
const transformer = transformerMap[node.type];
|
|
56657
|
+
if (!transformer) {
|
|
56658
|
+
throw new _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"](`No transformer for CST node type: ${node.type}`);
|
|
56659
|
+
}
|
|
56660
|
+
const nextCtx = {
|
|
56661
|
+
parent: node,
|
|
56662
|
+
path: [...ctx.path, node]
|
|
56663
|
+
};
|
|
56664
|
+
return transformer(node, nextCtx);
|
|
56665
|
+
};
|
|
56666
|
+
const transformers = {
|
|
56667
|
+
/**
|
|
56668
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.1.1
|
|
56669
|
+
*/
|
|
56670
|
+
['jsonpath-query'](node, ctx) {
|
|
56671
|
+
const segments = node.children.find(c => c.type === 'segments');
|
|
56672
|
+
return {
|
|
56673
|
+
type: 'JsonPathQuery',
|
|
56674
|
+
segments: segments ? segments.children.filter(({
|
|
56675
|
+
type
|
|
56676
|
+
}) => type === 'segment').map(segNode => transformCSTtoAST(segNode, transformers, ctx)) : []
|
|
56677
|
+
};
|
|
56678
|
+
},
|
|
56679
|
+
/**
|
|
56680
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.5
|
|
56681
|
+
*/
|
|
56682
|
+
segment(node, ctx) {
|
|
56683
|
+
const child = node.children.find(({
|
|
56684
|
+
type
|
|
56685
|
+
}) => ['child-segment', 'descendant-segment'].includes(type));
|
|
56686
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
56687
|
+
},
|
|
56688
|
+
/**
|
|
56689
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.3
|
|
56690
|
+
*/
|
|
56691
|
+
selector(node, ctx) {
|
|
56692
|
+
const child = node.children.find(({
|
|
56693
|
+
type
|
|
56694
|
+
}) => ['name-selector', 'wildcard-selector', 'slice-selector', 'index-selector', 'filter-selector'].includes(type));
|
|
56695
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
56696
|
+
},
|
|
56697
|
+
/**
|
|
56698
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.3.1.1
|
|
56699
|
+
*/
|
|
56700
|
+
['name-selector'](node, ctx) {
|
|
56701
|
+
const stringLiteralCSTNode = node.children.find(({
|
|
56702
|
+
type
|
|
56703
|
+
}) => type === 'string-literal');
|
|
56704
|
+
const stringLiteralASTNode = transformCSTtoAST(stringLiteralCSTNode, transformers, ctx);
|
|
56705
|
+
return {
|
|
56706
|
+
type: 'NameSelector',
|
|
56707
|
+
value: stringLiteralASTNode.value,
|
|
56708
|
+
format: stringLiteralASTNode.format
|
|
56709
|
+
};
|
|
56710
|
+
},
|
|
56711
|
+
['string-literal'](node) {
|
|
56712
|
+
const isSingleQuoted = node.children.find(({
|
|
56713
|
+
type,
|
|
56714
|
+
text
|
|
56715
|
+
}) => type === 'text' && text === "'");
|
|
56716
|
+
const quoted = node.children.find(({
|
|
56717
|
+
type
|
|
56718
|
+
}) => ['double-quoted', 'single-quoted'].includes(type));
|
|
56719
|
+
const decodeString = isSingleQuoted ? _decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeSingleQuotedString : _decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeDoubleQuotedString;
|
|
56720
|
+
return {
|
|
56721
|
+
type: 'StringLiteral',
|
|
56722
|
+
value: quoted ? decodeString(quoted.text) : '',
|
|
56723
|
+
format: isSingleQuoted ? 'single-quoted' : 'double-quoted'
|
|
56724
|
+
};
|
|
56725
|
+
},
|
|
56726
|
+
/**
|
|
56727
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.3.2.1
|
|
56728
|
+
*/
|
|
56729
|
+
['wildcard-selector']() {
|
|
56730
|
+
return {
|
|
56731
|
+
type: 'WildcardSelector'
|
|
56732
|
+
};
|
|
56733
|
+
},
|
|
56734
|
+
/**
|
|
56735
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.3.3.1
|
|
56736
|
+
*/
|
|
56737
|
+
['index-selector'](node) {
|
|
56738
|
+
return {
|
|
56739
|
+
type: 'IndexSelector',
|
|
56740
|
+
value: (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(node.text)
|
|
56741
|
+
};
|
|
56742
|
+
},
|
|
56743
|
+
/**
|
|
56744
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.3.4.1
|
|
56745
|
+
*/
|
|
56746
|
+
['slice-selector'](node) {
|
|
56747
|
+
const start = node.children.find(({
|
|
56748
|
+
type
|
|
56749
|
+
}) => type === 'start');
|
|
56750
|
+
const end = node.children.find(({
|
|
56751
|
+
type
|
|
56752
|
+
}) => type === 'end');
|
|
56753
|
+
const step = node.children.find(({
|
|
56754
|
+
type
|
|
56755
|
+
}) => type === 'step');
|
|
56756
|
+
return {
|
|
56757
|
+
type: 'SliceSelector',
|
|
56758
|
+
start: start ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(start.text) : null,
|
|
56759
|
+
end: end ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(end.text) : null,
|
|
56760
|
+
step: step ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(step.text) : null
|
|
56761
|
+
};
|
|
56762
|
+
},
|
|
56763
|
+
/**
|
|
56764
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.3.5.1
|
|
56765
|
+
*/
|
|
56766
|
+
['filter-selector'](node, ctx) {
|
|
56767
|
+
const child = node.children.find(({
|
|
56768
|
+
type
|
|
56769
|
+
}) => type === 'logical-expr');
|
|
56770
|
+
return {
|
|
56771
|
+
type: 'FilterSelector',
|
|
56772
|
+
expression: transformCSTtoAST(child, transformers, ctx)
|
|
56773
|
+
};
|
|
56774
|
+
},
|
|
56775
|
+
['logical-expr'](node, ctx) {
|
|
56776
|
+
const child = node.children.find(({
|
|
56777
|
+
type
|
|
56778
|
+
}) => type === 'logical-or-expr');
|
|
56779
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
56780
|
+
},
|
|
56781
|
+
['logical-or-expr'](node, ctx) {
|
|
56782
|
+
const logicalAndExprs = node.children.filter(({
|
|
56783
|
+
type
|
|
56784
|
+
}) => type === 'logical-and-expr');
|
|
56785
|
+
if (logicalAndExprs.length === 1) {
|
|
56786
|
+
return transformCSTtoAST(logicalAndExprs[0], transformers, ctx);
|
|
56787
|
+
}
|
|
56788
|
+
|
|
56789
|
+
// fold left for left-associativity
|
|
56790
|
+
let left = transformCSTtoAST(logicalAndExprs[0], transformers, ctx);
|
|
56791
|
+
for (let i = 1; i < logicalAndExprs.length; i += 1) {
|
|
56792
|
+
const right = transformCSTtoAST(logicalAndExprs[i], transformers, ctx);
|
|
56793
|
+
left = {
|
|
56794
|
+
type: 'LogicalOrExpr',
|
|
56795
|
+
left,
|
|
56796
|
+
right
|
|
56797
|
+
};
|
|
56798
|
+
}
|
|
56799
|
+
},
|
|
56800
|
+
['logical-and-expr'](node, ctx) {
|
|
56801
|
+
const basicExprs = node.children.filter(({
|
|
56802
|
+
type
|
|
56803
|
+
}) => type === 'basic-expr');
|
|
56804
|
+
if (basicExprs.length === 1) {
|
|
56805
|
+
return transformCSTtoAST(basicExprs[0], transformers, ctx);
|
|
56806
|
+
}
|
|
56807
|
+
let left = transformCSTtoAST(basicExprs[0], transformers, ctx);
|
|
56808
|
+
for (let i = 1; i < basicExprs.length; i += 1) {
|
|
56809
|
+
const right = transformCSTtoAST(basicExprs[i], transformers, ctx);
|
|
56810
|
+
left = {
|
|
56811
|
+
type: 'LogicalAndExpr',
|
|
56812
|
+
left,
|
|
56813
|
+
right
|
|
56814
|
+
};
|
|
56815
|
+
}
|
|
56816
|
+
return left;
|
|
56817
|
+
},
|
|
56818
|
+
['basic-expr'](node, ctx) {
|
|
56819
|
+
const child = node.children.find(({
|
|
56820
|
+
type
|
|
56821
|
+
}) => ['paren-expr', 'comparison-expr', 'test-expr'].includes(type));
|
|
56822
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
56823
|
+
},
|
|
56824
|
+
['paren-expr'](node, ctx) {
|
|
56825
|
+
const isNegated = node.children.some(child => child.type === 'logical-not-op');
|
|
56826
|
+
const logicalExprCSTNode = node.children.find(child => child.type === 'logical-expr');
|
|
56827
|
+
const logicalExpressionASTNode = transformCSTtoAST(logicalExprCSTNode, transformers, ctx);
|
|
56828
|
+
if (isNegated) {
|
|
56829
|
+
return {
|
|
56830
|
+
type: 'LogicalNotExpr',
|
|
56831
|
+
expression: logicalExpressionASTNode
|
|
56832
|
+
};
|
|
56833
|
+
}
|
|
56834
|
+
return logicalExpressionASTNode;
|
|
56835
|
+
},
|
|
56836
|
+
['test-expr'](node, ctx) {
|
|
56837
|
+
const isNegated = node.children.some(({
|
|
56838
|
+
type
|
|
56839
|
+
}) => type === 'logical-not-op');
|
|
56840
|
+
const expression = node.children.find(({
|
|
56841
|
+
type
|
|
56842
|
+
}) => ['filter-query', 'function-expr'].includes(type));
|
|
56843
|
+
const testExpr = {
|
|
56844
|
+
type: 'TestExpr',
|
|
56845
|
+
expression: transformCSTtoAST(expression, transformers, ctx)
|
|
56846
|
+
};
|
|
56847
|
+
return isNegated ? {
|
|
56848
|
+
type: 'LogicalNotExpr',
|
|
56849
|
+
expression: testExpr
|
|
56850
|
+
} : testExpr;
|
|
56851
|
+
},
|
|
56852
|
+
['filter-query'](node, ctx) {
|
|
56853
|
+
const child = node.children.find(({
|
|
56854
|
+
type
|
|
56855
|
+
}) => ['rel-query', 'jsonpath-query'].includes(type));
|
|
56856
|
+
return {
|
|
56857
|
+
type: 'FilterQuery',
|
|
56858
|
+
query: transformCSTtoAST(child, transformers, ctx)
|
|
56859
|
+
};
|
|
56860
|
+
},
|
|
56861
|
+
['rel-query'](node, ctx) {
|
|
56862
|
+
const segments = node.children.find(c => c.type === 'segments');
|
|
56863
|
+
return {
|
|
56864
|
+
type: 'RelQuery',
|
|
56865
|
+
segments: segments ? segments.children.filter(n => n.type === 'segment').map(segNode => transformCSTtoAST(segNode, transformers, ctx)) : []
|
|
56866
|
+
};
|
|
56867
|
+
},
|
|
56868
|
+
['comparison-expr'](node, ctx) {
|
|
56869
|
+
const children = node.children.filter(({
|
|
56870
|
+
type
|
|
56871
|
+
}) => ['comparable', 'comparison-op'].includes(type));
|
|
56872
|
+
const [left, op, right] = children;
|
|
56873
|
+
return {
|
|
56874
|
+
type: 'ComparisonExpr',
|
|
56875
|
+
left: transformCSTtoAST(left, transformers, ctx),
|
|
56876
|
+
op: op.text,
|
|
56877
|
+
right: transformCSTtoAST(right, transformers, ctx)
|
|
56878
|
+
};
|
|
56879
|
+
},
|
|
56880
|
+
['literal'](node, ctx) {
|
|
56881
|
+
const child = node.children.find(({
|
|
56882
|
+
type
|
|
56883
|
+
}) => ['number', 'string-literal', 'true', 'false', 'null'].includes(type));
|
|
56884
|
+
if (child.type === 'string-literal') {
|
|
56885
|
+
const stringLiteralASTNode = transformCSTtoAST(child, transformers, ctx);
|
|
56886
|
+
return {
|
|
56887
|
+
type: 'Literal',
|
|
56888
|
+
value: stringLiteralASTNode.value
|
|
56889
|
+
};
|
|
56890
|
+
}
|
|
56891
|
+
return {
|
|
56892
|
+
type: 'Literal',
|
|
56893
|
+
value: (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeJSONValue)(child.text)
|
|
56894
|
+
};
|
|
56895
|
+
},
|
|
56896
|
+
['comparable'](node, ctx) {
|
|
56897
|
+
const child = node.children.find(({
|
|
56898
|
+
type
|
|
56899
|
+
}) => ['singular-query', 'function-expr', 'literal'].includes(type));
|
|
56900
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
56901
|
+
},
|
|
56902
|
+
['singular-query'](node, ctx) {
|
|
56903
|
+
const child = node.children.find(({
|
|
56904
|
+
type
|
|
56905
|
+
}) => ['rel-singular-query', 'abs-singular-query'].includes(type));
|
|
56906
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
56907
|
+
},
|
|
56908
|
+
['rel-singular-query'](node, ctx) {
|
|
56909
|
+
const segmentsNode = node.children.find(({
|
|
56910
|
+
type
|
|
56911
|
+
}) => type === 'singular-query-segments');
|
|
56912
|
+
const segments = segmentsNode ? segmentsNode.children.filter(({
|
|
56913
|
+
type
|
|
56914
|
+
}) => ['name-segment', 'index-segment'].includes(type)).map(segNode => ({
|
|
56915
|
+
type: 'SingularQuerySegment',
|
|
56916
|
+
selector: transformCSTtoAST(segNode, transformers, ctx)
|
|
56917
|
+
})) : [];
|
|
56918
|
+
return {
|
|
56919
|
+
type: 'RelSingularQuery',
|
|
56920
|
+
segments
|
|
56921
|
+
};
|
|
56922
|
+
},
|
|
56923
|
+
['abs-singular-query'](node, ctx) {
|
|
56924
|
+
const segmentsNode = node.children.find(({
|
|
56925
|
+
type
|
|
56926
|
+
}) => type === 'singular-query-segments');
|
|
56927
|
+
const segments = segmentsNode ? segmentsNode.children.filter(({
|
|
56928
|
+
type
|
|
56929
|
+
}) => ['name-segment', 'index-segment'].includes(type)).map(segNode => ({
|
|
56930
|
+
type: 'SingularQuerySegment',
|
|
56931
|
+
selector: transformCSTtoAST(segNode, transformers, ctx)
|
|
56932
|
+
})) : [];
|
|
56933
|
+
return {
|
|
56934
|
+
type: 'AbsSingularQuery',
|
|
56935
|
+
segments
|
|
56936
|
+
};
|
|
56937
|
+
},
|
|
56938
|
+
['name-segment'](node, ctx) {
|
|
56939
|
+
const child = node.children.find(({
|
|
56940
|
+
type
|
|
56941
|
+
}) => ['name-selector', 'member-name-shorthand'].includes(type));
|
|
56942
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
56943
|
+
},
|
|
56944
|
+
['index-segment'](node, ctx) {
|
|
56945
|
+
const child = node.children.find(({
|
|
56946
|
+
type
|
|
56947
|
+
}) => type === 'index-selector');
|
|
56948
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
56949
|
+
},
|
|
56950
|
+
/**
|
|
56951
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.4
|
|
56952
|
+
*/
|
|
56953
|
+
['function-expr'](node, ctx) {
|
|
56954
|
+
const name = node.children.find(({
|
|
56955
|
+
type
|
|
56956
|
+
}) => type === 'function-name');
|
|
56957
|
+
const args = node.children.filter(({
|
|
56958
|
+
type
|
|
56959
|
+
}) => type === 'function-argument');
|
|
56960
|
+
return {
|
|
56961
|
+
type: 'FunctionExpr',
|
|
56962
|
+
name: name.text,
|
|
56963
|
+
arguments: args.map(arg => transformCSTtoAST(arg, transformers, ctx))
|
|
56964
|
+
};
|
|
56965
|
+
},
|
|
56966
|
+
['function-argument'](node, ctx) {
|
|
56967
|
+
const child = node.children.find(({
|
|
56968
|
+
type
|
|
56969
|
+
}) => ['logical-expr', 'function-expr', 'filter-query', 'literal'].includes(type));
|
|
56970
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
56971
|
+
},
|
|
56972
|
+
/**
|
|
56973
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.5.1.1
|
|
56974
|
+
*/
|
|
56975
|
+
['child-segment'](node, ctx) {
|
|
56976
|
+
const child = node.children.find(({
|
|
56977
|
+
type
|
|
56978
|
+
}) => ['bracketed-selection', 'wildcard-selector', 'member-name-shorthand'].includes(type));
|
|
56979
|
+
return {
|
|
56980
|
+
type: 'ChildSegment',
|
|
56981
|
+
selector: transformCSTtoAST(child, transformers, ctx)
|
|
56982
|
+
};
|
|
56983
|
+
},
|
|
56984
|
+
['bracketed-selection'](node, ctx) {
|
|
56985
|
+
return {
|
|
56986
|
+
type: 'BracketedSelection',
|
|
56987
|
+
selectors: node.children.filter(({
|
|
56988
|
+
type
|
|
56989
|
+
}) => type === 'selector').map(selectorNode => transformCSTtoAST(selectorNode, transformers, ctx))
|
|
56990
|
+
};
|
|
56991
|
+
},
|
|
56992
|
+
['member-name-shorthand'](node) {
|
|
56993
|
+
return {
|
|
56994
|
+
type: 'NameSelector',
|
|
56995
|
+
value: node.text,
|
|
56996
|
+
format: 'shorthand'
|
|
56997
|
+
};
|
|
56998
|
+
},
|
|
56999
|
+
/**
|
|
57000
|
+
* https://www.rfc-editor.org/rfc/rfc9535#section-2.5.2.1
|
|
57001
|
+
*/
|
|
57002
|
+
['descendant-segment'](node, ctx) {
|
|
57003
|
+
const child = node.children.find(({
|
|
57004
|
+
type
|
|
57005
|
+
}) => ['bracketed-selection', 'wildcard-selector', 'member-name-shorthand'].includes(type));
|
|
57006
|
+
return {
|
|
57007
|
+
type: 'DescendantSegment',
|
|
57008
|
+
selector: transformCSTtoAST(child, transformers, ctx)
|
|
57009
|
+
};
|
|
57010
|
+
},
|
|
57011
|
+
/**
|
|
57012
|
+
* https://www.rfc-editor.org/rfc/rfc9535#name-normalized-paths
|
|
57013
|
+
*/
|
|
57014
|
+
['normalized-path'](node, ctx) {
|
|
57015
|
+
return {
|
|
57016
|
+
type: 'JsonPathQuery',
|
|
57017
|
+
segments: node.children.filter(({
|
|
57018
|
+
type
|
|
57019
|
+
}) => type === 'normal-index-segment').map(segNode => transformCSTtoAST(segNode, transformers, ctx))
|
|
57020
|
+
};
|
|
57021
|
+
},
|
|
57022
|
+
['normal-index-segment'](node, ctx) {
|
|
57023
|
+
const child = node.children.find(({
|
|
57024
|
+
type
|
|
57025
|
+
}) => type === 'normal-selector');
|
|
57026
|
+
return {
|
|
57027
|
+
type: 'ChildSegment',
|
|
57028
|
+
selector: transformCSTtoAST(child, transformers, ctx)
|
|
57029
|
+
};
|
|
57030
|
+
},
|
|
57031
|
+
['normal-selector'](node, ctx) {
|
|
57032
|
+
const child = node.children.find(({
|
|
57033
|
+
type
|
|
57034
|
+
}) => ['normal-name-selector', 'normal-index-selector'].includes(type));
|
|
57035
|
+
return transformCSTtoAST(child, transformers, ctx);
|
|
57036
|
+
},
|
|
57037
|
+
['normal-name-selector'](node) {
|
|
57038
|
+
const child = node.children.find(({
|
|
57039
|
+
type
|
|
57040
|
+
}) => type === 'normal-single-quoted');
|
|
57041
|
+
return {
|
|
57042
|
+
type: 'NameSelector',
|
|
57043
|
+
value: child ? (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeSingleQuotedString)(child.text) : '',
|
|
57044
|
+
format: 'single-quoted'
|
|
57045
|
+
};
|
|
57046
|
+
},
|
|
57047
|
+
['normal-index-selector'](node) {
|
|
57048
|
+
return {
|
|
57049
|
+
type: 'IndexSelector',
|
|
57050
|
+
value: (0,_decoders_mjs__WEBPACK_IMPORTED_MODULE_1__.decodeInteger)(node.text)
|
|
57051
|
+
};
|
|
57052
|
+
}
|
|
57053
|
+
};
|
|
57054
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (transformers);
|
|
57055
|
+
|
|
57056
|
+
/***/ }),
|
|
57057
|
+
|
|
53251
57058
|
/***/ 66115:
|
|
53252
57059
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
53253
57060
|
|
|
@@ -54786,6 +58593,25 @@ class StepDependsOn extends _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_
|
|
|
54786
58593
|
|
|
54787
58594
|
/***/ }),
|
|
54788
58595
|
|
|
58596
|
+
/***/ 67636:
|
|
58597
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
58598
|
+
|
|
58599
|
+
"use strict";
|
|
58600
|
+
__webpack_require__.r(__webpack_exports__);
|
|
58601
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
58602
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
58603
|
+
/* harmony export */ });
|
|
58604
|
+
/* harmony import */ var _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(23449);
|
|
58605
|
+
|
|
58606
|
+
class XMLTranslator extends _CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
58607
|
+
getTree() {
|
|
58608
|
+
return this.toXml();
|
|
58609
|
+
}
|
|
58610
|
+
}
|
|
58611
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (XMLTranslator);
|
|
58612
|
+
|
|
58613
|
+
/***/ }),
|
|
58614
|
+
|
|
54789
58615
|
/***/ 67684:
|
|
54790
58616
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
54791
58617
|
|
|
@@ -54822,6 +58648,49 @@ class License extends _speclynx_apidom_datamodel__WEBPACK_IMPORTED_MODULE_0__["d
|
|
|
54822
58648
|
|
|
54823
58649
|
/***/ }),
|
|
54824
58650
|
|
|
58651
|
+
/***/ 67724:
|
|
58652
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
58653
|
+
|
|
58654
|
+
"use strict";
|
|
58655
|
+
__webpack_require__.r(__webpack_exports__);
|
|
58656
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
58657
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
58658
|
+
/* harmony export */ });
|
|
58659
|
+
/* harmony import */ var apg_lite__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(51751);
|
|
58660
|
+
/* harmony import */ var _Expectations_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41352);
|
|
58661
|
+
|
|
58662
|
+
|
|
58663
|
+
class Trace extends apg_lite__WEBPACK_IMPORTED_MODULE_0__.Trace {
|
|
58664
|
+
inferExpectations() {
|
|
58665
|
+
const lines = this.displayTrace().split('\n');
|
|
58666
|
+
const expectations = new Set();
|
|
58667
|
+
let lastMatchedIndex = -1;
|
|
58668
|
+
for (let i = 0; i < lines.length; i++) {
|
|
58669
|
+
const line = lines[i];
|
|
58670
|
+
|
|
58671
|
+
// capture the max match line (first one that ends in a single character match)
|
|
58672
|
+
if (line.includes('M|')) {
|
|
58673
|
+
const textMatch = line.match(/]'(.*)'$/);
|
|
58674
|
+
if (textMatch && textMatch[1]) {
|
|
58675
|
+
lastMatchedIndex = i;
|
|
58676
|
+
}
|
|
58677
|
+
}
|
|
58678
|
+
|
|
58679
|
+
// collect terminal failures after the deepest successful match
|
|
58680
|
+
if (i > lastMatchedIndex) {
|
|
58681
|
+
const terminalFailMatch = line.match(/N\|\[TLS\(([^)]+)\)]/);
|
|
58682
|
+
if (terminalFailMatch) {
|
|
58683
|
+
expectations.add(terminalFailMatch[1]);
|
|
58684
|
+
}
|
|
58685
|
+
}
|
|
58686
|
+
}
|
|
58687
|
+
return new _Expectations_mjs__WEBPACK_IMPORTED_MODULE_1__["default"](...expectations);
|
|
58688
|
+
}
|
|
58689
|
+
}
|
|
58690
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Trace);
|
|
58691
|
+
|
|
58692
|
+
/***/ }),
|
|
58693
|
+
|
|
54825
58694
|
/***/ 67750:
|
|
54826
58695
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
54827
58696
|
|
|
@@ -64759,6 +68628,38 @@ class NatsOperationBinding extends _speclynx_apidom_datamodel__WEBPACK_IMPORTED_
|
|
|
64759
68628
|
|
|
64760
68629
|
/***/ }),
|
|
64761
68630
|
|
|
68631
|
+
/***/ 74362:
|
|
68632
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
68633
|
+
|
|
68634
|
+
"use strict";
|
|
68635
|
+
__webpack_require__.r(__webpack_exports__);
|
|
68636
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
68637
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
68638
|
+
/* harmony export */ });
|
|
68639
|
+
/* harmony import */ var _parse_index_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8789);
|
|
68640
|
+
|
|
68641
|
+
const test = (jsonPath, {
|
|
68642
|
+
normalized = false
|
|
68643
|
+
} = {}) => {
|
|
68644
|
+
if (typeof jsonPath !== 'string') return false;
|
|
68645
|
+
try {
|
|
68646
|
+
const {
|
|
68647
|
+
result
|
|
68648
|
+
} = (0,_parse_index_mjs__WEBPACK_IMPORTED_MODULE_0__["default"])(jsonPath, {
|
|
68649
|
+
normalized,
|
|
68650
|
+
stats: false,
|
|
68651
|
+
trace: false,
|
|
68652
|
+
translator: null
|
|
68653
|
+
});
|
|
68654
|
+
return result.success;
|
|
68655
|
+
} catch {
|
|
68656
|
+
return false;
|
|
68657
|
+
}
|
|
68658
|
+
};
|
|
68659
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (test);
|
|
68660
|
+
|
|
68661
|
+
/***/ }),
|
|
68662
|
+
|
|
64762
68663
|
/***/ 74367:
|
|
64763
68664
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
64764
68665
|
|
|
@@ -72155,6 +76056,55 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
72155
76056
|
const yamlMediaTypes = new _speclynx_apidom_ns_openapi_3_1__WEBPACK_IMPORTED_MODULE_0__.OpenAPIMediaTypes(..._speclynx_apidom_ns_openapi_3_1__WEBPACK_IMPORTED_MODULE_0__["default"].filterByFormat('generic'), ..._speclynx_apidom_ns_openapi_3_1__WEBPACK_IMPORTED_MODULE_0__["default"].filterByFormat('yaml'));
|
|
72156
76057
|
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (yamlMediaTypes);
|
|
72157
76058
|
|
|
76059
|
+
/***/ }),
|
|
76060
|
+
|
|
76061
|
+
/***/ 84637:
|
|
76062
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
76063
|
+
|
|
76064
|
+
"use strict";
|
|
76065
|
+
__webpack_require__.r(__webpack_exports__);
|
|
76066
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
76067
|
+
/* harmony export */ ASTTranslator: () => (/* reexport safe */ _parse_translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_4__["default"]),
|
|
76068
|
+
/* harmony export */ CSTOptimizedTranslator: () => (/* reexport safe */ _parse_translators_CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_3__["default"]),
|
|
76069
|
+
/* harmony export */ CSTTranslator: () => (/* reexport safe */ _parse_translators_CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_2__["default"]),
|
|
76070
|
+
/* harmony export */ Grammar: () => (/* reexport safe */ _grammar_mjs__WEBPACK_IMPORTED_MODULE_0__["default"]),
|
|
76071
|
+
/* harmony export */ JSONPathCompileError: () => (/* reexport safe */ _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_12__["default"]),
|
|
76072
|
+
/* harmony export */ JSONPathError: () => (/* reexport safe */ _errors_JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_10__["default"]),
|
|
76073
|
+
/* harmony export */ JSONPathParseError: () => (/* reexport safe */ _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_11__["default"]),
|
|
76074
|
+
/* harmony export */ Trace: () => (/* reexport safe */ _parse_trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_6__["default"]),
|
|
76075
|
+
/* harmony export */ XMLTranslator: () => (/* reexport safe */ _parse_translators_XMLTranslator_mjs__WEBPACK_IMPORTED_MODULE_5__["default"]),
|
|
76076
|
+
/* harmony export */ compile: () => (/* reexport safe */ _compile_mjs__WEBPACK_IMPORTED_MODULE_8__["default"]),
|
|
76077
|
+
/* harmony export */ escape: () => (/* reexport safe */ _escape_mjs__WEBPACK_IMPORTED_MODULE_9__["default"]),
|
|
76078
|
+
/* harmony export */ parse: () => (/* reexport safe */ _parse_index_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]),
|
|
76079
|
+
/* harmony export */ test: () => (/* reexport safe */ _test_index_mjs__WEBPACK_IMPORTED_MODULE_7__["default"])
|
|
76080
|
+
/* harmony export */ });
|
|
76081
|
+
/* harmony import */ var _grammar_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(28186);
|
|
76082
|
+
/* harmony import */ var _parse_index_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8789);
|
|
76083
|
+
/* harmony import */ var _parse_translators_CSTTranslator_mjs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(23449);
|
|
76084
|
+
/* harmony import */ var _parse_translators_CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(54848);
|
|
76085
|
+
/* harmony import */ var _parse_translators_ASTTranslator_index_mjs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(96998);
|
|
76086
|
+
/* harmony import */ var _parse_translators_XMLTranslator_mjs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(67636);
|
|
76087
|
+
/* harmony import */ var _parse_trace_Trace_mjs__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(67724);
|
|
76088
|
+
/* harmony import */ var _test_index_mjs__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(74362);
|
|
76089
|
+
/* harmony import */ var _compile_mjs__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(4766);
|
|
76090
|
+
/* harmony import */ var _escape_mjs__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(26938);
|
|
76091
|
+
/* harmony import */ var _errors_JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(84816);
|
|
76092
|
+
/* harmony import */ var _errors_JSONPathParseError_mjs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(92639);
|
|
76093
|
+
/* harmony import */ var _errors_JSONPathCompileError_mjs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(62977);
|
|
76094
|
+
|
|
76095
|
+
|
|
76096
|
+
|
|
76097
|
+
|
|
76098
|
+
|
|
76099
|
+
|
|
76100
|
+
|
|
76101
|
+
|
|
76102
|
+
|
|
76103
|
+
|
|
76104
|
+
|
|
76105
|
+
|
|
76106
|
+
|
|
76107
|
+
|
|
72158
76108
|
/***/ }),
|
|
72159
76109
|
|
|
72160
76110
|
/***/ 84660:
|
|
@@ -72231,6 +76181,57 @@ class FailureActionVisitor extends _bases_mjs__WEBPACK_IMPORTED_MODULE_2__.BaseF
|
|
|
72231
76181
|
|
|
72232
76182
|
/***/ }),
|
|
72233
76183
|
|
|
76184
|
+
/***/ 84816:
|
|
76185
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
76186
|
+
|
|
76187
|
+
"use strict";
|
|
76188
|
+
__webpack_require__.r(__webpack_exports__);
|
|
76189
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
76190
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
76191
|
+
/* harmony export */ });
|
|
76192
|
+
class JSONPathError extends Error {
|
|
76193
|
+
constructor(message, options = undefined) {
|
|
76194
|
+
super(message, options);
|
|
76195
|
+
this.name = this.constructor.name;
|
|
76196
|
+
if (typeof message === 'string') {
|
|
76197
|
+
this.message = message;
|
|
76198
|
+
}
|
|
76199
|
+
if (typeof Error.captureStackTrace === 'function') {
|
|
76200
|
+
Error.captureStackTrace(this, this.constructor);
|
|
76201
|
+
} else {
|
|
76202
|
+
this.stack = new Error(message).stack;
|
|
76203
|
+
}
|
|
76204
|
+
|
|
76205
|
+
/**
|
|
76206
|
+
* This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
|
|
76207
|
+
* Node.js is >= 16.9.0 supports error causes natively.
|
|
76208
|
+
*/
|
|
76209
|
+
if (options != null && typeof options === 'object' && Object.prototype.hasOwnProperty.call(options, 'cause') && !('cause' in this)) {
|
|
76210
|
+
const {
|
|
76211
|
+
cause
|
|
76212
|
+
} = options;
|
|
76213
|
+
this.cause = cause;
|
|
76214
|
+
if (cause instanceof Error && 'stack' in cause) {
|
|
76215
|
+
this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
|
|
76216
|
+
}
|
|
76217
|
+
}
|
|
76218
|
+
|
|
76219
|
+
/**
|
|
76220
|
+
* Allows to assign arbitrary properties to the error object.
|
|
76221
|
+
*/
|
|
76222
|
+
if (options != null && typeof options === 'object') {
|
|
76223
|
+
const {
|
|
76224
|
+
cause,
|
|
76225
|
+
...causelessOptions
|
|
76226
|
+
} = options;
|
|
76227
|
+
Object.assign(this, causelessOptions);
|
|
76228
|
+
}
|
|
76229
|
+
}
|
|
76230
|
+
}
|
|
76231
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPathError);
|
|
76232
|
+
|
|
76233
|
+
/***/ }),
|
|
76234
|
+
|
|
72234
76235
|
/***/ 85012:
|
|
72235
76236
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
72236
76237
|
|
|
@@ -76707,7 +80708,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
76707
80708
|
/* harmony import */ var _visitors_open_api_3_0_operation_RequestBodyVisitor_mjs__WEBPACK_IMPORTED_MODULE_74__ = __webpack_require__(19990);
|
|
76708
80709
|
/* harmony import */ var _visitors_open_api_3_0_operation_CallbacksVisitor_mjs__WEBPACK_IMPORTED_MODULE_75__ = __webpack_require__(83479);
|
|
76709
80710
|
/* harmony import */ var _visitors_open_api_3_0_operation_SecurityVisitor_mjs__WEBPACK_IMPORTED_MODULE_76__ = __webpack_require__(32411);
|
|
76710
|
-
/* harmony import */ var _visitors_open_api_3_0_operation_ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(
|
|
80711
|
+
/* harmony import */ var _visitors_open_api_3_0_operation_ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_77__ = __webpack_require__(12008);
|
|
76711
80712
|
/* harmony import */ var _visitors_open_api_3_0_path_item_index_mjs__WEBPACK_IMPORTED_MODULE_78__ = __webpack_require__(23911);
|
|
76712
80713
|
/* harmony import */ var _visitors_open_api_3_0_path_item_$RefVisitor_mjs__WEBPACK_IMPORTED_MODULE_79__ = __webpack_require__(65460);
|
|
76713
80714
|
/* harmony import */ var _visitors_open_api_3_0_path_item_ServersVisitor_mjs__WEBPACK_IMPORTED_MODULE_80__ = __webpack_require__(50575);
|
|
@@ -77569,20 +81570,46 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
77569
81570
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
77570
81571
|
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
77571
81572
|
/* harmony export */ });
|
|
77572
|
-
|
|
77573
|
-
|
|
81573
|
+
class JSONPointerError extends Error {
|
|
81574
|
+
constructor(message, options = undefined) {
|
|
81575
|
+
super(message, options);
|
|
81576
|
+
this.name = this.constructor.name;
|
|
81577
|
+
if (typeof message === 'string') {
|
|
81578
|
+
this.message = message;
|
|
81579
|
+
}
|
|
81580
|
+
if (typeof Error.captureStackTrace === 'function') {
|
|
81581
|
+
Error.captureStackTrace(this, this.constructor);
|
|
81582
|
+
} else {
|
|
81583
|
+
this.stack = new Error(message).stack;
|
|
81584
|
+
}
|
|
77574
81585
|
|
|
81586
|
+
/**
|
|
81587
|
+
* This needs to stay here until our minimum supported version of Node.js is >= 16.9.0.
|
|
81588
|
+
* Node.js is >= 16.9.0 supports error causes natively.
|
|
81589
|
+
*/
|
|
81590
|
+
if (options != null && typeof options === 'object' && Object.prototype.hasOwnProperty.call(options, 'cause') && !('cause' in this)) {
|
|
81591
|
+
const {
|
|
81592
|
+
cause
|
|
81593
|
+
} = options;
|
|
81594
|
+
this.cause = cause;
|
|
81595
|
+
if (cause instanceof Error && 'stack' in cause) {
|
|
81596
|
+
this.stack = `${this.stack}\nCAUSE: ${cause.stack}`;
|
|
81597
|
+
}
|
|
81598
|
+
}
|
|
77575
81599
|
|
|
77576
|
-
/**
|
|
77577
|
-
|
|
77578
|
-
|
|
77579
|
-
|
|
77580
|
-
|
|
77581
|
-
|
|
77582
|
-
|
|
81600
|
+
/**
|
|
81601
|
+
* Allows to assign arbitrary properties to the error object.
|
|
81602
|
+
*/
|
|
81603
|
+
if (options != null && typeof options === 'object') {
|
|
81604
|
+
const {
|
|
81605
|
+
cause,
|
|
81606
|
+
...causelessOptions
|
|
81607
|
+
} = options;
|
|
81608
|
+
Object.assign(this, causelessOptions);
|
|
81609
|
+
}
|
|
77583
81610
|
}
|
|
77584
81611
|
}
|
|
77585
|
-
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (
|
|
81612
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPointerError);
|
|
77586
81613
|
|
|
77587
81614
|
/***/ }),
|
|
77588
81615
|
|
|
@@ -79053,6 +83080,21 @@ function emptyScalarPosition(offset, before, pos) {
|
|
|
79053
83080
|
|
|
79054
83081
|
|
|
79055
83082
|
|
|
83083
|
+
/***/ }),
|
|
83084
|
+
|
|
83085
|
+
/***/ 92639:
|
|
83086
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
83087
|
+
|
|
83088
|
+
"use strict";
|
|
83089
|
+
__webpack_require__.r(__webpack_exports__);
|
|
83090
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
83091
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
83092
|
+
/* harmony export */ });
|
|
83093
|
+
/* harmony import */ var _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(84816);
|
|
83094
|
+
|
|
83095
|
+
class JSONPathParseError extends _JSONPathError_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {}
|
|
83096
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (JSONPathParseError);
|
|
83097
|
+
|
|
79056
83098
|
/***/ }),
|
|
79057
83099
|
|
|
79058
83100
|
/***/ 92709:
|
|
@@ -82304,6 +86346,28 @@ class OpenAPIJSON3_0Parser extends _Parser_ts__WEBPACK_IMPORTED_MODULE_4__["defa
|
|
|
82304
86346
|
|
|
82305
86347
|
/***/ }),
|
|
82306
86348
|
|
|
86349
|
+
/***/ 96998:
|
|
86350
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
86351
|
+
|
|
86352
|
+
"use strict";
|
|
86353
|
+
__webpack_require__.r(__webpack_exports__);
|
|
86354
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
86355
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
86356
|
+
/* harmony export */ });
|
|
86357
|
+
/* harmony import */ var _CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(54848);
|
|
86358
|
+
/* harmony import */ var _transformers_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(66090);
|
|
86359
|
+
|
|
86360
|
+
|
|
86361
|
+
class ASTTranslator extends _CSTOptimizedTranslator_mjs__WEBPACK_IMPORTED_MODULE_0__["default"] {
|
|
86362
|
+
getTree() {
|
|
86363
|
+
const cst = super.getTree();
|
|
86364
|
+
return (0,_transformers_mjs__WEBPACK_IMPORTED_MODULE_1__.transformCSTtoAST)(cst.root, _transformers_mjs__WEBPACK_IMPORTED_MODULE_1__["default"]);
|
|
86365
|
+
}
|
|
86366
|
+
}
|
|
86367
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (ASTTranslator);
|
|
86368
|
+
|
|
86369
|
+
/***/ }),
|
|
86370
|
+
|
|
82307
86371
|
/***/ 97059:
|
|
82308
86372
|
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
82309
86373
|
|