@aehrc/ecl-core 1.2.0 → 1.3.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/dist/index.cjs +263 -259
- package/dist/index.mjs +263 -259
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1582,10 +1582,10 @@ function requireCallBind() {
|
|
|
1582
1582
|
var applyBind2 = requireApplyBind();
|
|
1583
1583
|
module.exports = function callBind2(originalFunction) {
|
|
1584
1584
|
var func = callBindBasic(arguments);
|
|
1585
|
-
var adjustedLength = originalFunction.length - (arguments.length - 1);
|
|
1585
|
+
var adjustedLength = 1 + originalFunction.length - (arguments.length - 1);
|
|
1586
1586
|
return setFunctionLength2(
|
|
1587
1587
|
func,
|
|
1588
|
-
|
|
1588
|
+
adjustedLength > 0 ? adjustedLength : 0,
|
|
1589
1589
|
true
|
|
1590
1590
|
);
|
|
1591
1591
|
};
|
|
@@ -1635,7 +1635,7 @@ function requireWhichTypedArray() {
|
|
|
1635
1635
|
if (descriptor && descriptor.get) {
|
|
1636
1636
|
var bound = callBind2(descriptor.get);
|
|
1637
1637
|
cache2[
|
|
1638
|
-
/** @type {`$${
|
|
1638
|
+
/** @type {`$${TypedArrayName}`} */
|
|
1639
1639
|
"$" + typedArray
|
|
1640
1640
|
] = bound;
|
|
1641
1641
|
}
|
|
@@ -1647,28 +1647,28 @@ function requireWhichTypedArray() {
|
|
|
1647
1647
|
var fn = arr.slice || arr.set;
|
|
1648
1648
|
if (fn) {
|
|
1649
1649
|
var bound = (
|
|
1650
|
-
/** @type {
|
|
1650
|
+
/** @type {BoundSlice | BoundSet} */
|
|
1651
1651
|
// @ts-expect-error TODO FIXME
|
|
1652
1652
|
callBind2(fn)
|
|
1653
1653
|
);
|
|
1654
1654
|
cache2[
|
|
1655
|
-
/** @type {`$${
|
|
1655
|
+
/** @type {`$${TypedArrayName}`} */
|
|
1656
1656
|
"$" + typedArray
|
|
1657
1657
|
] = bound;
|
|
1658
1658
|
}
|
|
1659
1659
|
});
|
|
1660
1660
|
}
|
|
1661
|
-
|
|
1661
|
+
function tryTypedArrays(value) {
|
|
1662
1662
|
var found = false;
|
|
1663
1663
|
forEach2(
|
|
1664
|
-
/** @type {Record
|
|
1664
|
+
/** @type {Record<`$${TypedArrayName}`, Getter>} */
|
|
1665
1665
|
cache2,
|
|
1666
|
-
/** @
|
|
1666
|
+
/** @param {Getter} getter @param {`$${TypedArrayName}`} typedArray */
|
|
1667
1667
|
function(getter, typedArray) {
|
|
1668
1668
|
if (!found) {
|
|
1669
1669
|
try {
|
|
1670
1670
|
if ("$" + getter(value) === typedArray) {
|
|
1671
|
-
found = /** @type {
|
|
1671
|
+
found = /** @type {TypedArrayName} */
|
|
1672
1672
|
$slice(typedArray, 1);
|
|
1673
1673
|
}
|
|
1674
1674
|
} catch (e) {
|
|
@@ -1677,18 +1677,18 @@ function requireWhichTypedArray() {
|
|
|
1677
1677
|
}
|
|
1678
1678
|
);
|
|
1679
1679
|
return found;
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1680
|
+
}
|
|
1681
|
+
function trySlices(value) {
|
|
1682
1682
|
var found = false;
|
|
1683
1683
|
forEach2(
|
|
1684
|
-
/** @type {Record
|
|
1684
|
+
/** @type {Record<`$${TypedArrayName}`, Getter>} */
|
|
1685
1685
|
cache2,
|
|
1686
|
-
/** @
|
|
1686
|
+
/** @param {Getter} getter @param {`$${TypedArrayName}`} name */
|
|
1687
1687
|
function(getter, name) {
|
|
1688
1688
|
if (!found) {
|
|
1689
1689
|
try {
|
|
1690
1690
|
getter(value);
|
|
1691
|
-
found = /** @type {
|
|
1691
|
+
found = /** @type {TypedArrayName} */
|
|
1692
1692
|
$slice(name, 1);
|
|
1693
1693
|
} catch (e) {
|
|
1694
1694
|
}
|
|
@@ -1696,14 +1696,17 @@ function requireWhichTypedArray() {
|
|
|
1696
1696
|
}
|
|
1697
1697
|
);
|
|
1698
1698
|
return found;
|
|
1699
|
-
}
|
|
1699
|
+
}
|
|
1700
|
+
function isTATag(tag) {
|
|
1701
|
+
return $indexOf(typedArrays, tag) > -1;
|
|
1702
|
+
}
|
|
1700
1703
|
whichTypedArray = function whichTypedArray2(value) {
|
|
1701
1704
|
if (!value || typeof value !== "object") {
|
|
1702
1705
|
return false;
|
|
1703
1706
|
}
|
|
1704
1707
|
if (!hasToStringTag) {
|
|
1705
1708
|
var tag = $slice($toString(value), 8, -1);
|
|
1706
|
-
if (
|
|
1709
|
+
if (isTATag(tag)) {
|
|
1707
1710
|
return tag;
|
|
1708
1711
|
}
|
|
1709
1712
|
if (tag !== "Object") {
|
|
@@ -1733,7 +1736,7 @@ var hasRequiredTypes;
|
|
|
1733
1736
|
function requireTypes() {
|
|
1734
1737
|
if (hasRequiredTypes) return types;
|
|
1735
1738
|
hasRequiredTypes = 1;
|
|
1736
|
-
(function(exports
|
|
1739
|
+
(function(exports) {
|
|
1737
1740
|
var isArgumentsObject = /* @__PURE__ */ requireIsArguments$1();
|
|
1738
1741
|
var isGeneratorFunction2 = requireIsGeneratorFunction();
|
|
1739
1742
|
var whichTypedArray2 = /* @__PURE__ */ requireWhichTypedArray();
|
|
@@ -1764,64 +1767,64 @@ function requireTypes() {
|
|
|
1764
1767
|
return false;
|
|
1765
1768
|
}
|
|
1766
1769
|
}
|
|
1767
|
-
exports
|
|
1768
|
-
exports
|
|
1769
|
-
exports
|
|
1770
|
+
exports.isArgumentsObject = isArgumentsObject;
|
|
1771
|
+
exports.isGeneratorFunction = isGeneratorFunction2;
|
|
1772
|
+
exports.isTypedArray = isTypedArray2;
|
|
1770
1773
|
function isPromise(input) {
|
|
1771
1774
|
return typeof Promise !== "undefined" && input instanceof Promise || input !== null && typeof input === "object" && typeof input.then === "function" && typeof input.catch === "function";
|
|
1772
1775
|
}
|
|
1773
|
-
exports
|
|
1776
|
+
exports.isPromise = isPromise;
|
|
1774
1777
|
function isArrayBufferView(value) {
|
|
1775
1778
|
if (typeof ArrayBuffer !== "undefined" && ArrayBuffer.isView) {
|
|
1776
1779
|
return ArrayBuffer.isView(value);
|
|
1777
1780
|
}
|
|
1778
1781
|
return isTypedArray2(value) || isDataView(value);
|
|
1779
1782
|
}
|
|
1780
|
-
exports
|
|
1783
|
+
exports.isArrayBufferView = isArrayBufferView;
|
|
1781
1784
|
function isUint8Array(value) {
|
|
1782
1785
|
return whichTypedArray2(value) === "Uint8Array";
|
|
1783
1786
|
}
|
|
1784
|
-
exports
|
|
1787
|
+
exports.isUint8Array = isUint8Array;
|
|
1785
1788
|
function isUint8ClampedArray(value) {
|
|
1786
1789
|
return whichTypedArray2(value) === "Uint8ClampedArray";
|
|
1787
1790
|
}
|
|
1788
|
-
exports
|
|
1791
|
+
exports.isUint8ClampedArray = isUint8ClampedArray;
|
|
1789
1792
|
function isUint16Array(value) {
|
|
1790
1793
|
return whichTypedArray2(value) === "Uint16Array";
|
|
1791
1794
|
}
|
|
1792
|
-
exports
|
|
1795
|
+
exports.isUint16Array = isUint16Array;
|
|
1793
1796
|
function isUint32Array(value) {
|
|
1794
1797
|
return whichTypedArray2(value) === "Uint32Array";
|
|
1795
1798
|
}
|
|
1796
|
-
exports
|
|
1799
|
+
exports.isUint32Array = isUint32Array;
|
|
1797
1800
|
function isInt8Array(value) {
|
|
1798
1801
|
return whichTypedArray2(value) === "Int8Array";
|
|
1799
1802
|
}
|
|
1800
|
-
exports
|
|
1803
|
+
exports.isInt8Array = isInt8Array;
|
|
1801
1804
|
function isInt16Array(value) {
|
|
1802
1805
|
return whichTypedArray2(value) === "Int16Array";
|
|
1803
1806
|
}
|
|
1804
|
-
exports
|
|
1807
|
+
exports.isInt16Array = isInt16Array;
|
|
1805
1808
|
function isInt32Array(value) {
|
|
1806
1809
|
return whichTypedArray2(value) === "Int32Array";
|
|
1807
1810
|
}
|
|
1808
|
-
exports
|
|
1811
|
+
exports.isInt32Array = isInt32Array;
|
|
1809
1812
|
function isFloat32Array(value) {
|
|
1810
1813
|
return whichTypedArray2(value) === "Float32Array";
|
|
1811
1814
|
}
|
|
1812
|
-
exports
|
|
1815
|
+
exports.isFloat32Array = isFloat32Array;
|
|
1813
1816
|
function isFloat64Array(value) {
|
|
1814
1817
|
return whichTypedArray2(value) === "Float64Array";
|
|
1815
1818
|
}
|
|
1816
|
-
exports
|
|
1819
|
+
exports.isFloat64Array = isFloat64Array;
|
|
1817
1820
|
function isBigInt64Array(value) {
|
|
1818
1821
|
return whichTypedArray2(value) === "BigInt64Array";
|
|
1819
1822
|
}
|
|
1820
|
-
exports
|
|
1823
|
+
exports.isBigInt64Array = isBigInt64Array;
|
|
1821
1824
|
function isBigUint64Array(value) {
|
|
1822
1825
|
return whichTypedArray2(value) === "BigUint64Array";
|
|
1823
1826
|
}
|
|
1824
|
-
exports
|
|
1827
|
+
exports.isBigUint64Array = isBigUint64Array;
|
|
1825
1828
|
function isMapToString(value) {
|
|
1826
1829
|
return ObjectToString(value) === "[object Map]";
|
|
1827
1830
|
}
|
|
@@ -1832,7 +1835,7 @@ function requireTypes() {
|
|
|
1832
1835
|
}
|
|
1833
1836
|
return isMapToString.working ? isMapToString(value) : value instanceof Map;
|
|
1834
1837
|
}
|
|
1835
|
-
exports
|
|
1838
|
+
exports.isMap = isMap;
|
|
1836
1839
|
function isSetToString(value) {
|
|
1837
1840
|
return ObjectToString(value) === "[object Set]";
|
|
1838
1841
|
}
|
|
@@ -1843,7 +1846,7 @@ function requireTypes() {
|
|
|
1843
1846
|
}
|
|
1844
1847
|
return isSetToString.working ? isSetToString(value) : value instanceof Set;
|
|
1845
1848
|
}
|
|
1846
|
-
exports
|
|
1849
|
+
exports.isSet = isSet;
|
|
1847
1850
|
function isWeakMapToString(value) {
|
|
1848
1851
|
return ObjectToString(value) === "[object WeakMap]";
|
|
1849
1852
|
}
|
|
@@ -1854,7 +1857,7 @@ function requireTypes() {
|
|
|
1854
1857
|
}
|
|
1855
1858
|
return isWeakMapToString.working ? isWeakMapToString(value) : value instanceof WeakMap;
|
|
1856
1859
|
}
|
|
1857
|
-
exports
|
|
1860
|
+
exports.isWeakMap = isWeakMap;
|
|
1858
1861
|
function isWeakSetToString(value) {
|
|
1859
1862
|
return ObjectToString(value) === "[object WeakSet]";
|
|
1860
1863
|
}
|
|
@@ -1862,7 +1865,7 @@ function requireTypes() {
|
|
|
1862
1865
|
function isWeakSet(value) {
|
|
1863
1866
|
return isWeakSetToString(value);
|
|
1864
1867
|
}
|
|
1865
|
-
exports
|
|
1868
|
+
exports.isWeakSet = isWeakSet;
|
|
1866
1869
|
function isArrayBufferToString(value) {
|
|
1867
1870
|
return ObjectToString(value) === "[object ArrayBuffer]";
|
|
1868
1871
|
}
|
|
@@ -1873,7 +1876,7 @@ function requireTypes() {
|
|
|
1873
1876
|
}
|
|
1874
1877
|
return isArrayBufferToString.working ? isArrayBufferToString(value) : value instanceof ArrayBuffer;
|
|
1875
1878
|
}
|
|
1876
|
-
exports
|
|
1879
|
+
exports.isArrayBuffer = isArrayBuffer;
|
|
1877
1880
|
function isDataViewToString(value) {
|
|
1878
1881
|
return ObjectToString(value) === "[object DataView]";
|
|
1879
1882
|
}
|
|
@@ -1884,7 +1887,7 @@ function requireTypes() {
|
|
|
1884
1887
|
}
|
|
1885
1888
|
return isDataViewToString.working ? isDataViewToString(value) : value instanceof DataView;
|
|
1886
1889
|
}
|
|
1887
|
-
exports
|
|
1890
|
+
exports.isDataView = isDataView;
|
|
1888
1891
|
var SharedArrayBufferCopy = typeof SharedArrayBuffer !== "undefined" ? SharedArrayBuffer : void 0;
|
|
1889
1892
|
function isSharedArrayBufferToString(value) {
|
|
1890
1893
|
return ObjectToString(value) === "[object SharedArrayBuffer]";
|
|
@@ -1898,57 +1901,57 @@ function requireTypes() {
|
|
|
1898
1901
|
}
|
|
1899
1902
|
return isSharedArrayBufferToString.working ? isSharedArrayBufferToString(value) : value instanceof SharedArrayBufferCopy;
|
|
1900
1903
|
}
|
|
1901
|
-
exports
|
|
1904
|
+
exports.isSharedArrayBuffer = isSharedArrayBuffer;
|
|
1902
1905
|
function isAsyncFunction(value) {
|
|
1903
1906
|
return ObjectToString(value) === "[object AsyncFunction]";
|
|
1904
1907
|
}
|
|
1905
|
-
exports
|
|
1908
|
+
exports.isAsyncFunction = isAsyncFunction;
|
|
1906
1909
|
function isMapIterator(value) {
|
|
1907
1910
|
return ObjectToString(value) === "[object Map Iterator]";
|
|
1908
1911
|
}
|
|
1909
|
-
exports
|
|
1912
|
+
exports.isMapIterator = isMapIterator;
|
|
1910
1913
|
function isSetIterator(value) {
|
|
1911
1914
|
return ObjectToString(value) === "[object Set Iterator]";
|
|
1912
1915
|
}
|
|
1913
|
-
exports
|
|
1916
|
+
exports.isSetIterator = isSetIterator;
|
|
1914
1917
|
function isGeneratorObject(value) {
|
|
1915
1918
|
return ObjectToString(value) === "[object Generator]";
|
|
1916
1919
|
}
|
|
1917
|
-
exports
|
|
1920
|
+
exports.isGeneratorObject = isGeneratorObject;
|
|
1918
1921
|
function isWebAssemblyCompiledModule(value) {
|
|
1919
1922
|
return ObjectToString(value) === "[object WebAssembly.Module]";
|
|
1920
1923
|
}
|
|
1921
|
-
exports
|
|
1924
|
+
exports.isWebAssemblyCompiledModule = isWebAssemblyCompiledModule;
|
|
1922
1925
|
function isNumberObject(value) {
|
|
1923
1926
|
return checkBoxedPrimitive(value, numberValue);
|
|
1924
1927
|
}
|
|
1925
|
-
exports
|
|
1928
|
+
exports.isNumberObject = isNumberObject;
|
|
1926
1929
|
function isStringObject(value) {
|
|
1927
1930
|
return checkBoxedPrimitive(value, stringValue);
|
|
1928
1931
|
}
|
|
1929
|
-
exports
|
|
1932
|
+
exports.isStringObject = isStringObject;
|
|
1930
1933
|
function isBooleanObject(value) {
|
|
1931
1934
|
return checkBoxedPrimitive(value, booleanValue);
|
|
1932
1935
|
}
|
|
1933
|
-
exports
|
|
1936
|
+
exports.isBooleanObject = isBooleanObject;
|
|
1934
1937
|
function isBigIntObject(value) {
|
|
1935
1938
|
return BigIntSupported && checkBoxedPrimitive(value, bigIntValue);
|
|
1936
1939
|
}
|
|
1937
|
-
exports
|
|
1940
|
+
exports.isBigIntObject = isBigIntObject;
|
|
1938
1941
|
function isSymbolObject(value) {
|
|
1939
1942
|
return SymbolSupported && checkBoxedPrimitive(value, symbolValue);
|
|
1940
1943
|
}
|
|
1941
|
-
exports
|
|
1944
|
+
exports.isSymbolObject = isSymbolObject;
|
|
1942
1945
|
function isBoxedPrimitive(value) {
|
|
1943
1946
|
return isNumberObject(value) || isStringObject(value) || isBooleanObject(value) || isBigIntObject(value) || isSymbolObject(value);
|
|
1944
1947
|
}
|
|
1945
|
-
exports
|
|
1948
|
+
exports.isBoxedPrimitive = isBoxedPrimitive;
|
|
1946
1949
|
function isAnyArrayBuffer(value) {
|
|
1947
1950
|
return typeof Uint8Array !== "undefined" && (isArrayBuffer(value) || isSharedArrayBuffer(value));
|
|
1948
1951
|
}
|
|
1949
|
-
exports
|
|
1952
|
+
exports.isAnyArrayBuffer = isAnyArrayBuffer;
|
|
1950
1953
|
["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(method) {
|
|
1951
|
-
Object.defineProperty(exports
|
|
1954
|
+
Object.defineProperty(exports, method, {
|
|
1952
1955
|
enumerable: false,
|
|
1953
1956
|
value: function() {
|
|
1954
1957
|
throw new Error(method + " is not supported in userland");
|
|
@@ -2005,7 +2008,7 @@ var hasRequiredUtil;
|
|
|
2005
2008
|
function requireUtil() {
|
|
2006
2009
|
if (hasRequiredUtil) return util;
|
|
2007
2010
|
hasRequiredUtil = 1;
|
|
2008
|
-
(function(exports
|
|
2011
|
+
(function(exports) {
|
|
2009
2012
|
var getOwnPropertyDescriptors = Object.getOwnPropertyDescriptors || function getOwnPropertyDescriptors2(obj) {
|
|
2010
2013
|
var keys = Object.keys(obj);
|
|
2011
2014
|
var descriptors = {};
|
|
@@ -2015,7 +2018,7 @@ function requireUtil() {
|
|
|
2015
2018
|
return descriptors;
|
|
2016
2019
|
};
|
|
2017
2020
|
var formatRegExp = /%[sdj%]/g;
|
|
2018
|
-
exports
|
|
2021
|
+
exports.format = function(f) {
|
|
2019
2022
|
if (!isString(f)) {
|
|
2020
2023
|
var objects = [];
|
|
2021
2024
|
for (var i = 0; i < arguments.length; i++) {
|
|
@@ -2053,13 +2056,13 @@ function requireUtil() {
|
|
|
2053
2056
|
}
|
|
2054
2057
|
return str;
|
|
2055
2058
|
};
|
|
2056
|
-
exports
|
|
2059
|
+
exports.deprecate = function(fn, msg) {
|
|
2057
2060
|
if (typeof process$1 !== "undefined" && process$1.noDeprecation === true) {
|
|
2058
2061
|
return fn;
|
|
2059
2062
|
}
|
|
2060
2063
|
if (typeof process$1 === "undefined") {
|
|
2061
2064
|
return function() {
|
|
2062
|
-
return exports
|
|
2065
|
+
return exports.deprecate(fn, msg).apply(this, arguments);
|
|
2063
2066
|
};
|
|
2064
2067
|
}
|
|
2065
2068
|
var warned = false;
|
|
@@ -2085,13 +2088,13 @@ function requireUtil() {
|
|
|
2085
2088
|
debugEnv = debugEnv.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase();
|
|
2086
2089
|
debugEnvRegex = new RegExp("^" + debugEnv + "$", "i");
|
|
2087
2090
|
}
|
|
2088
|
-
exports
|
|
2091
|
+
exports.debuglog = function(set) {
|
|
2089
2092
|
set = set.toUpperCase();
|
|
2090
2093
|
if (!debugs[set]) {
|
|
2091
2094
|
if (debugEnvRegex.test(set)) {
|
|
2092
2095
|
var pid = process$1.pid;
|
|
2093
2096
|
debugs[set] = function() {
|
|
2094
|
-
var msg = exports
|
|
2097
|
+
var msg = exports.format.apply(exports, arguments);
|
|
2095
2098
|
console.error("%s %d: %s", set, pid, msg);
|
|
2096
2099
|
};
|
|
2097
2100
|
} else {
|
|
@@ -2111,7 +2114,7 @@ function requireUtil() {
|
|
|
2111
2114
|
if (isBoolean(opts)) {
|
|
2112
2115
|
ctx.showHidden = opts;
|
|
2113
2116
|
} else if (opts) {
|
|
2114
|
-
exports
|
|
2117
|
+
exports._extend(ctx, opts);
|
|
2115
2118
|
}
|
|
2116
2119
|
if (isUndefined(ctx.showHidden)) ctx.showHidden = false;
|
|
2117
2120
|
if (isUndefined(ctx.depth)) ctx.depth = 2;
|
|
@@ -2120,7 +2123,7 @@ function requireUtil() {
|
|
|
2120
2123
|
if (ctx.colors) ctx.stylize = stylizeWithColor;
|
|
2121
2124
|
return formatValue(ctx, obj, ctx.depth);
|
|
2122
2125
|
}
|
|
2123
|
-
exports
|
|
2126
|
+
exports.inspect = inspect;
|
|
2124
2127
|
inspect.colors = {
|
|
2125
2128
|
"bold": [1, 22],
|
|
2126
2129
|
"italic": [3, 23],
|
|
@@ -2167,7 +2170,7 @@ function requireUtil() {
|
|
|
2167
2170
|
}
|
|
2168
2171
|
function formatValue(ctx, value, recurseTimes) {
|
|
2169
2172
|
if (ctx.customInspect && value && isFunction(value.inspect) && // Filter out the util module, it's inspect function is special
|
|
2170
|
-
value.inspect !== exports
|
|
2173
|
+
value.inspect !== exports.inspect && // Also filter out any prototype objects using the circular check.
|
|
2171
2174
|
!(value.constructor && value.constructor.prototype === value)) {
|
|
2172
2175
|
var ret = value.inspect(recurseTimes, ctx);
|
|
2173
2176
|
if (!isString(ret)) {
|
|
@@ -2353,68 +2356,68 @@ function requireUtil() {
|
|
|
2353
2356
|
}
|
|
2354
2357
|
return braces[0] + base + " " + output.join(", ") + " " + braces[1];
|
|
2355
2358
|
}
|
|
2356
|
-
exports
|
|
2359
|
+
exports.types = requireTypes();
|
|
2357
2360
|
function isArray(ar) {
|
|
2358
2361
|
return Array.isArray(ar);
|
|
2359
2362
|
}
|
|
2360
|
-
exports
|
|
2363
|
+
exports.isArray = isArray;
|
|
2361
2364
|
function isBoolean(arg) {
|
|
2362
2365
|
return typeof arg === "boolean";
|
|
2363
2366
|
}
|
|
2364
|
-
exports
|
|
2367
|
+
exports.isBoolean = isBoolean;
|
|
2365
2368
|
function isNull(arg) {
|
|
2366
2369
|
return arg === null;
|
|
2367
2370
|
}
|
|
2368
|
-
exports
|
|
2371
|
+
exports.isNull = isNull;
|
|
2369
2372
|
function isNullOrUndefined(arg) {
|
|
2370
2373
|
return arg == null;
|
|
2371
2374
|
}
|
|
2372
|
-
exports
|
|
2375
|
+
exports.isNullOrUndefined = isNullOrUndefined;
|
|
2373
2376
|
function isNumber(arg) {
|
|
2374
2377
|
return typeof arg === "number";
|
|
2375
2378
|
}
|
|
2376
|
-
exports
|
|
2379
|
+
exports.isNumber = isNumber;
|
|
2377
2380
|
function isString(arg) {
|
|
2378
2381
|
return typeof arg === "string";
|
|
2379
2382
|
}
|
|
2380
|
-
exports
|
|
2383
|
+
exports.isString = isString;
|
|
2381
2384
|
function isSymbol(arg) {
|
|
2382
2385
|
return typeof arg === "symbol";
|
|
2383
2386
|
}
|
|
2384
|
-
exports
|
|
2387
|
+
exports.isSymbol = isSymbol;
|
|
2385
2388
|
function isUndefined(arg) {
|
|
2386
2389
|
return arg === void 0;
|
|
2387
2390
|
}
|
|
2388
|
-
exports
|
|
2391
|
+
exports.isUndefined = isUndefined;
|
|
2389
2392
|
function isRegExp(re) {
|
|
2390
2393
|
return isObject(re) && objectToString(re) === "[object RegExp]";
|
|
2391
2394
|
}
|
|
2392
|
-
exports
|
|
2393
|
-
exports
|
|
2395
|
+
exports.isRegExp = isRegExp;
|
|
2396
|
+
exports.types.isRegExp = isRegExp;
|
|
2394
2397
|
function isObject(arg) {
|
|
2395
2398
|
return typeof arg === "object" && arg !== null;
|
|
2396
2399
|
}
|
|
2397
|
-
exports
|
|
2400
|
+
exports.isObject = isObject;
|
|
2398
2401
|
function isDate(d) {
|
|
2399
2402
|
return isObject(d) && objectToString(d) === "[object Date]";
|
|
2400
2403
|
}
|
|
2401
|
-
exports
|
|
2402
|
-
exports
|
|
2404
|
+
exports.isDate = isDate;
|
|
2405
|
+
exports.types.isDate = isDate;
|
|
2403
2406
|
function isError(e) {
|
|
2404
2407
|
return isObject(e) && (objectToString(e) === "[object Error]" || e instanceof Error);
|
|
2405
2408
|
}
|
|
2406
|
-
exports
|
|
2407
|
-
exports
|
|
2409
|
+
exports.isError = isError;
|
|
2410
|
+
exports.types.isNativeError = isError;
|
|
2408
2411
|
function isFunction(arg) {
|
|
2409
2412
|
return typeof arg === "function";
|
|
2410
2413
|
}
|
|
2411
|
-
exports
|
|
2414
|
+
exports.isFunction = isFunction;
|
|
2412
2415
|
function isPrimitive(arg) {
|
|
2413
2416
|
return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
|
|
2414
2417
|
typeof arg === "undefined";
|
|
2415
2418
|
}
|
|
2416
|
-
exports
|
|
2417
|
-
exports
|
|
2419
|
+
exports.isPrimitive = isPrimitive;
|
|
2420
|
+
exports.isBuffer = requireIsBufferBrowser();
|
|
2418
2421
|
function objectToString(o) {
|
|
2419
2422
|
return Object.prototype.toString.call(o);
|
|
2420
2423
|
}
|
|
@@ -2444,11 +2447,11 @@ function requireUtil() {
|
|
|
2444
2447
|
].join(":");
|
|
2445
2448
|
return [d.getDate(), months[d.getMonth()], time].join(" ");
|
|
2446
2449
|
}
|
|
2447
|
-
exports
|
|
2448
|
-
console.log("%s - %s", timestamp(), exports
|
|
2450
|
+
exports.log = function() {
|
|
2451
|
+
console.log("%s - %s", timestamp(), exports.format.apply(exports, arguments));
|
|
2449
2452
|
};
|
|
2450
|
-
exports
|
|
2451
|
-
exports
|
|
2453
|
+
exports.inherits = requireInherits_browser();
|
|
2454
|
+
exports._extend = function(origin, add) {
|
|
2452
2455
|
if (!add || !isObject(add)) return origin;
|
|
2453
2456
|
var keys = Object.keys(add);
|
|
2454
2457
|
var i = keys.length;
|
|
@@ -2461,7 +2464,7 @@ function requireUtil() {
|
|
|
2461
2464
|
return Object.prototype.hasOwnProperty.call(obj, prop);
|
|
2462
2465
|
}
|
|
2463
2466
|
var kCustomPromisifiedSymbol = typeof Symbol !== "undefined" ? Symbol("util.promisify.custom") : void 0;
|
|
2464
|
-
exports
|
|
2467
|
+
exports.promisify = function promisify(original) {
|
|
2465
2468
|
if (typeof original !== "function")
|
|
2466
2469
|
throw new TypeError('The "original" argument must be of type Function');
|
|
2467
2470
|
if (kCustomPromisifiedSymbol && original[kCustomPromisifiedSymbol]) {
|
|
@@ -2513,7 +2516,7 @@ function requireUtil() {
|
|
|
2513
2516
|
getOwnPropertyDescriptors(original)
|
|
2514
2517
|
);
|
|
2515
2518
|
};
|
|
2516
|
-
exports
|
|
2519
|
+
exports.promisify.custom = kCustomPromisifiedSymbol;
|
|
2517
2520
|
function callbackifyOnRejected(reason, cb) {
|
|
2518
2521
|
if (!reason) {
|
|
2519
2522
|
var newReason = new Error("Promise was rejected with a falsy value");
|
|
@@ -2555,7 +2558,7 @@ function requireUtil() {
|
|
|
2555
2558
|
);
|
|
2556
2559
|
return callbackified;
|
|
2557
2560
|
}
|
|
2558
|
-
exports
|
|
2561
|
+
exports.callbackify = callbackify;
|
|
2559
2562
|
})(util);
|
|
2560
2563
|
return util;
|
|
2561
2564
|
}
|
|
@@ -4765,17 +4768,17 @@ var hasRequiredIntStream;
|
|
|
4765
4768
|
function requireIntStream() {
|
|
4766
4769
|
if (hasRequiredIntStream) return IntStream;
|
|
4767
4770
|
hasRequiredIntStream = 1;
|
|
4768
|
-
(function(exports
|
|
4771
|
+
(function(exports) {
|
|
4769
4772
|
/*!
|
|
4770
4773
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
4771
4774
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
4772
4775
|
*/
|
|
4773
|
-
Object.defineProperty(exports
|
|
4774
|
-
exports
|
|
4776
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4777
|
+
exports.IntStream = void 0;
|
|
4775
4778
|
(function(IntStream2) {
|
|
4776
4779
|
IntStream2.EOF = -1;
|
|
4777
4780
|
IntStream2.UNKNOWN_SOURCE_NAME = "<unknown>";
|
|
4778
|
-
})(exports
|
|
4781
|
+
})(exports.IntStream || (exports.IntStream = {}));
|
|
4779
4782
|
})(IntStream);
|
|
4780
4783
|
return IntStream;
|
|
4781
4784
|
}
|
|
@@ -4930,7 +4933,7 @@ var hasRequiredATNState;
|
|
|
4930
4933
|
function requireATNState() {
|
|
4931
4934
|
if (hasRequiredATNState) return ATNState;
|
|
4932
4935
|
hasRequiredATNState = 1;
|
|
4933
|
-
(function(exports
|
|
4936
|
+
(function(exports) {
|
|
4934
4937
|
/*!
|
|
4935
4938
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
4936
4939
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -4941,8 +4944,8 @@ function requireATNState() {
|
|
|
4941
4944
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
4942
4945
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4943
4946
|
};
|
|
4944
|
-
Object.defineProperty(exports
|
|
4945
|
-
exports
|
|
4947
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4948
|
+
exports.ATNState = void 0;
|
|
4946
4949
|
const Decorators_1 = requireDecorators();
|
|
4947
4950
|
let ATNState$1 = class ATNState2 {
|
|
4948
4951
|
constructor() {
|
|
@@ -5051,10 +5054,10 @@ function requireATNState() {
|
|
|
5051
5054
|
__decorate([
|
|
5052
5055
|
Decorators_1.Override
|
|
5053
5056
|
], ATNState$1.prototype, "toString", null);
|
|
5054
|
-
exports
|
|
5057
|
+
exports.ATNState = ATNState$1;
|
|
5055
5058
|
(function(ATNState2) {
|
|
5056
5059
|
ATNState2.INVALID_STATE_NUMBER = -1;
|
|
5057
|
-
})(ATNState$1 = exports
|
|
5060
|
+
})(ATNState$1 = exports.ATNState || (exports.ATNState = {}));
|
|
5058
5061
|
})(ATNState);
|
|
5059
5062
|
return ATNState;
|
|
5060
5063
|
}
|
|
@@ -5063,13 +5066,13 @@ var hasRequiredATNStateType;
|
|
|
5063
5066
|
function requireATNStateType() {
|
|
5064
5067
|
if (hasRequiredATNStateType) return ATNStateType;
|
|
5065
5068
|
hasRequiredATNStateType = 1;
|
|
5066
|
-
(function(exports
|
|
5069
|
+
(function(exports) {
|
|
5067
5070
|
/*!
|
|
5068
5071
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
5069
5072
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
5070
5073
|
*/
|
|
5071
|
-
Object.defineProperty(exports
|
|
5072
|
-
exports
|
|
5074
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5075
|
+
exports.ATNStateType = void 0;
|
|
5073
5076
|
(function(ATNStateType2) {
|
|
5074
5077
|
ATNStateType2[ATNStateType2["INVALID_TYPE"] = 0] = "INVALID_TYPE";
|
|
5075
5078
|
ATNStateType2[ATNStateType2["BASIC"] = 1] = "BASIC";
|
|
@@ -5084,7 +5087,7 @@ function requireATNStateType() {
|
|
|
5084
5087
|
ATNStateType2[ATNStateType2["STAR_LOOP_ENTRY"] = 10] = "STAR_LOOP_ENTRY";
|
|
5085
5088
|
ATNStateType2[ATNStateType2["PLUS_LOOP_BACK"] = 11] = "PLUS_LOOP_BACK";
|
|
5086
5089
|
ATNStateType2[ATNStateType2["LOOP_END"] = 12] = "LOOP_END";
|
|
5087
|
-
})(exports
|
|
5090
|
+
})(exports.ATNStateType || (exports.ATNStateType = {}));
|
|
5088
5091
|
})(ATNStateType);
|
|
5089
5092
|
return ATNStateType;
|
|
5090
5093
|
}
|
|
@@ -5289,13 +5292,13 @@ var hasRequiredMurmurHash;
|
|
|
5289
5292
|
function requireMurmurHash() {
|
|
5290
5293
|
if (hasRequiredMurmurHash) return MurmurHash;
|
|
5291
5294
|
hasRequiredMurmurHash = 1;
|
|
5292
|
-
(function(exports
|
|
5295
|
+
(function(exports) {
|
|
5293
5296
|
/*!
|
|
5294
5297
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
5295
5298
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
5296
5299
|
*/
|
|
5297
|
-
Object.defineProperty(exports
|
|
5298
|
-
exports
|
|
5300
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5301
|
+
exports.MurmurHash = void 0;
|
|
5299
5302
|
(function(MurmurHash2) {
|
|
5300
5303
|
const DEFAULT_SEED = 0;
|
|
5301
5304
|
function initialize(seed = DEFAULT_SEED) {
|
|
@@ -5360,7 +5363,7 @@ function requireMurmurHash() {
|
|
|
5360
5363
|
}
|
|
5361
5364
|
return hash;
|
|
5362
5365
|
}
|
|
5363
|
-
})(exports
|
|
5366
|
+
})(exports.MurmurHash || (exports.MurmurHash = {}));
|
|
5364
5367
|
})(MurmurHash);
|
|
5365
5368
|
return MurmurHash;
|
|
5366
5369
|
}
|
|
@@ -5973,7 +5976,7 @@ var hasRequiredSemanticContext;
|
|
|
5973
5976
|
function requireSemanticContext() {
|
|
5974
5977
|
if (hasRequiredSemanticContext) return SemanticContext;
|
|
5975
5978
|
hasRequiredSemanticContext = 1;
|
|
5976
|
-
(function(exports
|
|
5979
|
+
(function(exports) {
|
|
5977
5980
|
/*!
|
|
5978
5981
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
5979
5982
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -5989,8 +5992,8 @@ function requireSemanticContext() {
|
|
|
5989
5992
|
decorator(target, key, paramIndex);
|
|
5990
5993
|
};
|
|
5991
5994
|
};
|
|
5992
|
-
Object.defineProperty(exports
|
|
5993
|
-
exports
|
|
5995
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5996
|
+
exports.SemanticContext = void 0;
|
|
5994
5997
|
const Array2DHashSet_1 = requireArray2DHashSet();
|
|
5995
5998
|
const ArrayEqualityComparator_1 = requireArrayEqualityComparator();
|
|
5996
5999
|
const MurmurHash_1 = requireMurmurHash();
|
|
@@ -6087,7 +6090,7 @@ function requireSemanticContext() {
|
|
|
6087
6090
|
return result;
|
|
6088
6091
|
}
|
|
6089
6092
|
};
|
|
6090
|
-
exports
|
|
6093
|
+
exports.SemanticContext = SemanticContext$1;
|
|
6091
6094
|
(function(SemanticContext2) {
|
|
6092
6095
|
const AND_HASHCODE = 40363613;
|
|
6093
6096
|
const OR_HASHCODE = 486279973;
|
|
@@ -6408,7 +6411,7 @@ function requireSemanticContext() {
|
|
|
6408
6411
|
__param(1, Decorators_1.NotNull)
|
|
6409
6412
|
], OR);
|
|
6410
6413
|
SemanticContext2.OR = OR;
|
|
6411
|
-
})(SemanticContext$1 = exports
|
|
6414
|
+
})(SemanticContext$1 = exports.SemanticContext || (exports.SemanticContext = {}));
|
|
6412
6415
|
})(SemanticContext);
|
|
6413
6416
|
return SemanticContext;
|
|
6414
6417
|
}
|
|
@@ -6591,13 +6594,13 @@ var hasRequiredArrays;
|
|
|
6591
6594
|
function requireArrays() {
|
|
6592
6595
|
if (hasRequiredArrays) return Arrays;
|
|
6593
6596
|
hasRequiredArrays = 1;
|
|
6594
|
-
(function(exports
|
|
6597
|
+
(function(exports) {
|
|
6595
6598
|
/*!
|
|
6596
6599
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
6597
6600
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
6598
6601
|
*/
|
|
6599
|
-
Object.defineProperty(exports
|
|
6600
|
-
exports
|
|
6602
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6603
|
+
exports.Arrays = void 0;
|
|
6601
6604
|
(function(Arrays2) {
|
|
6602
6605
|
function binarySearch(array, key, fromIndex, toIndex) {
|
|
6603
6606
|
return binarySearch0(array, fromIndex !== void 0 ? fromIndex : 0, toIndex !== void 0 ? toIndex : array.length, key);
|
|
@@ -6640,7 +6643,7 @@ function requireArrays() {
|
|
|
6640
6643
|
return result;
|
|
6641
6644
|
}
|
|
6642
6645
|
Arrays2.toString = toString;
|
|
6643
|
-
})(exports
|
|
6646
|
+
})(exports.Arrays || (exports.Arrays = {}));
|
|
6644
6647
|
})(Arrays);
|
|
6645
6648
|
return Arrays;
|
|
6646
6649
|
}
|
|
@@ -7072,13 +7075,13 @@ var hasRequiredToken;
|
|
|
7072
7075
|
function requireToken() {
|
|
7073
7076
|
if (hasRequiredToken) return Token;
|
|
7074
7077
|
hasRequiredToken = 1;
|
|
7075
|
-
(function(exports
|
|
7078
|
+
(function(exports) {
|
|
7076
7079
|
/*!
|
|
7077
7080
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
7078
7081
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
7079
7082
|
*/
|
|
7080
|
-
Object.defineProperty(exports
|
|
7081
|
-
exports
|
|
7083
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7084
|
+
exports.Token = void 0;
|
|
7082
7085
|
const IntStream_1 = requireIntStream();
|
|
7083
7086
|
(function(Token2) {
|
|
7084
7087
|
Token2.INVALID_TYPE = 0;
|
|
@@ -7088,7 +7091,7 @@ function requireToken() {
|
|
|
7088
7091
|
Token2.DEFAULT_CHANNEL = 0;
|
|
7089
7092
|
Token2.HIDDEN_CHANNEL = 1;
|
|
7090
7093
|
Token2.MIN_USER_CHANNEL_VALUE = 2;
|
|
7091
|
-
})(exports
|
|
7094
|
+
})(exports.Token || (exports.Token = {}));
|
|
7092
7095
|
})(Token);
|
|
7093
7096
|
return Token;
|
|
7094
7097
|
}
|
|
@@ -7310,7 +7313,7 @@ var hasRequiredCommonTokenFactory;
|
|
|
7310
7313
|
function requireCommonTokenFactory() {
|
|
7311
7314
|
if (hasRequiredCommonTokenFactory) return CommonTokenFactory;
|
|
7312
7315
|
hasRequiredCommonTokenFactory = 1;
|
|
7313
|
-
(function(exports
|
|
7316
|
+
(function(exports) {
|
|
7314
7317
|
/*!
|
|
7315
7318
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
7316
7319
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -7321,8 +7324,8 @@ function requireCommonTokenFactory() {
|
|
|
7321
7324
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7322
7325
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7323
7326
|
};
|
|
7324
|
-
Object.defineProperty(exports
|
|
7325
|
-
exports
|
|
7327
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7328
|
+
exports.CommonTokenFactory = void 0;
|
|
7326
7329
|
const CommonToken_1 = requireCommonToken();
|
|
7327
7330
|
const Interval_1 = requireInterval();
|
|
7328
7331
|
const Decorators_1 = requireDecorators();
|
|
@@ -7358,10 +7361,10 @@ function requireCommonTokenFactory() {
|
|
|
7358
7361
|
__decorate([
|
|
7359
7362
|
Decorators_1.Override
|
|
7360
7363
|
], CommonTokenFactory$1.prototype, "createSimple", null);
|
|
7361
|
-
exports
|
|
7364
|
+
exports.CommonTokenFactory = CommonTokenFactory$1;
|
|
7362
7365
|
(function(CommonTokenFactory2) {
|
|
7363
7366
|
CommonTokenFactory2.DEFAULT = new CommonTokenFactory2();
|
|
7364
|
-
})(CommonTokenFactory$1 = exports
|
|
7367
|
+
})(CommonTokenFactory$1 = exports.CommonTokenFactory || (exports.CommonTokenFactory = {}));
|
|
7365
7368
|
})(CommonTokenFactory);
|
|
7366
7369
|
return CommonTokenFactory;
|
|
7367
7370
|
}
|
|
@@ -7549,7 +7552,7 @@ var hasRequiredPredictionContextCache;
|
|
|
7549
7552
|
function requirePredictionContextCache() {
|
|
7550
7553
|
if (hasRequiredPredictionContextCache) return PredictionContextCache;
|
|
7551
7554
|
hasRequiredPredictionContextCache = 1;
|
|
7552
|
-
(function(exports
|
|
7555
|
+
(function(exports) {
|
|
7553
7556
|
/*!
|
|
7554
7557
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
7555
7558
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -7560,8 +7563,8 @@ function requirePredictionContextCache() {
|
|
|
7560
7563
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7561
7564
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7562
7565
|
};
|
|
7563
|
-
Object.defineProperty(exports
|
|
7564
|
-
exports
|
|
7566
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7567
|
+
exports.PredictionContextCache = void 0;
|
|
7565
7568
|
const Array2DHashMap_1 = requireArray2DHashMap();
|
|
7566
7569
|
const Decorators_1 = requireDecorators();
|
|
7567
7570
|
const ObjectEqualityComparator_1 = requireObjectEqualityComparator();
|
|
@@ -7613,7 +7616,7 @@ function requirePredictionContextCache() {
|
|
|
7613
7616
|
return result;
|
|
7614
7617
|
}
|
|
7615
7618
|
};
|
|
7616
|
-
exports
|
|
7619
|
+
exports.PredictionContextCache = PredictionContextCache$1;
|
|
7617
7620
|
PredictionContextCache$1.UNCACHED = new PredictionContextCache$1(false);
|
|
7618
7621
|
(function(PredictionContextCache2) {
|
|
7619
7622
|
class PredictionContextAndInt {
|
|
@@ -7677,7 +7680,7 @@ function requirePredictionContextCache() {
|
|
|
7677
7680
|
Decorators_1.Override
|
|
7678
7681
|
], IdentityCommutativePredictionContextOperands.prototype, "hashCode", null);
|
|
7679
7682
|
PredictionContextCache2.IdentityCommutativePredictionContextOperands = IdentityCommutativePredictionContextOperands;
|
|
7680
|
-
})(PredictionContextCache$1 = exports
|
|
7683
|
+
})(PredictionContextCache$1 = exports.PredictionContextCache || (exports.PredictionContextCache = {}));
|
|
7681
7684
|
})(PredictionContextCache);
|
|
7682
7685
|
return PredictionContextCache;
|
|
7683
7686
|
}
|
|
@@ -7685,7 +7688,7 @@ var hasRequiredPredictionContext;
|
|
|
7685
7688
|
function requirePredictionContext() {
|
|
7686
7689
|
if (hasRequiredPredictionContext) return PredictionContext;
|
|
7687
7690
|
hasRequiredPredictionContext = 1;
|
|
7688
|
-
(function(exports
|
|
7691
|
+
(function(exports) {
|
|
7689
7692
|
/*!
|
|
7690
7693
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
7691
7694
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -7701,8 +7704,8 @@ function requirePredictionContext() {
|
|
|
7701
7704
|
decorator(target, key, paramIndex);
|
|
7702
7705
|
};
|
|
7703
7706
|
};
|
|
7704
|
-
Object.defineProperty(exports
|
|
7705
|
-
exports
|
|
7707
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7708
|
+
exports.SingletonPredictionContext = exports.PredictionContext = void 0;
|
|
7706
7709
|
const Array2DHashMap_1 = requireArray2DHashMap();
|
|
7707
7710
|
const Array2DHashSet_1 = requireArray2DHashSet();
|
|
7708
7711
|
const Arrays_1 = requireArrays();
|
|
@@ -7964,7 +7967,7 @@ function requirePredictionContext() {
|
|
|
7964
7967
|
__param(1, Decorators_1.NotNull),
|
|
7965
7968
|
__param(2, Decorators_1.NotNull)
|
|
7966
7969
|
], PredictionContext$1, "getCachedContext", null);
|
|
7967
|
-
exports
|
|
7970
|
+
exports.PredictionContext = PredictionContext$1;
|
|
7968
7971
|
class EmptyPredictionContext extends PredictionContext$1 {
|
|
7969
7972
|
constructor(fullContext) {
|
|
7970
7973
|
super(PredictionContext$1.calculateEmptyHashCode());
|
|
@@ -8320,7 +8323,7 @@ function requirePredictionContext() {
|
|
|
8320
8323
|
SingletonPredictionContext = __decorate([
|
|
8321
8324
|
__param(0, Decorators_1.NotNull)
|
|
8322
8325
|
], SingletonPredictionContext);
|
|
8323
|
-
exports
|
|
8326
|
+
exports.SingletonPredictionContext = SingletonPredictionContext;
|
|
8324
8327
|
(function(PredictionContext2) {
|
|
8325
8328
|
PredictionContext2.EMPTY_LOCAL = new EmptyPredictionContext(false);
|
|
8326
8329
|
PredictionContext2.EMPTY_FULL = new EmptyPredictionContext(true);
|
|
@@ -8350,7 +8353,7 @@ function requirePredictionContext() {
|
|
|
8350
8353
|
Decorators_1.Override
|
|
8351
8354
|
], IdentityEqualityComparator.prototype, "equals", null);
|
|
8352
8355
|
PredictionContext2.IdentityEqualityComparator = IdentityEqualityComparator;
|
|
8353
|
-
})(PredictionContext$1 = exports
|
|
8356
|
+
})(PredictionContext$1 = exports.PredictionContext || (exports.PredictionContext = {}));
|
|
8354
8357
|
})(PredictionContext);
|
|
8355
8358
|
return PredictionContext;
|
|
8356
8359
|
}
|
|
@@ -9841,7 +9844,7 @@ var hasRequiredDFAState;
|
|
|
9841
9844
|
function requireDFAState() {
|
|
9842
9845
|
if (hasRequiredDFAState) return DFAState;
|
|
9843
9846
|
hasRequiredDFAState = 1;
|
|
9844
|
-
(function(exports
|
|
9847
|
+
(function(exports) {
|
|
9845
9848
|
/*!
|
|
9846
9849
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
9847
9850
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -9857,8 +9860,8 @@ function requireDFAState() {
|
|
|
9857
9860
|
decorator(target, key, paramIndex);
|
|
9858
9861
|
};
|
|
9859
9862
|
};
|
|
9860
|
-
Object.defineProperty(exports
|
|
9861
|
-
exports
|
|
9863
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9864
|
+
exports.DFAState = void 0;
|
|
9862
9865
|
const ATN_1 = requireATN();
|
|
9863
9866
|
const BitSet_1 = requireBitSet();
|
|
9864
9867
|
const MurmurHash_1 = requireMurmurHash();
|
|
@@ -10021,7 +10024,7 @@ function requireDFAState() {
|
|
|
10021
10024
|
__decorate([
|
|
10022
10025
|
Decorators_1.Override
|
|
10023
10026
|
], DFAState$1.prototype, "toString", null);
|
|
10024
|
-
exports
|
|
10027
|
+
exports.DFAState = DFAState$1;
|
|
10025
10028
|
(function(DFAState2) {
|
|
10026
10029
|
let PredPrediction = class PredPrediction {
|
|
10027
10030
|
constructor(pred, alt) {
|
|
@@ -10042,7 +10045,7 @@ function requireDFAState() {
|
|
|
10042
10045
|
__param(0, Decorators_1.NotNull)
|
|
10043
10046
|
], PredPrediction);
|
|
10044
10047
|
DFAState2.PredPrediction = PredPrediction;
|
|
10045
|
-
})(DFAState$1 = exports
|
|
10048
|
+
})(DFAState$1 = exports.DFAState || (exports.DFAState = {}));
|
|
10046
10049
|
})(DFAState);
|
|
10047
10050
|
return DFAState;
|
|
10048
10051
|
}
|
|
@@ -10050,7 +10053,7 @@ var hasRequiredATNSimulator;
|
|
|
10050
10053
|
function requireATNSimulator() {
|
|
10051
10054
|
if (hasRequiredATNSimulator) return ATNSimulator;
|
|
10052
10055
|
hasRequiredATNSimulator = 1;
|
|
10053
|
-
(function(exports
|
|
10056
|
+
(function(exports) {
|
|
10054
10057
|
/*!
|
|
10055
10058
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
10056
10059
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -10066,8 +10069,8 @@ function requireATNSimulator() {
|
|
|
10066
10069
|
decorator(target, key, paramIndex);
|
|
10067
10070
|
};
|
|
10068
10071
|
};
|
|
10069
|
-
Object.defineProperty(exports
|
|
10070
|
-
exports
|
|
10072
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10073
|
+
exports.ATNSimulator = void 0;
|
|
10071
10074
|
const ATNConfigSet_1 = requireATNConfigSet();
|
|
10072
10075
|
const DFAState_1 = requireDFAState();
|
|
10073
10076
|
const Decorators_1 = requireDecorators();
|
|
@@ -10107,10 +10110,10 @@ function requireATNSimulator() {
|
|
|
10107
10110
|
ATNSimulator$1 = __decorate([
|
|
10108
10111
|
__param(0, Decorators_1.NotNull)
|
|
10109
10112
|
], ATNSimulator$1);
|
|
10110
|
-
exports
|
|
10113
|
+
exports.ATNSimulator = ATNSimulator$1;
|
|
10111
10114
|
/* @__PURE__ */ (function(ATNSimulator2) {
|
|
10112
|
-
})(ATNSimulator$1 = exports
|
|
10113
|
-
exports
|
|
10115
|
+
})(ATNSimulator$1 = exports.ATNSimulator || (exports.ATNSimulator = {}));
|
|
10116
|
+
exports.ATNSimulator = ATNSimulator$1;
|
|
10114
10117
|
})(ATNSimulator);
|
|
10115
10118
|
return ATNSimulator;
|
|
10116
10119
|
}
|
|
@@ -11454,7 +11457,7 @@ var hasRequiredATN;
|
|
|
11454
11457
|
function requireATN() {
|
|
11455
11458
|
if (hasRequiredATN) return ATN;
|
|
11456
11459
|
hasRequiredATN = 1;
|
|
11457
|
-
(function(exports
|
|
11460
|
+
(function(exports) {
|
|
11458
11461
|
/*!
|
|
11459
11462
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
11460
11463
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -11470,8 +11473,8 @@ function requireATN() {
|
|
|
11470
11473
|
decorator(target, key, paramIndex);
|
|
11471
11474
|
};
|
|
11472
11475
|
};
|
|
11473
|
-
Object.defineProperty(exports
|
|
11474
|
-
exports
|
|
11476
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11477
|
+
exports.ATN = void 0;
|
|
11475
11478
|
const Array2DHashMap_1 = requireArray2DHashMap();
|
|
11476
11479
|
const DFA_1 = requireDFA();
|
|
11477
11480
|
const IntervalSet_1 = requireIntervalSet();
|
|
@@ -11664,11 +11667,11 @@ function requireATN() {
|
|
|
11664
11667
|
ATN$1 = __decorate([
|
|
11665
11668
|
__param(0, Decorators_1.NotNull)
|
|
11666
11669
|
], ATN$1);
|
|
11667
|
-
exports
|
|
11670
|
+
exports.ATN = ATN$1;
|
|
11668
11671
|
(function(ATN2) {
|
|
11669
11672
|
ATN2.INVALID_ALT_NUMBER = 0;
|
|
11670
|
-
})(ATN$1 = exports
|
|
11671
|
-
exports
|
|
11673
|
+
})(ATN$1 = exports.ATN || (exports.ATN = {}));
|
|
11674
|
+
exports.ATN = ATN$1;
|
|
11672
11675
|
})(ATN);
|
|
11673
11676
|
return ATN;
|
|
11674
11677
|
}
|
|
@@ -12107,7 +12110,7 @@ var hasRequiredLexerATNSimulator;
|
|
|
12107
12110
|
function requireLexerATNSimulator() {
|
|
12108
12111
|
if (hasRequiredLexerATNSimulator) return LexerATNSimulator;
|
|
12109
12112
|
hasRequiredLexerATNSimulator = 1;
|
|
12110
|
-
(function(exports
|
|
12113
|
+
(function(exports) {
|
|
12111
12114
|
/*!
|
|
12112
12115
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
12113
12116
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -12123,8 +12126,8 @@ function requireLexerATNSimulator() {
|
|
|
12123
12126
|
decorator(target, key, paramIndex);
|
|
12124
12127
|
};
|
|
12125
12128
|
};
|
|
12126
|
-
Object.defineProperty(exports
|
|
12127
|
-
exports
|
|
12129
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12130
|
+
exports.LexerATNSimulator = void 0;
|
|
12128
12131
|
const AcceptStateInfo_1 = requireAcceptStateInfo();
|
|
12129
12132
|
const ATN_1 = requireATN();
|
|
12130
12133
|
const ATNConfig_1 = requireATNConfig();
|
|
@@ -12685,7 +12688,7 @@ function requireLexerATNSimulator() {
|
|
|
12685
12688
|
LexerATNSimulator$1 = __decorate([
|
|
12686
12689
|
__param(0, Decorators_1.NotNull)
|
|
12687
12690
|
], LexerATNSimulator$1);
|
|
12688
|
-
exports
|
|
12691
|
+
exports.LexerATNSimulator = LexerATNSimulator$1;
|
|
12689
12692
|
(function(LexerATNSimulator2) {
|
|
12690
12693
|
LexerATNSimulator2.debug = false;
|
|
12691
12694
|
LexerATNSimulator2.dfa_debug = false;
|
|
@@ -12703,8 +12706,8 @@ function requireLexerATNSimulator() {
|
|
|
12703
12706
|
}
|
|
12704
12707
|
}
|
|
12705
12708
|
LexerATNSimulator2.SimState = SimState;
|
|
12706
|
-
})(LexerATNSimulator$1 = exports
|
|
12707
|
-
exports
|
|
12709
|
+
})(LexerATNSimulator$1 = exports.LexerATNSimulator || (exports.LexerATNSimulator = {}));
|
|
12710
|
+
exports.LexerATNSimulator = LexerATNSimulator$1;
|
|
12708
12711
|
})(LexerATNSimulator);
|
|
12709
12712
|
return LexerATNSimulator;
|
|
12710
12713
|
}
|
|
@@ -14270,7 +14273,7 @@ var hasRequiredLexerMoreAction;
|
|
|
14270
14273
|
function requireLexerMoreAction() {
|
|
14271
14274
|
if (hasRequiredLexerMoreAction) return LexerMoreAction;
|
|
14272
14275
|
hasRequiredLexerMoreAction = 1;
|
|
14273
|
-
(function(exports
|
|
14276
|
+
(function(exports) {
|
|
14274
14277
|
/*!
|
|
14275
14278
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
14276
14279
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -14286,8 +14289,8 @@ function requireLexerMoreAction() {
|
|
|
14286
14289
|
decorator(target, key, paramIndex);
|
|
14287
14290
|
};
|
|
14288
14291
|
};
|
|
14289
|
-
Object.defineProperty(exports
|
|
14290
|
-
exports
|
|
14292
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14293
|
+
exports.LexerMoreAction = void 0;
|
|
14291
14294
|
const MurmurHash_1 = requireMurmurHash();
|
|
14292
14295
|
const Decorators_1 = requireDecorators();
|
|
14293
14296
|
let LexerMoreAction$1 = class LexerMoreAction {
|
|
@@ -14349,10 +14352,10 @@ function requireLexerMoreAction() {
|
|
|
14349
14352
|
__decorate([
|
|
14350
14353
|
Decorators_1.Override
|
|
14351
14354
|
], LexerMoreAction$1.prototype, "toString", null);
|
|
14352
|
-
exports
|
|
14355
|
+
exports.LexerMoreAction = LexerMoreAction$1;
|
|
14353
14356
|
(function(LexerMoreAction2) {
|
|
14354
14357
|
LexerMoreAction2.INSTANCE = new LexerMoreAction2();
|
|
14355
|
-
})(LexerMoreAction$1 = exports
|
|
14358
|
+
})(LexerMoreAction$1 = exports.LexerMoreAction || (exports.LexerMoreAction = {}));
|
|
14356
14359
|
})(LexerMoreAction);
|
|
14357
14360
|
return LexerMoreAction;
|
|
14358
14361
|
}
|
|
@@ -14361,7 +14364,7 @@ var hasRequiredLexerPopModeAction;
|
|
|
14361
14364
|
function requireLexerPopModeAction() {
|
|
14362
14365
|
if (hasRequiredLexerPopModeAction) return LexerPopModeAction;
|
|
14363
14366
|
hasRequiredLexerPopModeAction = 1;
|
|
14364
|
-
(function(exports
|
|
14367
|
+
(function(exports) {
|
|
14365
14368
|
/*!
|
|
14366
14369
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
14367
14370
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -14377,8 +14380,8 @@ function requireLexerPopModeAction() {
|
|
|
14377
14380
|
decorator(target, key, paramIndex);
|
|
14378
14381
|
};
|
|
14379
14382
|
};
|
|
14380
|
-
Object.defineProperty(exports
|
|
14381
|
-
exports
|
|
14383
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14384
|
+
exports.LexerPopModeAction = void 0;
|
|
14382
14385
|
const MurmurHash_1 = requireMurmurHash();
|
|
14383
14386
|
const Decorators_1 = requireDecorators();
|
|
14384
14387
|
let LexerPopModeAction$1 = class LexerPopModeAction {
|
|
@@ -14440,10 +14443,10 @@ function requireLexerPopModeAction() {
|
|
|
14440
14443
|
__decorate([
|
|
14441
14444
|
Decorators_1.Override
|
|
14442
14445
|
], LexerPopModeAction$1.prototype, "toString", null);
|
|
14443
|
-
exports
|
|
14446
|
+
exports.LexerPopModeAction = LexerPopModeAction$1;
|
|
14444
14447
|
(function(LexerPopModeAction2) {
|
|
14445
14448
|
LexerPopModeAction2.INSTANCE = new LexerPopModeAction2();
|
|
14446
|
-
})(LexerPopModeAction$1 = exports
|
|
14449
|
+
})(LexerPopModeAction$1 = exports.LexerPopModeAction || (exports.LexerPopModeAction = {}));
|
|
14447
14450
|
})(LexerPopModeAction);
|
|
14448
14451
|
return LexerPopModeAction;
|
|
14449
14452
|
}
|
|
@@ -14555,7 +14558,7 @@ var hasRequiredLexerSkipAction;
|
|
|
14555
14558
|
function requireLexerSkipAction() {
|
|
14556
14559
|
if (hasRequiredLexerSkipAction) return LexerSkipAction;
|
|
14557
14560
|
hasRequiredLexerSkipAction = 1;
|
|
14558
|
-
(function(exports
|
|
14561
|
+
(function(exports) {
|
|
14559
14562
|
/*!
|
|
14560
14563
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
14561
14564
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -14571,8 +14574,8 @@ function requireLexerSkipAction() {
|
|
|
14571
14574
|
decorator(target, key, paramIndex);
|
|
14572
14575
|
};
|
|
14573
14576
|
};
|
|
14574
|
-
Object.defineProperty(exports
|
|
14575
|
-
exports
|
|
14577
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14578
|
+
exports.LexerSkipAction = void 0;
|
|
14576
14579
|
const MurmurHash_1 = requireMurmurHash();
|
|
14577
14580
|
const Decorators_1 = requireDecorators();
|
|
14578
14581
|
let LexerSkipAction$1 = class LexerSkipAction {
|
|
@@ -14634,10 +14637,10 @@ function requireLexerSkipAction() {
|
|
|
14634
14637
|
__decorate([
|
|
14635
14638
|
Decorators_1.Override
|
|
14636
14639
|
], LexerSkipAction$1.prototype, "toString", null);
|
|
14637
|
-
exports
|
|
14640
|
+
exports.LexerSkipAction = LexerSkipAction$1;
|
|
14638
14641
|
(function(LexerSkipAction2) {
|
|
14639
14642
|
LexerSkipAction2.INSTANCE = new LexerSkipAction2();
|
|
14640
|
-
})(LexerSkipAction$1 = exports
|
|
14643
|
+
})(LexerSkipAction$1 = exports.LexerSkipAction || (exports.LexerSkipAction = {}));
|
|
14641
14644
|
})(LexerSkipAction);
|
|
14642
14645
|
return LexerSkipAction;
|
|
14643
14646
|
}
|
|
@@ -15675,7 +15678,7 @@ var hasRequiredPredictionMode;
|
|
|
15675
15678
|
function requirePredictionMode() {
|
|
15676
15679
|
if (hasRequiredPredictionMode) return PredictionMode;
|
|
15677
15680
|
hasRequiredPredictionMode = 1;
|
|
15678
|
-
(function(exports
|
|
15681
|
+
(function(exports) {
|
|
15679
15682
|
/*!
|
|
15680
15683
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
15681
15684
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -15686,8 +15689,8 @@ function requirePredictionMode() {
|
|
|
15686
15689
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
15687
15690
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
15688
15691
|
};
|
|
15689
|
-
Object.defineProperty(exports
|
|
15690
|
-
exports
|
|
15692
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15693
|
+
exports.PredictionMode = void 0;
|
|
15691
15694
|
const Array2DHashMap_1 = requireArray2DHashMap();
|
|
15692
15695
|
const MurmurHash_1 = requireMurmurHash();
|
|
15693
15696
|
const Decorators_1 = requireDecorators();
|
|
@@ -15696,7 +15699,7 @@ function requirePredictionMode() {
|
|
|
15696
15699
|
PredictionMode2[PredictionMode2["SLL"] = 0] = "SLL";
|
|
15697
15700
|
PredictionMode2[PredictionMode2["LL"] = 1] = "LL";
|
|
15698
15701
|
PredictionMode2[PredictionMode2["LL_EXACT_AMBIG_DETECTION"] = 2] = "LL_EXACT_AMBIG_DETECTION";
|
|
15699
|
-
})(exports
|
|
15702
|
+
})(exports.PredictionMode || (exports.PredictionMode = {}));
|
|
15700
15703
|
(function(PredictionMode2) {
|
|
15701
15704
|
class AltAndContextMap extends Array2DHashMap_1.Array2DHashMap {
|
|
15702
15705
|
constructor() {
|
|
@@ -15752,7 +15755,7 @@ function requirePredictionMode() {
|
|
|
15752
15755
|
return true;
|
|
15753
15756
|
}
|
|
15754
15757
|
PredictionMode2.allConfigsInRuleStopStates = allConfigsInRuleStopStates;
|
|
15755
|
-
})(exports
|
|
15758
|
+
})(exports.PredictionMode || (exports.PredictionMode = {}));
|
|
15756
15759
|
})(PredictionMode);
|
|
15757
15760
|
return PredictionMode;
|
|
15758
15761
|
}
|
|
@@ -19201,13 +19204,13 @@ var hasRequiredCodePointBuffer;
|
|
|
19201
19204
|
function requireCodePointBuffer() {
|
|
19202
19205
|
if (hasRequiredCodePointBuffer) return CodePointBuffer;
|
|
19203
19206
|
hasRequiredCodePointBuffer = 1;
|
|
19204
|
-
(function(exports
|
|
19207
|
+
(function(exports) {
|
|
19205
19208
|
/*!
|
|
19206
19209
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
19207
19210
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
19208
19211
|
*/
|
|
19209
|
-
Object.defineProperty(exports
|
|
19210
|
-
exports
|
|
19212
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19213
|
+
exports.CodePointBuffer = void 0;
|
|
19211
19214
|
const assert2 = requireAssert();
|
|
19212
19215
|
const Character2 = requireCharacter();
|
|
19213
19216
|
class CodePointBuffer2 {
|
|
@@ -19241,7 +19244,7 @@ function requireCodePointBuffer() {
|
|
|
19241
19244
|
return new CodePointBuffer2.Builder(initialBufferSize);
|
|
19242
19245
|
}
|
|
19243
19246
|
}
|
|
19244
|
-
exports
|
|
19247
|
+
exports.CodePointBuffer = CodePointBuffer2;
|
|
19245
19248
|
(function(CodePointBuffer3) {
|
|
19246
19249
|
let Type;
|
|
19247
19250
|
(function(Type2) {
|
|
@@ -19418,7 +19421,7 @@ function requireCodePointBuffer() {
|
|
|
19418
19421
|
}
|
|
19419
19422
|
}
|
|
19420
19423
|
CodePointBuffer3.Builder = Builder;
|
|
19421
|
-
})(CodePointBuffer2 = exports
|
|
19424
|
+
})(CodePointBuffer2 = exports.CodePointBuffer || (exports.CodePointBuffer = {}));
|
|
19422
19425
|
})(CodePointBuffer);
|
|
19423
19426
|
return CodePointBuffer;
|
|
19424
19427
|
}
|
|
@@ -19558,13 +19561,13 @@ var hasRequiredCharStreams;
|
|
|
19558
19561
|
function requireCharStreams() {
|
|
19559
19562
|
if (hasRequiredCharStreams) return CharStreams;
|
|
19560
19563
|
hasRequiredCharStreams = 1;
|
|
19561
|
-
(function(exports
|
|
19564
|
+
(function(exports) {
|
|
19562
19565
|
/*!
|
|
19563
19566
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
19564
19567
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
19565
19568
|
*/
|
|
19566
|
-
Object.defineProperty(exports
|
|
19567
|
-
exports
|
|
19569
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19570
|
+
exports.CharStreams = void 0;
|
|
19568
19571
|
const CodePointBuffer_1 = requireCodePointBuffer();
|
|
19569
19572
|
const CodePointCharStream_1 = requireCodePointCharStream();
|
|
19570
19573
|
const IntStream_1 = requireIntStream();
|
|
@@ -19582,7 +19585,7 @@ function requireCharStreams() {
|
|
|
19582
19585
|
return CodePointCharStream_1.CodePointCharStream.fromBuffer(codePointBufferBuilder.build(), sourceName);
|
|
19583
19586
|
}
|
|
19584
19587
|
CharStreams2.fromString = fromString;
|
|
19585
|
-
})(exports
|
|
19588
|
+
})(exports.CharStreams || (exports.CharStreams = {}));
|
|
19586
19589
|
})(CharStreams);
|
|
19587
19590
|
return CharStreams;
|
|
19588
19591
|
}
|
|
@@ -22174,7 +22177,7 @@ var hasRequiredParseTreePatternMatcher;
|
|
|
22174
22177
|
function requireParseTreePatternMatcher() {
|
|
22175
22178
|
if (hasRequiredParseTreePatternMatcher) return ParseTreePatternMatcher;
|
|
22176
22179
|
hasRequiredParseTreePatternMatcher = 1;
|
|
22177
|
-
(function(exports
|
|
22180
|
+
(function(exports) {
|
|
22178
22181
|
/*!
|
|
22179
22182
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
22180
22183
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -22190,8 +22193,8 @@ function requireParseTreePatternMatcher() {
|
|
|
22190
22193
|
decorator(target, key, paramIndex);
|
|
22191
22194
|
};
|
|
22192
22195
|
};
|
|
22193
|
-
Object.defineProperty(exports
|
|
22194
|
-
exports
|
|
22196
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22197
|
+
exports.ParseTreePatternMatcher = void 0;
|
|
22195
22198
|
const BailErrorStrategy_1 = requireBailErrorStrategy();
|
|
22196
22199
|
const CharStreams_1 = requireCharStreams();
|
|
22197
22200
|
const CommonTokenStream_1 = requireCommonTokenStream();
|
|
@@ -22527,7 +22530,7 @@ function requireParseTreePatternMatcher() {
|
|
|
22527
22530
|
__param(1, Decorators_1.NotNull),
|
|
22528
22531
|
__param(2, Decorators_1.NotNull)
|
|
22529
22532
|
], ParseTreePatternMatcher$1.prototype, "matchImpl", null);
|
|
22530
|
-
exports
|
|
22533
|
+
exports.ParseTreePatternMatcher = ParseTreePatternMatcher$1;
|
|
22531
22534
|
(function(ParseTreePatternMatcher2) {
|
|
22532
22535
|
class CannotInvokeStartRule extends Error {
|
|
22533
22536
|
constructor(error) {
|
|
@@ -22542,7 +22545,7 @@ function requireParseTreePatternMatcher() {
|
|
|
22542
22545
|
}
|
|
22543
22546
|
}
|
|
22544
22547
|
ParseTreePatternMatcher2.StartRuleDoesNotConsumeFullPattern = StartRuleDoesNotConsumeFullPattern;
|
|
22545
|
-
})(ParseTreePatternMatcher$1 = exports
|
|
22548
|
+
})(ParseTreePatternMatcher$1 = exports.ParseTreePatternMatcher || (exports.ParseTreePatternMatcher = {}));
|
|
22546
22549
|
})(ParseTreePatternMatcher);
|
|
22547
22550
|
return ParseTreePatternMatcher;
|
|
22548
22551
|
}
|
|
@@ -24826,13 +24829,13 @@ var hasRequiredDependents;
|
|
|
24826
24829
|
function requireDependents() {
|
|
24827
24830
|
if (hasRequiredDependents) return Dependents;
|
|
24828
24831
|
hasRequiredDependents = 1;
|
|
24829
|
-
(function(exports
|
|
24832
|
+
(function(exports) {
|
|
24830
24833
|
/*!
|
|
24831
24834
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
24832
24835
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
24833
24836
|
*/
|
|
24834
|
-
Object.defineProperty(exports
|
|
24835
|
-
exports
|
|
24837
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24838
|
+
exports.Dependents = void 0;
|
|
24836
24839
|
(function(Dependents2) {
|
|
24837
24840
|
Dependents2[Dependents2["SELF"] = 0] = "SELF";
|
|
24838
24841
|
Dependents2[Dependents2["PARENTS"] = 1] = "PARENTS";
|
|
@@ -24844,7 +24847,7 @@ function requireDependents() {
|
|
|
24844
24847
|
Dependents2[Dependents2["FOLLOWING_SIBLINGS"] = 7] = "FOLLOWING_SIBLINGS";
|
|
24845
24848
|
Dependents2[Dependents2["PRECEEDING"] = 8] = "PRECEEDING";
|
|
24846
24849
|
Dependents2[Dependents2["FOLLOWING"] = 9] = "FOLLOWING";
|
|
24847
|
-
})(exports
|
|
24850
|
+
})(exports.Dependents || (exports.Dependents = {}));
|
|
24848
24851
|
})(Dependents);
|
|
24849
24852
|
return Dependents;
|
|
24850
24853
|
}
|
|
@@ -25607,7 +25610,7 @@ var hasRequiredAntlr4ts;
|
|
|
25607
25610
|
function requireAntlr4ts() {
|
|
25608
25611
|
if (hasRequiredAntlr4ts) return antlr4ts;
|
|
25609
25612
|
hasRequiredAntlr4ts = 1;
|
|
25610
|
-
(function(exports
|
|
25613
|
+
(function(exports) {
|
|
25611
25614
|
/*!
|
|
25612
25615
|
* Copyright 2016 The ANTLR Project. All rights reserved.
|
|
25613
25616
|
* Licensed under the BSD-3-Clause license. See LICENSE file in the project root for license information.
|
|
@@ -25621,55 +25624,55 @@ function requireAntlr4ts() {
|
|
|
25621
25624
|
if (k2 === void 0) k2 = k;
|
|
25622
25625
|
o[k2] = m[k];
|
|
25623
25626
|
}));
|
|
25624
|
-
var __exportStar = antlr4ts && antlr4ts.__exportStar || function(m,
|
|
25625
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(
|
|
25627
|
+
var __exportStar = antlr4ts && antlr4ts.__exportStar || function(m, exports2) {
|
|
25628
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p)) __createBinding(exports2, m, p);
|
|
25626
25629
|
};
|
|
25627
|
-
Object.defineProperty(exports
|
|
25628
|
-
__exportStar(requireANTLRErrorListener(), exports
|
|
25629
|
-
__exportStar(requireANTLRErrorStrategy(), exports
|
|
25630
|
-
__exportStar(requireANTLRInputStream(), exports
|
|
25631
|
-
__exportStar(requireBailErrorStrategy(), exports
|
|
25632
|
-
__exportStar(requireBufferedTokenStream(), exports
|
|
25633
|
-
__exportStar(requireCharStream(), exports
|
|
25634
|
-
__exportStar(requireCharStreams(), exports
|
|
25635
|
-
__exportStar(requireCodePointBuffer(), exports
|
|
25636
|
-
__exportStar(requireCodePointCharStream(), exports
|
|
25637
|
-
__exportStar(requireCommonToken(), exports
|
|
25638
|
-
__exportStar(requireCommonTokenFactory(), exports
|
|
25639
|
-
__exportStar(requireCommonTokenStream(), exports
|
|
25640
|
-
__exportStar(requireConsoleErrorListener(), exports
|
|
25641
|
-
__exportStar(requireDefaultErrorStrategy(), exports
|
|
25642
|
-
__exportStar(requireDependents(), exports
|
|
25643
|
-
__exportStar(requireDiagnosticErrorListener(), exports
|
|
25644
|
-
__exportStar(requireFailedPredicateException(), exports
|
|
25645
|
-
__exportStar(requireInputMismatchException(), exports
|
|
25646
|
-
__exportStar(requireInterpreterRuleContext(), exports
|
|
25647
|
-
__exportStar(requireIntStream(), exports
|
|
25648
|
-
__exportStar(requireLexer(), exports
|
|
25649
|
-
__exportStar(requireLexerInterpreter(), exports
|
|
25650
|
-
__exportStar(requireLexerNoViableAltException(), exports
|
|
25651
|
-
__exportStar(requireListTokenSource(), exports
|
|
25652
|
-
__exportStar(requireNoViableAltException(), exports
|
|
25653
|
-
__exportStar(requireParser(), exports
|
|
25654
|
-
__exportStar(requireParserErrorListener(), exports
|
|
25655
|
-
__exportStar(requireParserInterpreter(), exports
|
|
25656
|
-
__exportStar(requireParserRuleContext(), exports
|
|
25657
|
-
__exportStar(requireProxyErrorListener(), exports
|
|
25658
|
-
__exportStar(requireProxyParserErrorListener(), exports
|
|
25659
|
-
__exportStar(requireRecognitionException(), exports
|
|
25660
|
-
__exportStar(requireRecognizer(), exports
|
|
25661
|
-
__exportStar(requireRuleContext(), exports
|
|
25662
|
-
__exportStar(requireRuleContextWithAltNum(), exports
|
|
25663
|
-
__exportStar(requireRuleDependency(), exports
|
|
25664
|
-
__exportStar(requireRuleVersion(), exports
|
|
25665
|
-
__exportStar(requireToken(), exports
|
|
25666
|
-
__exportStar(requireTokenFactory(), exports
|
|
25667
|
-
__exportStar(requireTokenSource(), exports
|
|
25668
|
-
__exportStar(requireTokenStream(), exports
|
|
25669
|
-
__exportStar(requireTokenStreamRewriter(), exports
|
|
25670
|
-
__exportStar(requireVocabulary(), exports
|
|
25671
|
-
__exportStar(requireVocabularyImpl(), exports
|
|
25672
|
-
__exportStar(requireWritableToken(), exports
|
|
25630
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25631
|
+
__exportStar(requireANTLRErrorListener(), exports);
|
|
25632
|
+
__exportStar(requireANTLRErrorStrategy(), exports);
|
|
25633
|
+
__exportStar(requireANTLRInputStream(), exports);
|
|
25634
|
+
__exportStar(requireBailErrorStrategy(), exports);
|
|
25635
|
+
__exportStar(requireBufferedTokenStream(), exports);
|
|
25636
|
+
__exportStar(requireCharStream(), exports);
|
|
25637
|
+
__exportStar(requireCharStreams(), exports);
|
|
25638
|
+
__exportStar(requireCodePointBuffer(), exports);
|
|
25639
|
+
__exportStar(requireCodePointCharStream(), exports);
|
|
25640
|
+
__exportStar(requireCommonToken(), exports);
|
|
25641
|
+
__exportStar(requireCommonTokenFactory(), exports);
|
|
25642
|
+
__exportStar(requireCommonTokenStream(), exports);
|
|
25643
|
+
__exportStar(requireConsoleErrorListener(), exports);
|
|
25644
|
+
__exportStar(requireDefaultErrorStrategy(), exports);
|
|
25645
|
+
__exportStar(requireDependents(), exports);
|
|
25646
|
+
__exportStar(requireDiagnosticErrorListener(), exports);
|
|
25647
|
+
__exportStar(requireFailedPredicateException(), exports);
|
|
25648
|
+
__exportStar(requireInputMismatchException(), exports);
|
|
25649
|
+
__exportStar(requireInterpreterRuleContext(), exports);
|
|
25650
|
+
__exportStar(requireIntStream(), exports);
|
|
25651
|
+
__exportStar(requireLexer(), exports);
|
|
25652
|
+
__exportStar(requireLexerInterpreter(), exports);
|
|
25653
|
+
__exportStar(requireLexerNoViableAltException(), exports);
|
|
25654
|
+
__exportStar(requireListTokenSource(), exports);
|
|
25655
|
+
__exportStar(requireNoViableAltException(), exports);
|
|
25656
|
+
__exportStar(requireParser(), exports);
|
|
25657
|
+
__exportStar(requireParserErrorListener(), exports);
|
|
25658
|
+
__exportStar(requireParserInterpreter(), exports);
|
|
25659
|
+
__exportStar(requireParserRuleContext(), exports);
|
|
25660
|
+
__exportStar(requireProxyErrorListener(), exports);
|
|
25661
|
+
__exportStar(requireProxyParserErrorListener(), exports);
|
|
25662
|
+
__exportStar(requireRecognitionException(), exports);
|
|
25663
|
+
__exportStar(requireRecognizer(), exports);
|
|
25664
|
+
__exportStar(requireRuleContext(), exports);
|
|
25665
|
+
__exportStar(requireRuleContextWithAltNum(), exports);
|
|
25666
|
+
__exportStar(requireRuleDependency(), exports);
|
|
25667
|
+
__exportStar(requireRuleVersion(), exports);
|
|
25668
|
+
__exportStar(requireToken(), exports);
|
|
25669
|
+
__exportStar(requireTokenFactory(), exports);
|
|
25670
|
+
__exportStar(requireTokenSource(), exports);
|
|
25671
|
+
__exportStar(requireTokenStream(), exports);
|
|
25672
|
+
__exportStar(requireTokenStreamRewriter(), exports);
|
|
25673
|
+
__exportStar(requireVocabulary(), exports);
|
|
25674
|
+
__exportStar(requireVocabularyImpl(), exports);
|
|
25675
|
+
__exportStar(requireWritableToken(), exports);
|
|
25673
25676
|
})(antlr4ts);
|
|
25674
25677
|
return antlr4ts;
|
|
25675
25678
|
}
|
|
@@ -54229,12 +54232,10 @@ function normaliseDottedExpression(node, src) {
|
|
|
54229
54232
|
return {
|
|
54230
54233
|
...node,
|
|
54231
54234
|
source: normaliseSubExpression(node.source, src),
|
|
54232
|
-
attributes: node.attributes.map(
|
|
54233
|
-
|
|
54234
|
-
|
|
54235
|
-
|
|
54236
|
-
})
|
|
54237
|
-
)
|
|
54235
|
+
attributes: node.attributes.map((a) => ({
|
|
54236
|
+
...a,
|
|
54237
|
+
attributeName: normaliseSubExpression(a.attributeName, src)
|
|
54238
|
+
}))
|
|
54238
54239
|
};
|
|
54239
54240
|
}
|
|
54240
54241
|
function stripTerm(node) {
|
|
@@ -54453,7 +54454,12 @@ function formatExpressionBody(text, options, ast) {
|
|
|
54453
54454
|
const nonDelimiterComments = comments.filter((c) => c.content.trim() !== "/* ECL-END */");
|
|
54454
54455
|
let formatted = normalizeFilterBlocks(textWithoutComments);
|
|
54455
54456
|
formatted = formatted.replace(
|
|
54456
|
-
//
|
|
54457
|
+
// Bounded ECL expression text; no ReDoS risk.
|
|
54458
|
+
// Measured quadratic in the length of a contiguous whitespace run, not exponential.
|
|
54459
|
+
// Realistic ECL has no such runs: 500 expressions (43 KB) format in ~47 ms, while only a
|
|
54460
|
+
// synthetic 32 K-char whitespace run reaches ~2.6 s. The input is the document the user
|
|
54461
|
+
// opened, not untrusted network data.
|
|
54462
|
+
// eslint-disable-next-line sonarjs/super-linear-regex -- see note above
|
|
54457
54463
|
new RegExp("(\\S?)(?<![A-Za-z])\\s*(AND|OR|MINUS)\\s*(?![A-Za-z])(\\S?)", "g"),
|
|
54458
54464
|
(_match, before, op, after) => {
|
|
54459
54465
|
const formattedOp = ` ${op} `;
|
|
@@ -56483,14 +56489,12 @@ async function getFhirFilterCompletions(keyword, terminologyService) {
|
|
|
56483
56489
|
}
|
|
56484
56490
|
try {
|
|
56485
56491
|
const response = await terminologyService.evaluateEcl(ecl, EXPANSION_LIMIT);
|
|
56486
|
-
const items = response.concepts.map(
|
|
56487
|
-
|
|
56488
|
-
|
|
56489
|
-
|
|
56490
|
-
|
|
56491
|
-
|
|
56492
|
-
})
|
|
56493
|
-
);
|
|
56492
|
+
const items = response.concepts.map((concept, index) => ({
|
|
56493
|
+
label: `${concept.code} |${concept.display}|`,
|
|
56494
|
+
kind: "value",
|
|
56495
|
+
detail: concept.display,
|
|
56496
|
+
sortText: `e-${(20 + index).toString().padStart(3, "0")}`
|
|
56497
|
+
}));
|
|
56494
56498
|
cache.set(key, { items, timestamp: Date.now() });
|
|
56495
56499
|
return items;
|
|
56496
56500
|
} catch {
|